:root {
  --nav-height: 72px;
  --container: 1100px;
  --space: clamp(1rem, 2vw, 1.5rem);
  --space-lg: clamp(3rem, 7vw, 6rem);
  --border: #e6e6e6;
  --text: #1a1a1a;
  --muted: #666;
  --bg: #ffffff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

span.news-list-date {color:#999; font-size:1rem;}
.news-slider__viewport .news-img-wrap a {
border:0px !important;
padding:0 !important;
margin-top:16px;
}
div.seitenfooter {
  position: fixed;
  bottom: 0px;
  background: #9745FF;
  width: 100%;
  z-index: 4000;
  color: #fff;
  font-weight: bold;
  border-top: 1px solid #fff;
  padding: 0px 50px 2px 50px;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.language-switch {
    display: flex;
    gap: .5rem;
  position:absolute;
  top:30px;
  right:30px;
  background-color: #fff;
  padding: 5px 10px;
  border: 1px solid #000;
/*  border-radius: 10px; */
  font-size:95%;
  pointer-events: auto;
}

.site-nav.is-stuck .language-switch {
    top: 100%;
    right: 1rem;
    margin-top: 0;
}

.language-switch__link:not(:last-child)::after {
    content: "|";
    display: inline-block;
    margin: 0 0 0 .2rem;
    transform: translateY(-1px);
}

.language-switch__link {
    text-decoration: none;
}

.language-switch__link.is-active {
    font-weight: bold;
}

.language-switch__link.is-disabled {
    opacity: .35;
    cursor: default;
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin-inline: auto;
}
.logo svg {
  height: 35vh;
  max-height: 350px;
}
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.site-nav {
  position: absolute;
  inset: 0;
  z-index: 20;
  pointer-events: none;
}

.site-nav__box {
  position: absolute;
  left: 2rem;
  bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  pointer-events: auto;
}

.site-nav__brand,
.site-nav__toggle,
.site-nav__list--classic {
  display: none;
}
.site-nav__brand svg {width:111px;}
.site-nav__menu {
  display: block;
  padding-top:50px
}
.site-nav.is-stuck .site-nav__menu {
  padding-top:10px
}
.site-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__list--home {
  height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(0.05rem, 0.2vh, 1rem);
  padding-top:50px;
}

.site-nav__list--home li {
  font-size: clamp(0.8rem, 2vh, 1.5rem);
  line-height: 1.2;
  margin: clamp(0.1rem, 1.5vh, 3rem);
}

.site-nav__item {
  position: relative;
  margin: clamp(0.25rem, 2vh, 1rem);
}

.site-nav__row {
  display: flex;
  align-items: stretch;
  gap: 0.1rem;
  height:100%;
}

.site-nav__link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  border: 0;
  color: #000;
  background-color: #fff;
  font-family: 'interblack';
  font-weight: normal;
  line-height: 1.15;
  transition: opacity 0.25s ease;
}

.site-nav__link--onepage {
  justify-content: flex-start;
  padding: 0.2rem 1rem 0.2rem 0.5rem;
  text-align: left;
  font-size: clamp(1rem, 3vh, 3rem);
}

.site-nav__link:hover,
.site-nav__link.is-active,
.site-nav__item.is-active > .site-nav__row > .site-nav__link,
.site-nav__item.is-current > .site-nav__row > .site-nav__link {
  opacity: 0.85;
  color:#9644ff !important;
}

/* Sticky-Zustand: klassische Menüzeile */
.site-nav.is-stuck {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  pointer-events: auto;
  background: #e6e6e6;
  border-bottom: 1px solid var(--border);
  padding-bottom:8px;
}

.site-nav.is-stuck .site-nav__box {
  position: relative;
  inset: auto;
  width: min(var(--container), calc(100% - 2rem));
  margin-inline: auto;
  min-height: var(--nav-height);
  padding: 0;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-nav.is-stuck .site-nav__brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-family: 'interblack';
  font-size: 1rem;
  line-height: 1;
}

.site-nav.is-stuck .site-nav__list--home {
  display: none;
}

.site-nav.is-stuck .site-nav__list--classic {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0.25rem;
}

.site-nav.is-stuck .site-nav__item {
  margin: 0;
}

.site-nav.is-stuck .site-nav__link--classic {
  display: inline-block;
  max-width: 14rem;
  
  padding: 0.3rem 0.65rem;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(0.9rem, 1.1vw, 1rem);
  font-weight: 700;
  line-height: 1.2;
  background: #fff;
  color: #111;
  border: 1px solid #000;
}

.site-nav__submenu-toggle {
  appearance: none;
  border: 1px solid #000;
  border-left: 0px;
  margin-left: -3px;
  background: #fff;
  color: #111;
  width: 1.9rem;
  height: 100%;
  display: inline-grid;
  place-items: top;
  cursor: pointer;
  font: inherit;
/*  line-height: 1; */
  font-size: 2rem;
}

.site-nav__submenu-toggle span {
  display: block;
  transition: transform 0.2s ease;
}

.site-nav__item.is-open > .site-nav__row .site-nav__submenu-toggle span {
  transform: rotate(180deg);
}

.site-nav__submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin: 0 0 0 5px;
  padding: 0.45rem 0 0 0;
  list-style: none;
/*  border: 1px solid var(--border);
  box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.12); */
}

.site-nav__submenu .site-nav__submenu {
  top: -0.45rem;
  left: 100%;
}

.site-nav__item.is-open > .site-nav__submenu {
  display: block;
}

.site-nav__submenu .site-nav__item {
  margin: 0;
}

.site-nav__submenu .site-nav__row {
  justify-content: space-between;
}

.site-nav__submenu .site-nav__link--classic {
  display: flex;
  width: 100%;
  justify-content: flex-start;
  padding: 0.55rem 0.8rem;
  margin-top:0.5rem;
}

.site-nav__submenu .site-nav__submenu-toggle {
  flex: 0 0 1.9rem;
  margin-top:0.5rem;
}

.page-section--classic {
  padding: calc(var(--nav-height) + 3rem) 0 var(--space-lg);
  min-height: 100svh;
}

/* Powermail */

.tx-powermail {
  max-width: 800px;
  margin: 40px auto;
}

/* Powermail: reduzierter Dateiupload */

.powermail_form .powermail_fieldwrap_type_file .powermail_label {
    display: block;
    margin: 0 0 7px;
    font-size: 15px;
    font-weight: 400;
    color: #797979;
}

.powermail_form input.powermail_file {
    display: block;
    width: 100%;
    min-height: 40px;
    box-sizing: border-box;
    padding: 0 12px;

    border: 1px solid #d9e1eb;
    border-radius: 0;
    background: #fff;

    color: #98a3b1;
    font-family: inherit;
    font-size: 14px;
    cursor: pointer;
}

/* Nativen Upload-Button vereinfachen */

.powermail_form input.powermail_file::file-selector-button {
    margin-right: 14px;
    padding: 10px 14px 10px 14px;

    border: 0;
    border-right: 1px solid #d9e1eb;
    border-radius: 0;
    background: transparent;

    color: #657487;
    font-family: inherit;
    font-size: 14px;
    cursor: pointer;
    background-color: #ddd;
    margin-left: -14px;
}

/* Dezente Interaktion */

.powermail_form input.powermail_file:hover {
    border-color: #b5c2d0;
}

.powermail_form input.powermail_file:focus-visible {
    outline: 2px solid #9aafc5;
    outline-offset: 2px;
}


.site-main {
  padding-top: var(--nav-height);
}

.onepage-section {
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: calc(var(--nav-height) - 40px);
}

.onepage-section--home {
  padding: 0;
  min-height: 100svh;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  max-width: 1400px;
  margin: 0 auto;
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-slider__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: 42% 30%;
  background-size: cover;
  opacity: 1;
}

.hero-slider--single .hero-slider__slide {
  opacity: 1;
}

.hero-slider--multi .hero-slider__slide {
  opacity: 0;
  animation-name: heroFade;
  animation-duration: calc(24s * var(--slide-count, 1));
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-delay: calc(24s * var(--slide-index));
}

.onepage-section__overlay {
  position: relative;
  z-index: 1;
  min-height: calc(100svh - var(--nav-height));
  width: 100%;
  display: flex;
  align-items: center;
  /* background: rgba(0, 0, 0, 0.35); */
}

.onepage-section__overlay .logo {
  width: 40%;
  top: 30px;
  position: absolute;
  left: 40px;
  min-width: 310px;
}

.onepage-section__overlay .container {
  width: min(var(--container), calc(100% - 2rem));
  margin-inline: auto;
  padding: var(--space-lg) 0;
}

.onepage-section--home .section-header,
.onepage-section--home .section-header h1,
.onepage-section--home .section-subtitle,
.onepage-section--home .frame,
.onepage-section--home .frame * {
  color: #fff;
}

.section-header {
  margin-bottom: 2rem;
  position: relative;
}

.section-header h1,
.section-header h2 {
  line-height: 1.1;
  margin: 0 0 0.5rem;
}

.section-header h1 {
  font-size: clamp(2rem, 5vw, 3rem);
}

.section-header h2 {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
}

.section-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.frame {
  margin-bottom: 1.5rem;
}

.onepage-section__overlay {
  pointer-events: none;
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: calc(100svh - var(--nav-height));
  display: flex;
  align-items: center;
/*  background: rgba(0, 0, 0, 0.35); */
}

.onepage-section--home .section-header,
.onepage-section--home .section-header h1,
.onepage-section--home .section-subtitle,
.onepage-section--home .frame,
.onepage-section--home .frame * {
  color: #fff;
}

.news-ajax-loading-container {
    position: relative;
}
.news-ajax-spinner {
    display: none;
    position: absolute;
    top: 100px; /* Position it a bit from the top so it's visible */
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0,0,0,0.1);
    border-left-color: #0563bb; /* A nice blue, or adjust to your brand */
    border-radius: 50%;
    animation: news-spin 1s linear infinite;
    z-index: 20;
}
.is-loading .news-ajax-spinner {
    display: block;
}
@keyframes news-spin {
    to { transform: translateX(-50%) rotate(360deg); }
}

