/* Grundlagen: Schriften, Farben, Typografie, Hilfsklassen.
   Farben und Schrift werden oben im :root-Block festgelegt. */

@font-face {
  font-display: swap;
  font-family: IBMPlexSans;
  font-weight: 700;
  src: url(/wp-content/themes/ruhrfutur/assets/fonts/IBMPlexSans/IBMPlexSans-700.eot);
  src: url(/wp-content/themes/ruhrfutur/assets/fonts/IBMPlexSans/IBMPlexSans-700?#iefix) format("embedded-opentype"), url(/wp-content/themes/ruhrfutur/assets/fonts/IBMPlexSans/IBMPlexSans-700.woff2) format("woff2"), url(/wp-content/themes/ruhrfutur/assets/fonts/IBMPlexSans/IBMPlexSans-700.woff) format("woff"), url(/wp-content/themes/ruhrfutur/assets/fonts/IBMPlexSans/IBMPlexSans-700.ttf) format("truetype");
}
@font-face {
  font-display: swap;
  font-family: IBMPlexSans;
  font-weight: 600;
  src: url(/wp-content/themes/ruhrfutur/assets/fonts/IBMPlexSans/IBMPlexSans-600.eot);
  src: url(/wp-content/themes/ruhrfutur/assets/fonts/IBMPlexSans/IBMPlexSans-600?#iefix) format("embedded-opentype"), url(/wp-content/themes/ruhrfutur/assets/fonts/IBMPlexSans/IBMPlexSans-600.woff2) format("woff2"), url(/wp-content/themes/ruhrfutur/assets/fonts/IBMPlexSans/IBMPlexSans-600.woff) format("woff"), url(/wp-content/themes/ruhrfutur/assets/fonts/IBMPlexSans/IBMPlexSans-600.ttf) format("truetype");
}
@font-face {
  font-display: swap;
  font-family: IBMPlexSans;
  font-weight: 500;
  src: url(/wp-content/themes/ruhrfutur/assets/fonts/IBMPlexSans/IBMPlexSans-500.eot);
  src: url(/wp-content/themes/ruhrfutur/assets/fonts/IBMPlexSans/IBMPlexSans-500?#iefix) format("embedded-opentype"), url(/wp-content/themes/ruhrfutur/assets/fonts/IBMPlexSans/IBMPlexSans-500.woff2) format("woff2"), url(/wp-content/themes/ruhrfutur/assets/fonts/IBMPlexSans/IBMPlexSans-500.woff) format("woff"), url(/wp-content/themes/ruhrfutur/assets/fonts/IBMPlexSans/IBMPlexSans-500.ttf) format("truetype");
}
@font-face {
  font-display: swap;
  font-family: IBMPlexSans;
  font-weight: 400;
  src: url(/wp-content/themes/ruhrfutur/assets/fonts/IBMPlexSans/IBMPlexSans-400.eot);
  src: url(/wp-content/themes/ruhrfutur/assets/fonts/IBMPlexSans/IBMPlexSans-400?#iefix) format("embedded-opentype"), url(/wp-content/themes/ruhrfutur/assets/fonts/IBMPlexSans/IBMPlexSans-400.woff2) format("woff2"), url(/wp-content/themes/ruhrfutur/assets/fonts/IBMPlexSans/IBMPlexSans-400.woff) format("woff"), url(/wp-content/themes/ruhrfutur/assets/fonts/IBMPlexSans/IBMPlexSans-400.ttf) format("truetype");
}
@font-face {
  font-display: swap;
  font-family: IBMPlexSans;
  font-weight: 300;
  src: url(/wp-content/themes/ruhrfutur/assets/fonts/IBMPlexSans/IBMPlexSans-300.eot);
  src: url(/wp-content/themes/ruhrfutur/assets/fonts/IBMPlexSans/IBMPlexSans-300?#iefix) format("embedded-opentype"), url(/wp-content/themes/ruhrfutur/assets/fonts/IBMPlexSans/IBMPlexSans-300.woff2) format("woff2"), url(/wp-content/themes/ruhrfutur/assets/fonts/IBMPlexSans/IBMPlexSans-300.woff) format("woff"), url(/wp-content/themes/ruhrfutur/assets/fonts/IBMPlexSans/IBMPlexSans-300.ttf) format("truetype");
}
p {
  font-size: 18px;
  line-height: 30px;
}
@media (max-width: 767px) {
  p {
    font-size: 17px;
    line-height: 28px;
  }
}

h1 {
  font-size: 65px;
  font-weight: 300;
}
@media (max-width: 767px) {
  h1 {
    font-size: 8vw;
  }
}
@media (max-width: 575px) {
  h1 {
    font-size: 9vw;
  }
}

h2 {
  font-size: 60px;
  font-weight: 300;
}
@media (max-width: 767px) {
  h2 {
    font-size: 7vw;
  }
}
@media (max-width: 575px) {
  h2 {
    font-size: 8vw;
  }
}

h3 {
  font-size: 40px;
  font-weight: 300;
}
@media (max-width: 767px) {
  h3 {
    font-size: 6vw;
  }
}
@media (max-width: 575px) {
  h3 {
    font-size: 7vw;
  }
}

h4 {
  font-size: 30px;
  font-weight: 300;
}
@media (max-width: 767px) {
  h4 {
    font-size: 5vw;
  }
}
@media (max-width: 575px) {
  h4 {
    font-size: 6vw;
  }
}

h5 {
  font-size: 25px;
  font-weight: 300;
}
@media (max-width: 767px) {
  h5 {
    font-size: 4vw;
  }
}
@media (max-width: 575px) {
  h5 {
    font-size: 5vw;
  }
}

h6 {
  font-size: 22px;
  font-weight: 300;
}
@media (max-width: 767px) {
  h6 {
    font-size: 3.5vw;
  }
}
@media (max-width: 575px) {
  h6 {
    font-size: 4.9vw;
  }
}

.post-title {
  font-size: 40px;
}
@media (max-width: 767px) {
  .post-title {
    font-size: 7vw;
  }
}
@media (max-width: 575px) {
  .post-title {
    font-size: 8vw;
  }
}

:root {
  /* RuhrFutur-Farben */
  --navy: #003762;         /* Hauptfarbe: Überschriften, Buttons, Navigation */
  --navy-dark: #002547;    /* aktiver Menüpunkt */
  --royal: #1e3884;        /* Royalblau: Veranstaltungen, Kontaktformular, Hover */
  --cyan: #00a6de;
  --sky: #99dbf1;          /* helles Blau: Fragen-Block */
  --green: #83b81a;
  --purple: #54378a;
  --light-blue: #e7f1fb;   /* Footer, helle Flächen */
  --lighter-blue: #f3f8fd;
  --light-grey: #fafafa;   /* graue Abschnitte */
  --white: #fff;
  --black: #000;
  --text: #1a1a1a;
  --grey: #cfcfcf;

  /* Schrift */
  --font: IBMPlexSans, Arial, sans-serif;
}

.navy {
  color: var(--navy);
}

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--navy);
  margin: 0;
  margin-bottom: 35px;
}

h4, h5, h6 {
  margin-bottom: 15px;
}

p {
  margin: 0;
  margin-bottom: 15px;
  color: var(--text);
}

strong, b {
  font-weight: 700;
}

.heading {
  position: relative;
}
.heading p {
  max-width: 750px;
}

.small-header--container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  padding: 25px;
  position: relative;
  max-width: 250px;
  min-height: 320px;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
@media (min-width: 768px) {
  .small-header--container {
    left: -25px;
  }
}
@media (min-width: 576px) {
  .small-header--container {
    left: -15px;
  }
}
@media (max-width: 575px) {
  .small-header--container {
    margin-bottom: 75px;
  }
}
.small-header--container::before {
  content: "";
  width: 100%;
  height: 100%;
  background-color: var(--royal);
  position: absolute;
  left: -20%;
  top: 0;
  rotate: 0;
  z-index: 1;
}
.small-header--container::after {
  content: "";
  width: 100%;
  height: 100%;
  background-color: var(--navy);
  position: absolute;
  left: 0;
  top: 0;
  rotate: 0;
  opacity: 0.9;
  z-index: 2;
}
.small-header--container > * {
  color: var(--white);
  position: relative;
  z-index: 3;
}

.bg-right, .bg-left {
  position: relative;
  padding: 50px 0;
  --rotate-deg: 0;
}
.bg-right::before, .bg-left::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 150%;
  -webkit-transform: rotate(var(--rotate-deg));
          transform: rotate(var(--rotate-deg));
}
@media (max-width: 767px) {
  .bg-right::before, .bg-left::before {
    margin-left: -45px;
    padding-right: 45px;
  }
}
@media (min-width: 768px) {
  .bg-right::before, .bg-left::before {
    margin-left: -20px;
  }
}
@media (min-width: 992px) {
  .bg-right::before, .bg-left::before {
    margin-left: 0;
  }
}
.bg-right > *, .bg-left > * {
  z-index: 1;
}

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

.bg-grey::before {
  background-color: var(--light-grey);
}

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

.bg-lighter-pink::before {
  background-color: var(--lighter-blue);
}

.left-shape {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 160px;
  height: 160px;
}
@media (max-width: 991px) {
  .left-shape {
    display: none;
  }
}
.left-shape .left-shape--wrapper {
  position: relative;
  height: 100%;
}
.left-shape .left-shape--wrapper .left-shape--background {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 80px;
  height: 80px;
  background-color: var(--cyan);
}
.left-shape .left-shape--wrapper .left-shape--foreground {
  position: absolute;
  left: 80px;
  bottom: 80px;
  width: 80px;
  height: 80px;
  background-color: var(--purple);
}

.right-shape {
  position: absolute;
  right: 0;
  top: 0;
  width: 160px;
}
@media (max-width: 991px) {
  .right-shape {
    display: none;
  }
}
.right-shape .right-shape--wrapper {
  position: relative;
}
.right-shape .right-shape--wrapper .right-shape--background {
  position: absolute;
  right: 0;
  width: 80px;
  height: 80px;
  background-color: var(--green);
}
.right-shape .right-shape--wrapper .right-shape--foreground {
  position: absolute;
  right: 80px;
  top: 80px;
  width: 80px;
  height: 80px;
  background-color: var(--cyan);
}
.right-shape .right-shape--wrapper .mid-shape--background {
  display: none;
}

.shapes-active {
  position: relative;
  overflow-x: clip;
}
@media (max-width: 1919px) {
  .shapes-active .right-shape {
    display: none;
  }
  .shapes-active .left-shape {
    display: none;
  }
}

.d-grid {
  display: grid;
}

.h-fit-content {
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
}

.justify-content-center {
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.justify-content-end {
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
}

.justify-content-space-between {
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

@media (min-width: 1200px) {
  .col-xl-25 {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 auto;
            flex: 0 0 auto;
    width: 20%;
  }
}

@media (max-width: 359px) {
  .col-xs-12 {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 auto;
            flex: 0 0 auto;
    width: 100%;
  }
}

.row-gap-40 {
  row-gap: 40px;
}

.row-gap-10 {
  row-gap: 10px;
}

@media (max-width: 767px) {
  .row-gap-md-25 {
    row-gap: 25px;
  }
}

@media (min-width: 1200px) {
  .row-xl-10 {
    width: 83.33333%;
    margin: 0 auto;
  }
}

.p-10 {
  padding: 10px;
}

.pt-50 {
  padding-top: 50px;
}

.pt-100 {
  padding-top: 100px;
}

.mt-20 {
  margin-top: 20px !important;
}

.mt-50 {
  margin-top: 50px;
}

.mb-5 {
  margin-bottom: 5px;
}

.mb-10 {
  margin-bottom: 10px;
}

.mb-75 {
  margin-bottom: 75px;
}

.mb-100 {
  margin-bottom: 100px;
}

.mb-50 {
  margin-bottom: 50px;
}

.mb-35 {
  margin-bottom: 35px;
}

.mb-10 {
  margin-bottom: 10px;
}

@media (min-width: 992px) {
  .pr-lg-25 {
    padding-right: 25px;
  }
}

@media (min-width: 992px) {
  .pl-lg-25 {
    padding-left: 25px;
  }
}

.pt-100 {
  padding-top: 100px;
}

.nav-hidden {
  visibility: hidden;
  height: 100vh;
  width: 100%;
  position: fixed;
  z-index: 8;
  background-color: var(--white);
  overflow-y: hidden;
  overflow-x: hidden;
  -webkit-transform: translateX(-100%);
          transform: translateX(-100%);
  -webkit-transition: cubic-bezier(0.57, 0.09, 0.31, 1) 0.5s all;
  transition: cubic-bezier(0.57, 0.09, 0.31, 1) 0.5s all;
  right: 0;
}

.open-menu {
  -webkit-transform: translateX(0);
          transform: translateX(0);
  -webkit-transition: 0.5s all;
  transition: 0.5s all;
  visibility: visible;
}

#loading {
  position: fixed;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 1;
  background-color: #fff;
  z-index: 9999;
}

.container-fluid {
  padding-left: 50px;
  padding-right: 50px;
}
@media (min-width: 1600px) {
  .container-fluid {
    max-width: 1500px;
  }
}
@media (max-width: 991px) {
  .container-fluid {
    padding-left: 25px;
    padding-right: 25px;
  }
}

main.page, main.post {
  margin-top: 100px;
}
@media (max-width: 991px) {
  main.page, main.post {
    margin-top: 80px;
  }
}

.split-line {
  -webkit-font-kerning: none;
          font-kerning: none;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  overflow: hidden;
}
.split-line .line {
  -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
          clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}
.split-line .line .word {
  -webkit-transform: translateY(175%);
          transform: translateY(175%);
  opacity: 0;
}

.not-found {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
}
.not-found .not-found--contianer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  min-height: 70vh;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  gap: 20px;
}
.not-found .not-found--contianer h1 {
  font-size: 120px;
  margin-bottom: 5px;
}
@media (max-width: 575px) {
  .not-found .not-found--contianer h1 {
    font-size: 100px;
  }
}
.not-found .not-found--contianer p {
  text-align: center;
}

:host {
  width: 100%;
  height: 500px;
}
