@font-face {
  font-family: "Urbanist";
  src: url(../fonts/Urbanist-VariableFont_wght.ttf) format("truetype");
}

@font-face {
  font-family: "Urbanist";
  src: url(../fonts/Urbanist-Italic-VariableFont_wght.ttf) format("truetype");
  font-style: italic;
}

* {
  margin: 0;
  padding: 0;
}

.boden-balken {
  display: none;
  /* height: 11px;
  background-image: url(../images/balken-horizontal.png); */
}


:root {
  --padding: 0rem;
  --color-black: #000;
  --color-white: #fff;
  --color-grey: #777;
  --color-darkgrey: #1C1C1C;
  --color-light: #efefef;
  --color-accent: #00A0BD;
  --color-text: var(--color-white);
  --color-text-grey: var(--color-grey);
  --color-background: var(--color-darkgrey);
  --color-code-light-grey:  #cacbd1;
  --color-code-comment:     #a9aaad;
  --color-code-white:       #c5c9c6;
  --color-code-red:         #d16464;
  --color-code-orange:      #de935f;
  --color-code-yellow:      #f0c674;
  --color-code-green:       #a7bd68;
  --color-code-aqua:        #8abeb7;
  --color-code-blue:        #7e9abf;
  --color-code-purple:      #b294bb;
  --font-family-sans: "Urbanist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  --font-family-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
}

html {
  font-family: var(--font-family-sans);
  color: var(--color-text);
  background: var(--color-background);
}
img {
  width: 100%;
}

li {
  list-style: none;
}
a {
  color: var(--color-accent);
  text-decoration: none;
}

a * {
  color: var(--color-text);
}

a svg, a svg * {
  color: var(--color-accent);
}

a i {
  color: var(--color-accent);
}

button {
  font: inherit;
  background: none;
  border: 0;
  color: currentColor;
  cursor: pointer;
}
strong, b {
  font-weight: 600;
}
small {
  font-size: inherit;
  color: var(--color-text-grey);
}

.bg-light {
  background-color: var(--color-light);
}
.color-grey {
  color: var(--color-text-grey);
}



.menu {
  display: flex;
}
.menu a {
  padding: 1rem;
  display: block;
}
.menu a[aria-current], .menu a:hover {
  /* text-decoration: underline; */
  /* font-weight: 500; */
  color: var(--color-accent);
}

.social {
  display: flex;
  flex-direction: row;
  padding: 0 0;
}

.social a {
  /* padding: 0 0.5rem; */
  display: block;
  width:50px;
  height:50px;
}

.social a svg {
  width: 100%;
  height: 100%;
  fill: var(--color-accent);
}


.section {
  padding: 0rem 0;
}

.grid {
  --columns: 12;
  --gutter: 3rem;
  display: grid;
  grid-gap: var(--gutter);
  grid-template-columns: 1fr;
}
/* .grid > .column {
  margin-bottom: var(--gutter);
} */

.autogrid {
  --gutter: 3rem;
  --min: 10rem;
  display: grid;
  grid-gap: var(--gutter);
  grid-template-columns: repeat(auto-fit, minmax(var(--min), 1fr));
  grid-auto-flow: dense;
}

h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: 500;
  line-height: 1.5em;
  margin-bottom: 0.5em;
  margin-top: 0;
}

h1 {
  font-size: 1.8rem;
  margin-top:0em;
}

h2 {
  margin-top:1rem;
  margin-bottom: 1rem;
  /* text-decoration-line: underline; */
  font-size: 1.5rem;
}



.text {
  line-height: 1.5em;
}
.text p {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}
.text a {
  text-decoration: underline;
}
.text :first-child {
  margin-top: 0;
}
.text :last-child {
  margin-bottom: 0;
}
.text p,
.text ul,
.text ol {
  margin-bottom: 1.5rem;
}
.text ul,
.text ol {
  margin-left: 1rem;
}
.text ul p,
.text ol p {
  margin-bottom: 0;
}
.text ul > li {
  list-style: disc;
}
.text ol > li {
  list-style: decimal;
}
.text ul ol,
.text ul ul,
.text ol ul,
.text ol ol {
  margin-bottom: 0;
}


