/* --------------------------------------------------
 * ruCMS (rootUtilities Content Management System)
 * (c) rootutilities.com
 * License: GPL-3.0-or-later
 * -------------------------------------------------- */

/* --------------------------------------------------
 * [EN] Base / layout helpers
 * [DE] Basis / Layout-Helfer
 * -------------------------------------------------- */
body {
    /* [EN] Bootstrap theme colors.
       [DE] Bootstrap Theme-Farben. */
    background: var(--bs-body-bg);
    color: var(--bs-body-color);

    /* [EN] Default base font size.
       [DE] Standard-Basisschriftgröße. */
    font-size: 13px;
}

body,
.sticky-footer-wrapper {
    /* [EN] Ensure sticky footer layout works (full viewport height).
       [DE] Sticky-Footer-Layout sicherstellen (volle Viewport-Höhe). */
    min-height: 100vh;
    color: var(--bs-body-color);
}

/* [EN] Ensure main can expand to fill remaining height.
   [DE] Main kann den Restbereich füllen. */
.flex-fill {
    flex: 1 1 auto;
}

/* --------------------------------------------------
 * [EN] Links
 * [DE] Links
 * -------------------------------------------------- */
a,
a:link,
a:visited {
    color: var(--bs-link-color);
    text-decoration: none;
}

a:active,
a:hover {
    color: var(--bs-link-hover-color);
    text-decoration: none;
}

/* --------------------------------------------------
 * [EN] Headings
 * [DE] Überschriften
 * -------------------------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Raleway", sans-serif;

    /* [EN] Use Bootstrap body color (safe across themes).
       [DE] Bootstrap Body-Color nutzen (theme-sicher). */
    color: var(--bs-body-color);
}

h1 { font-size: 2.2rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.4rem; }

/* --------------------------------------------------
 * [EN] Header
 * [DE] Header
 * -------------------------------------------------- */
#header {
    height: 80px;
    transition: all 0.5s;
    z-index: 997;
    background: #fff;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

#header .logo h1 {
    font-size: 28px;
    margin: 0;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #384046;
}

#header .logo h1 a,
#header .logo h1 a:hover {
    color: #384046;
    text-decoration: none;
}

#header .logo img {
    max-height: 60px;
    margin: 10px 0;
}

/* --------------------------------------------------
 * [EN] Header Social Links
 * [DE] Header Social Links
 * -------------------------------------------------- */
.header-social-links {
    margin: 0 0 0 30px;
}

.header-social-links a {
    color: #9ba6af;
    padding-left: 8px;
    display: inline-block;
    line-height: 0px;
    transition: 0.3s;
}

.header-social-links a i {
    line-height: 0;
}

.header-social-links a:hover {
    color: var(--bs-link-hover-color);
}

@media (max-width: 768px) {
    .header-social-links {
        margin: 0 15px 0 0;
    }
}

/* --------------------------------------------------
 * [EN] Header: Sticky / Hero overlay
 * [DE] Header: Sticky / Hero-Overlay
 * -------------------------------------------------- */
.sticky-image {
    width: 100%;
    /* background: url("../img/hero-bg.png"); */
    position: relative;
}

.sticky-image .sticky-container {
    position: absolute;
    inset: 0; /* [EN] top/right/bottom/left = 0. [DE] top/right/bottom/left = 0. */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding: 0 15px;
}

.sticky-container .sticky-logo img {
    margin-bottom: 0px;
    height: 80px;
}

.sticky-image h1 {
    margin: 0 0 30px 0;
    line-height: 56px;
    color: #555;
}

.sticky-image h2 {
    margin-bottom: 30px;
    text-transform: uppercase;
    color: #fe821d;
}

.sticky-image .btn-get-started {
    font-size: 64px;
    transition: 0.5s;
    color: #555;
    height: 60px;

}

.sticky-image .btn-get-started:hover {
    padding-top: 10px;
    color: var(--bs-link-hover-color);
}

/* [EN] NOTE: You currently reference #hero in media queries.
   [DE] HINWEIS: Du referenzierst #hero in Media Queries. */
@media (min-width: 1024px) {
    #hero {
        /* background-attachment: fixed; */
    }
}

