/*--------------------------------------------------------------
# Variables
--------------------------------------------------------------*/

@font-face {
  font-family: 'Nohemi';
  src: url('fonts/nohemi/Nohemi-Regular.eot'); /* IE9 Compat Modes */
  src: url('fonts/nohemi/Nohemi-Regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/nohemi/Nohemi-Regular.woff') format('woff'), /* Modern Browsers */
       url('fonts/nohemi/Nohemi-Regular.woff2') format('woff2'), /* Modern Browsers */
       url('fonts/nohemi/Nohemi-Regular.ttf') format('truetype'); /* Safari, Android, iOS */
           font-style: normal;
  font-weight: normal;
  text-rendering: optimizeLegibility;
}

@font-face {
  font-family: 'NohemiMed';
  src: url('fonts/nohemi/Nohemi-Medium.eot'); /* IE9 Compat Modes */
  src: url('fonts/nohemi/Nohemi-Medium.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/nohemi/Nohemi-Medium.woff') format('woff'), /* Modern Browsers */
       url('fonts/nohemi/Nohemi-Medium.woff2') format('woff2'), /* Modern Browsers */
       url('fonts/nohemi/Nohemi-Medium.ttf') format('truetype'); /* Safari, Android, iOS */
           font-style: normal;
  font-weight: normal;
  text-rendering: optimizeLegibility;
}

@font-face {
  font-family: 'NohemiLight';
  src: url('fonts/nohemi/Nohemi-Light.eot'); /* IE9 Compat Modes */
  src: url('fonts/nohemi/Nohemi-Light.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/nohemi/Nohemi-Light.woff') format('woff'), /* Modern Browsers */
       url('fonts/nohemi/Nohemi-Light.woff2') format('woff2'), /* Modern Browsers */
       url('fonts/nohemi/Nohemi-Light.ttf') format('truetype'); /* Safari, Android, iOS */
           font-style: normal;
  font-weight: normal;
  text-rendering: optimizeLegibility;
}


:root {
  /* Colors */
  --primary-color: #8F2C3D;
  --secondary-color: #DECED1;
  --light-color: #FCFAFA;
  --black-color: #1D1D1B;
  --white-color: #ffffff;

  /* Spacing */
  --spacing-large: 80px;
  --spacing-medium: 40px;
  --spacing-small: 30px;
  --spacing-col: 30px;
  --height-navigation: 92px;

  /* Font Sizes */
  --font-size-base: 16px;
  --font-size-h1: 36px;
  --font-size-h2: 28px;
  --font-size-h3: 20px;
  --font-size-quote: 20px;
  --font-size-lead: 18px;
  --font-size-small: 14px;
  --font-size-tiny: 12px;

  /* Sonstiges */
  color-scheme: light;
}

@media (min-width: 992px) {
:root {
  /* Spacing */
  --spacing-large: 120px;
  --spacing-medium: 80px;
  --spacing-small: 40px;
  --spacing-col: 30px;
  --height-navigation: 118.59px;

  /* Font Sizes */
  --font-size-base: 18px;
  --font-size-h1: 72px;
  --font-size-h2: 50px;
  --font-size-h3: 32px;
  --font-size-quote: 26px;
  --font-size-lead: 20px;
  --font-size-small: 16px;
  --font-size-tiny: 14px;
}
}

@media (min-width: 1200px) {
:root {
  /* Spacing */
  --spacing-large: 160px;
  --spacing-medium: 100px;
  --spacing-small: 60px;
}
}


/*--------------------------------------------------------------
# Body
--------------------------------------------------------------*/

html {
    scroll-behavior: smooth;
}

body {
  font-family: "NohemiLight", sans-serif;
  position: relative;
  width: 100%;
  height: 100%;
  color: var(--black-color);
  font-size: var(--font-size-base);
  overflow-x: hidden;
}

* {
    scroll-padding-top: calc(var(--height-navigation) + 30px);
}

/*--------------------------------------------------------------
# Layout
--------------------------------------------------------------*/

@media (min-width: 1600px) {
.container {
    max-width: 1520px!important;
}
}

@media (min-width: 2000px) {
.container {
    max-width: 1820px!important;
}
}

