/*=================================================================================
  Main-Stylesheets
  Ralf Waetzig
  Farbvariabeln aus color.css
===================================================================================
    Inhaltsverzeichnis
        1. Basic
        2. Hilfsklassen
            Ausrichtung
            Textgroessen
            Font Weight
            Opacity
            Hintergruende
        3. Layout
        4. Header
        5. Element
            Buttons
            Back to top
            Soziale Medien
===================================================================================
 */
/* =================================== */
/* 1. Basic
/* =================================== */

body, html {
    height: 100%;
}

@media (prefers-reduced-motion: no-preference) {
    :root {
        scroll-behavior: auto;
    }
}

body {
    background: var(--main-bg-color);
    color: var(--main-font-color);
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: clamp(1em, 2.8vw, 1.40em);
}

img {
    vertical-align: inherit;
    width: 100%;
}

p {
    line-height: 1.8;
}

a, a:focus {
    color: var(--main-a-color);
    text-decoration: none;
    transition: all 1s ease;
    font-weight: bold;
}

a:hover, a:active {
    color: var(--main-a-hover-color);
    text-decoration: none;
    transition: all 1s ease;
}

a::before {
    content: "\F1C5";
    font-family: "Bootstrap-icons";
    padding-inline-end: .2em;
}

a:focus, a:active,
.btn.active.focus,
.btn:focus,
button:focus,
button:active {
    outline: none;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--main-font-color);
}

/* =================================== */
/*  2. Hilfsklassen
/* =================================== */


/* Textgroessen */
.text-0 {
    font-size: 11px !important;
    font-size: 0.6875rem !important;
}

.text-1 {
    font-size: 12px !important;
    font-size: 0.75rem !important;
}

.text-2 {
    font-size: 14px !important;
    font-size: 0.875rem !important;
}

.text-3 {
    font-size: 16px !important;
    font-size: 1rem !important;
}

.text-4 {
    font-size: 18px !important;
    font-size: 1.125rem !important;
}

.text-5 {
    font-size: 21px !important;
    font-size: 1.3125rem !important;
}

.text-6 {
    font-size: 24px !important;
    font-size: 1.50rem !important;
}

.text-7 {
    font-size: 28px !important;
    font-size: 1.75rem !important;
}

.text-8 {
    font-size: 32px !important;
    font-size: 2rem !important;
}

.text-9 {
    font-size: 36px !important;
    font-size: 2.25rem !important;
}

.text-10 {
    font-size: 40px !important;
    font-size: 2.50rem !important;
}

.text-11 {
    font-size: calc(1.4rem + 1.8vw) !important;
}

@media (min-width: 1200px) {
    .text-11 {
        font-size: 2.75rem !important;
    }
}

.text-12 {
    font-size: calc(1.425rem + 2.1vw) !important;
}

@media (min-width: 1200px) {
    .text-12 {
        font-size: 3rem !important;
    }
}

.text-13 {
    font-size: calc(1.45rem + 2.4vw) !important;
}

@media (min-width: 1200px) {
    .text-13 {
        font-size: 3.25rem !important;
    }
}

.text-14 {
    font-size: calc(1.475rem + 2.7vw) !important;
}

@media (min-width: 1200px) {
    .text-14 {
        font-size: 3.5rem !important;
    }
}

.text-15 {
    font-size: calc(1.5rem + 3vw) !important;
}

@media (min-width: 1200px) {
    .text-15 {
        font-size: 3.75rem !important;
    }
}

.text-16 {
    font-size: calc(1.525rem + 3.3vw) !important;
}

@media (min-width: 1200px) {
    .text-16 {
        font-size: 4rem !important;
    }
}

.text-17 {
    font-size: calc(1.575rem + 3.9vw) !important;
}

@media (min-width: 1200px) {
    .text-17 {
        font-size: 4.5rem !important;
    }
}

.text-18 {
    font-size: calc(1.625rem + 4.5vw) !important;
}

@media (min-width: 1200px) {
    .text-18 {
        font-size: 5rem !important;
    }
}

.text-19 {
    font-size: calc(1.65rem + 4.8vw) !important;
}

@media (min-width: 1200px) {
    .text-19 {
        font-size: 5.25rem !important;
    }
}

.text-20 {
    font-size: calc(1.7rem + 5.4vw) !important;
}

@media (min-width: 1200px) {
    .text-20 {
        font-size: 5.75rem !important;
    }
}