.h1 p {
  font-size: 1.5rem;
  text-transform: uppercase;
  font-weight: 300;
}
.text h2,
.h2 {
  font-size: 2rem;
  font-weight: 600;
  /* margin-top: 0.5em; */
}
.text h3,
.h3 {
  font-weight: 600;
}
.text .codeblock {
  display: grid;
}
.text code {
  font-family: var(--font-family-mono);
  font-size: 1em;
  background: var(--color-light);
  padding: 0 .5rem;
  display: inline-block;
  color: var(--color-black);
}
.text pre {
  margin: 3rem 0;
  background: var(--color-black);
  color: var(--color-white);
  padding: 1.5rem;
  overflow-x: scroll;
  overflow-y: hidden;
  line-height: 1.5rem;
}
.text pre code {
  padding: 0;
  background: none;
  color: inherit;
}
.text hr {
  margin: 6rem 0;
}
.text dt {
  font-weight: 600;
}
.text blockquote {
  font-size: 1.25rem;
  line-height: 1.325em;
  border-left: 2px solid var(--color-black);
  padding-left: 1rem;
  margin: 3rem 0;
  max-width: 25rem;
}
.text blockquote footer {
  font-size: .875rem;
  font-style: italic;
}
.text figure {
  margin: 3rem 0;
}
.text figcaption {
  padding-top: .75rem;
  color: var(--color-text-grey);
}
.text figure ul {
  line-height: 0;
  display: grid;
  gap: 1.5rem;
  margin: 0;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
}
.text figure ul li {
  list-style: none;
}

.text {
  margin-bottom: 2rem;
}

hr {
  border: 0;
  background: currentColor;
  height: 2px;
  width: 1.5rem;
  margin: 3rem auto;
}

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

.intro {
  max-width: 40rem;
}
.intro *:not(:last-child) {
  margin-bottom: 1em;
}

.cta {
  background: var(--color-black);
  color: var(--color-white);
  display: inline-flex;
  justify-content: center;
  padding: .75rem 1.5rem;
  border: 4px solid var(--color-white);
  outline: 2px solid var(--color-black);
}

.box {
  background: var(--color-light);
  padding: 1.5rem;
  border: 4px solid var(--color-white);
  outline: 2px solid var(--color-light);
}

.video,
.img {
  position: relative;
  display: block;

}
.img img,
.video iframe {
  width: 100%;
  object-fit: cover;
  border: 0;
}
.img[data-contain] img {
  object-fit: contain;
}
.img-caption,
.video-caption {
  padding-top: .75rem;
  line-height: 1.5em;
}

.footer {
  padding: 2rem;
  line-height: 1.5em;
}


.footer h2 {
  font-weight: 600;
  margin-bottom: .75rem;
}
.footer ul,
.footer p {
  color: var(--color-text-grey);
}
/* .footer p {
  max-width: 15rem;
} */
.footer a:hover {
  color: var(--color-text);
}


.map {
  --w: 2;
  --h: 1;
  padding-bottom: calc(100% / var(--w) * var(--h));
  position: relative;
  overflow: hidden;
  background: var(--color-black);
}


.margin-s {
  margin-bottom: .75rem;
}
.margin-m {
  margin-bottom: 1.5rem;
}
.margin-l {
  margin-bottom: 3rem;
}
.margin-xl {
  margin-bottom: 4.5rem;
}
.margin-xxl {
  margin-bottom: 6rem;
}




.pagination {
  display: flex;
  padding-top: 6rem;
}
.pagination > span {
  color: var(--color-text-grey);
}
.pagination > * {
  padding: .5rem;
  width: 3rem;
  text-align: center;
  border: 2px solid currentColor;
  margin-right: 1.5rem;
}
.pagination > a:hover {
  background: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
}

