/****
//
Hetz Enterprises - My(Web)Sphere
Subtheme specific CSS
//
*** */
/****
// Basics
****/
:root {
    --font-size-body: 20px;
    --line-height-body: 1.44;
    /* entspricht 26px, basierend auf der font-size */
    --font-size-h1: 30px;
    --line-height-h1: 1.41;
    /* entspricht 45px, basierend auf der font-size */
    --font-size-h2: 28px;
    --line-height-h2: 1.14;
    /* entspricht 32px, basierend auf der font-size */
    --font-size-h3: 24px;
    --line-height-h3: 1.38;
    /* entspricht 33px, basierend auf der font-size */
    --font-size-h4: 18px;
    --font-size-h5: 14px;
    --font-size-h6: 12px;
    --line-height-h6: 1.5;
    /* entspricht 18px, basierend auf der font-size */
}

/* Transition for smooth resizing */
* {
    transition: font-size 0.3s ease, line-height 0.3s ease;
}

/* Allgemeine Stile für body und html */
BODY, HTML {
    margin: 0;
    padding: 0;
    width: 100%;
    position: relative;
    overflow-x: hidden;
}

/* Detaillierte Stile für body */
BODY {
    font-size: var(--font-size-body);
    line-height: var(--line-height-body);
    font-weight: 400;
    color: #0D0D0D;
    background-color: #FFF !important;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
    text-rendering: optimizelegibility;
}

/* HTML-Tag-Stile */
HTML {
    overflow-x: hidden;
    margin: 0 auto;
    padding: 0;
    position: relative;
}

/* Überschriftenstile */
H1, H2, H3, H4, H5, H6 {
    color: #19334C !important;
    margin-top: 0;
    /* Standardmäßig oberen Rand entfernen */
}

/* Spezifische Stile für h1 */
H1 {
    font-size: var(--font-size-h1);
    line-height: var(--line-height-h1);
    margin: 40px 0 32px;
    font-weight: 700;
}

/* Spezifische Stile für h2 */
H2 {
    font-size: var(--font-size-h2);
    line-height: var(--line-height-h2);
    margin: 27px 0 18px;
    font-weight: 700;
    color: #19334C !important;
}

/* Spezifische Stile für h3 */
H3 {
    font-size: var(--font-size-h3);
    line-height: var(--line-height-h3);
    margin: 26px 0 16px;
    font-weight: 700;
    color: #19334C !important;
}

/* Spezifische Stile für h4 */
H4 {
    font-size: var(--font-size-h4);
    margin: 21px 0 19px;
    font-weight: 700;
}

/* Spezifische Stile für h5 */
H5 {
    font-size: var(--font-size-h5);
    font-weight: 700;
}

/* Spezifische Stile für h6 */
H6 {
    font-size: var(--font-size-h6);
    line-height: var(--line-height-h6);
    font-weight: 700;
}

/* Stile für Links */
A {
    color: #0D0D0D;
    text-decoration: underline;
}

/* Stile für Absätze */
P {
    font-size: var(--font-size-body);
    line-height: var(--line-height-body);
    color: #0D0D0D;
    transition: all 500ms ease-in-out;
}

/* Responsive Anpassungen */
@media (max-width: 1200px) {
    :root {
        --font-size-body: 18px;
        --font-size-h1: 28px;
        --font-size-h2: 24px;
        --font-size-h3: 20px;
        --font-size-h4: 16px;
        --font-size-h5: 12px;
        --font-size-h6: 10px;
    }
}

@media (max-width: 992px) {
    :root {
        --font-size-body: 16px;
        --font-size-h1: 24px;
        --font-size-h2: 20px;
        --font-size-h3: 18px;
        --font-size-h4: 14px;
        --font-size-h5: 10px;
        --font-size-h6: 8px;
    }
}

@media (max-width: 768px) {
    :root {
        --font-size-body: 16px;
        --font-size-h1: 20px;
        --font-size-h2: 18px;
        --font-size-h3: 16px;
        --font-size-h4: 12px;
        --font-size-h5: 8px;
        --font-size-h6: 6px;
    }
}

/* Übergangsstile für die Seite */
#page-wrapper {
    opacity: 0;
    transition: opacity 750ms ease-in-out;
}

#page-wrapper.loaded {
    opacity: 1;
}

/**** Header*/
.header {
    box-shadow: none;
    height: 100px;
    overflow: hidden;
    background: transparent !important;
    position: relative;
    z-index: 99;
}

.header .navbar {
    padding: 0px;
    margin: 6px;
}

.header #navbar-top.navbar {
    height: 30px;
    padding: 0;
    margin: 0;
}

.header #navbar-main.navbar {
    padding: 0 30px;
    margin: 0;
    max-height: 70px;
    overflow: hidden;
}

.header .navbar A.navbar-brand IMG {
    width: auto;
    max-height: 65px;
}