.text-21 {
    font-size: calc(1.775rem + 6.3vw) !important;
}

@media (min-width: 1200px) {
    .text-21 {
        font-size: 6.5rem !important;
    }
}

.text-22 {
    font-size: calc(1.825rem + 6.9vw) !important;
}

@media (min-width: 1200px) {
    .text-22 {
        font-size: 7rem !important;
    }
}

.text-23 {
    font-size: calc(1.9rem + 7.8vw) !important;
}

@media (min-width: 1200px) {
    .text-23 {
        font-size: 7.75rem !important;
    }
}

.text-24 {
    font-size: calc(1.95rem + 8.4vw) !important;
}

@media (min-width: 1200px) {
    .text-24 {
        font-size: 8.25rem !important;
    }
}

.text-25 {
    font-size: calc(2.025rem + 9.3vw) !important;
}

@media (min-width: 1200px) {
    .text-25 {
        font-size: 9rem !important;
    }
}

.text-11, .text-12, .text-13, .text-14, .text-15, .text-16, .text-17, .text-18, .text-19, .text-20, .text-21, .text-22, .text-23, .text-24, .text-25 {
    line-height: 1.3;
}

/* Font Weight */
/* Bootstrap fw-light bis fw-bolder*/

/* Opacity */
.opacity-0 {
    opacity: 0;
}

.opacity-1 {
    opacity: 0.1;
}

.opacity-2 {
    opacity: 0.2;
}

.opacity-3 {
    opacity: 0.3;
}

.opacity-4 {
    opacity: 0.4;
}

.opacity-5 {
    opacity: 0.5;
}

.opacity-6 {
    opacity: 0.6;
}

.opacity-7 {
    opacity: 0.7;
}

.opacity-8 {
    opacity: 0.8;
}

.opacity-9 {
    opacity: 0.9;
}

.opacity-10 {
    opacity: 1;
}

/* Hintergruende */

.bg-light {
    background-color: #e9ecef !important;
}

.bg-light-2 {
    background-color: #dee2e6 !important;
}

.bg-light-3 {
    background-color: #ced4da !important;
}

.bg-dark {
    background-color: #212529 !important;
    color: var(--main-bg-color);
}

.bg-dark-2 {
    background-color: #343a40 !important;
}

.bg-dark-3 {
    background-color: #495057 !important;
}

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

/* =================================== */
/*  3. Layout
/* =================================== */

.section {
    position: relative;
    padding: 60px 0;
    padding: 3.75rem 0;
    overflow: hidden;
}

@media (max-width: 575.98px) {
    .section {
        padding: 3.5rem 0;
    }
}

/* =================================== */
/*  4. Header
/* =================================== */

#header {
    transition: all 1s ease;
}

#header .navbar {
    padding: 0px;
}

#header a.logo {
    align-items: center;
    display: flex;
    align-self: stretch;
    color: var(--secondary-a-color);
    text-decoration: none;
    text-transform: uppercase;
}

a.logo::before {
    content: none;
}

/*=== Navigation ===*/
.primary-menu {
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    height: auto !important;
    -ms-flex-item-align: stretch;
    align-self: stretch;
    position: absolute;
    z-index: 999;
    top: 0;
    left: 0;
    width: 100%;
}
.primary-menu.bg-transparent {
    box-shadow: none;
    border-bottom: 1px solid rgba(250, 250, 250, 0.3);
}
.primary-menu.sticky-on {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1020;
    left: 0;
    -webkit-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.05);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.05);
    -webkit-animation: slide-down 0.7s;
    -moz-animation: slide-down 0.7s;
    animation: slide-down 0.7s;
}