.note-excerpt {
  line-height: 1.5em;
}
.note-excerpt header {
  margin-bottom: 1.5rem;
}
.note-excerpt figure {
  margin-bottom: .5rem;
}
.note-excerpt-title {
  font-weight: 600;
}
.note-excerpt-date {
  color: var(--color-text-grey);
}




/**
  *  CSS for the Buehne
  *  -------------------
  *  This is a CSS file for the Buehne component.
  *  It contains styles for the header, stage, and other elements.
  *  The styles are responsive and adapt to different screen sizes.
  */




div {
  box-sizing: border-box;
  margin: 0px;
  padding: 0px;
}

html {
  padding:0;
  margin: 0;
  --header-height: 191px;
  --seitenelement-breite: 82px;
  --kopfelement-hoehe:71px;
  --kopfelement-breite: 82px;
  --kopfelement-anzahl: 6;
  --bogen-breite: 217px;
  --bogen-hoehe: 218px;
}

body {
  max-width: calc(var(--kopfelement-anzahl)*2*var(--kopfelement-breite) + 2*var(--bogen-breite));
  margin: auto;
}



.grid-layout {
  /* display: flex;
  height:calc(100vh);
  margin: auto; */

  display: grid;
  grid-template-columns: var(--bogen-breite) var(--kopfelement-breite) calc((var(--kompfelement-anzahl)-1)*2*var(--kopfelement-breite)) var(--kopfelement-anzahl) var(--bogen-breite);  
  grid-template-rows: var(--header-height) var(--kopfelement-hoehe) calc(100vh - var(--header-height) -var(--kopfelement-hoehe));
  grid-template-areas: 
  "header header header header header"
  "bogen-links buehne-oben buehne-oben buehne-oben bogen-rechts"
  "bogen-links buehne-links buehne-mitte buehne-rechts bogen-rechts";
  margin: auto;
}

.header {
  grid-area: header;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-transform: uppercase;
  position: relative;
  gap: 2rem;
  background-color: var(--color-background);
  height: var(--header-height);
}

.header.floating {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: transform 0.3s ease-in-out;
}

.header > a {
  padding: 1rem;
  font-family: var(--font-family-sans);
  font-size: 3.5rem;
  font-weight: 900;
  text-shadow: 0px 0px 15px var(--color-black);
  color: white;
}

.top-bar {
  display: flex;
  justify-content: center;
  margin: 20px;
  position: relative;
}

.small-logo {
  display: none;
}

.big-title {
  text-align: center;
  color: #FFF;
  font-size: 48px;
  font-style: normal;
  font-weight: 900;
  line-height: normal;
  text-transform: uppercase;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.38);
  z-index: 2;
}

.menu-icon {
  display: none;
}

.language-links {
  display: flex;
  margin-left: 1rem
}



.language-links a.active {
  font-weight: bold;
}


