@font-face {
  font-family: 'Exo';
  src: url('../Fonts/exo/Exo-Regular.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Exo';
  src: url('../Fonts/exo/Exo-Bold.ttf') format('truetype');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: 'Exo';
  src: url('../Fonts/exo/Exo-MediumItalic.ttf') format('truetype');
  font-style: italic;
  font-weight: 500;
  font-display: swap;
}

:root {
  /* colors */
  --color-blue: #164364;
  --color-light-blue: #e0e8ef;
  --color-gray: #69747d;
  --color-white: #ffffff;

  /* fonts */
  --font-body: 'Exo', Arial, sans-serif;
  --font-base-size: 16px;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-bold: 700;

  /* layout */
  --site-width: 1240px;
  --space-page: 2rem;

  --indent-desktop: 7rem; /* 180px */
  --indent-tablet: 4rem;    /* 120px */
  --intro-offset: 33.3333%;
  --intro-offset-tablet: 20%;

  /* type scale */
  --font-size-copy: 1.15rem;      /* 20px */
  --line-height-copy: 1.60rem;    /* 28px */

  --font-size-intro: 1.75rem;     /* 28px */
  --line-height-intro: 2.25rem;   /* 36px */

  --font-size-h1: 1.75rem;        /* 28px */
  --line-height-h1: 2.25rem;      /* 36px */

  --font-size-h2: 2.625rem;       /* 42px */
  --line-height-h2: 3rem;         /* 48px */

  --font-size-h3: 1.375rem;       /* 22px */
  --line-height-h3: 1.875rem;     /* 30px */

  --font-size-h4: 1.15rem;      /* 20px */
  --line-height-h4: 1.60rem;    /* 28px */

  --font-size-nav: 1rem;          /* 16px */
  --line-height-nav: 1.5rem;      /* 24px */

  --font-size-footer: 1rem;       /* 16px */
  --line-height-footer: 1.5rem;   /* 24px */
  --font-size-footer-brand: 1rem;
  --line-height-footer-brand: 1.5rem;

  /* tracking */
  --tracking-wide: 0.12em;
  --tracking-nav: 0.08em;

  /* spacing scale */
  --space-0: 0;
  --space-1: 0.25rem;   /* 4px */
  --space-2: 0.5rem;    /* 8px */
  --space-3: 0.75rem;   /* 12px */
  --space-4: 1rem;      /* 16px */
  --space-5: 1.25rem;   /* 20px */
  --space-6: 1.5rem;    /* 24px */
  --space-7: 2rem;      /* 32px */
  --space-8: 2.5rem;    /* 40px */
  --space-9: 3rem;      /* 48px */
  --space-10: 4rem;     /* 64px */

  /* components */
  --header-padding-top: 1.75rem;
  --header-padding-bottom: 1.25rem;

  --site-main-padding-top: 2.5rem;
  --site-main-padding-bottom: 5rem;

  --logo-width: 16.25rem;         /* 260px */
  --logo-width-mobile: 13.125rem; /* 210px */

  --nav-toggle-size: 3.25rem;     /* 52px */
  --nav-toggle-line-width: 1.75rem;
  --nav-toggle-line-height: 2px;
  --nav-toggle-line-offset: 0.5rem;
  --nav-panel-width: 22.5rem;     /* 360px */
  --nav-panel-padding: 1.5rem;
  --nav-panel-offset-top: 0.75rem;

  --social-icon-size: 1.75rem;    /* 28px */

  --frame-margin-bottom: 3rem;
  --frame-line-after-thickness: 0.5rem;

  --container-gap: 2rem;
  --section-gap: 9rem;

  --footer-padding-top: 2.5rem;
  --footer-inner-padding-top: 1.75rem;
  --footer-inner-padding-bottom: 2rem;
  --footer-social-gap: 1rem;
  --footer-social-margin-bottom: 1.25rem;
  --footer-brand-margin-top: 1.125rem;
  --footer-brand-margin-bottom: 0.75rem;
  --footer-separator-margin: 0.625rem;
  --copyright-padding-y: 0.875rem;
  --copyright-padding-y-mobile: 0.75rem;
}

html {
  font-size: var(--font-base-size);
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--color-blue);
  background-color: var(--color-white);
  /* background-image: url('../Images/ringbeck-foundation-background.svg'); */
  font-family: var(--font-body);
  font-size: var(--font-size-copy);
  line-height: var(--line-height-copy);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.ce-bodytext,
.frame p,
.frame li,
.frame blockquote,
.frame figcaption {
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0 0 1.2em;
}
p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 0 0 1.2em;
  padding-left: 1.4em;
}

