/*
Theme Name: Astra Child
Template: astra
Version: 1.0.0
*/

/* Header-Logo: Layout-Höhe klein halten, visuell per scale vergrößern */
header .custom-logo-link img,
.astra-logo-svg {
    width: auto !important;
    max-width: none !important;
    height: 44px !important;
    max-height: 44px !important;
    transform: scale(2);
    transform-origin: left center;
}

/* Sticky Header – immer fixiert */
#masthead {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10) !important;
}
.admin-bar #masthead {
    top: 32px !important;
}

/* Header-Padding kompakt halten */
.main-header-bar {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

/* Scroll-to-top Button */
#scroll-top-btn {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: auto;
    height: auto;
    padding: 6px 10px;
    border-radius: 9px;
    background: linear-gradient(135deg, #1ecf6a, #00b896);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(30,207,106,0.45);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .25s, transform .25s;
    z-index: 9998;
}
#scroll-top-btn.visible {
    opacity: 1;
    transform: translateY(0);
}
#scroll-top-btn:hover {
    background: linear-gradient(135deg, #00b896, #1ecf6a);
    box-shadow: 0 6px 20px rgba(30,207,106,0.55);
}
body #masthead,
body .main-header-bar,
body .ast-primary-header-bar,
body .site-header,
body header,
body .ast-site-identity,
body .ast-logo-container,
body header .ast-container,
body .custom-logo-link,
body .custom-logo-link img,
body a.custom-logo-link,
body .ast-logo-container .custom-logo-link {
    background: #ffffff !important;
    background-color: #ffffff !important;
}
.ast-primary-header-bar {
    min-height: unset !important;
}


/* Menü-Einträge Hover-Farbe */
#masthead .main-header-menu .menu-item > a:hover,
#masthead .main-header-menu .current-menu-item > a,
#masthead .main-navigation .menu-item > a:hover {
    color: #4DD2AD !important;
}
#masthead .main-header-menu .menu-item > a:hover::after,
#masthead .main-navigation .menu-item > a:hover::after {
    background: #4DD2AD !important;
}
