/* style.css, dft.schladming.at, 2026-08-11, gerald petter */

html {
  
  --font: 'Open Sans', sans-serif;
  
  --white: rgb(255, 255, 255);
  --black: rgb(20, 20, 20);

  --greyLight: rgb(244, 244, 246);
  --grey: rgb(128, 128, 128);
  --greyDark: rgb(77, 77, 77);

  --color: rgb(244, 211, 94);
  --colorTrans: rgba(244, 211, 94, .3);
  /* --colorGreen: rgb(0, 191, 99); */
  --colorGreen: rgb(0, 168, 87); /* Kontrast besser */
  --colorRed: rgb(255, 87, 87);
  --colorBlue: rgb(97, 127, 219);

  --hDist: 4vw; /* horizontal distance between content and window */
  
  --gapS: .6rem; /* vertical gap */
  --gapXXS: calc(var(--gapS)/4);
  --gapXS: calc(var(--gapS)/2); 
  --gapM: calc(var(--gapS)*2); 
  --gapL: calc(var(--gapS)*3);
  --gapXL: calc(var(--gapS)*4); 
  --gapXXL: calc(var(--gapS)*5); 
  
  --textShadow: 1px 1px 1px var(--greyDark);

  --logoHeight: 120px;
  --logoHeightWithHero: 40px;
  --logoHeightTop: 40px;
  --logoHeightWithHeroTop: 30px;
  --headerHeight: calc(var(--gapXXL) + var(--logoHeight) + var(--gapXL));
  --headerHeightWithHero: calc(var(--gapXXL) + var(--logoHeightWithHero) + var(--gapXL));
  --headerHeightTop: calc(4px + var(--logoHeightTop) + 4px);
  --navHeight: calc(var(--gapXS) + 1.2em + var(--gapXS))

  font-size: 1em;
  
}
  @media screen and (min-width: 37.5em) { /* 600px */
    html {
      --gapS: .8rem;
      --logoHeight: 150px;
      --logoHeightWithHero: 80px;
    }
  }
    @media screen and (min-width: 56.25em) { /* 900px */
      html {
        --gapS: .9rem;
        font-size: 1.1em;
        --headerHeight: calc(var(--logoHeight) + var(--gapL));
      }
      .with-header-image {
        --logoHeight: 200px;
        --headerHeightWithHero: calc(var(--gapS) + var(--logoHeightWithHero) + var(--gapS));
      }
    }
      @media screen and (min-width: 75em) { /* 1200px */
        html {
          --gapS: 1.0rem;
          --hDist: 6vw;
          font-size: 1.2em;
        }
      }
        @media screen and (min-width: 93.75em) { /* 1500px */
          html {
            font-size: 1.3em;
            --hDist: 8vw;
            --logoHeightWithHero: 120px;
          }
        }
          @media screen and (min-width: 112.5em) { /* 1800px */
            html {
              --hDist: 10vw;
            }
          }
            @media screen and (min-width: 131.25em) { /* 2100px */
              html {
                font-size: 1.4em;
                --hDist: 12vw;
              }
            }
          
/* Body ==================================================================== */
body {
  font-family: var(--font); 
  color: var(--black);
}

/* Links */
a {
  color: inherit;
  transition: .2s; 
  text-decoration: none;
  border-bottom: 1px solid;
}

a:hover {
  color: var(--colorBlue);
  border-bottom: 1px solid transparent;
}

a[href^="http"]::after,
a[href^="https://"]::after {
  content: "\2197";
  margin-left: 2px;
  display: inline-block;
  position: relative;
  top: -5px;
  color: inherit;
}

figure > a[href^="http"]::after,
figure > a[href^="https://"]::after {
  display: none;
}

#arrowTop {
  display: none;
}
  @media screen and (min-width: 56.25em) {
    #arrowTop {
      display: block;
    }
  }

#arrowTop:hover {
  border: solid 2px var(--color);
}

#arrowTop:hover a {
  border-color: var(--color);
}

/* Header ================================================================== */
header {
  position: absolute;
  top: 0;
  left: 0;
  height: var(--headerHeight);
  width: 100%;
  z-index: 2;
}
  @media screen and (min-width: 56.25em) {
    header {
      position: static;
      height: auto;
    }
  }

header.top {
  height: var(--headerHeightTop);
  width: 100%;
  background-color: var(--color);
}