.menu-icon-line {
  width: 100%;
  height: 4px;
  background-color: white;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.header > nav > a, .language-links a {
  font-family: var(--font-family-sans);
  font-size: 1.5rem;
  font-weight: 200;
  color: white;
}

.header > nav {
  display: flex;
  gap: 0rem;
  align-items: center;
}

.language-links a {
  padding-right: 0;
  padding-left: 0.5rem;
  font-size: 1.0rem;
}

.header .datum {
  
  font-family: var(--font-family-sans);
  font-size: 1.2rem;
  font-weight: 200;
  color: white;
  background-color: #006E8D;
  right: -45px;
  position: absolute;
  padding: 5px 10px;
  /*Tilt the Date to the left */
  transform: rotate(-10deg);
  top:2.5em;
  z-index: 1;
}


/* .bogen {
  width: var(--bogen-breite);
  margin-top: var(--header-height);
} */

.bogen-links {
  grid-area: bogen-links;
}

.bogen-rechts {
  grid-area: bogen-rechts;
}

.bogen-oben {
  width: 100%;
  overflow:hidden;
  height: var(--bogen-hoehe);
}

.bogen-seitenelement {
  background-repeat: repeat-y;
  height: calc(100vh - var(--bogen-hoehe) - var(--header-height));
}

.bogen-seitenelement img{
  --logo-size: 130px;
  width: var(--logo-size);
  height: var(--logo-size);
  margin:auto;
  display: block;
  top: calc(100%/2 - var(--logo-size)/2 - var(--bogen-hoehe)/2);
  position: relative;
}

.bogen-oben img {
  width: var(--bogen-breite);
}

.bogen-seitenelement-links {
  background-image: url(../images/balken-links.png);
}

.bogen-seitenelement-rechts {
  background-image: url(../images/balken-rechts.png);
 }

.buehnen-kopf {
  grid-area: buehne-oben;
  width: 100%;
  display: flex;
  height: var(--kopfelement-hoehe);
}

.buehnen-kopf-links {
  width: calc(var(--kopfelement-anzahl)*var(--kopfelement-breite));
  height: 100%;
  background-image: url(../images/kopfelement-links.png);
  background-repeat: repeat-x;
}
.buehnen-kopf-rechts {
  width: calc(var(--kopfelement-anzahl)*var(--kopfelement-breite));
  height: 100%;
  background-image: url(../images/kopfelement-rechts.png);
  background-repeat: repeat-x;
}

.stage {
  display: flex;
  /* width:calc(2*var(--kopfelement-breite)*var(--kopfelement-anzahl)); */

  /* height: calc(100vh - var(--kopfelement-hoehe) - var(--header-height)); */
}

.seitenelement {
  min-width: var(--seitenelement-breite);
  max-width: var(--seitenelement-breite);
  height: 100%;
}

.seitenelement-links {
  grid-area: buehne-links;
  background-repeat: repeat-y;
  background-image: url(../images/seitenelement-links.png);
}

.seitenelement-rechts {
  grid-area: buehne-rechts;
  background-repeat: repeat-y;
  background-image: url(../images/seitenelement-rechts.png);
}

.seitenelement-balken {
  display:none;
}

.seitenelement-balken-links {
  grid-area:buehne-links;
}
.seitenelement-balken-rechts {
  grid-area:buehne-rechts;
}

.buehne-mitte-container {
  grid-area: buehne-mitte;
}

.buehne-mitte{
  /* width: 100%; */
  /* width: calc(100% - 2*var(--seitenelement-breite)); */
  overflow: scroll; /* Restore scroll functionality */
  scrollbar-width: none; /* Hide scrollbars in Firefox */
  -ms-overflow-style: none; /* Hide scrollbars in IE and Edge */
  height: calc(100vh - var(--kopfelement-hoehe) - var(--header-height));
}

main {
  padding: 2rem;
}

.buehne-mitte::-webkit-scrollbar {
  display: none; /* Hide scrollbars in WebKit browsers */
}

.balken-horizontal {
  width: 100%;
  height: 12px;
  background-image: url(../images/balken-horizontal.png);
  background-repeat: repeat-x;
  background-size: contain;
}

.home-program {
  display: flex;
  flex-direction: column;
  gap: 2rem;

  /* Header floating functionality for mobile */
  @media (max-width: 740px) {
    #site-header {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 1000;
      transition: transform 0.3s ease-in-out;
    }

    #site-header.header-hidden {
      transform: translateY(-100%);
    }

    #site-header.header-visible {
      transform: translateY(0);
    }

    /* Adjust the buehne-mitte to account for fixed header */
    .buehne-mitte {
      padding-top: var(--header-height);
    }
  }
}

.band-item {
  display: flex;
  gap: 5rem;
}

.band-item span {
  display: block;
  width: 50px;
}

.gespiegelt {
  transform: scaleX(-1);
}

@media screen and (min-width: 1300px) {
  /* body {
    --padding: 3rem;
  } */

  .grid {
    grid-template-columns: repeat(12, 1fr);
  }
  .grid > .column {
    grid-column: span var(--columns);
  }

}