.background-color-blue {
  background-color: var(--color-blue);
  color: var(--color-white);
}

.background-color-light-blue {
  background-color: var(--color-light-blue);
}

.background-color-gray {
  background-color: var(--color-gray);
  color: var(--color-white);
}

.background-color-blue a,
.background-color-gray a {
  color: var(--color-white);
}

.site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-image: var(--site-background-image);
  background-repeat: no-repeat;
  background-position: top left;
  background-size: 50%;
}

.site-container {
  width: min(100% - (2 * var(--space-page)), var(--site-width));
  margin: 0 auto;
}

.site-main {
  flex: 1 0 auto;
  padding: var(--site-main-padding-top) 0 var(--site-main-padding-bottom);
}

/* Header */

.site-header {
  position: relative;
  z-index: 20;
  padding: var(--header-padding-top) 0 var(--header-padding-bottom);
}

.site-header__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-7);
}

.site-logo {
  display: inline-flex;
  align-items: center;
  width: var(--logo-width);
  max-width: 100%;
}

.site-logo img {
  width: 100%;
  height: auto;
  display: block;
}

/* Navigation */

.site-nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-5);
}

.site-nav__quick {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}

.site-nav__quick-link,
.site-nav__link {
  font-size: var(--font-size-nav);
  line-height: var(--line-height-nav);
  text-transform: uppercase;
  letter-spacing: var(--tracking-nav);
}

.site-nav__quick-link.is-active,
.site-nav__link.is-active {
  font-weight: var(--font-weight-bold);
}

.site-nav__toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--nav-toggle-size);
  height: var(--nav-toggle-size);
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-blue);
  cursor: pointer;
}

