@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3/SourceSans3-VariableFont_wght.ttf") format("truetype-variations");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3/SourceSans3-Italic-VariableFont_wght.ttf") format("truetype-variations");
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}

:root {

  --slsp-color-primary: #4E4A99;
  --slsp-color-on-primary: #ffffff;
  --slsp-color-primary-shade: #5b5bb5;
  --slsp-color-secondary: #3bbfad;
  --slsp-color-global-text: #111111;
  --slsp-color-secondary-shade: #2d9184;
  --slsp-color-background: #ffffff;
  --slsp-color-background-shade: #F3F4FB;
  --slsp-color-on-background: #070059;
  --slsp-color-accent: #B0B8E0;
  --slsp-button-hover-light: #F3F4FB;
  --slsp-button-hover-dark: #6662ad;
  --slsp-button-hover-on-dark: #4E4A99;
}


/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Source Sans 3", sans-serif;
  background: var(--slsp-color-background);
  color: var(--slsp-color-on-background);
  line-height: 1.6;
}

/* Layout */
.main {
  max-width: 1412px;
  margin: 0 auto;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  transform: translateY(0);
  transition: transform 260ms ease-out;
  background-color: var(--slsp-color-background);
}

.header.is-hidden {
  transform: translateY(-100%);
}

.header-background {
  background: var(--slsp-color-background-shade);
}

.top-navigation-container {
  display: flex;
  justify-self: center;
  justify-content: right;
  align-items: center;
  padding: 1.5rem 2rem;
  max-width: 1412px;
  width: 100%;
}

.navigation-container {
  display: flex;
  justify-self: center;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  background: var(--slsp-color-background);
  color: var(--slsp-color-on-background);
  max-width: 1412px;
  width: 100%;
}

.top-navigation-link {
  color: var(--slsp-color-on-background);
  text-decoration: none;
  padding: 10px 20px;
}

.top-navigation-link:hover {
  background-color: var(--slsp-color-background);
}

.menu {
  display: flex;
  gap: 1rem;
}

.mobile-nav-toggle,
.mobile-nav-backdrop {
  display: none;
}

.accessible-language-switcher.mobile-header-language {
  display: none;
}

.mobile-nav-toggle {
  border: 0;
  background: transparent;
  padding: 0.25rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.mobile-nav-toggle:hover,
.mobile-nav-toggle:focus-visible {
  background-color: var(--slsp-button-hover-light);
}

.mobile-nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mobile-nav-icon--close {
  display: none;
}

.mobile-nav-toggle[aria-expanded="true"] .mobile-nav-icon--burger {
  display: none;
}

.mobile-nav-toggle[aria-expanded="true"] .mobile-nav-icon--close {
  display: inline-flex;
}

@media (max-width: 960px) {
  .header {
    z-index: 160;
  }

  .header-background {
    display: none;
  }

  .navigation-container {
    justify-content: space-between;
    width: 100%;
  }

  .navigation-container .menu,
  .navigation-container .accessible-language-switcher {
    display: none;
  }

  .mobile-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 1.45rem;
    right: 2rem;
    z-index: 170;
  }

  .mobile-nav-toggle svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: none;
  }

  .accessible-language-switcher.mobile-header-language {
    display: none;
    position: fixed;
    top: 16px;
    right: calc(2rem + 2.5rem);
    margin-top: 0;
    z-index: 175;
  }

  .mobile-nav-toggle[aria-expanded="true"]+.accessible-language-switcher.mobile-header-language {
    display: inline-block;
  }

  .mobile-nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 120;
    background: rgba(7, 0, 89, 0.45);
    overflow-y: auto;
  }

  .mobile-nav-backdrop[hidden] {
    display: none;
  }

  .mobile-nav-open {
    overflow: hidden;
  }

  .mobile-nav-panel {
    min-height: 100dvh;
    background: var(--slsp-color-background);
    padding: 6.5rem 2rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  .mobile-nav-top-navigation .top-navigation,
  .mobile-nav-main-navigation .menu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4rem;
    margin-block-start: 3rem;
  }

  .mobile-nav-top-navigation .top-navigation-link,
  .mobile-nav-main-navigation .menu a {
    font-size: 1.5rem;
    line-height: 1.2;
    padding: 0.25rem 0;
  }

  .mobile-nav-top-navigation .top-navigation-link {
    font-size: medium !important;
  }

  .mobile-nav-main-navigation .accessible-language-switcher {
    display: none;
  }
}