@media screen and (max-width: 1400px) {
    .header #navbar-main.navbar {
        padding: 0 15px;
    }
}

/**** Header Menu Account*/
.header #navbar-top.navbar .menu--account A {
    background: #3A77DC;
    color: #000;
    padding: 5px 15px;
    margin: 0 5px;
    border-radius: 0.25rem;
    transition: background-color 750ms ease-in-out;
}

.header #navbar-top.navbar .menu--account A:hover {
    background: #B444BA;
    color: #000;
    padding: 5px 15px;
    margin: 0 5px;
    border-radius: 0.25rem;
    transition: background-color 750ms ease-in-out;
}

.header A.language-link {
    text-transform: uppercase;
    text-decoration: none;
    color: #3A77DC;
}

.header A.language-link.is-active {
    font-weight: 700;
}

/**** Header Menu*/
.header #navbar-main.navbar BUTTON {
    border: none;
    outline: none !important;
}

.header #navbar-main.navbar BUTTON:focus {
    border: none;
    outline: none !important;
}

.navbar-toggler {
    position: relative;
    width: 30px;
    height: 24px;
    background: none;
    border: none;
    /* Remove default button styles */
    cursor: pointer;
    /* Ensure cursor changes to pointer on hover */
}

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

.navbar-toggler .navbar-toggler-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
    width: 30px;
    height: 2px;
    /* Height of each bar */
    background-color: #000;
    /* Color of the bars */
}

.navbar-toggler .navbar-toggler-icon::before, .navbar-toggler
.navbar-toggler-icon::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    /* Color of the bars */
}

.navbar-toggler .navbar-toggler-icon::before {
    top: -8px;
    /* Position of the top bar */
}

.navbar-toggler .navbar-toggler-icon::after {
    bottom: -8px;
    /* Position of the bottom bar */
}

.header #navbar-main.navbar .offcanvas .offcanvas-header BUTTON.btn-close {
    color: #000;
    opacity: 1;
    font-size: 20px;
}

/**** Main Content*/
#page .main-content {
    padding: 50px 15px;
}

/**** Leistungen Styling*/
.content-fullwidth #block-mysphere-garanthausleistungen {
    padding: 0 15px 50px;
}

.content-fullwidth #block-mysphere-garanthausleistungen H2 {
    text-align: center;
    color: #19334C;
    padding: 30px;
}

/**** Footer Styling*/
.site-footer {
    background: #19334C !important;
}

.site-footer .block {
    margin: 20px 0;
    border: none;
    padding: 10px;
}

.site-footer H2 {
    color: #0D0D0D;
    padding: 0 0 10px 0;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
}

.site-footer BLOCKQUOTE {
    color: #0D0D0D;
}

.site-footer .content {
    color: #0D0D0D;
    font-size: 0.857em;
}

.site-footer .menu-item {
    padding: 0;
}

/* *** Footer Top Styling*/
.sitefooter-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    background: #19334C;
}

.site-footer__top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    background: #19334C;
    padding: 30px 0 0;
}

.site-footer__top H2 {
    border-bottom: none;
}

.site-footer__top .content {
    margin-top: 0;
}

.site-footer__top P {
    color: #FFF;
    font-size: 18px;
}

.site-footer__top A {
    color:#ffff;
    font-size: 18px;
}

.site-footer__top .content .menu {
    padding-left: 0;
    /* LTR */
}

.site-footer .site-footer__top .region {
    margin: auto;
}

/* Optional: weitere Styles für die einzelnen Footer-Elemente */
.footer-item {
    flex: 1;
    /* Jedes Element bekommt den gleichen Platz */
    padding: 10px;
    /* Abstand innerhalb der Elemente */
    box-sizing: border-box;
    /* Sorgt dafür, dass Padding den Gesamtinhalt des Elements berücksichtigt */
}

.footer-item:first-child {
}

.footer-item:nth-child(2) {
}

.footer-item:nth-child(3) {
}

.footer-item:last-child {
}

/* Responsive Anpassungen */
@media (max-width: 560px) {
    .site-footer__top .region {
        width: 100%;
        padding: 0 0.65%;
    }
}

/* *** Footer Bottom Styling*/
.site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-bottom: 50px;
    border: none;
}

.site-footer__bottom .region {
    margin-top: 20px;
}

.site-footer__bottom .block {
    clear: both;
    margin: 0.5em 0;
}

.site-footer__bottom .block H2 {
    color: #0D0D0D;
}

.site-footer__bottom .content {
    padding: 0;
    margin-top: 0;
}

.site-footer__bottom P {
    font-size: 16px;
}

.site-footer__bottom A {
    font-size: 13px !important;
    text-decoration: none !important;
    color: #0D0D0D;
}

.site-footer__bottom A.navbar-brand IMG {
    max-width: 180px;
    height: auto;
}

.site-footer__bottom .copyright-footer-right P {
    font-family: 'MuseoSans' !important;
    font-style: normal !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    color: #19334C !important;
}