.site-nav__toggle-lines,
.site-nav__toggle-lines::before,
.site-nav__toggle-lines::after {
  display: block;
  width: var(--nav-toggle-line-width);
  height: var(--nav-toggle-line-height);
  background: currentColor;
  content: '';
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.site-nav__toggle-lines {
  position: relative;
}

.site-nav__toggle-lines::before {
  position: absolute;
  top: calc(-1 * var(--nav-toggle-line-offset));
  left: 0;
}

.site-nav__toggle-lines::after {
  position: absolute;
  top: var(--nav-toggle-line-offset);
  left: 0;
}

.site-nav__toggle[aria-expanded='true'] .site-nav__toggle-lines {
  background: transparent;
}

.site-nav__toggle[aria-expanded='true'] .site-nav__toggle-lines::before {
  top: 0;
  transform: rotate(45deg);
}

.site-nav__toggle[aria-expanded='true'] .site-nav__toggle-lines::after {
  top: 0;
  transform: rotate(-45deg);
}

.site-nav__panel {
  position: absolute;
  top: calc(100% + var(--nav-panel-offset-top));
  right: 0;
  width: min(var(--nav-panel-width), calc(100vw - 2rem));
  padding: var(--nav-panel-padding);
  background: var(--color-blue);
  color: var(--color-white);
}

.site-nav__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav__item {
  text-transform: uppercase;
}
.site-nav__item + .site-nav__item {
  margin-top: 0.875rem;
}

.site-nav__social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.site-nav__social-link {
  display: inline-flex;
  width: var(--social-icon-size);
  height: var(--social-icon-size);
}

.site-nav__social-link svg,
.site-nav__social-link img {
  width: 100%;
  height: 100%;
  fill: currentColor;
}


.language-switch {
    display: flex;
    gap: .5rem;
    align-items: center;
    margin: 0 1.5em;
}

.site-nav__panel .language-switch {
  margin: 1.5em 0;
}

.language-switch__link {
    text-decoration: none;
}

.language-switch__link.is-active {
    font-weight: 700;
    text-decoration: none;
}

.language-switch__link.is-disabled {
    opacity: .5;
    pointer-events: none;
}

/* Content */

.frame {
  margin-bottom: var(--frame-margin-bottom);
}
.frame.frame-space-before-default:not(:first-child) {
  margin-top: var(--space-4);
}
.frame.frame-space-before-small {
  margin-top: var(--space-5);
}
.frame.frame-space-after-small {
  margin-bottom: var(--space-5);
}

.frame p,
.frame li,
.frame blockquote {
  font-size: var(--font-size-copy);
  line-height: var(--line-height-copy);
}

.frame blockquote {
  margin: 1.5em 0;
  font-style: italic;
  font-weight: var(--font-weight-medium);
}

.frame h1,
.frame h2,
.frame h3,
.frame h4,
.frame h5,
.frame h6 {
  margin-left: 0;
  margin-right: 0;
}

.frame h1 {
  margin-top: calc(var(--line-height-h1) * 2);
  margin-bottom: var(--space-4);
  font-size: var(--font-size-h1);
  line-height: var(--line-height-h1);
  font-weight: var(--font-weight-bold);
}

.frame h2 {
  margin-top: 0;
  margin-bottom: 0;
  font-size: var(--font-size-h2);
  line-height: var(--line-height-h2);
  font-weight: var(--font-weight-regular);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}

.frame h3 {
  margin-top: var(--space-7);
  margin-bottom: var(--space-4);
  font-size: var(--font-size-h3);
  line-height: var(--line-height-h3);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}

.frame h4 {
  margin-top: var(--space-3);
  margin-bottom: var(--space-1);
  font-size: var(--font-size-h4);
  line-height: var(--line-height-h4);
  font-weight: var(--font-weight-regular);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}

/* Text & Media / Bild im Text */

.frame-type-textpic .ce-gallery,
.frame-type-textmedia .ce-gallery {
  margin-top: 0;
  margin-bottom: 0;
}

.frame-type-textpic .ce-bodytext,
.frame-type-textmedia .ce-bodytext {
  margin: 0;
}

/* Bild links im Text */
.frame-type-textpic .ce-left.ce-intext .ce-gallery,
.frame-type-textmedia .ce-left.ce-intext .ce-gallery {
  margin-right: 1.5rem;
  margin-left: 0;
}

/* Bild rechts im Text */
.frame-type-textpic .ce-right.ce-intext .ce-gallery,
.frame-type-textmedia .ce-right.ce-intext .ce-gallery {
  margin-left: 1.5rem;
  margin-right: 0;
}

.ce-textpic.ce-vcenter {
  display: flex;
  align-items: center;
}

.ce-textpic.ce-vcenter.ce-right {
  flex-direction: row-reverse;
}

.ce-textpic.ce-vcenter .ce-gallery {
  margin-top: 0;
  margin-bottom: 0;
}

.ce-textpic.ce-vcenter.ce-left .ce-gallery {
  margin-right: 1.5rem;
  margin-left: 0;
}

.ce-textpic.ce-vcenter.ce-right .ce-gallery {
  margin-left: 1.5rem;
  margin-right: 0;
}

.ce-textpic.ce-vcenter .ce-bodytext {
  width: auto;
  flex: 1 1 auto;
  min-width: 0;
}

/* Abstand davor */

.frame-space-before-none {
  margin-top: 0;
}

.frame-space-before-section {
  margin-top: var(--section-gap);
}

.frame-space-before-xl {
  margin-top: calc(var(--section-gap) * 2);
}

/* Abstand danach */

.frame-space-after-none {
  margin-bottom: 0;
}

.frame-space-after-section {
  margin-bottom: var(--section-gap);
}

.frame-space-after-xl {
  margin-bottom: calc(var(--section-gap) * 2);
}

/* Erscheinungsbild -> Rahmen */

.frame-line-after {
  padding-bottom: var(--space-3);
  margin-bottom: var(--space-6);
  border-bottom: var(--frame-line-after-thickness) solid var(--color-blue);
}

/* Erscheinungsbild -> Layout */

.frame-layout-1 {
  padding-left: var(--indent-desktop);
}

.frame-layout-2 {
  padding-right: var(--indent-desktop);
}

.frame-layout-3 {
  padding-left: var(--indent-desktop);
  padding-right: var(--indent-desktop);
}

/* Erscheinungsbild -> Rahmen -> Intro */

.frame-intro {
  padding-left: var(--intro-offset);
}

.frame-intro .ce-bodytext,
.frame-intro p,
.frame-intro li {
  font-size: var(--font-size-intro);
  line-height: var(--line-height-intro);
}

.frame-intro h1,
.frame-intro h2,
.frame-intro h3,
.frame-intro h4,
.frame-intro h5,
.frame-intro h6 {
  font-size: var(--font-size-intro);
  line-height: var(--line-height-intro);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0;
  text-transform: none;
}

.image-size-s .ce-gallery img,
.image-size-s .ce-image img {
  height: calc(var(--line-height-copy) * var(--image-size-s-lines));
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: top left;
}

.image-size-m .ce-gallery img,
.image-size-m .ce-image img {
  height: calc(var(--line-height-copy) * var(--image-size-m-lines));
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: top left;
}

.image-size-l .ce-gallery img,
.image-size-l .ce-image img {
  height: calc(var(--line-height-copy) * var(--image-size-l-lines));
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: top left;
}

/* Container */

.tx-container {
  display: grid;
  gap: var(--container-gap);
}

.tx-container__col {
  min-width: 0;
}

.tx-container--1-col {
  grid-template-columns: 1fr;
}

.tx-container--1-1 {
  grid-template-columns: 1fr 1fr;
}

.tx-container--1-2 {
  grid-template-columns: 1fr 2fr;
}

.tx-container--2-1 {
  grid-template-columns: 2fr 1fr;
}

.tx-container--2-3 {
  grid-template-columns: 2fr 3fr;
}

.tx-container--3-2 {
  grid-template-columns: 3fr 2fr;
}

.tx-container--1-1-1 {
  grid-template-columns: 1fr 1fr 1fr;
}

.tx-container__col > :last-child {
  margin-bottom: 0;
}

.background-color-blue,
.background-color-light-blue,
.background-color-gray {
  padding: var(--space-6);
}

/* Footer */

.site-footer {
  padding: var(--footer-padding-top) 0 0;
  text-align: center;
}

.site-footer__inner {
  border-top: 1px solid rgba(22, 67, 100, 0.2);
  padding-top: var(--footer-inner-padding-top);
  padding-bottom: var(--footer-inner-padding-bottom);
}

.site-footer__social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--footer-social-gap);
  margin: var(--footer-social-margin-bottom) 0;
}