/* Typography */
h1 {
  font-size: clamp(2.25rem, 1.45rem + 3.52vw, 4.5rem);
  margin-bottom: 1.5rem;
  color: var(--slsp-color-primary-shade);
  line-height: clamp(2.75rem, 1.77rem + 4.3vw, 5rem);
}

h2 {
  font-size: clamp(1.5rem, 1.23rem + 1.17vw, 2.25rem);
  margin-bottom: 0.5rem;
  color: var(--slsp-color-primary-shade);
}

h3 {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25em;
  margin-bottom: 8px;
  color: var(--slsp-color-primary-shade);
}

h4 {
  margin-bottom: 1rem;
  font-size: clamp(1.5rem, 1.36rem + 0.58vw, 1.875rem);
  font-weight: 400;
  line-height: 1.1em;
  color: var(--slsp-color-global-text);
}

p {
  margin-bottom: 1rem;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5em;
  color: var(--slsp-color-global-text);
}

/* Lists */
ul {
  margin: 0 0 1.25rem 2.5rem;
  padding: 0;
  list-style: disc;
}

li {
  margin-bottom: 0.25rem;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5em;
  color: var(--slsp-color-global-text);
}

li:last-child {
  margin-bottom: 0;
}

ul ul {
  margin-top: 0.5rem;
  list-style: circle;
}

ul ul ul {
  list-style: square;
}

/* Keep UI/navigation lists unstyled */
.menu,
.site-links,
.articles-list,
.language-dropdown,
.faq-accordion {
  margin: 0;
  padding: 0;
  list-style: none;
}


/* Footer */
.footer {
  background: var(--slsp-color-on-background);
  padding: 3rem 2rem;
}

.footer p {
  font-size: clamp(1.5rem, 1.23rem + 1.17vw, 2.25rem);
  line-height: 1.25em;
}

footer a {
  text-decoration: none;
  font-weight: 700;
  font-size: 20px;
}

.footer,
footer a,
footer p {
  color: var(--slsp-color-accent);
}

.footer-links {
  display: flex;
  gap: 10%;
  flex-flow: wrap;
  min-width: 75%;
  justify-content: center;
}

.footer-cta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.25rem 0 1.75rem;
}

.footer-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1rem;
  border: 1px solid currentColor;
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.125rem);
  line-height: 1.2;
  transition: background-color 0.2s ease;
}

.footer-cta-button:hover,
.footer-cta-button:focus-visible {
  background-color: rgba(176, 184, 224, 0.15);
  outline: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--slsp-color-accent);
  border-radius: 999px;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.footer-social-link svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: currentColor;
  stroke: none;
}

.footer-social-link:hover,
.footer-social-link:focus-visible {
  background-color: rgba(176, 184, 224, 0.15);
  border-color: var(--slsp-color-on-primary);
}

.scroll-to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: var(--slsp-color-primary);
  color: var(--slsp-color-on-primary);
  box-shadow: 0 8px 24px rgba(7, 0, 89, 0.25);
  transition: background-color 0.2s ease;
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.5rem);
  pointer-events: none;
  z-index: 90;
}

.scroll-to-top.is-visible {
  opacity: 0.85;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.scroll-to-top:hover,
.scroll-to-top:focus-visible {
  background: var(--slsp-button-hover-dark);
  outline: none;
  cursor: pointer;
}

.scroll-to-top svg {
  width: 2rem;
  height: 2rem;
}

.scroll-to-top svg .top {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: square;
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem;
}

.column {
  grid-column: span var(--columns);
}

/* Responsive */
@media (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .column {
    grid-column: span 1;
  }

  .header {
    flex-direction: column;
    gap: 1rem;
  }

  .scroll-to-top {
    right: 1rem;
    bottom: 1rem;
  }
}

/**************************************************************************************/

/* Header Layout verbessern 
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.2rem 2rem;
  background: var(--slsp-color-primary);
  color: var(--slsp-color-on-primary);
}*/

/* Logo 
.logo {
  font-weight: 700;
  font-size: 1.3rem;
  text-decoration: none;
  color: inherit;
  letter-spacing: 0.5px;
}*/

/* Hauptnavigation */
.menu {
  display: flex;
  gap: 1rem;
}

.menu a {
  position: relative;
  text-decoration: none;
  color: var(--slsp-color-primary);
  padding: 0.4rem 0.6rem;
  font-size: 1.5rem;
  font-weight: 700;
  transition: opacity 0.2s ease;
}

/* Hover Effekt (Underline animiert) */


.menu a:hover {

  background: var(--slsp-color-background-shade);
  transition: width 0.25s ease;
}

/* Aktive Seite */
.menu a[aria-current="page"] {
  font-weight: 600;
}

.menu a[aria-current="page"]::after {
  width: 100%;
}

/* Sprachumschalter */
.languages {
  display: flex;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.3rem;
}

/* einzelne Sprach-Buttons */
.languages a {
  text-decoration: none;
  font-size: 0.85rem;
  padding: 0.3rem 0.6rem;
  color: var(--slsp-color-primary);
  opacity: 0.7;
  transition: all 0.2s ease;
}

/* Hover */
.languages a:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.15);
}