@media (max-width: calc(1450px)) {

  html {
    --kopfelement-anzahl: 5;
  }

}

@media (max-width: calc(1300px)) {

  html {
    --kopfelement-anzahl: 4;
  }

  .header > a {
    font-size: 2.5rem;
  }

  .header .datum {
    font-size: 1.2rem;
    top: 2.5em;
  }

  .header > nav > a {
    font-size: 1.1rem;
  }

      .main {
        padding: 1.5rem;
    }

}

@media (max-width: calc(1100px)) {
  html {
    --kopfelement-anzahl: 5;
    --buehne-mitte-breite: calc((var(--kopfelement-anzahl) - 1) * 2 * var(--kopfelement-breite));
  }

  .bogen {
      display: none;
  }

  body {
      max-width: calc(var(--kopfelement-anzahl)*2*var(--kopfelement-breite));
  }
  .grid-layout {
    grid-template-columns: var(--kopfelement-breite) var(--buehne-mitte-breite) var(--kopfelement-breite);  
    grid-template-rows: var(--header-height) var(--kopfelement-hoehe) calc(100vh - var(--header-height) -var(--kopfelement-hoehe));
    grid-template-areas: 
    "header header header"
    "buehne-oben buehne-oben buehne-oben"
    "buehne-links buehne-mitte buehne-rechts";
  }
}

@media (max-width: 980px) {
  html {
      --kopfelement-anzahl: 4;
  }

  .header > a {
    font-size: 2.5rem;
  }

  .header > nav > a {
    font-size: 1.2rem;
  }

}

@media (max-width: 740px) {

  .header .datum {
    right: 10px
  }
  html {
      --kopfelement-anzahl: 8;
      --header-height: 84px;
      /* --header-height: 100vh; */
      --buehne-seitenelement-breite: 11px;
      --buehne-mitte-breite: calc(var(--kopfelement-anzahl) * var(--kopfelement-breite) - 2 * var(--buehne-seitenelement-breite));
  }

  body {
    padding:0px;
    margin: auto;
    width: calc(var(--kopfelement-anzahl)*var(--kopfelement-breite));
    max-width: 100%;
  }

  .grid-layout {
    height: 100vh;
    grid-template-columns: var(--buehne-seitenelement-breite) var(--buehne-mitte-breite) var(--buehne-seitenelement-breite);  
    grid-template-rows: var(--header-height) var(--kopfelement-hoehe) 1fr;

  }

  .main {
      padding: 1rem;
  }


  .grid-layout.menu-open {
    /* grid-template-columns: var(--buehne-seitenelement-breite) var(--buehne-mitte-breite) var(--buehne-seitenelement-breite);   */
    grid-template-rows: 100vh var(--kopfelement-hoehe) 1fr; /*var(--kopfelement-hoehe) 1fr;*/
  }




  .buehnen-kopf {
    width: 100%;
  }

  .buehnen-kopf-links {
    width:100%;
  }

  .buehnen-kopf-rechts {
    display: none;
  }

  .seitenelement {
    display: none;
  }

  .seitenelement-balken {
    display: block;
    min-width:var(--buehne-seitenelement-breite);
    background-image: url(../images/balken-vertikal.png);
    border-top: 1px black solid;
  }


  .boden-balken {
    display: block;
    height: 11px;
    background-image: url(../images/balken-horizontal.png);
    border-left: 1px black solid;
    border-right: 1px black solid;
  }

  .buehne-mitte-container {
    height: calc(100% - 11px);
    position: relative;
  }

  .buehne-mitte {
    width: 100%;
    height: 100%;
    /* height: calc(100vh - var(--header-height) - var(--kopfelement-hoehe) - 11px); */
  }
  .haupt-buehne {
    width: 100%;
  }

    .small-logo {
    width:50px;
    height: 50px;
    background-image: url('../images/logo.png');
    background-size: contain;
    display: flex;
  }

  .menu-icon {
    display: flex;
    width:50px;
    height:50px;
    padding: 0px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }


    .menu-icon.open .menu-icon-line:nth-child(1) {
      transform: translateY(23px) rotate(45deg);
    }
    .menu-icon.open .menu-icon-line:nth-child(2) {
      opacity: 0;
      transform: scale(0);
    }
    .menu-icon.open .menu-icon-line:nth-child(3) {
      transform: translateY(-23px) rotate(-45deg);
    }

  nav.menu {
    flex-direction: column;
    justify-content: space-around;
    margin-bottom: 1rem;
    display:none;
    width: 100%;
    height: 70%; /*calc(100vh - var(--header-height) - 11px);*/
  }
  nav.menu.visible {
    display: flex;
  }

  .header {
    height: auto;
    align-items: start;
  }

  .header > nav > a {
    font-size: 2.5rem;
  }

  .header .datum {
    transform: rotate(-20deg);
    font-size:1em;
    padding: 2px 4px;
    right:80px;
    top: 30px;
  }

    .top-bar {
    align-items:center;
    justify-content: space-between;
    margin:0px;
    padding:10px;
    width: 100%;
  }
  .small-logo {
    width:50px;
    height: 50px;
    background-image: url('../images/logo.png');
    background-size: contain;
  }
  
  .big-title {
    text-align: left; 
    color: #FFF;
    font-size: 26px;
    width: 60%;
  }

}

