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

:root {
  /* Colors */
  --primary-color: #0069B4;
  --black-color: #1d1d1b;
  --white-color: #FFFFFF;
  --grey-color: #EBF1F5;

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

  /* Font Sizes */
  --font-size-base: 17px;
  --font-size-h1: 40px;
  --font-size-navigation: 36px;
  --font-size-h2: 28px;
  --font-size-h3: 22px;
  --font-size-lead: 20px;
  --font-size-small: 16px;
  --font-size-tiny: 12px;

  /* Border Radius */
  --border-radius-lg: 30px;
  --border-radius-md: 20px;
  --border-radius-sm: 10px;

  /* Paddings */
  --padding-cards: 20px;

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

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

  /* Font Sizes */
  --font-size-base: 20px;
  --font-size-h1: 64px;
  --font-size-navigation: 50px;
  --font-size-h2: 48px;
  --font-size-h3: 32px;
  --font-size-lead: 22px;
  --font-size-small: 16px;
  --font-size-tiny: 14px;

  /* Paddings */
  --padding-cards: 30px;
}
}

@media (min-width: 1200px) {
:root {
  /* Spacing */
  --height-navigation: 120px;
}
}

@media (min-width: 1600px) {
:root {
  /* Spacing */
  --spacing-large: 160px;
  --spacing-medium: 120px;
  --spacing-small: 40px;
  --spacing-col: 30px;
}
}

@media (min-width: 2000px) {
:root {
  /* Spacing */
  --spacing-medium: 180px;
}
}

@media (max-width: 575px) { :root { --container-width: 100%; } }
@media (min-width: 576px) { :root { --container-width: 540px; } }
@media (min-width: 768px) { :root { --container-width: 720px; } }
@media (min-width: 992px) { :root { --container-width: 960px; } }
@media (min-width: 1200px) { :root { --container-width: 1140px; } }
@media (min-width: 1400px) { :root { --container-width: 1320px; } }
@media (min-width: 1600px) { :root { --container-width: 1520px; } }
@media (min-width: 2000px) { :root { --container-width: 1820px; } }

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

html {
    scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  position: relative;
  width: 100%;
  height: 100%;
  color: var(--black-color);
  font-size: var(--font-size-base);
  overflow-x: hidden;
}

* {
    scroll-padding-top: var(--height-navigation);
}

img.full-width-img {
  min-width: 100%;
  height: auto!important;
}

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

.container {
    max-width: var(--container-width)!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-lg {
  margin-bottom: var(--spacing-large);
}

.mb-md {
  margin-bottom: var(--spacing-medium);
}

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

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

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

.padding-fullscreen {
  padding-left: var(--spacing-medium);
  padding-right: var(--spacing-medium);
}

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

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

@media (max-width: 767px) {
.mb-col-md {
  margin-bottom: 30px;
}
.padding-fullscreen {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
}

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

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

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

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

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

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

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

a.link-white {
  color: var(--white-color);
  text-decoration: none!important;
}

a.link-white:hover,
a.link-white:focus {
  color: var(--grey-color);
}

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

h1 {
  font-size: var(--font-size-h1);
  font-weight: 600;
  line-height: 1.2;
}

h2 {
  font-size: var(--font-size-h2);
  font-weight: 600;
  line-height: 1.2;
}

h3 {
  font-size: var(--font-size-h3);
  font-weight: 600;
}

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

strong {
  font-weight: 600;
  font-style: normal;
}

p {
  line-height: 1.6;
}

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

.text-small {
    font-size: var(--font-size-small);
}

.text-muted {
    color: white!important;
    opacity: 0.75;
    font-weight: 500;
}

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

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

.btn-sm {
  padding: .3rem 1rem;
  font-size: var(--font-size-small);
  border-radius: 0 0.5rem 0 0!important;
}

.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(--grey-color)!important;
  border-color: var(--grey-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;
}

/*--------------------------------------------------------------
# Formulare
--------------------------------------------------------------*/

label {
  margin-bottom: .5rem;
  display: none;
}

/* Basic Field Style */
#kontakt .form-control {
  background-color: var(--grey-color);
  border: none;
  padding: .8rem 1.2rem;
}

.invalid-feedback {
  display: none!important;
}

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

.card {
    border-radius: 0 1.5rem 0 0;
    border: none;
}

.card-body {
    padding: 2.5rem;
}

@media (max-width: 767px) {
.card-body {
    padding: 1.5rem;
}
}


.header-fullscreen {
    position: relative;
    height: 100%;
    min-height: 100dvh;
    background: var(--primary-color);
    background-image: url(../dmxDaten/home/home-header-lg.jpg);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    color: white;
    padding-top: var(--height-navigation);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}
.max-width-header {
    max-width: 620px;
}
.max-width-text {
    max-width: 560px;
}
.max-width-lead {
    max-width: 720px;
}
.emergency-box {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 700px;
    background: var(--primary-color);
    border-radius: 2.5rem 0 0 0;
    padding: 2rem;
}
#ueber-uns .emergency-box {
    background: rgba(255, 255, 255, 0.20);
    -webkit-backdrop-filter: blur(20px);
            backdrop-filter: blur(20px);
}