/* Aktive Sprache */
.languages a.active,
.languages a[aria-current="true"] {
  background: var(--slsp-color-secondary);
  color: var(--slsp-color-on-secondary);
  opacity: 1;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
  .header {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  .menu {
    order: 3;
    flex-wrap: wrap;
    justify-content: center;
  }

  .languages {
    order: 2;
  }
}

.hero_image {
  margin-bottom: 2rem;
  /* background-color: var(--slsp-color-background-shade); */
  display: flex;
  justify-content: center;
}

.hero_image.homepage {
  background-color: var(--slsp-color-background-shade);
}

.hero_image img {
  max-width: 100%;
  max-height: 665px;
}

.inner-content {
  max-width: 944px;
  width: 100%;
  align-self: center;
}

@media (max-width: 960px) {
  .inner-content {
    padding: 0 1rem;
  }
}

.inner-content a {
  color: var(--slsp-color-primary);
  font-weight: 700;
  text-decoration: none;
}

/*****************site link styles*****************/
.site-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 50px 0;
}

a.site-link {
  padding: 10px 20px 7px 20px;
  font-family: "Source Sans 3", sans-serif;
  color: var(--slsp-color-primary);
  font-size: 18px;
  font-weight: 700;
  line-height: 27px;
  text-decoration: none;
  white-space: nowrap;
  background-color: var(--slsp-color-background-shade);
  transition: background-color 0.2s ease;
}

a.site-link:hover,
a.site-link:focus-visible {
  background-color: var(--slsp-button-hover-light);
}

.site-link svg {
  fill: var(--slsp-color-primary);
  height: 16px;
  transform: rotate(90deg);
}

