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

:root {
  --text-color: #02444A;
  --bethlehemacker: #02444A;
  --weidmattweg: #CCA757;
  --white: #ffffff;
  color-scheme: only light;
}

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

html {
    scroll-behavior: smooth;
}

body {
  position: relative;
  width: 100%;
  height: 100%;
  color: var(--text-color);
  font-size: 18px;
  font-family: "Rethink Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

@media (max-width: 991px) {
body {
  font-size: 17px;
}
}

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

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

.abstand {
    margin-top: 120px;
    margin-bottom: 120px;
}

.abstandpadding {
    padding-top: 120px;
    padding-bottom: 120px;
}

.abstand-container-fluid {
  padding-left: 30px;
  padding-right: 30px;
}

@media (min-width: 992px) {
.abstand-container-fluid {
  padding-left: 80px;
  padding-right: 80px;
}
}

@media (min-width: 2000px) {
.abstand-container-fluid {
  padding-left: 160px;
  padding-right: 160px;
}
}

@media (max-width: 991px) {
.abstandlg {
    margin-bottom: 40px;
}
.abstand {
    margin-top: 80px;
    margin-bottom: 80px;
}
.abstandpadding {
    padding-top: 80px;
    padding-bottom: 80px;
}
}

@media (max-width: 767px) {
.abstandmd {
    margin-bottom: 40px;
}
}

.slidescroller {
    margin-top: 0;
    padding-top: 0;
}

@media (max-width: 1199px) {
.slidescroller {
    margin-top: -134px;
    padding-top: 134px;
}
}

@media (max-width: 375px) {
.slidescroller {
    margin-top: -114px;
    padding-top: 114px;
}
}

.col-minus-1-left {
  padding-top: 1.5rem;
}

.col-plus-1-left {
  padding-top: 1.5rem;
}

@media (min-width: 992px) {
.col-minus-1-left {
  margin-left: -8%;
  padding-top: 5%;
}
.col-plus-1-left {
  margin-left: -8%;
  padding-top: 0;
}
.col-plus-2-left {
  margin-top: 5%;
}
}

@media (min-width: 1200px) {
.abstandtop-col-vorstand {
  margin-top: -14%;
}

.startseite-1-col img {
  max-width: 360%;
  margin-left: -160%;
  margin-top: -160%;
}
}

@media (max-width: 1199px) {
.startseite-2-col {
  margin-left: -6%;
  margin-top: 10%;
}
}

@media (max-width: 1199px) {
.startseite-2-col {
  margin-left: -6%;
  margin-top: 10%;
}
}

@media (max-width: 991px) {
.abstand-startseite {
  padding: 0!important;
}
.abstand-startseite .row {
  margin: 0!important;
}
.startseite-1-col {
  overflow: hidden;
  padding: 0;
  margin-top: -5%;
}
.startseite-2-col {
  margin-top: 10%;
  margin-left: 0;
  padding: 0;
  z-index: 4!important;
}
.startseite-2-col img {
  max-width: 120%;
}
.abstand-startseite-text {
  padding-left: 30px;
  padding-right: 45px;
}
}

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

.hero {
    width: 100%;
    height: 100vh;
    background-color: var(--text-color);
    padding-top: 240px;
}

.hero.hero-weidmattweg {
    background-color: var(--weidmattweg);
}

@media (max-height: 700px) {
.hero {
    padding-top: 324px;
    padding-bottom: 120px;
    height: 100%;
}
}

@media (max-width: 1199px) {
.hero {
    padding-top: 204px;
    padding-bottom: 80px;
    height: 100%;
}
}

.bg-primary {
    background-color: var(--text-color)!important;
}

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

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

a {
  color: var(--text-color);
}

a:focus, a:hover {
  color: var(--text-color);
  text-decoration: none;
}


.link-animated-simple {
  background: -webkit-gradient(linear, left top, right top, from(currentColor), color-stop(0, transparent), color-stop(0, currentColor)) var(--d, 0%) 100% /300% 1.4px no-repeat;
  background: linear-gradient(90deg, currentColor calc(100%/3), transparent 0 calc(200%/3), currentColor 0) var(--d, 0%) 100% /300% 1.4px no-repeat;
  padding-bottom: 4px;
}

.link-animated-simple:hover {
  --d: 100%;
  -webkit-transition: 0.5s;
  transition: 0.5s
}

h1 {
  font-size: 54px;
  font-weight: 450;
}

h2 {
  font-size: 40px;
  font-weight: 450;
}

h3 {
  font-size: 20px;
  font-weight: 500;
}

h4 {
  font-size: 26px;
  font-weight: 450;
}

strong,.strong {
  font-weight: 500;
}

.marked {
  color: var(--text-color);  
}

@media (max-width: 991px) {
h1 {
  font-size: 40px;
}
h2 {
  font-size: 32px;
}
}

@media (max-width: 767px) {
h1 {
  font-size: 26px;
}
h2 {
  font-size: 22px;
}
h3 {
  font-size: 19px;
}
h4 {
  font-size: 21px;
}
.lead {
    font-size: 18px!important;
}
}

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

.btn {
    padding: 0.5rem 1.25rem;
    border-radius: 2.55rem;
}

.btn-primary {
  color: var(--white);
  background-color: var(--bethlehemacker)!important;
  border-color: var(--bethlehemacker)!important;
  -webkit-box-shadow: none!important;
          box-shadow: none!important;
}

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

.btn-second {
  color: var(--white);
  background-color: var(--weidmattweg)!important;
  border-color: var(--weidmattweg)!important;
  -webkit-box-shadow: none!important;
          box-shadow: none!important;
}

.btn-second:hover {
  color: var(--white);
  background-color: #382A0C!important;
  border-color: #382A0C!important;
}

.btn-second.nohover {
  color: var(--white);
  background-color: var(--weidmattweg)!important;
  border-color: var(--weidmattweg)!important;
  -webkit-box-shadow: none!important;
          box-shadow: none!important;
}

.btn-outline-primary {
  color: var(--text-color);
  border-color: var(--text-color);
}

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

.btn-outline-dark {
  color: var(--bethlehemacker)!important;
  border-color: var(--bethlehemacker)!important;
}

.btn-outline-dark:hover {
  color: var(--white)!important;
  background-color: var(--bethlehemacker)!important;
  border-color: var(--bethlehemacker)!important;
}

.vorstandline {
  margin-top: 0.6rem;
  margin-bottom: 0.6rem;
  border: 0;
  border-top: 1.5px solid var(--text-color);
}

.wertelinie {
  margin-top: 2.6rem;
  margin-bottom: 2.6rem;
  border: 0;
  border-top: 2px solid var(--white);
}

.werteliniexl {
  margin-top: 2.6rem;
  margin-bottom: 2.6rem;
  border: 0;
  border-top: 2px solid var(--white);
}

.border-left-lg {
  border-left: 2px solid var(--white);
}

.border-left-xl {
  border-left: 2px solid var(--white);
}

.wertelinie-lg {
  display: none;
}

.wertelinie-xl {
  display: none;
}

@media (max-width: 991px) {
.vorstandline {
  border-top: 1px solid var(--text-color);
}

.wertelinie {
  margin-top: 1rem;
  margin-bottom: 1rem;
  border-top: 1px solid var(--white);
}

.border-left-lg {
  border: none;
}

.wertelinie-lg {
  margin-top: 1rem;
  margin-bottom: 1rem;
  border-top: 1px solid var(--white);
  display: block;
}
}

@media (max-width: 1199px) {
.werteliniexl {
  margin-top: 1rem;
  margin-bottom: 1rem;
  border-top: 1px solid var(--white);
}
.border-left-xl {
  border: none;
}
.wertelinie-xl {
  margin-top: 1rem;
  margin-bottom: 1rem;
  border-top: 1px solid var(--white);
  display: block;
}
}

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

#navigation {
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
  z-index: 997;
  padding-top: 44px;
  padding-bottom: 44px;
  background: var(--text-color);
}

