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

:root {
  --primary-color: #004F9F;
  --secondary-color: #088ece;
  --third-color: #e30613;
  --text-color: #282727;
  --white: #ffffff;
  color-scheme: only light;
}

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

html {
    scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  position: relative;
  width: 100%;
  height: 100%;
  color: var(--text-color);
  font-size: 16px;
  font-weight: 400;
}

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

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

.abstand {
    margin-top: 100px;
    margin-bottom: 100px;
}
.abstandtop {
    margin-top: 100px;
}
.abstandpadding {
    padding-top: 100px;
    padding-bottom: 100px;
}

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

@media (max-width: 767px) {
.abstandmd {
    margin-bottom: 40px;
}
.abstand {
    margin-top: 60px;
    margin-bottom: 60px;
}
.abstandtop {
    margin-top: 60px;
}
.abstandpadding {
    padding-top: 60px;
    padding-bottom: 60px;
}
}

.slidescroller {
    margin-top: -136px;
    padding-top: 136px;
}

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

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

.hero {
    width: 100%;
    height: 100vh;
    background: url(../dmxDaten/home/Background-Home-LG.jpg) bottom center no-repeat;
    background-attachment: fixed;
    background-size: cover;
    padding-top: 136px;
}

.hero-home {
    width: 100%;
    height: 100vh;
    background: url(../dmxDaten/home/hero-2025/hero-2025-home-lg.jpg) left center no-repeat;
    background-size: cover;
    padding-top: 136px;
}

@media (min-width: 1200px) and (max-aspect-ratio: 10/6) {
.hero-home {
    background: url(../dmxDaten/home/hero-2025/hero-2025-home-high.jpg) left center no-repeat;
    background-size: cover;
}
}

@media (max-height: 744px) {
.hero {
    padding-top: 236px;
    padding-bottom: 100px;
    height: 100%;
    background-attachment: scroll;
}
.hero-home {
    padding-top: 236px;
    padding-bottom: 100px;
    height: 100%;
}
}

@media (max-width: 1199px) {
.hero {
    padding-top: 236px;
    padding-bottom: 0;
    height: 100%;
    background: none;
}
.hero-home {
    padding-top: 136px;
    padding-bottom: 0;
    height: 100%;
    background: none;
}
}

@media (max-width: 767px) {
.hero {
    padding-top: 196px;
    padding-bottom: 0;
    height: 100%;
    background: none;
}
.hero-home {
    padding-top: 136px;
    padding-bottom: 0;
    height: 100%;
    background: none;
}
}

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