.with-header-image header {
  height: 100vh;
  background-color: var(--color);
}
  @media screen and (min-width: 56.25em) {
    .with-header-image header {
      position: relative;
      height: auto;
      display: grid;
      grid-template-columns: auto auto;
      padding-top: var(--headerHeightWithHero);
    }
  }

/* Benutzermenü */
  .header__nav--user {
    display: none;
    list-style: none;
  }
    @media screen and (min-width: 56.25em) {
      .header__nav--user {
        display: block;
        position: absolute;
        right: .5em;
        top: .2em;
        width: auto;
        text-align: right;
        z-index: 5;
      }
    }

@media screen and (min-width: 56.25em) {
  .with-header-image .header__nav--user {
    display: block;
    position: absolute;
    right: .5em;
    top: 0;
    width: auto;
    text-align: right;
    z-index: 5;
  }
}

.header__nav--user a {
  color: transparent;
  text-decoration: none;
  font-size: .8rem;
}

.header__nav--user a:hover {
  color: var(--grey);
}

/* Logo */
.header__logo {
  position: fixed;
  top: var(--gapXXL);
  width: 100%;
  text-align: center;
  z-index: 4;
  transition: .4s ease-in-out; 
}
  @media screen and (min-width: 56.25em) {
    .header__logo {
      top: 0;
      background-color: var(--color);
      text-align: left;
      padding-left: var(--hDist);
    }
  }

@media screen and (min-width: 56.25em) {
  .with-header-image .header__logo {
    position: fixed;
    text-align: center;
    padding-left: 0;
    padding-top: var(--gapS);
    background-color: var(--color);
    height: var(--headerHeightWithHero);
  }
}

.top .header__logo {
  min-height: var(--headerHeightTop);
  padding-top: 0;
  padding-bottom: 0;
  top: 0;
  background-color: var(--color);
}

@media screen and (min-width: 56.25em) {
  .with-header-image .top .header__logo {
    height: var(--headerHeightTop);
  }
}

.header__logo a {
  border-bottom: none;
}

.header__logo img {
  height: var(--logoHeight);
  width: auto;
  transition: .4s ease-in-out; 
} 

.with-header-image .header__logo img {
  height: var(--logoHeightWithHero);
} 

.top .header__logo img {
  height: var(--logoHeightTop);
  width: auto;
  margin-top: 4px;
}

.with-header-image .top .header__logo img {
  height: var(--logoHeightWithHeroTop);
  margin-top: 8px;
}