@media (max-width: 768px) {
    #hero h1 {
        font-size: 28px;
        line-height: 36px;
    }
    #hero h2 {
        line-height: 22px;
    }
}

/* --------------------------------------------------
 * [EN] Navigation Menu
 * [DE] Navigation Menü
 * -------------------------------------------------- */
.navbar {
    padding: 0;
}

.navbar ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
}

.navbar li {
    position: relative;
}

.navbar a,
.navbar a:focus {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0 10px 30px;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: rgb(102, 102, 102);
    white-space: nowrap;
    transition: 0.3s;
}

.navbar a i,
.navbar a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover > a {
    color: var(--bs-link-hover-color);
}

.navbar .dropdown ul {
    display: block;
    position: absolute;
    left: 14px;
    top: calc(100% + 30px);
    margin: 0;
    padding: 10px 0;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
    transition: 0.3s;
}

.navbar .dropdown ul li {
    min-width: 200px;
}

.navbar .dropdown ul a {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 400;
}

.navbar .dropdown:hover > ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
}

.navbar .dropdown .dropdown ul {
    top: 0;
    left: calc(100% - 30px);
    visibility: hidden;
}

.navbar .dropdown .dropdown:hover > ul {
    opacity: 1;
    top: 0;
    left: 100%;
    visibility: visible;
}

@media (max-width: 1366px) {
    .navbar .dropdown .dropdown ul {
        left: -90%;
    }
    .navbar .dropdown .dropdown:hover > ul {
        left: -100%;
    }
}

/* --------------------------------------------------
 * [EN] Navigation Mobile
 * [DE] Navigation Mobile
 * -------------------------------------------------- */
.mobile-nav-toggle {
    color: #384046;
    font-size: 28px;
    cursor: pointer;
    display: none;
    line-height: 0;
    transition: 0.5s;
}

.mobile-nav-toggle.bi-x {
    color: #fff;
}

@media (max-width: 991px) {
    .mobile-nav-toggle {
        display: block;
    }
    .navbar ul {
        display: none;
    }
}

.navbar-mobile {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 38, 42, 0.9);
    transition: 0.3s;
    z-index: 999;
}

.navbar-mobile .mobile-nav-toggle {
    position: absolute;
    top: 15px;
    right: 15px;
}

.navbar-mobile ul {
    display: block;
    position: absolute;
    top: 55px;
    right: 15px;
    bottom: 15px;
    left: 15px;
    padding: 10px 0;
    background-color: #fff;
    overflow-y: auto;
    transition: 0.3s;
}

.navbar-mobile a,
.navbar-mobile a:focus {
    padding: 10px 20px;
    font-size: 15px;
    color: #384046;
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover > a {
    color: #3498db;
}

.navbar-mobile .dropdown ul {
    position: static;
    display: none;
    margin: 10px 20px;
    padding: 10px 0;
    opacity: 1;
    visibility: visible;
    background: #fff;
    box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
}

.navbar-mobile .dropdown > .dropdown-active {
    display: block;
}

/* --------------------------------------------------
 * [EN] Footer
 * [DE] Footer
 * -------------------------------------------------- */
.footer {
    font-size: 12px;
    padding: 16px 0;
    box-sizing: border-box;
    height: auto;
    color: #fff;
    background-color: #555;
    border-top: 1px solid var(--bs-link-hover-color);
}

/* --------------------------------------------------
 * [EN] Back to top button
 * [DE] Nach-oben Button
 * -------------------------------------------------- */
.back-to-top {
    position: fixed;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    text-align: center;
    z-index: 99999999;
    background: var(--bs-link-color);
    color: #F2F2F2;
    width: 50px;
    height: 48px;
    line-height: 48px;
    right: 30px;
    bottom: 30px;
    padding-top: 2px;
    border-radius: 10px;
    transition: all 0.5s ease-in-out;
}

.back-to-top:hover {
    background: var(--bs-link-hover-color);
}

.back-to-top.active {
    visibility: visible;
    cursor: pointer;
    opacity: 1.0;
}

.back-to-top i.bi {
    line-height: inherit;
    font-size: 30px;
}