/*****************news/projects/offer articles styles*****************/
.articles-list {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

@media (max-width: 943px) {
  .articles-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 760px) {
  .articles-list {
    grid-template-columns: 1fr;
  }
}

.news-article-link,
.project-article-link,
.offers-article-link {
  max-width: 100%;
  width: 100%;
  height: 444px;
  min-width: 320px;
  flex-basis: 32%;
  text-decoration: none;
  padding: 48px;
  line-height: 1.25em;
  color: var(--slsp-color-primary);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.news-article-link:hover,
.project-article-link:hover,
.offers-article-link:hover {
  box-shadow: 0px 25px 50px -12px rgba(0, 0, 0, 0.25);
  color: var(--slsp-color-primary-shade);
}

.news-article-link:nth-of-type(even),
.project-article-link:nth-of-type(odd),
.offers-article-link:nth-of-type(even) {
  background-color: var(--slsp-color-background-shade);
}

/* Contact page: fixed 2x2 link boxes within inner-content width */
.contact-links-list {
  max-width: 944px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 444px);
  gap: 56px;
  justify-content: center;
}

.contact-links-list p {
  color: var(--slsp-color-primary);
}


.contact-links-list .news-article-link {
  width: 444px;
  min-width: 0;
  min-height: 0;
  height: 444px;
  flex-basis: auto;
  background-color: var(--slsp-color-background-shade);
}

@media (max-width: 943px) {
  .contact-links-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .contact-links-list .news-article-link {
    width: 100%;
    height: 444px;
    padding: 32px;
  }
}

@media (max-width: 760px) {
  .contact-links-list {
    grid-template-columns: 1fr;
    justify-items: stretch;
    gap: 24px;
  }

  .contact-links-list .news-article-link {
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    max-width: none;
    min-height: 280px;
    padding: 32px;
  }
}

.contact-form-wrap {
  margin-top: clamp(3rem, 2.47rem + 2.35vw, 4.5rem);
}

.contact-form-intro,
.contact-form-required {
  max-width: 70ch;
}

.contact-form-required {
  margin-bottom: 1.5rem;
}

.contact-form-message {
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  border-left: 4px solid;
}

.contact-form-message.is-success {
  background-color: var(--slsp-color-background-shade);
  border-color: var(--slsp-color-secondary);
}

.contact-form-message.is-error {
  background-color: #fff1f1;
  border-color: #c92222;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form-field {
  display: grid;
  gap: 0.4rem;
}

.contact-form-field label {
  font-size: 20px;
  line-height: 1.3;
  color: var(--slsp-color-on-background);
}

.contact-form-field input,
.contact-form-field textarea {
  width: 100%;
  border: 1px solid var(--slsp-color-accent);
  background: var(--slsp-color-background);
  color: var(--slsp-color-on-background);
  padding: 0.75rem 0.9rem;
  font: inherit;
}

.contact-form-field input:focus,
.contact-form-field textarea:focus {
  outline: 2px solid var(--slsp-color-primary-shade);
  outline-offset: 1px;
}

.contact-form-field input[aria-invalid="true"],
.contact-form-field textarea[aria-invalid="true"] {
  border-color: #c92222;
}

.contact-form-submit {
  justify-self: start;
  border: 1px solid var(--slsp-color-primary);
  background: var(--slsp-color-primary);
  color: var(--slsp-color-on-primary);
  font-family: "Source Sans 3", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  padding: 0.65rem 1.5rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.contact-form-submit:hover {
  background: var(--slsp-button-hover-dark);
}

.contact-form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

time {
  font-size: 20px;
  font-weight: 400;
  line-height: 30px;
  margin-top: 8px;
}


svg {
  height: 48px;
  fill: none;
  stroke: #5B5BB5;
  stroke-width: 5;
  stroke-linecap: square;
}



/**************custom sections styles**************/
.custom-section {
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.custom-section.style1 {
  background-color: var(--slsp-color-background);
}

.custom-section.style2 {
  background-color: var(--slsp-color-background-shade);
  color: var(--slsp-color-on-primary);
}

.custom-section.style3 {
  background-color: var(--slsp-color-on-background);
}

.custom-section.style3 h2,
.custom-section.style3 p {
  color: var(--slsp-color-background);
}

.custom-section {
  padding-block-end: clamp(4.9375rem, 4.32rem + 2.74vw, 6.6875rem);
  padding-block-start: clamp(4.9375rem, 4.32rem + 2.74vw, 6.6875rem);
  text-align: var(--text-align);
}

.no-padding-start {
  padding-block-start: 0;
}

.no-padding-end {
  padding-block-end: 0;
}

/* Style für die Buttons in den Custom Sections */
a.section-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid black;
  padding: 0 7px 0 20px;
  ;
  font-family: "Source Sans 3", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 27px;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}

a.section-link-btn.primary {
  background-color: var(--slsp-color-background);
  color: var(--slsp-color-primary);
}

a.section-link-btn.primary svg {
  fill: var(--slsp-color-primary);
}

a.section-link-btn.secondary {
  background-color: var(--slsp-color-primary);
  color: var(--slsp-color-on-primary);
}

a.section-link-btn.primary:hover,
a.section-link-btn.primary:focus-visible {
  background-color: var(--slsp-button-hover-light);
}

a.section-link-btn.secondary:hover,
a.section-link-btn.secondary:focus-visible {
  background-color: var(--slsp-button-hover-dark);
}

a.section-link-btn.secondary svg {
  fill: var(--slsp-color-on-primary);
}

.style3 .section-link-btn.primary {
  background-color: unset;
  color: var(--slsp-color-on-primary);
  border: 1px solid var(--slsp-color-on-primary);
}

.style3 .section-link-btn.primary:hover,
.style3 .section-link-btn.primary:focus-visible {
  background-color: var(--slsp-button-hover-on-dark);
}

.style3 .section-link-btn.primary svg {
  fill: var(--slsp-color-on-primary);
}

a.section-link-btn svg {
  vertical-align: middle;
}

a.section-link-btn.is-extern svg {
  transform: rotate(-45deg);
}

a.section-link-btn.is-anchor svg {
  transform: rotate(90deg);
}

.section-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-block-start: 50px;
}

/* Section tables (1-3 columns) */
.section-table-wrap {
  margin-top: 2rem;
  margin-bottom: 2rem;
  overflow-x: auto;
}

.section-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 20px;
}

.section-table thead th {
  background-color: var(--slsp-color-primary);
  color: var(--slsp-color-on-primary);
  font-weight: 700;
}

.section-table th,
.section-table td {
  text-align: left;
  vertical-align: top;
  padding: 0.35rem 1rem;
}

.section-table tbody tr {
  background-color: var(--slsp-color-background-shade);
}

.section-table tbody tr+tr {
  border-top: 1px solid var(--slsp-color-background);
}

/**************shareholders photos**************/
.shareholders-photos {
  width: 100%;
}