/* Hero ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
.header__hero {
  margin-top: var(--headerHeightWithHero);
}
  @media screen and (min-width: 56.25em) {
    .header__hero {
      margin-top: 0;
      grid-column: 1 / 2;
      grid-row: 2 / 3;
    }
  }

.header__hero img {
  width: 100%;
  height: calc(100vh - var(--headerHeightWithHero));
  position: relative;
  object-fit: cover;
}
  @media screen and (min-width: 56.25em) {
    .header__hero img {
      width: 100%;
      height: auto;
      position: relative;
      object-fit: contain;
    }
  }

/* Datum ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
.header__date {
  position: absolute;
  top: calc(var(--headerHeightWithHero) + var(--gapXL));
  width: 100%;
  text-align: center;
  z-index: 2;
}
  @media screen and (min-width: 56.25em) {
    .header__date {
      top: calc(var(--gapS) + var(--logoHeightWithHero) + var(--gapS) + var(--gapM));
      width: auto;
      text-align: left;
      left: var(--gapL);
    }
  }

.header__date p {
  font-size: 2em;
  font-weight: 700;
  color: var(--white);
  text-shadow: var(--textShadow);
}
  @media screen and (min-width: 56.25em) {
    .header__date p {
      font-size: 1.4em;
    }
  }
    @media screen and (min-width: 75em) {
      .header__date p {
        font-size: 1.6em;
      }
    }
      @media screen and (min-width: 112.5em) {
        .header__date p {
          font-size: 1.8em;
        }
      }
    
/* Verlinkung Anmeldeformular ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
.header__link--form {
  position: absolute;
  bottom: var(--gapL);
  left: 50%;
  transform: translateX(-50%);
}
  @media screen and (min-width: 56.25em) {
    .header__link--form {
      bottom: var(--gapM);
      left: var(--gapL);
      transform: translateX(0);
    }
  }

.header__link--form p {
  background-color: var(--colorGreen);
  width: 10em;
  height: 6em;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  hyphens: auto;
  transition: .2s;
  text-align: center;
}

.header__link--form p:hover {
  background-color: var(--colorBlue);
}

.header__link--form a {
  color: var(--white);
  border-bottom: none;
  position: relative;
  top: -0.3em;
}

.header__link--form a span {
  text-transform: uppercase;
  display: block;
  font-size: 1.2em;
  font-weight: 500;
}

/* Navigation ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
@media screen and (min-width: 56.25em) {
  .header__nav {
    top: calc(var(--logoHeight)/2 - .6em);
    right: var(--hDist);
    width: calc(100% - var(--logoHeight) - var(--hDist)*2 - var(--gapL));
  }
}
  @media screen and (min-width: 96em) {
    .header__nav {
      right: calc(50vw - 500px);
      max-width: 1000px;
    }
  }

@media screen and (min-width: 56.25em) {
  .with-header-image .header__nav {
    position: static;
    width: 100%;
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    z-index: 3;
  }
}

@media screen and (min-width: 56.25em) {
  .top .header__nav {
    top: calc(var(--logoHeightTop)/2 - .7em);
  }
}

@media screen and (min-width: 56.25em) {
  .header__nav .nav__list {
    background-color: transparent;
  }
}

@media screen and (min-width: 56.25em) {
  .with-header-image .header__nav .nav__list {
    flex-direction: column;
    height: 100%;
    gap: 0;
    justify-content: space-around;
    align-items: center;
  }
}

.header__nav .nav__list::before {
  position: absolute;
  content: "";
  bottom: 10vh;
  left: var(--hDist);
  width: 50%;
  height: 10vh;
  background-image: url("../images/logo-der-fruehe-ton_badge.png");
  background-repeat: no-repeat;
  background-position: left;
  background-size: contain;
  opacity: .5;
}
  @media screen and (min-width: 56.25em) {
    .header__nav .nav__list::before {
      display: none;
    }
  }

@media screen and (min-width: 56.25em) {
  .with-header-image .header__nav .nav-item {
    border-top: 1px solid var(--white);
    height: 100%;
    width: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    text-transform: uppercase;
    background-color: var(--colorGreen);
    transition: .2s;
  }
  .with-header-image .header__nav .nav-item:nth-child(2) {
    border-top: none;
  }
}

@media screen and (min-width: 56.25em) {
  .with-header-image .header__nav .nav-item:hover {
    background-color: var(--colorBlue);
  }
}

@media screen and (min-width: 56.25em) {
  .header__nav .item-101,
  .header__nav .item-106,
  .header__nav .item-107,
  .header__nav .item-108 { /* Startseite, Barrierefreiheit, Datenschutz, Impressum */
    display: none !important;
  }
}

@media screen and (min-width: 56.25em) {
  .with-header-image .header__nav a {
    color: var(--white);
    font-weight: 600;
  }
}

/* Main ================================================================== */
main {
  position: relative;
  margin: var(--headerHeight) auto 0;
}

.with-header-image main {
  margin-top: calc(100vh);
  width: calc(100% - var(--hDist)*2);
}
  @media screen and (min-width: 56.25em) {
    .with-header-image main {
      margin-top: 0;
    }
  }

.com-content-article {
  width: calc(100% - var(--hDist)*2);
  max-width: 1200px;
  margin: 0 auto;
  min-height: 300px;
}
  @media screen and (min-width: 56.25em) {
    .com-content-article {
      min-height: 500px;
    }
  }

.com-content-article__body {
  margin-top: var(--gapM);
}

/* Überschriften */
main h1 {
  position: relative;
  font-size: 1.7em;
  font-weight: 600;
  color: var(--colorBlue);
  text-align: center;
  font-family: var(--fontHeading);
}

main h2 {
  margin-top: var(--gapM);
  font-size: 1.5em;
  line-height: 1.2em;
  font-weight: 600;
}

main h3 {
  margin-top: var(--gapS);
  font-size: 1.3em;
  font-weight: 600;
}

/* Bereiche */
main p {
  margin-top: var(--gapS);
}