#navigation.nav-weidmattweg {
  background: var(--weidmattweg);
}

#navigation.header-scrolled,#navigation.nav-weidmattweg.header-scrolled {
  background: var(--white);
  padding-top: 24px;
  padding-bottom: 24px;
}

#navigation .st0 {
  fill: #ffffff;
}

#navigation.header-scrolled .st0 {
  fill: #02444A;
}

.navbar-logo {
  width: 300px;
}

@media (max-width: 1199px) {
#main-menu {
    margin-top: 20px;
    margin-bottom: 6px;
}
#navigation {
  padding-top: 16px;
  padding-bottom: 16px;
}
#navigation.header-scrolled,#navigation.nav-weidmattweg.header-scrolled {
  background: var(--white);
  padding-top: 16px;
  padding-bottom: 16px;
}
.navbar-logo {
  width: 240px;
}
.navbar-nav {
  padding-left: 44px;
}
}

@media (min-width: 1200px) {
#navigation a.nav-link {
  position: relative;
  font-size: 18px;
  font-weight: 450;
  text-decoration: none!important;
  color: var(--white);
  padding: 6px 0 6px 0;
}
#navigation.header-scrolled a.nav-link {
  color: var(--text-color);
  margin-top: 20px;
}
#navigation.header-scrolled a.btn {
  margin-top: 20px;
}
a.nav-link::after {
  content: '';
  position: absolute;
  width: 100%;
  -webkit-transform: scaleX(0);
          transform: scaleX(0);
  height: 1.4px;
  bottom: 5px;
  left: 0;
  color: var(--white);
  background-color: var(--white);
  -webkit-transform-origin: bottom right;
          transform-origin: bottom right;
  -webkit-transition: -webkit-transform 0.25s ease-out;
  transition: -webkit-transform 0.25s ease-out;
  transition: transform 0.25s ease-out;
  transition: transform 0.25s ease-out, -webkit-transform 0.25s ease-out;
}
.header-scrolled a.nav-link::after {
  color: var(--text-color);
  background-color: var(--text-color);
}
a.nav-link:hover::after {
  -webkit-transform: scaleX(1);
          transform: scaleX(1);
  -webkit-transform-origin: bottom left;
          transform-origin: bottom left;
}
a.nav-link.active::after {
  -webkit-transform: scaleX(1);
          transform: scaleX(1);
  -webkit-transform-origin: bottom left;
          transform-origin: bottom left;
}
}