/* Mobile Menü: gerahmte Vollbreiten-Navigation */
@media (max-width: 900px) {

  .language-switch {
  top: 100%;
  right: 1rem;
  margin-top: 0;

    z-index: 152;
}
  .onepage-section__overlay .logo {display:none;}
  .site-nav,
  .site-nav.is-stuck {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    pointer-events: auto;
    background: transparent;
    border-bottom: 0;
  }

  .site-nav__box,
  .site-nav.is-stuck .site-nav__box {
    position: relative;
    inset: auto;
    width: 100%;
    min-height: auto;
    margin: 0;
    padding: 0.75rem 1rem 0.4rem 1rem;
    display: block;
    z-index:140;
    background: #ffffffb0;
  }

  .site-nav__brand,
  .site-nav.is-stuck .site-nav__brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 66px;
    padding: 0.35rem 0.75rem;
/*    background: #fff; */
    color: #000;
/*    border: 2px solid #000; */
    text-decoration: none;
    font-family: 'interblack', Arial, Helvetica, sans-serif;
    line-height: 1;
  }
  .site-nav__brand svg {width:151px;}
  .site-nav__toggle {
    background: transparent;
    border: 0;
    appearance: none;
/*    border: 2px solid #000;
    background: #fff;
    color: #000; */
    width: 66px;
    height: 66px;
    padding: 0;
    display: inline-grid;
    place-items: center;
    cursor: pointer;
    float: right;
    position: relative;
    z-index: 151;
  }