/* Listen */
main ul {
  margin-top: var(--gapS);
  max-width: 80vw;
  text-align: left;
  margin-left: auto;
  margin-right: auto;
}
  @media screen and (min-width: 56.25em) {
    main ul {
      max-width: 100vw;
      margin-left: var(--gapM);
    }
  }

.list-style--none {
  list-style: none;
}

main li {
  margin-top: var(--gapS);
}

/* Tabellen */
main table {
  margin: var(--gapS) auto 0;
  border-color: var(--color);
  border-spacing: 5px;
  hyphens: auto;
}

main table th {
  text-align: left;
  background-color: var(--color);
  padding: var(--gapXS) var(--gapM);
}

main table th small {
  font-weight: 400;
}

main table td {
  padding: var(--gapXS) var(--gapM);
}

main table tr:nth-child(2n-1) td {
  background-color: var(--colorTrans);
}

/* Footer ================================================================== */
footer {
  background-color: var(--greyLight);
  margin-top: var(--gapXXL);
  padding: var(--gapXL) var(--hDist);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gapXL);
  text-align: center;
}
  @media screen and (min-width: 75em) {
    footer {
      grid-template-columns: auto auto;
      text-align: left;
    }
  }

footer h2 {
  font-size: 1.5em;
  line-height: 1.2em;
  font-weight: 600
}

footer p {
  margin-top: var(--gapS);
}

/* Logos */
.footer__logos p {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--gapM);
  text-align: center;
}
  @media screen and (min-width: 75em) {
    .footer__logos p {
      flex-wrap: nowrap;
    }
  }
    @media screen and (min-width: 93.75em) {
      .footer__logos p {
        gap: var(--gapL);
      }
    }

.footer__logos a {
  border-bottom: none;
}

.footer__logos a[href^="http"],
.footer__logos a[href^="https://"] {
  position: relative;
}

.footer__logos a[href^="http"]::after,
.footer__logos a[href^="https://"]::after {
  display: none;
  color: var(--colorBlue);
}

.footer__logos a[href^="http"]:hover::after,
.footer__logos a[href^="https://"]:hover::after {
  display: inline-block;
  position: absolute;
  top: -6px; 
  right: -20px;
  font-size: 1.2rem;
}

/* Footer Navigation */
@media screen and (min-width: 75em) {
  .footer__nav {
    grid-column: 1 / span 2;
  }
}

@media screen and (min-width: 37.5em) {
  .footer__nav .nav__list {
    display: flex;
    justify-content: center;
    gap: var(--gapM);
  }
}

.footer__nav .nav-item {
  margin-top: var(--gapS);
}
  
.footer__nav .nav-item a:hover {
  color: var(--colorBlue);
}

/* Aside ================================================================== */
/* Branding */
.aside__brand {
  position: relative;
  text-align: center;
  margin-top: var(--gapL)
}

.aside__brand a {
  border-bottom: none;
  position: relative;
}

.aside__brand a[href^="https://"]::after {
  display: none;
  color: var(--colorBlue);
}

.aside__brand a[href^="https://"]:hover::after {
  display: inline-block;
  position: absolute;
  ight: auto;
  left: calc(50% + 12px + 2px);
  font-size: 1.2rem;
}

.aside__brand img {
  transition: .2s;
  position: relative;
}

.aside__brand img:hover {
  transform: rotate(90deg);
}

/* Unterstützung */
.aside__support {
  margin: var(--gapXL) var(--hDist);
  text-align: center;
}

.aside__support h2 {
  font-size: 1.5em;
  line-height: 1.2em;
  font-weight: 600
}

.aside__support p {
  margin-top: var(--gapL);
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: var(--gapXL);
  justify-content: center;
}

/* Startseite ================================================================================= */
.main__heading {
  padding-top: var(--gapXL);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.main__heading h1 {
  color: var(--black);
  font-weight: 400;
  font-size: 2.2em;
}

.main__heading h2 {
  color: var(--black);
  font-weight: 400;
  font-size: 1.4em;
  text-align: center;
}

.blog-items {
  margin-top: var(--gapL);
}

.items-leading > div {
  display: flex;
  flex-direction: column;
  gap: var(--gapM);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
  @media screen and (min-width: 56.25em) {
    .items-leading > div {
      flex-direction: row;
    }
  }

.items-leading h2 {
  display: none;
}

.items-leading .item-image {
  text-align: center;
}
  @media screen and (min-width: 56.25em) {
    .items-leading .item-image {
      flex-shrink: 0;
    }
  }

.items-leading .item-image img {
  height: 200px;
  width: auto;
}

.blog-items:not(.items-leading) {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gapXL);
  justify-items: center;
}
  @media screen and (min-width: 56.25em) {
    .blog-items:not(.items-leading) {
      grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr));
    }
  }