@-webkit-keyframes slide-down {
    0% {
        opacity: 0;
        transform: translateY(-100%);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@-moz-keyframes slide-down {
    0% {
        opacity: 0;
        transform: translateY(-100%);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slide-down {
    0% {
        opacity: 0;
        transform: translateY(-100%);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.primary-menu.sticky-on .none-on-sticky {
    display: none !important;
}

.primary-menu ul.navbar-nav > li {
    height: 100%;
}

.primary-menu ul.navbar-nav > li + li {
    margin-left: 5px;
}

.primary-menu ul.navbar-nav > li a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

a.nav-link::before {
    content: normal;
}

.bg-colored a {
    color: var(--secondary-a-color);
}

.bg-colored a:hover {
    color: var(--secondary-a-hover-color);
}

.primary-menu ul.navbar-nav > li > a:not(.btn) {
    height: 70px;
    padding: 0px 0.85em;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
    position: relative;
}

.primary-menu ul.navbar-nav > li:hover > a:not(.btn),
.primary-menu ul.navbar-nav > li > a.active:not(.btn) {
    color: var(--secondary-a-color);
    transition: all 0.5s ease;
}

/* Hamburger Menu Button */
.navbar-toggler {
    width: 25px;
    height: 30px;
    padding: 10px;
    margin: 18px 15px;
    position: relative;
    border: none;
    transform: rotate(0deg);
    transition: 1s ease-in-out;
    cursor: pointer;
    display: block;
}

.navbar-toggler span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #3c3636;
    border-radius: 2px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: 1s ease-in-out;
}

.navbar-toggler span:nth-child(1) {
    top: 7px;
    transform-origin: left center;
}

.navbar-toggler span:nth-child(2) {
    top: 14px;
    transform-origin: left center;
}

.navbar-toggler span:nth-child(3) {
    top: 21px;
    transform-origin: left center;
}

.navbar-toggler.show span:nth-child(1) {
    top: 3px;
    left: 3px;
    transform: rotate(45deg);
}

.navbar-toggler.show span:nth-child(2) {
    width: 0%;
    opacity: 0;
}

.navbar-toggler.show span:nth-child(3) {
    top: 21px;
    left: 3px;
    transform: rotate(-45deg);
}

.navbar-toggler:focus {
    box-shadow: none;
}

.sticky-on.navbar-individual.bg-transparent, .sticky-top .sticky-on-top.navbar-individual.bg-transparent {
    background-color: var(--main-color) !important;
    border-bottom: none !important;
}


/* Farben */

.primary-menu.navbar-individual .navbar-toggler span {
    background: #FFF;
}

.primary-menu.navbar-individual .navbar-nav > li > a:not(.btn) {
    color: #fff;
}

.navbar-expand-none.navbar-individual .navbar-collapse {
    background: var(--main-color);
}

.navbar-expand-none.navbar-individual .navbar-collapse ul.navbar-nav li {
    border-color: var(--main-color);
}

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

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

@media (max-width: 575.98px) {
    .navbar-expand-sm .navbar-collapse {
        position: absolute;
        top: 99%;
        right: 0;
        left: 0;
        background: #fff;
        margin-top: 0px;
        z-index: 1000;
    }
    .navbar-expand-sm .navbar-collapse .navbar-nav {
        overflow: hidden;
        overflow-y: auto;
        max-height: 65vh;
        padding: 15px;
    }
    .navbar-expand-sm ul.navbar-nav li {
        display: block;
        border-bottom: 1px solid #eee;
        margin: 0;
        padding: 0;
    }
    .navbar-expand-sm ul.navbar-nav li:last-child {
        border: none;
    }
    .navbar-expand-sm ul.navbar-nav li + li {
        margin-left: 0px;
    }

    .navbar-expand-sm ul.navbar-nav li > a:hover:after, .navbar-expand-sm ul.navbar-nav li > a.active:after {
        content: none !important;
        width: 0px !important;
    }
    .navbar-expand-sm ul.navbar-nav > li > a:not(.btn) {
        height: auto;
        padding: 8px 0;
        position: relative;
    }

    .navbar-expand-sm.navbar-individual .navbar-collapse {
        background: rgba(0, 0, 0, 0.95);
    }
    .navbar-expand-sm.navbar-individual .navbar-collapse ul.navbar-nav li {
        border-color: rgba(250, 250, 250, 0.15);
    }
}

/*=== Hero Background ===*/
.hero-wrap {
    position: relative;
    overflow: hidden;
}

.hero-wrap .hero-mask, .hero-wrap .hero-bg, .hero-wrap .hero-bg-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

.hero-wrap .hero-mask {
    z-index: 1;
}

.hero-wrap .hero-content {
    position: relative;
    z-index: 3;
}

.hero-wrap .hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.hero-wrap .hero-bg-slideshow {
    z-index: 0;
}

.hero-wrap .hero-bg {
    z-index: 0;
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    transition: background-image 300ms ease-in 200ms;
}

.hero-wrap .hero-bg.hero-bg-scroll {
    background-attachment: scroll;
}

.hero-wrap .hero-bg-slideshow .hero-bg {
    background-attachment: inherit;
}

.hero-wrap .hero-bg-slideshow.owl-carousel .owl-stage-outer, .hero-wrap .hero-bg-slideshow.owl-carousel .owl-stage, .hero-wrap .hero-bg-slideshow.owl-carousel .owl-item {
    height: 100%;
}

.hero-wrap .single-slideshow.owl-carousel .owl-item .item {
    min-height: 100vh;
    width: 100%;
    background-position: center center;
    background-repeat: no-repeat;
}

@media (max-width: 991.98px) {
    .hero-wrap .hero-bg {
        background-attachment: initial !important;
        background-position: center center !important;
    }
}

/*== Overlay Menu ==*/
.navbar-overlay .navbar-collapse {
    position: fixed;
    display: block;
    left: 0;
    top: 0;
    width: 100%;
    pointer-events: auto;
    height: 100% !important;
    opacity: 0 !important;
    visibility: hidden;
    background: rgba(255, 255, 250, 0.95);
    -webkit-transition: visibility 0.3s ease, opacity 0.3s ease;
    transition: visibility 0.3s ease, opacity 0.3s ease;
}

.navbar-overlay .navbar-collapse.show {
    opacity: 1 !important;
    visibility: visible;
}

.navbar-overlay .navbar-collapse .navbar-nav {
    min-width: 400px;
    max-height: 80vh;
}

.navbar-overlay .navbar-toggler {
    z-index: 1001;
}

.navbar-overlay ul.navbar-nav li {
    text-align: center;
    max-width: 400px;
    border: 0px none;
}

.navbar-overlay ul.navbar-nav li a {
    display: block;
    opacity: 0;
    -webkit-transform: translateY(-80px);
    transform: translateY(-80px);
    -webkit-transition: opacity 0.6s 0.14s ease, transform 0.44s 0.14s ease, color 0.2s linear;
    transition: opacity 0.6s 0.14s ease, transform 0.44s 0.14s ease, color 0.2s linear;
}

.navbar-overlay .navbar-collapse.show ul.navbar-nav li a {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
}

/* =================================== */
/*  5. Elemente
/* =================================== */

/* Buttons */

.btn {
    padding: 1.0rem 1.0rem;
    font-weight: 500;
    border-width: 2px;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

a.btn {
    margin: 0.5em 0em;
}

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

.btn-primary:hover {
    background-color: var(--secondary-a-hover-color);
    border-color: var(--secondary-a-hover-color);
}

.btn-primary.focus, .btn-primary:focus {
    background-color: var(--secondary-a-hover-color);
    border-color: var(--secondary-a-hover-color);
}

.btn-secondary {
    background-color: var(--secondary-a-hover-color);
    border-color: var(--secondary-a-hover-color);
    border-radius: var(--button-radius);
}

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

.btn-secondary.focus, .btn-secondary:focus {
    background-color: var(--main-color);
    border-color: var(--main-color);
}


/*=== Back to top ===*/
#btn-back-to-top {
    display: none;
    position: fixed;
    z-index: 1030;
    bottom: 20px;
    right: 50px;
    background-color: var(--main-color);
    border: 1px solid var(--main-color);
    text-align: center;
    color: #fff;
    font-size: 30px;
    padding: 0px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

#btn-back-to-top:hover {
    background-color: var(--secondary-a-hover-color);
    border: 1px solid var(--secondary-a-hover-color);
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

@media (max-width: 575.98px) {
    #btn-back-to-top {
        z-index: 1029;
    }
}

/*=== Soziale Netzwerke ===*/
.social-icons {
    margin: 0;
    padding: 0;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    list-style: none;
}

.social-icons li {
    margin: 2px 6px;
    padding: 0;
    overflow: visible;
}

.social-icons li a {
    display: block;
    height: 26px;
    line-height: 26px;
    width: 26px;
    font-size: 18px;
    text-align: center;
    color: #4d555a;
    text-decoration: none;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.social-icons li a::before {
    content: none;
}

.social-icons li i {
    line-height: inherit;
}

.social-icons.social-icons-lg li a {
    width: 34px;
    height: 34px;
    line-height: 34px;
    font-size: 22px;
}

.social-icons.social-icons-muted li a {
    color: #aab1b8;
}

.social-icons li:hover a {
    color: var(--secondary-a-color);
}