.site-nav__toggle-icon {
    width: 100%;
    height: 100%;

    fill: none;
    stroke: #9745FF;
    stroke-width: 8;
    stroke-linecap: butt;

    transform: rotate(0deg);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.site-nav__toggle[aria-expanded="true"] .site-nav__toggle-icon {
    transform: rotate(90deg);
}

  .site-nav__toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: #000;
    margin: 3px auto;
  }

  .site-nav__menu {
    display: none;
    clear: both;
    padding-top: 0.75rem;

    /* wichtig bei langen Menüs */
    max-height: calc(100svh - 70px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .site-nav__menu.is-open {
    display: block;
  }

  .site-nav__list--home {
    display: none;
  }

  .site-nav__list--classic,
  .site-nav.is-stuck .site-nav__list--classic {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.4rem;
    width: 100%;
  }

  .site-nav__item,
  .site-nav.is-stuck .site-nav__item {
    margin: 0;
    width: 100%;
  }

  .site-nav__row {
    width: 100%;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    background: #fff;
    border: 2px solid #000;
  }

  .site-nav__link--classic,
  .site-nav.is-stuck .site-nav__link--classic {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 48px;
    width: auto;
    padding: 0.65rem 0.8rem;
    background: #fff;
    color: #000;
    border: 0;
    text-align: right;
    text-decoration: none;
    font-family: 'interblack', Arial, Helvetica, sans-serif;
    font-size: clamp(1.15rem, 4vw, 1.55rem);
    line-height: 1.1;
    max-width: 100%;
    font-weight: normal;
  }

  .site-nav__submenu-toggle {
    flex: 0 0 48px;
    width: 48px;
    min-height: 48px;
    display: inline-grid;
    place-items: center;
    border: 0;
/*    border-left: 2px solid #000; */
    background: #fff;
    color: #000;
    cursor: pointer;
    font-size: 1.15rem;
    line-height: 1;
  }

  .site-nav__submenu-toggle span {
    display: block;
    color: #000;
    transition: transform 0.2s ease;
  }

  .site-nav__item.is-open > .site-nav__row .site-nav__submenu-toggle span {
    transform: rotate(180deg);
  }

  .site-nav__submenu,
  .site-nav__submenu .site-nav__submenu {
    position: static;
    display: none;
    width: 100%;
    min-width: 0;
    margin: 0.4rem 0 0;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    list-style: none;
  }

  .site-nav__item.is-open > .site-nav__submenu {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
  }

  /* Untermenüs rechtsbündig eingerückt */
  .site-nav__submenu > .site-nav__item {
    width: calc(100% - 1.25rem);
    margin-left: auto;
  }

  .site-nav__submenu .site-nav__submenu > .site-nav__item {
    width: calc(100% - 2.5rem);
    margin-left: auto;
  }

  .site-nav__submenu .site-nav__link--classic,
  .site-nav.is-stuck .site-nav__submenu .site-nav__link--classic {
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(1rem, 4vw, 1.25rem);
    font-weight: 700;
    justify-content: flex-end;
    text-align: right;
  }

  .site-nav__submenu .site-nav__row {
    background: #fff;
    border: 2px solid #000;
  }
}

@media (max-width: 900px) and (orientation: landscape) {
  .site-nav__box,
  .site-nav.is-stuck .site-nav__box {
    padding: 1rem 0.75rem 0.5rem 0.75rem;
  }

  .site-nav__brand,
  .site-nav.is-stuck .site-nav__brand,
  .site-nav__toggle {
    min-height: 38px;
    height: 38px;
  }

  .site-nav__menu {
    max-height: calc(100svh - 54px);
    padding-top: 0.5rem;
  }

  .site-nav__list--classic,
  .site-nav.is-stuck .site-nav__list--classic,
  .site-nav__item.is-open > .site-nav__submenu {
    gap: 0.3rem;
  }

  .site-nav__link--classic,
  .site-nav.is-stuck .site-nav__link--classic {
    min-height: 38px;
    padding: 0.4rem 0.65rem;
    font-size: clamp(0.95rem, 3vw, 1.15rem);
  }

  .site-nav__submenu-toggle {
    flex-basis: 42px;
    width: 42px;
    min-height: 38px;
  }

  .site-nav__submenu .site-nav__link--classic,
  .site-nav.is-stuck .site-nav__submenu .site-nav__link--classic {
    font-size: clamp(0.9rem, 2.5vw, 1rem);
  }
}
