@charset "utf-8";

/*
  Custom hero layout helpers.
  Use these classes inside the Hero block when the page also uses a Header image.
*/

@font-face {
	font-family: 'Open Sans';
	src: url('../fonts/open-sans/OpenSans-Regular.ttf') format('ttf');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Open Sans';
	src: url('../fonts/open-sans/OpenSans-Bold.ttf') format('ttf');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}
body {font-family: 'Open Sans', Arial, sans-serif; line-height: 140%;}

h1 {color: #2980b9; font-size: 36px}

.hero-custom {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.25rem;
  width: 100%;
  min-height: 100%;
  color: var(--hero-text, #edf5fc);
}

.hero-panel--overlay .hero-panel__overlay-content {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  width: 100%;
  max-width: none;
  height: 100%;
}

.hero-panel--overlay .hero-panel__overlay-content > .section,
.hero-panel--overlay .hero-panel__overlay-content > .wb_element,
.hero-panel--overlay .hero-panel__overlay-content > [id^="wb_"] {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 100%;
  margin: 0;
}

.hero-panel--overlay .hero-custom {
  width: 100%;
  max-width: none;
  height: 100%;
}

.hero-panel--overlay {
  align-items: stretch;
  padding-bottom: 24px;
}

.hero-custom__top {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  gap: 1.25rem;
}

.hero-custom__logo {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.6);
  padding: 8px 15px;
  border-radius: 18px;
  backdrop-filter: blur(1px);
}

.hero-custom__logo img {
  display: block;
  max-width: 100%;
  width: auto;
  max-height: 110px;
  object-fit: contain;
}

.hero-custom__slogan {
  display: grid;
  align-content: center;
  gap: 0.75rem;
  width: fit-content;
  max-width: min(100%, 78rem);
  margin-top: auto;
  margin-bottom: auto;
  align-self: center;
  text-align: center;
  padding: 1.1rem 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(10, 24, 40, 0.3);
  backdrop-filter: blur(1px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  text-shadow: 1px 1px 3px #555;
}

.hero-custom__top + .hero-custom__slogan {
  margin-top: 1.5rem;
  margin-bottom: 0;
}

.hero-custom__slogan h1,
.hero-custom__slogan h2,
.hero-custom__slogan h3 {
  margin: 0;
  color: var(--hero-text-strong, #f6fbff);
  line-height: 1.08;
}

.hero-custom__slogan p {
  margin: 0;
  max-width: 46rem;
  color: var(--hero-text-soft, rgba(228, 239, 250, 0.9));
}

.hero-custom__strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  flex: 0 0 auto;
  width: fit-content;
  max-width: 100%;
  padding: 0.9rem;
  margin-top: auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(10, 24, 40, 0.18);
  backdrop-filter: blur(2px);
}

.hero-custom__strip img {
  display: block;
  width: auto !important;
  height: revert-layer;
  max-width: none;
  border-radius: 0;
  object-fit: contain;
  box-shadow: none;
}

.hero-custom--center .hero-custom__top {
  display: flex;
  flex-direction: column;
}

.hero-custom--center .hero-custom__logo {
  justify-content: flex-start;
}

.hero-custom--center .hero-custom__slogan {
  justify-items: center;
  text-align: center;
  margin-inline: auto;
}

.hero-custom--right .hero-custom__slogan {
  justify-items: end;
  text-align: right;
  margin-left: auto;
}

.utility-brand__logo--has-image {
  border-radius: 999px;
  overflow: hidden;
}

.utility-brand__logo-img {
  border-radius: 999px;
  display: block;
}

.utility-bar__right {
  margin-left: auto;
  justify-content: flex-end;
}

/* In full-screen hero mode keep the icon strip anchored to the lower edge. */
body.hero-height-screen .hero-panel.hero-panel--overlay {
  position: relative;
  padding: 30px 24px 24px !important;
  align-items: stretch !important;
}

body.hero-height-screen .hero-panel.hero-panel--overlay > .hero-panel__overlay-content {
  position: static;
  width: 100%;
  height: 100%;
}

body.hero-height-screen .hero-panel.hero-panel--overlay .hero-custom {
  min-height: 0;
  height: 100%;
}

body.hero-height-screen .hero-panel.hero-panel--overlay .hero-custom__strip {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  margin-top: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  width: auto;
  max-width: none;
}

body.hero-height-screen .hero-panel.hero-panel--overlay .hero-custom__strip img:first-of-type {
  grid-column: 1;
  justify-self: start;
}

body.hero-height-screen .hero-panel.hero-panel--overlay .hero-custom__strip img:last-of-type {
  grid-column: 3;
  justify-self: end;
}

.hero-custom__legal {
  grid-column: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.4rem;
  min-width: 0;
}

.hero-custom__legal-link {
  color: var(--hero-text-strong, #ffffff);
  text-decoration: none;
  font: 700 1.16rem/1.2 "Trebuchet MS", Arial, sans-serif;
  white-space: nowrap;
}

.hero-custom__legal-link + .hero-custom__legal-link::before {
  content: "|";
  display: inline-block;
  margin-right: 1.4rem;
  color: var(--hero-text-soft, rgba(234, 243, 252, 0.9));
}

.hero-custom__legal-link:visited {
  color: var(--hero-text-strong, #ffffff);
}

.hero-custom__legal-link:hover {
  color: var(--hero-text-soft, rgba(234, 243, 252, 0.9));
}

/*Startseite Broschüre*/
.hero-custom img.brochure-link-image {
    /* width: 210px; */
    /* height: auto; */
    border: 2px solid rgba(255, 255, 255, 0.88);
    border-radius: 6px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}




/* ESRG: header navigation sits in the utility bar instead of below the header. */
.utility-nav.primary-nav--header {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  position: absolute;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  z-index: 2;
  width: min(100%, 1180px);
  max-width: 1180px;
  min-width: 0;
}

.utility-nav.primary-nav--header > ul {
  justify-content: center;
  align-items: center;
  gap: 4px;
}

.utility-nav.primary-nav--header a,
.utility-nav.primary-nav--header a:visited {
  color: var(--utility-link);
}

.utility-nav.primary-nav--header > ul > li {
  display: flex;
  align-items: center;
  position: relative;
}

.utility-nav.primary-nav--header > ul > li + li::before {
  content: "|";
  display: inline-block;
  margin: 0 2px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font: 400 0.9rem/1 "Trebuchet MS", Arial, sans-serif;
}

.is-start-page .utility-nav.primary-nav--header > ul > li.menu-current.menu-first {
  display: none;
}

.is-start-page .utility-nav.primary-nav--header > ul > li.menu-current.menu-first + li::before {
  display: none;
}

.utility-nav.primary-nav--header a {
  padding: 9px 11px 7px;
  font-size: 1.08rem;
  line-height: 1.1;
  border-radius: 0;
  border-bottom: 2px solid transparent;
}

.utility-nav.primary-nav--header > ul > li.menu-current > a,
.utility-nav.primary-nav--header > ul > li.active > a,
.utility-nav.primary-nav--header a:hover {
  background: transparent;
  color: var(--utility-link-hover);
  box-shadow: none;
  border-bottom-color: #8fc5ff;
}

.utility-nav.primary-nav--header > ul > li.menu-current > a,
.utility-nav.primary-nav--header > ul > li.active > a {
  border-bottom-color: #8fc5ff;
}

.utility-nav.primary-nav--header .nav-toggle {
  color: var(--utility-link);
}

.utility-nav.primary-nav--header li:hover > .nav-toggle,
.utility-nav.primary-nav--header li.is-open > .nav-toggle {
  color: var(--utility-link-hover);
}

.utility-nav.primary-nav--header ul ul a,
.utility-nav.primary-nav--header ul ul a:visited {
  display: block;
  padding-left: 12px;
  color: var(--page-ink);
}

.utility-nav.primary-nav--header ul ul li.menu-current > a,
.utility-nav.primary-nav--header ul ul li.active > a,
.utility-nav.primary-nav--header ul ul a:hover {
  color: var(--accent-dark);
}

/* ESRG: desktop search opens over the menu instead of taking layout space. */
.site-search {
  position: relative;
  justify-content: flex-end;
  width: 46px;
  min-width: 46px;
  min-height: 44px;
  border: 0;
  background: transparent;
  backdrop-filter: none;
  overflow: visible;
  box-sizing: border-box;
}

.site-search__toggle {
  width: 46px;
  height: 46px;
}

.site-search__icon {
  width: 26px;
  height: 26px;
}

.site-search__button {
  display: none;
}

.site-search__input {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 0;
  min-width: 0;
  height: 44px;
  padding: 10px 52px 10px 12px;
  border-radius: var(--radius-xl);
  background: rgba(18, 42, 68, 0.98);
  box-shadow: inset 0 0 0 1px transparent;
  opacity: 0;
  pointer-events: none;
  z-index: 3;
  transition: width 180ms ease, opacity 140ms ease, box-shadow 180ms ease;
}

.site-search.is-open {
  box-shadow: none;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
}

.site-search.is-open .site-search__input {
  width: min(320px, 28vw);
  box-shadow: inset 0 0 0 1px var(--search-border);
  opacity: 1;
  pointer-events: auto;
}

/* ESRG: start page is a full-screen hero stage. */
.hero-height-screen .site-header {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

body.is-start-page {
  overflow: hidden;
}

.hero-height-screen.is-start-page .site-header {
  min-height: 100svh;
  height: auto;
}

.hero-height-screen .hero-panel {
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
}

.hero-height-screen .hero-panel--custom > *:not(.hero-edit-link):not(.hero-size-note--inside) {
  min-height: 100%;
}


/*######## MEDIA QUERYS ###############################################################*/

@media (min-width: 981px) {
  .utility-bar {
    grid-template-columns: minmax(0, 20%) minmax(0, 1fr) auto;
    column-gap: 12px;
  }

  .utility-bar__left {
    min-width: 0;
    width: 100%;
    max-width: none;
    margin-left: -6px;
  }

  .utility-brand {
    min-width: 0;
    max-width: 100%;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: clamp(8px, 0.8vw, 14px);
  }

  .utility-brand__logo,
  .utility-brand__logo--has-image {
    width: 65px;
    height: 65px;
    min-width: 65px;
    flex: 0 0 65px;
    border-radius: 999px;
  }

  .utility-brand__logo-img {
    transform: scale(1.08);
    transform-origin: center;
  }

  .is-start-page .utility-brand__logo,
  .is-start-page .utility-brand__logo--has-image {
    width: 65px;
    height: 65px;
    min-width: 65px;
    flex: 0 0 65px;
  }

  .utility-brand__text {
    min-width: 0;
    max-width: 100%;
    align-self: center;
    gap: 1px;
  }

  .utility-brand__text strong {
    display: block;
    white-space: normal;
    line-height: 1.08;
    font-size: clamp(0.96rem, 0.46vw + 0.76rem, 1.1rem);
  }

  .utility-brand__text span {
    display: block;
    white-space: normal;
    font-size: clamp(0.78rem, 0.28vw + 0.64rem, 0.96rem);
  }

  .utility-nav.primary-nav--header {
    position: static;
    left: auto;
    right: auto;
    transform: none;
    width: auto;
    max-width: 100%;
    min-width: 0;
    justify-self: stretch;
    align-self: center;
  }

  .utility-nav.primary-nav--header > ul {
    justify-content: center;
    flex-wrap: nowrap;
    gap: clamp(0px, 0.15vw, 4px);
  }

  .utility-nav.primary-nav--header > ul > li {
    min-width: 0;
    flex: 0 1 auto;
  }

  .utility-nav.primary-nav--header a {
    padding: 0.52em 0.62em 0.42em;
    font-size: var(--utility-nav-font-size, 1.08rem);
    white-space: nowrap;
  }

  .utility-nav.primary-nav--header > ul > li + li::before {
    margin-right: 0;
    font-size: calc(var(--utility-nav-font-size, 1.08rem) * 0.8);
  }
}

@media (max-width: 1300px) and (min-width: 981px) {
  .utility-brand__text {
    gap: 0;
  }

  .utility-brand__text strong {
    font-size: clamp(0.84rem, 0.22vw + 0.74rem, 0.96rem);
    line-height: 1.04;
  }

  .utility-brand__text span {
    display: block;
    font-size: clamp(0.68rem, 0.14vw + 0.62rem, 0.78rem);
    line-height: 1.05;
  }
}

@media (max-width: 1370px) and (min-width: 1301px) {
  .utility-brand__text {
    gap: 0;
  }

  .utility-brand__text strong {
    font-size: clamp(0.86rem, 0.18vw + 0.76rem, 0.98rem);
    line-height: 1.04;
  }

  .utility-brand__text span {
    font-size: clamp(0.7rem, 0.12vw + 0.64rem, 0.8rem);
    line-height: 1.04;
  }
}

@media (max-width: 1480px) and (min-width: 901px) {
  body.hero-height-screen .hero-panel.hero-panel--overlay .hero-custom__strip {
    grid-template-columns: auto minmax(0, 760px) auto;
    row-gap: 0.75rem;
  }

  .hero-custom__legal {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem 1.1rem;
    max-width: 760px;
    margin-inline: auto;
  }
}

.primary-nav a {border-radius: 10px}

@media (max-width: 980px) {
  .site-search {
    position: relative;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    justify-content: stretch;
    width: 100%;
    min-width: 0;
    min-height: 46px;
    margin-left: 0;
    border: 1px solid var(--search-border);
    border-radius: var(--radius-xl);
    background: var(--search-bg);
    backdrop-filter: blur(10px);
  }

  .site-search__toggle {
    order: 0;
    justify-self: center;
    width: 42px;
    height: 42px;
    z-index: auto;
  }

  .site-search__button {
    display: none !important;
  }

  .site-search__input,
  .site-search.is-open .site-search__input {
    position: static;
    top: auto;
    right: auto;
    transform: none;
    width: 100%;
    min-width: 0;
    height: auto;
    padding: 12px 14px 12px 10px;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    z-index: auto;
  }

  .site-search.is-open {
    width: 100%;
    box-shadow: none;
  }

  .utility-bar__right .site-search {
    width: 100%;
    min-width: 77vw;
    flex: none;
  }

  body.is-start-page {
    overflow-x: hidden;
    overflow-y: auto;
  }

  .is-start-page .site-header::before,
  .is-start-page .site-header::after {
    display: none;
  }

  .hero-height-screen .site-header,
  .hero-height-screen.is-start-page .site-header {
    min-height: 0;
  }

  .hero-height-screen .hero-panel,
  .is-start-page .hero-panel {
    flex: 0 0 auto;
    min-height: 0;
    height: auto;
  }

  body.hero-height-screen.is-start-page .hero-panel.hero-panel--overlay {
    min-height: 78svh !important;
  }

  .hero-panel--overlay .hero-panel__overlay-content,
  .hero-panel--overlay .hero-panel__overlay-content > .section,
  .hero-panel--overlay .hero-panel__overlay-content > .wb_element,
  .hero-panel--overlay .hero-panel__overlay-content > [id^="wb_"],
  .hero-panel--overlay .hero-custom {
    height: auto;
    min-height: 0;
  }

  .hero-panel--overlay .hero-panel__overlay-content > .section,
  .hero-panel--overlay .hero-panel__overlay-content > .wb_element,
  .hero-panel--overlay .hero-panel__overlay-content > [id^="wb_"] {
    flex: 0 0 auto;
  }

  body.hero-height-screen.is-start-page .hero-panel--overlay .hero-panel__overlay-content,
  body.hero-height-screen.is-start-page .hero-panel--overlay .hero-panel__overlay-content > .section,
  body.hero-height-screen.is-start-page .hero-panel--overlay .hero-custom {
    min-height: 78svh;
  }

  .hero-custom {
    gap: 1rem;
  }

  .hero-custom__top {
    flex: 0 0 auto;
  }

  .hero-panel--overlay {
    padding-bottom: 24px;
  }

  .hero-custom__slogan,
  .hero-custom--right .hero-custom__slogan {
    justify-items: center;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-custom--center .hero-custom__slogan {
    justify-items: center;
    text-align: center;
    margin-inline: auto;
  }

  body.hero-height-screen .hero-panel.hero-panel--overlay .hero-custom__strip {
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "icon-left icon-right"
      "legal legal";
    align-items: center;
    row-gap: 1.35rem;
    column-gap: 0.8rem;
    width: 100%;
    margin-top: 2rem;
    padding: 0.7rem;
  }

  body.hero-height-screen .hero-panel.hero-panel--overlay .hero-custom__strip img:first-of-type {
    grid-area: icon-left;
    justify-self: center;
  }

  body.hero-height-screen .hero-panel.hero-panel--overlay .hero-custom__strip img:last-of-type {
    grid-area: icon-right;
    justify-self: center;
  }

  .hero-custom__legal {
    grid-area: legal;
    order: 3;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    max-width: none;
    justify-self: stretch;
    gap: 0.55rem 0.8rem;
  }

  .hero-custom__legal-link {
    display: block;
    text-align: center;
    white-space: normal;
  }

  .hero-custom__legal-link + .hero-custom__legal-link::before {
    content: none;
  }
}

@media (max-width: 700px) {
  .hero-custom__strip {
    justify-content: center;
  }
}


@media (max-width: 500px) {
  .hero-custom__logo {margin: 0 auto}
}

@media (max-width: 980px) {
  .powered_by--hero {
    margin-top: 0 !important;
  }
}

.powered_by--hero {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: 0.25rem 0.7rem;
  padding: 0;
  margin-top: -20px;
  color: #ffffff;
  font: 400 0.76rem/1 "Trebuchet MS", Arial, sans-serif;
}

.powered_by--hero .powered_by__link,
.powered_by--hero .powered_by__link:visited,
.powered_by--hero .powered_by__link:hover,
.powered_by--hero .powered_by__link:focus,
.powered_by--hero .powered_by__link:active,
.powered_by--hero .powered_by__consent,
.powered_by--hero .powered_by__consent:hover,
.powered_by--hero .powered_by__consent:focus,
.powered_by--hero .powered_by__consent:active {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.52);
  color: #18314f !important;
  min-height: 24px;
  padding: 0 8px;
  border-width: 1px;
  border-style: solid;
  border-radius: 999px;
  box-shadow: none;
  font: 400 0.76rem/1 "Trebuchet MS", Arial, sans-serif;
  text-decoration: none !important;
  transform: none;
}

.powered_by--hero .powered_by__consent:hover {
  color: #18314f !important;
}

@media (min-width: 981px) {
  .footer-nav ul {
    gap: 4px 0;
  }

  .footer-nav li + li::before {
    content: "|";
    display: inline-block;
    margin: 0 0.7rem 0 0.55rem;
    color: rgba(24, 49, 79, 0.45);
    font-size: 0.86em;
    font-weight: 400;
  }

  .footer-nav a,
  .footer-nav a:visited {
    font: 700 1.28rem/1.2 "Trebuchet MS", Arial, sans-serif;
  }
}

@media (min-width: 981px) {
  .utility-nav.primary-nav--header > ul > li > a,
  .utility-nav.primary-nav--header > ul > li > a:visited,
  .utility-nav.primary-nav--header > ul > li.menu-current > a,
  .utility-nav.primary-nav--header > ul > li.active > a,
  .utility-nav.primary-nav--header > ul > li > .nav-toggle,
  .utility-nav.primary-nav--header > ul > li:hover > .nav-toggle,
  .utility-nav.primary-nav--header > ul > li.is-open > .nav-toggle,
  .utility-nav.primary-nav--header > ul > li > a:hover {
    color: #d4e6fb !important;
    text-shadow: 1px 1px 1px #000;
  }

  .footer-nav a,
  .footer-nav a:visited,
  .footer-nav a:hover,
  .footer-nav li.menu-current > a,
  .footer-nav li.active > a {
    color: #d4e6fb !important;
  }

  .hero-panel__overlay-content .hero-custom__legal-link,
  .hero-panel__overlay-content .hero-custom__legal-link:visited,
  .hero-panel__overlay-content .hero-custom__legal-link:hover {
    color: #d4e6fb !important;
    text-shadow: 1px 1px 1px #000;
  }

  .is-start-page .footer-nav a,
  .is-start-page .footer-nav a:visited,
  .is-start-page .footer-nav a:hover,
  .is-start-page .footer-nav li.menu-current > a,
  .is-start-page .footer-nav li.active > a {
    text-shadow: 1px 1px 1px #000;
  }

  .utility-nav.primary-nav--header ul ul a:hover,
  .utility-nav.primary-nav--header ul ul li.menu-current > a,
  .utility-nav.primary-nav--header ul ul li.active > a {
    color: #18314f;
  }
}