@media (max-width: 1199px) {
.navbar-nav {
  padding-top: 30px;
  padding-bottom: 6px;
}
a.nav-link {
  position: relative;
  color: var(--white);
  text-decoration: none!important;
  font-size: 18px;
  line-height: 28px;
  font-weight: 400;
  display: inline;
}
.header-scrolled a.nav-link {
  color: var(--text-color);
}
a.nav-link:hover {
  color: var(--white);
}
.header-scrolled a.nav-link:hover {
  color: var(--text-color);
}
}

@media (max-width: 375px) {
.navbar-logo {
  width: 180px;
}
.navbar-nav {
  padding-left: 33px;
}
}

button:focus {
    outline: none!important;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(255,255,255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M7 4l19 19m0-19L7 23'/%3e%3c/svg%3e");
}

.collapsed .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(255,255,255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.header-scrolled .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(2,68,74, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M7 4l19 19m0-19L7 23'/%3e%3c/svg%3e");
}

.header-scrolled .collapsed .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(2,68,74, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}


/*--------------------------------------------------------------
# Sidenavigation
--------------------------------------------------------------*/

#collapsesidenav {
	list-style-type: none;
  margin: 0;
  padding: 0;
}

#collapsesidenav ul {
	list-style-type: none;
  margin: 0;
  padding: 0;
}

#collapsesidenav .active a {
  color: var(--white);
}

#collapsesidenav a:hover {
  color: var(--white);
}

#collapsesidenav a {
  color: var(--white);
}


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

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

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

@media (min-width: 992px) {
.footerabstand {
  padding-top: 54px;
}
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/

.col-icon {
  max-width: 80px;
  padding-right: 5px;
}


.row-wohnungen-1 img {
    margin-bottom: 1.5rem;
    margin-top: 80px;
}

.row-wohnungen-2 img {
    margin-bottom: 1.5rem;
}

.row-wohnungen-3 img {
    margin-bottom: 80px;
}

@media (min-width: 992px) {
.row-wohnungen-1 img {
    z-index: 2;
    position: relative;
}

.row-wohnungen-1 .col-lg-5 {
  position: relative; /* Ensures transform applies correctly */
  -webkit-transform: translateY(35%);
          transform: translateY(35%); /* Moves it up by 50% of its height */
}

.row-wohnungen-2 .col-lg-7 img {
  position: relative; /* Ensures transform applies correctly */
}

.row-wohnungen-3 .col-lg-3 {
  position: relative; /* Ensures transform applies correctly */
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%); /* Moves it up by 50% of its height */
  margin-bottom: -80px;
}
}

@media (min-width: 1200px) {
.row-wohnungen-1 .col-lg-5 {
    margin-top: -100px;
}

.row-wohnungen-3 .col-lg-3 {
  margin-bottom: -160px;
}
}

@media (min-width: 1600px) {
.row-wohnungen-1 .col-lg-5 {
    margin-top: -200px;
}

.row-wohnungen-3 .col-lg-3 {
  margin-bottom: -250px;
}
}

/*--------------------------------------------------------------
# Cookies
--------------------------------------------------------------*/

.cookiealert {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    margin: 0 !important;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    border-radius: 0;
    -webkit-transform: translateY(100%);
            transform: translateY(100%);
    -webkit-transition: all 500ms ease-out;
    transition: all 500ms ease-out;
    color: var(--white);
    background-color: rgba(0, 0, 0, 0.85);
    
}

.cookiealert.show {
    opacity: 1;
    visibility: visible;
    -webkit-transform: translateY(0%);
            transform: translateY(0%);
    -webkit-transition-delay: 1000ms;
            transition-delay: 1000ms;
}

.cookiealert a {
    text-decoration: underline
}

.cookiealert .acceptcookies {
    margin-top: 10px;
    vertical-align: baseline;
}

.disclaimer-footer {
  text-align: right;
}

@media (max-width: 768px) {
.disclaimer-footer {
  text-align: left;
}
}

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

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