.section-spacing-lg {
  padding-top: var(--spacing-large);
  padding-bottom: var(--spacing-large);
}

.mt-navbar {
  margin-top: var(--height-navigation);
}

.mt-lg {
  margin-top: var(--spacing-large);
}

.mb-col {
  margin-bottom: 30px;
}

@media (max-width: 991px) {
.mb-col-lg {
  margin-bottom: 30px;
}
}

/*--------------------------------------------------------------
# Backgrounds
--------------------------------------------------------------*/

.bg-light {
  background-color: var(--secondary-color)!important;
}

.bg-dark {
  background-color: var(--black-color)!important;
}

.bg-dark a {
  color: var(--white-color)!important;
}

.bg-dark a:hover {
  opacity: 0.8;
}

/*--------------------------------------------------------------
# Links
--------------------------------------------------------------*/

a {
  color: var(--primary-color);
  text-decoration: none!important;
}

a:hover,
a:focus {
  color: var(--black-color);
}

/*--------------------------------------------------------------
# Typografie
--------------------------------------------------------------*/

h1 {
  font-size: var(--font-size-h1);
  font-family: "linotype-didot", serif;
  font-weight: 700;
  font-style: normal;
  color: var(--primary-color);
}

h2 {
  font-size: var(--font-size-h2);
  font-family: "linotype-didot", serif;
  font-weight: 700;
  font-style: normal;
  color: var(--primary-color);
}

h3 {
  font-size: var(--font-size-h3);
  font-family: "linotype-didot", serif;
  font-weight: 700;
  font-style: normal;
  color: var(--primary-color);
}

.lead {
  font-size: var(--font-size-lead);
}

.quote {
  font-size: var(--font-size-quote);
}

.text-main {
  color: var(--primary-color);
}

strong, .strong {
  font-family: "NohemiMed", sans-serif;
    font-weight: normal;
}

/*--------------------------------------------------------------
# Buttons
--------------------------------------------------------------*/

.btn {
  padding: .6rem 1.5rem .5rem 1.5rem;
  font-size: var(--font-size-base);
  border-radius: 0;
}

.btn-sm {
  padding: .3rem 1rem;
  font-size: var(--font-size-small);
}

.btn-main {
  color: var(--white-color);
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-main:hover,
.btn-main:focus,
.btn-main:active {
  color: var(--white-color)!important;
  background: var(--black-color)!important;
  border-color: var(--black-color)!important;
}

.btn-white {
  color: var(--primary-color);
  background: var(--white-color);
  border-color: var(--white-color);
}

.btn-white:hover,
.btn-white:focus,
.btn-white:active {
  color: var(--primary-color)!important;
  background: var(--secondary-color)!important;
  border-color: var(--secondary-color)!important;
}

.btn-main-outline {
  color: var(--primary-color);
  background: var(--white-color);
  border-color: var(--primary-color);
}

.btn-main-outline:hover,
.btn-main-outline:focus,
.btn-main-outline:active {
  color: var(--white-color)!important;
  background: var(--black-color)!important;
  border-color: var(--black-color)!important;
}

/*--------------------------------------------------------------
# Cards
--------------------------------------------------------------*/

.card-body {
    padding: 20px;
}

.card-footer {
    padding: 0 20px 20px 20px;
    background: none;
    border-top: none
}

/*--------------------------------------------------------------
# Cards
--------------------------------------------------------------*/

.accordion-button {
    -webkit-box-shadow: none!important;
            box-shadow: none!important;
}

.accordion-button:not(.collapsed) {
    color: var(--black-color);
    background: none;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/

.hero-section {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  height: calc(100vh - var(--height-navigation));
}

.hero-section .container-fluid {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding-bottom: var(--spacing-large);
}

.hero-image {
  width: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.hero-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

@media (min-width: 992px) {
.hero-section {
  min-height: 620px;
}
}

@media (max-width: 991px) {
.hero-section {
  height: 100%;
  display: block;
}

.hero-section .container-fluid {
  position: relative;
  padding-bottom: var(--spacing-large);
  padding-top: var(--spacing-large);
}

.hero-image {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  aspect-ratio: 3/2;
}
}

.ul-lines {
  list-style: none;
  padding-left: 2.5rem;
  margin: 0;
}

.ul-lines li {
  position: relative;
  margin-bottom: 6px;
  max-width: 520px;
}

.ul-lines li::before {
  content: "—";
  position: absolute;
  left: -2.5rem;
}

hr.h2-hr-right {
  margin-top: 40px;
  margin-bottom: 40px;
  opacity: 1;
  border-color: var(--primary-color);
}

@media (max-width: 991px) {
hr.h2-hr-right {
  margin-top: 20px;
  margin-bottom: 20px;
}
}

.card-loesungen {
  border-radius: 0;
  padding: 20px;
  background: var(--light-color);
  border: none;
}

@media (max-width: 991px) {
.card-loesungen {
  padding: 0;
}
}

.card-loesungen .ul-lines li {
  margin-bottom: 2px;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/

body.nav-open {
  overflow: hidden;
}

/* Base Navigation */
#navigation {
  position: sticky;
  top: 0;
  width: 100%;
  padding-top: 36px;
  padding-bottom: 36px;
  background: var(--white-color);
  z-index: 1002;
}

#navigation .container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: inherit;
      flex-wrap: inherit;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.navbar-brand {
  z-index: 1002;
  padding: 0;
}

.navbar-logo {
  height: 46px;
}

.nav-link {
  color: var(--black-color);
  font-size: var(--font-size-base);
}

/* Burger Icon */
#burgerToggle {
  display: none;
}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 16px;
        padding-left: 16px;
    }
}