@media (max-width: 1399px) {
    .emergency-box {
        position: absolute;
        bottom: 0;
        right: 0;
        width: 460px;
        background: var(--primary-color);
        border-radius: 2.5rem 0 0 0;
        padding: 1rem;
    }
}

@media (max-width: 1199px) {
    .header-fullscreen {
        height: 100%;
        min-height: 100%;
        color: var(--black-color);
        display: block;
        background: none;
    }
    .emergency-box {
        position: relative;
        margin-left: var(--spacing-medium);
        width: calc(100% - var(--spacing-medium) - var(--spacing-medium));
        background: var(--primary-color);
        border-radius: 0 1.5rem 0 0;
        padding: var(--spacing-medium);
    }
    .emergency-box .card-body {
        padding:0;
    }
    #footer .emergency-box {
      display: none;
    }
}

@media (max-width: 767px) {
    .emergency-box {
        margin-left: 1.5rem;
        width: calc(100% - 3rem);
    }
}

@media (max-width: 767px) {
    .emergency-box {
        padding: 1.5rem;
    }
}

@media (min-width: 1200px) {
.img-fill {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}
}

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

body.nav-open {
  overflow: hidden;
}

#navigation {
  position: fixed;
  top: 0;
  width: 100%;
  padding-top: 25px;
  padding-bottom: 25px;
  background: var(--white-color);
  z-index: 1002;
}

#navigation .padding-fullscreen {
  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;
  margin: 0;
}

.navbar-logo {
  height: 90px;
}

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

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

#burgerToggle {
  display: none;
}

.btn-nav {
  padding-left: 97px;
}

@media (min-width: 1200px) {
    .navbar-expand-xl .navbar-nav .nav-link {
        padding-right: 26px;
        padding-left: 26px;
    }
}

@media (max-width: 1199px) {

#navigation {
  padding-top: 20px;
  padding-bottom: 20px;
}

  .navbar-logo {
    height: 60px;
  }

  .nav-link {
    font-size: var(--font-size-navigation);
    font-weight: 600;
    font-style: normal;
    text-align: center;
    color: var(--black-color);
  }

  #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 {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical !important;
    -webkit-box-direction: normal !important;
        -ms-flex-direction: column !important;
            flex-direction: column !important;
    position: relative;
    top: 0;
    left: 0;
    height: calc(100dvh - var(--height-navigation));
    width: 100vw;
    margin-top: 20px;
    padding-top: 20px;
    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: center;
        -ms-flex-align: center;
            align-items: center;
  }

  .navbar-nav.navbar-main {
    margin: auto;
  }

  .navbar-lg {
    margin-left: 0;
    margin-right: auto;
  }
}

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

.footer-logo {
  height: 120px;
}

@media (max-width: 991px) {
.footer-logo {
  height: 80px;
}
}

.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);
}

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

#popupToast {
  background: var(--white-color);
  color: var(--text-color);
  min-width: 320px;
  max-width: 400px;
        border-radius: var(--border-radius-sm);
        -webkit-box-shadow: 1px 2px 8px 0 rgba(0, 0, 0, 0.15);
                box-shadow: 1px 2px 8px 0 rgba(0, 0, 0, 0.15);
}

@media (max-width: 414px) {
#popupToast {
  min-width: calc(100vw - 30px);
  max-width: calc(100vw - 30px);
}
}

#popupToast h5 {
  font-size: var(--font-size-base);
}

#popupToast .small {
  font-size: var(--font-size-small);
}

#popupToast .tiny {
  font-size: var(--font-size-tiny);
}

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

    .cookie-consent-banner {
        display: none;
        bottom: 1rem;
        left: 1rem;
        position: fixed;
        padding: 1rem;
        border-radius: var(--border-radius-sm);
        width: 300px;
        text-align: left;
        max-height: 85%;
        overflow-y: auto;
        max-width: calc(100% - 40px);
        z-index: 997;
        opacity: 1;
        font-size: var(--font-size-tiny);
        -webkit-box-shadow: 1px 2px 8px 0 rgba(0, 0, 0, 0.15);
                box-shadow: 1px 2px 8px 0 rgba(0, 0, 0, 0.15);
        color: var(--text-color);
        background-color: #ffffff;
        -webkit-box-sizing: border-box;
                box-sizing: border-box;
    }

    .cookie-consent-options label {
        margin: 0 10px;
        font-size: 14px;
    }

    .cookie-consent-options input {
        margin-right: 5px;
    }

    @media (max-width: 414px) {
        .cookie-consent-banner {
            bottom: 0;
            left: 0;
            width: 100%;
            padding: 15px;
            border-radius: 0;
            max-width: 100%;
            background-color: #ffffff;
            text-align: center;
        }
    }

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