.site-footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--social-icon-size);
  height: var(--social-icon-size);
}

.site-footer__social-link img {
  display: block;
  width: var(--social-icon-size);
  height: var(--social-icon-size);
  max-width: 100%;
  max-height: 100%;
}

.site-footer__top,
.site-footer__address,
.site-footer__contact {
  font-size: var(--font-size-footer);
  line-height: var(--line-height-footer);
}

.site-footer__top,
.site-footer__contact {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}

.site-footer__brand {
  margin: var(--footer-brand-margin-top) 0 var(--footer-brand-margin-bottom);
  font-size: var(--font-size-footer-brand);
  line-height: var(--line-height-footer-brand);
  font-weight: var(--font-weight-regular);
  letter-spacing: 0;
  text-transform: none;
}

.site-footer__sep {
  margin: 0 var(--footer-separator-margin);
}

.site-footer__copyright-bar {
  width: 100%;
  background: var(--color-blue);
  color: var(--color-white);
}

.site-footer__copyright-inner {
  width: min(100% - (2 * var(--space-page)), var(--site-width));
  margin: 0 auto;
  padding: var(--copyright-padding-y) 0;
  font-size: var(--font-size-footer);
  line-height: var(--line-height-footer);
  text-align: center;
}

/* Helpers */

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Responsive */

@media (max-width: 1024px) {
  :root {
    --space-page: 1.5rem;
    --indent-desktop: var(--indent-tablet);

    --font-size-copy: 1.125rem;
    --line-height-copy: 1.625rem;

    --font-size-intro: 1.625rem;
    --line-height-intro: 2.125rem;

    --font-size-h1: 1.625rem;
    --line-height-h1: 2.125rem;

    --font-size-h2: 2.25rem;
    --line-height-h2: 2.75rem;

    --font-size-h3: 1.25rem;
    --line-height-h3: 1.75rem;
  }

  .frame-layout-1 {
    padding-left: var(--indent-tablet);
  }

  .frame-layout-2 {
    padding-right: var(--indent-tablet);
  }

  .frame-layout-3 {
    padding-left: var(--indent-tablet);
    padding-right: var(--indent-tablet);
  }

  .frame-intro {
    padding-left: var(--intro-offset-tablet);
  }
}