.shareholders-photos-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.shareholders-photo-card {
  flex: 1 1 calc((100% - 2rem) / 3);
  max-width: calc((100% - 2rem) / 3);
  min-width: 220px;
  margin: 0;
  background-color: var(--slsp-color-background-shade);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  max-height: 230px;
}

@media (max-width: 768px) {
  .shareholders-photo-card {
    flex-basis: calc((100% - 1rem) / 2);
    max-width: calc((100% - 1rem) / 2);
  }
}

@media (max-width: 520px) {
  .shareholders-photo-card {
    flex-basis: 100%;
    max-width: 100%;
    min-width: 0;
  }
}

.shareholders-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: scale-down;
  display: block;
  padding: 50px;
}

/**************faq accordion**************/
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.faq-item {
  border-top: 1px solid var(--slsp-color-accent);
  background-color: var(--slsp-color-background);
}

.faq-item svg {
  height: unset;
  display: block;
}

.faq-item summary svg {
  transform: rotate(0deg);
  transform-origin: center;
}

.faq-item[open] summary svg {
  transform: rotate(180deg);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 20px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--slsp-color-primary);
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  column-gap: 12px;
  align-items: center;
}

.faq-item .faq-question {
  min-width: 0;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item[open] summary {
  background-color: var(--slsp-color-background-shade);
}

.faq-answer {
  padding: 8px 20px 18px 20px;
}

.faq-answer p,
.faq-answer li {
  font-size: 18px;
}

.faq-answer img {
  max-width: 100%;
}


/*************************************************************************************************/
/*Custom language switch*/
/* Barrierefreies Sprachmenü */
.accessible-language-switcher {
  position: relative;
  display: inline-block;
}

.language-switcher-button {
  background: #ffffff !important;
  border: none;
  font-size: 16px;
  font-weight: 700;
  padding: 10px 20px 10px 20px;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.3s;
}

.language-switcher-button:hover,
.language-switcher-button:focus {
  background: #F3F4FB;
  outline: none;
  color: #5B5BB5;
  box-shadow: 0px 4px 14px 0px rgba(0, 0, 0, 0.07);
  border-radius: 0px 0px 0px 0px;
  cursor: pointer;
}

.language-switcher-button[aria-expanded="true"] {
  background: #F3F4FB;
}

.dropdown-icon {
  font-size: 0.6em;
  color: #5B5BB5;
}

.language-dropdown {
  position: absolute;
  font-size: 16px;
  font-weight: 700;
  top: 100%;
  left: 0;
  background: white;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 0;
  margin: 0;
  list-style: none;
  width: 100%;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  z-index: 999;
}

.accessible-language-switcher[aria-expanded="true"] .language-dropdown {
  max-height: 300px;
}

.current-language {
  color: #5B5BB5;
}

.language-dropdown li {
  margin: 0;
  padding: 0;
}

.language-dropdown a {
  display: block;
  padding: 8px 15px;
  text-decoration: none;
  color: #5B5BB5;
}

.language-dropdown a:hover,
.language-dropdown a:focus {
  background: #F3F4FB;
  color: #5B5BB5;
  outline: none;
}

.language-dropdown a:focus {
  border: 1px solid black;
}

.language-dropdown a[aria-current="true"] {
  font-weight: bold;
  background: #F3F4FB;
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

/**************teams gallery**************/
.teams-page {
  padding-bottom: 4rem;
}

.teams-intro {
  margin-bottom: 2rem;
}

.teams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.team-card {
  background-color: var(--slsp-color-background-shade);
  overflow: hidden;
}

.team-card-image {
  aspect-ratio: 5 / 4;
  padding: 28px 40px;
}

.team-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-card-content {
  padding: 1rem;
}

.team-card-name {
  margin: 1rem 1rem 0.75rem 1rem;
  font-size: 1.25rem;
  color: var(--slsp-color-primary);
  font-weight: 700;
}

.team-card-function {
  margin-bottom: 0;
  font-size: 1rem;
  line-height: 1.45;
}















/* Global motion damping */
:root {
  --motion-duration-factor: 0.6;
  /* < 1 = schneller/kurzer, 1 = normal */
  --motion-ease: ease-out;
}

/* Dämpft fast alle Transitions/Animationen global */
*,
*::before,
*::after {
  transition-duration: calc(300ms * var(--motion-duration-factor)) !important;
  transition-timing-function: var(--motion-ease) !important;
  animation-duration: calc(400ms * var(--motion-duration-factor)) !important;
  animation-timing-function: var(--motion-ease) !important;
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}