@media (max-width: 660px) {

  html {
      --kopfelement-anzahl: 7;
  }



  main {
    padding: 1rem;
  }

  .buehne h1 {
    margin-top: 0;
    font-size: 2rem;
  }

  .buehne h2 {
    margin: 0;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
  }

  

}

@media (max-width: 587px) {

  html {
      --kopfelement-anzahl: 6;
  }

}

@media (max-width: 505px) {

  html {
      /* --kopfelement-anzahl: 5;
      --buehne-mitte-breite: calc(100% - 2 * var(--buehne-seitenelement-breite));
      --buehne-oben-hoehe: calc(100vw * var(--kopfelement-hoehe) / (5 * var(--kopfelement-breite))); */
      --kopfelement-anzahl: 5;
      --buehne-mitte-breite: calc(100% - 2 * var(--buehne-seitenelement-breite));
      --kopfelement-width-responsive: calc(100vw / 5);
      /* --kopfelement-breite: var(--kopfelement-width-responsive); */
      --buehne-oben-hoehe: calc(var(--kopfelement-width-responsive) * (71 / 82));
      --buehne-seitenelement-breite: calc(var(--kopfelement-width-responsive) * 11/82);
  }


  body {
    width: 100%;
  }

  .buehnen-kopf-links {
    width: 100%;
    background-size: 20%;
  }

  .buehnen-kopf {
    height: var(--buehne-oben-hoehe);
  }

  .grid-layout {
    grid-template-rows: var(--header-height) var(--buehne-oben-hoehe) 1fr;
    /* grid-template-columns: var(--buehne-seitenelement-breite) var(--buehne-mitte-breite) var(--buehne-seitenelement-breite);   */
    /* grid-template-rows: var(--header-height) var(--kopfelement-hoehe) 1fr; */
  } 

  .seitenelement-balken {
    width: var(--buehne-seitenelement-breite);
  }

}

@media (max-width: 422px) {

.top-bar {
  align-items: center;
  height: 100%;
  max-height:90px;
}

.big-title {
  font-size: 20px;
  width: 50%;
  margin-right: 15%;
}


.header .datum {
  transform: rotate(-20deg);
  right: 60px;
}

}

@media (max-width: 350px) {

  .menu-icon {
    width: 40px;
    height: 40px;   
  }

  .small-logo {
    width: 50px;
    height: 50px;
  }
  .big-title {
    font-size: 1.2em;
  }
  .top-bar .datum {
    font-size: 0.9em;
    transform: rotate(-25deg);
    right: 50px;
  }

  .header .datum {
    z-index: 2;
  }

}