.bg-beratungszentrum {
    color: #ffffff;
    height: 100%;
    background-image: url(../dmxDaten/home/BG-Beratungszentrum-LG.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

@media (max-width: 991px) {
.bg-beratungszentrum {
    background-image: url(../dmxDaten/home/BG-Beratungszentrum-Textur.jpg);
}
}

.bg-kontakt {
    color: #ffffff;
    height: 100%;
    background-image: url(../dmxDaten/home/BG-Beratungszentrum-Textur.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

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

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

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

h1 {
  font-size: 32px;
  font-weight: 600;
}

h2 {
  font-size: 28px;
  font-weight: 600;
}

h3 {
  font-size: 24px;
  font-weight: 600;
}

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

.lead {
    font-size: 20px!important;
}

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

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

.btn {
    padding: 0.5rem 1.25rem;
    border-radius: 1.55rem;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

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

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

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

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

.btn-grey {
  color: var(--white);
  background-color: #6F6462;
  border-color: #6F6462;
}

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


.btn-rot-negativ {
  color: var(--third-color);
  background-color: var(--white);
  border-color: var(--white);
}

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

.btn-rot-negativ-outline {
  color: var(--white);
  background: none;
  border-color: var(--white);
}

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

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

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

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

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

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/


.faq-list {
  border-top: 1px solid #ddd;
}

.faq-item {
  border-bottom: 1px solid #ddd;
  color: #282727!important;
}

.faq-question {
  width: 100%;
  background: none;
  border: 0;
  padding: 16px 0;
  font-size: 1rem;
  text-align: left;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.faq-question:focus {
  outline: none;
}

.faq-icon {
    margin-left: 16px;
}

.faq-icon::before {
  content: "+";
  font-size: 1.5rem;
  line-height: 1;
}

.faq-question:not(.collapsed) .faq-icon::before {
  content: "–";
}

.faq-answer {
  padding: 0 0 16px 0;
}

.card {
  border: none;
  border-radius: 10px;
  -webkit-box-shadow: 0px 2px 20px rgba(0, 79, 159, 0.05);
          box-shadow: 0px 2px 20px rgba(0, 79, 159, 0.05);
}

.card-img-top {
  border-radius: 10px 10px 0 0;
}

.card-footer {
  background-color: #ffffff;
  border: none;
  padding: 0 1.5rem 1.5rem 1.5rem;
}

.accordion .card {
  -webkit-box-shadow: none;
          box-shadow: none;
}

.accordion .card .card-header {
  background-color: var(--white);
}

.accordion .card .card-header .btn-link {
  color: var(--primary-color);
}

.icon-box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.icon-box .icon {
    width: 60px;
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
    margin-right: 30px;
}

@media (max-width: 340px) {
.icon-box {
    display: block;
}

.icon-box .icon {
    width: 60px;
    margin-bottom: 20px;
    margin-top: 20px;
}
}

li.page-item {
    list-style-type: none!important;
}

.page-link {
    position: relative;
    display: block;
    padding: 0;
    font-size: 50px;
    margin-left: -1px;
    line-height: 1.25;
    color: var(--primary-color);
    background: none!important;
    border: none;
}

.page-item.disabled .page-link {
    opacity: 37%;
    pointer-events: none;
    cursor: auto;
    background: none;
    border: none;
}

.page-link:focus {
    -webkit-box-shadow: none;
            box-shadow: none;
}

.kontaktformular .form-control {
  -webkit-box-shadow: none!important;
          box-shadow: none!important;
  border: none!important;
    border-radius: 0.55rem;
}

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

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

#navigation.header-scrolled {
  -webkit-box-shadow: 0px 2px 20px rgba(0, 79, 159, 0.05);
          box-shadow: 0px 2px 20px rgba(0, 79, 159, 0.05);
}

.navbar-logo {
  width: 180px;
}

@media (max-width: 320px) {
.navbar-logo {
  width: 120px;
}
}

@media (max-width: 991px) {
#main-menu {
    margin-top: 20px;
    margin-bottom: 6px;
}
#navigation {
  padding-top: 8px;
  padding-bottom: 8px;
  -webkit-box-shadow: 0px 2px 20px rgba(0, 79, 159, 0.1);
          box-shadow: 0px 2px 20px rgba(0, 79, 159, 0.1);
}
}

.navbar-nav .nav-link, .nav-item {
  color: var(--text-color);
  font-size: 16px;
  cursor: pointer;
}

.navbar-nav .nav-link:hover, .navbar-nav .nav-link:focus {
  color: var(--primary-color);
}

.navbar-nav .show > .nav-link,
.navbar-nav .active > .nav-link,
.navbar-nav .nav-link.show,
.navbar-nav .nav-link.active {
  color: var(--primary-color);
}


    .navbar-toggler {
        color: var(--primary-color);
        border: none;
        padding: 0;
        outline: none !important;
    }

    .dropdown-item:hover,
    .dropdown-item:focus {
        background-color: var(--primary-color);
        color: var(--white);
    }

    .dropdown-item.active {
        background-color: var(--primary-color);
        color: var(--white);
    }

    .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(0, 0, 0, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }

    .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(0, 0, 0, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M7 4l19 19m0-19L7 23'/%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(--primary-color);
  color: var(--white);
}

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

/*--------------------------------------------------------------
# Sidenav
--------------------------------------------------------------*/

.sidenav {
  position: fixed;
  z-index: 1;
  top: 50vh;
  right: 0;
  overflow-x: hidden;
  margin-top: -24px;
}

.sidenav a {
  padding: 6px;
  text-decoration: none;
  display: block;
  color: #ffffff;
}

.sidenav a:hover {
  color: #008ECF;
}

.sidenavicons {
  width: 58px;
  padding: 8px;
  -webkit-transition: width .5s;
  transition: width .5s;
  border-radius: 12px 0 0 12px;
  background-color: #004F9F;
  border: none;
  -webkit-box-shadow: 0 0 5px rgba(0, 142, 207, 0.2);
          box-shadow: 0 0 5px rgba(0, 142, 207, 0.2);
}

.sidenavicons .sidenav-text {
  display: none;
}

@media (min-width: 768px) {
.sidenavicons:hover {
  width: 292px;
}
}

.sidenavicons:hover .sidenav-text {
  display: inline;
  margin-left: 20px;
}

/*--------------------------------------------------------------
# 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;
}