.blog-items:not(.items-leading) .blog-item {
  background-color: var(--greyLight);
  padding: 1.6em 2.0em 2.0em;
  max-width: 26rem;
}

.blog-items:not(.items-leading) h2 {
  margin-top: 0;
  text-align: center;
  font-size: 1.8em;
  font-weight: 700;
}
  @media screen and (min-width: 37.5em) {
    .blog-items:not(.items-leading) h2 {
      font-size: 2.0em;
    }
  }

.blog-items:not(.items-leading) .blog-item:nth-child(1) h2 {
  border-bottom: 20px solid var(--colorGreen);
}

.blog-items:not(.items-leading) .blog-item:nth-child(2) h2 {
  border-bottom: 20px solid var(--colorBlue);
}

.blog-items:not(.items-leading) .blog-item:nth-child(3) h2 {
  border-bottom: 20px solid var(--colorRed);
}

.blog-items:not(.items-leading) p {
  margin-top: var(--gapL);
}

.blog-items:not(.items-leading) .readmore {
  text-align: right;
}

/* Anmeldeschluss */
.main__deadline {
  margin-top: var(--gapXL);
  text-align: center;
  font-size: 2em;
  font-weight: 700;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* Blasmusikbezirke */
.main__brass-music-districts {
  margin-top: var(--gapL);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.main__brass-music-districts > div {
  display: flex;
  gap: var(--gapS);
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
  @media screen and (min-width: 37.5em) {
    .main__brass-music-districts > div {
      flex-wrap: nowrap;
    }
  }

.main__brass-music-districts p:nth-child(1) {
  flex-shrink: 0;
}

.main__brass-music-districts p:nth-child(3) {
  order: -1;
  flex-shrink: 0;
}
  @media screen and (min-width: 37.5em) {
    .main__brass-music-districts p:nth-child(3) {
      order: 0;
    }
  }

.main__brass-music-districts a {
  border-bottom: none;
}

.main__brass-music-districts a[href^="http"],
.main__brass-music-districts a[href^="https://"] {
  position: relative;
}

.main__brass-music-districts a[href^="http"]::after,
.main__brass-music-districts a[href^="https://"]::after {
  display: none;
  color: var(--colorBlue);
}

.main__brass-music-districts a[href^="http"]:hover::after,
.main__brass-music-districts a[href^="https://"]:hover::after {
  display: inline-block;
  position: absolute;
  top: -6px; 
  right: -10px;
  font-size: 1.2rem;
}

/* Kuratorium */
.main__curatorium {
  margin-top: var(--gapXL);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.main__curatorium h2 {
  text-align: center;
  font-size: 2em;
}
  @media screen and (min-width: 37.5em) {
    .main__curatorium h2 {
      text-align: left;
    }
  }

.main__curatorium ul {
  list-style: none;
}
  @media screen and (min-width: 37.5em) {
    .main__curatorium ul {
      margin-left: var(--gapXL);
    }
  }

.main__curatorium li {
  margin-top: var(--gapS);
}

/* Seite Anmeldung ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
.-registration .com-content-article {
  min-height: 0;
}

main .form {
  width: calc(100% - var(--hDist)*2);
  max-width: 1200px;
  margin: var(--gapM) auto 0;
}

.chronocredits {
  border-bottom: 1px solid transparent;
  text-align: right;
  font-size: .8em;
}

.main-bottom__form .nui .fields ~ .fields, .main-bottom__form .nui fieldset ~ .fields {
  margin-top: var(--gapS);
}

#chronoform-anmeldung .area_multi_field12 {
  flex-direction: column;
}

@media screen and (min-width: 37.5em) {
  #chronoform-anmeldung .area_multi_field62 {
    align-items: flex-end;
  }
}

@media screen and (min-width: 37.5em) {
  #chronoform-anmeldung .area_multi_field15 > div:nth-child(2) {
    align-self: flex-end;
  }
}