/* Mobile Fullscreen Nav */
@media (max-width: 991px) {
  #navigation {
    padding-top: 26px;
    padding-bottom: 26px;
  }

  .navbar-logo {
    height: 40px;
  }

  #burgerToggle {
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -webkit-box-shadow: none!important;
            box-shadow: none!important;
    border: none;
    background: transparent;
    padding: 0;
    -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;
    height: 40px;
    width: 40px;
    z-index: 1003;
  }

  .burger-line {
    display: block;
    width: 30px;
    height: 2px;
    margin: 4px auto;
    background-color: var(--black-color);
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }

  .burger-open .burger-line:nth-child(1) {
    -webkit-transform: rotate(45deg) translate(7px, 7px);
            transform: rotate(45deg) translate(7px, 7px);
  }
  .burger-open .burger-line:nth-child(2) {
    opacity: 0;
  }
  .burger-open .burger-line:nth-child(3) {
    -webkit-transform: rotate(-45deg) translate(7px, -7px);
            transform: rotate(-45deg) translate(7px, -7px);
  }

  .navbar-collapse {
    position: relative;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background: white;
    margin-top: 20px;
    padding-top: 0;
    padding-bottom: 60px;
    -webkit-transform: translateY(-100%);
            transform: translateY(-100%);
    -webkit-transition: -webkit-transform 0.3s ease;
    transition: -webkit-transform 0.3s ease;
    transition: transform 0.3s ease;
    transition: transform 0.3s ease, -webkit-transform 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
  }

  .navbar-collapse.show {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }

  .navbar-nav {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: start;
  }

  .dropdown-menu {
    position: static !important;
    float: none;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
  }

  .dropdown-menu .dropdown-item {
    padding: 0;
    text-align: left;
  }

  .navbar-nav .dropdown-item:hover,
  .navbar-nav .dropdown-item.active {
    color: var(--primary-color);
    background: none;
  }

  .navbar-nav .dropdown-menu li:last-child .dropdown-item {
    margin-bottom: 10px;
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

.footer-navigation li .btn-link,
.footer-navigation li {
  text-decoration: none!important;
  font-size: var(--font-size-base);
}

.footer-navigation li ul li {
  font-size: var(--font-size-small);
}

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

.footer-logo {
  height: 70px;
}

.footer a.link-white {
  color: var(--white-color);
}

.footer a.link-white:hover {
  color: var(--secondary-color);
}

/*--------------------------------------------------------------
# Tiny MCE
--------------------------------------------------------------*/

.tox-tinymce {
  top: auto!important;
  bottom: 0!important;
  position: fixed!important;
}

.tox-form__group--stretched .tox-label {
  display: none!important;
}

.tox-form__group {
  margin-bottom: 10px!important;
}