@media (max-width: 820px) {
  :root {
    --font-size-copy: 1rem;
    --line-height-copy: 1.5rem;

    --font-size-intro: 1.375rem;
    --line-height-intro: 1.875rem;

    --font-size-h1: 1.375rem;
    --line-height-h1: 1.875rem;

    --font-size-h2: 1.875rem;
    --line-height-h2: 2.25rem;

    --font-size-h3: 1.125rem;
    --line-height-h3: 1.5rem;
  }

  .site-nav__quick {
    display: none;
  }

  .frame-layout-1,
  .frame-layout-2,
  .frame-layout-3 {
    padding-left: 0;
    padding-right: 0;
  }

  .frame-intro {
    padding-left: 0;
  }

  .tx-container,
  .tx-container--1-1,
  .tx-container--1-2,
  .tx-container--2-1,
  .tx-container--2-3,
  .tx-container--3-2,
  .tx-container--1-1-1 {
    display: grid;
    grid-template-columns: 1fr !important;
  }

  .frame .tx-container {
    grid-template-columns: 1fr !important;
  }

  .tx-container__col {
    width: 100%;
    min-width: 0;
  }
}
@media (max-width: 820px) {
  .frame-type-textmedia .ce-textpic,
  .frame-type-textpic .ce-textpic,
  .frame-type-textmedia .ce-textpic.ce-left.ce-intext,
  .frame-type-textmedia .ce-textpic.ce-right.ce-intext,
  .frame-type-textpic .ce-textpic.ce-left.ce-intext,
  .frame-type-textpic .ce-textpic.ce-right.ce-intext {
    display: block;
  }

  .frame-type-textmedia .ce-gallery,
  .frame-type-textpic .ce-gallery {
    float: none;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0.5rem;
  }

  .frame-type-textmedia .ce-bodytext,
  .frame-type-textpic .ce-bodytext {
    display: block;
    width: 100%;
  }

  .frame-type-textmedia .ce-gallery figure,
  .frame-type-textpic .ce-gallery figure,
  .frame-type-textmedia .ce-gallery .ce-row,
  .frame-type-textpic .ce-gallery .ce-row,
  .frame-type-textmedia .ce-gallery .ce-column,
  .frame-type-textpic .ce-gallery .ce-column {
    margin: 0;
    width: 100%;
  }

  .frame-type-textmedia .ce-gallery img,
  .frame-type-textpic .ce-gallery img {
    display: block;
    width: 100%;
    height: auto;
  }

  .frame-space-before-xl {
    margin-top: calc(var(--section-gap) * 1);
  }

  .frame-space-after-xl {
    margin-top: calc(var(--section-gap) * 1);
  }

  .ce-textpic.ce-vcenter figure {
    display: block;
    margin: var(--space-6) 0;
  }

}

@media (max-width: 560px) {
  :root {
    --space-page: 1.25rem;
    --font-size-h2: 1.625rem;
    --line-height-h2: 2rem;
    --container-gap: 1.25rem;
  }

  .site-header {
    padding-top: 1.25rem;
  }

  .site-logo {
    width: var(--logo-width-mobile);
  }

  .site-nav__panel {
    width: calc(100vw - 2.5rem);
  }

  .tx-container,
  .tx-container--1-1,
  .tx-container--1-2,
  .tx-container--2-1,
  .tx-container--2-3,
  .tx-container--3-2,
  .tx-container--1-1-1 {
    grid-template-columns: 1fr;
  }

  .tx-container__col {
    width: 100%;
  }

  .site-footer__top,
  .site-footer__contact {
    display: block;
  }

  .site-footer__sep {
    display: none;
  }

  .site-footer__social {
    margin: 1rem 0;
  }

  .site-footer__copyright-inner {
    padding: var(--copyright-padding-y-mobile) 0;
    font-size: 1rem;
    line-height: 1.5rem;
  }
}
