/* TC-OVERRIDE.CSS - Ueberschreibt WebSite X5 Standardstyles */

html, body { margin: 0 !important; padding: 0 !important; background-color: #ffffff !important; }
html[style], body[style] { padding-top: 0 !important; margin-top: 0 !important; }
#imContent { margin-top: 0 !important; padding-top: 0 !important; }
#imPageRow_1 { display: none !important; height: 0 !important; max-height: 0 !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; overflow: hidden !important; }
#imGoToCont { display: none !important; height: 0 !important; }
html body #imPage { grid-template-rows: 0 auto 0 !important; margin-top: 0 !important; padding-top: 0 !important; }
@media (max-width: 1149.9px) and (min-width: 720px) { html body #imPage { grid-template-rows: 0 auto 0 !important; } }
@media (max-width: 719.9px) and (min-width: 480px) { html body #imPage { grid-template-rows: 0 auto 0 !important; } }
@media (max-width: 479.9px) { html body #imPage { grid-template-rows: 0 auto 0 !important; } }

/* Altes WebSite X5 Menu ausblenden */
html body #imHeader, html body #imHeaderBg, html body #imStickyBarContainer, html body #imStickyBar,
html body #imStickyBarGraphics, html body #imSideBar, html body #imHeaderObjects,
html body .imHeader, html body .imHeaderBg, html body header#imHeader, html body #imSideBarObjects {
    display: none !important; visibility: hidden !important; height: 0 !important; max-height: 0 !important;
    min-height: 0 !important; overflow: hidden !important; position: absolute !important;
    left: -9999px !important; opacity: 0 !important; pointer-events: none !important; margin: 0 !important; padding: 0 !important;
}
html body #imPageExtContainer, html body #imPageIntContainer, html body #imPage,
html body #imContent, html body #imContentGraphics { padding-top: 0 !important; margin-top: 0 !important; }
html body #imFooter, html body #imFooterBg, html body footer#imFooter, html body #imFooterObjects {
    display: none !important; visibility: hidden !important; height: 0 !important; max-height: 0 !important; margin: 0 !important; padding: 0 !important;
}

/* =====================================================
   TC-NAV - EINHEITLICHES MENU (identisch mit dashboard.html)
   ===================================================== */

.tc-nav {
    background: #1d4a7c !important;
    padding: 0 24px !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 10001 !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15) !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.tc-nav-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    flex: 1 !important;
    max-width: none !important;
}

.tc-nav-logo {
    display: flex !important;
    align-items: center !important;
    text-decoration: none !important;
    padding: 10px 12px 10px 0 !important;
    flex-shrink: 0 !important;
}

.tc-nav-logo img { height: 40px !important; width: auto !important; }

.tc-nav-brand {
    color: white !important;
    font-weight: 700 !important;
    font-size: 1.05rem !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    padding: 0 20px 0 0 !important;
    flex-shrink: 0 !important;
}

.tc-nav-brand:hover { color: rgba(255,255,255,0.85) !important; }

.tc-nav-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex: 0 0 auto !important;
    gap: 0 !important;
}

.tc-nav-item { position: relative !important; }

.tc-nav-link {
    display: block !important;
    color: rgba(255,255,255,0.88) !important;
    text-decoration: none !important;
    padding: 18px 16px !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    transition: background 0.2s, color 0.2s !important;
    white-space: nowrap !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important;
}

.tc-nav-link::after { content: '' !important; }

.tc-nav-link:hover {
    background: rgba(255,255,255,0.1) !important;
    color: white !important;
}

/* Dropdown */
.tc-dropdown {
    position: absolute !important;
    top: 100% !important;
    left: 50% !important;
    transform: translateX(-50%) translateY(-8px) !important;
    background: white !important;
    min-width: 200px !important;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15) !important;
    border-radius: 0 0 8px 8px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.2s ease !important;
    z-index: 10002 !important;
}

.tc-nav-item:hover .tc-dropdown {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(-50%) translateY(0) !important;
}

.tc-dropdown a {
    display: block !important;
    color: #1d1d1f !important;
    text-decoration: none !important;
    padding: 11px 18px !important;
    font-size: 0.875rem !important;
    transition: background 0.15s !important;
    border-bottom: 1px solid #f0f0f0 !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important;
}

.tc-dropdown a:last-child { border-bottom: none !important; border-radius: 0 0 8px 8px !important; }
.tc-dropdown a:hover { background: #f0f4f8 !important; color: #1d4a7c !important; }

/* Shop-Button */
.tc-nav-cta {
    background: #0071e3 !important;
    color: white !important;
    padding: 9px 20px !important;
    border-radius: 20px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 0.875rem !important;
    white-space: nowrap !important;
    margin-left: 12px !important;
    transition: background 0.2s !important;
    flex-shrink: 0 !important;
}

.tc-nav-cta:hover { background: #0077ed !important; color: white !important; }

/* Hamburger - nur mobil */
.tc-hamburger {
    display: none !important;
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    padding: 10px !important;
    flex-shrink: 0 !important;
}

.tc-hamburger span { display: block !important; width: 25px !important; height: 3px !important; background: white !important; margin: 5px 0 !important; transition: 0.3s !important; }

/* Mobile */
@media (max-width: 900px) {
    .tc-nav { padding: 0 16px !important; }
    .tc-nav-inner { justify-content: space-between !important; }
    .tc-hamburger { display: block !important; }
    .tc-nav-cta { display: none !important; }
    .tc-nav-list {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        flex: none !important;
        background: #1d4a7c !important;
        flex-direction: column !important;
        display: none !important;
    }
    .tc-nav-list.active { display: flex !important; }
    .tc-dropdown {
        position: static !important;
        box-shadow: none !important;
        background: rgba(0,0,0,0.2) !important;
        border-radius: 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        display: none !important;
        left: auto !important;
    }
    .tc-nav-item:hover .tc-dropdown, .tc-nav-item.active .tc-dropdown { display: block !important; }
    .tc-dropdown a { color: white !important; border-bottom-color: rgba(255,255,255,0.1) !important; padding-left: 40px !important; }
    .tc-dropdown a:hover { background: rgba(255,255,255,0.1) !important; color: white !important; }
}

/* Altes tc-header ausblenden */
.tc-header { display: none !important; }

/* =====================================================
   FOOTER
   ===================================================== */
.custom-footer { background: #1d1d1f !important; color: #86868b !important; padding: 60px 40px 30px !important; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important; width: 100% !important; box-sizing: border-box !important; }
.footer-content { max-width: 1200px !important; margin: 0 auto !important; display: grid !important; grid-template-columns: 2fr 1fr 1fr 1fr !important; gap: 40px !important; }
@media (max-width: 900px) { .footer-content { grid-template-columns: 1fr 1fr !important; gap: 30px !important; } }
@media (max-width: 600px) { .footer-content { grid-template-columns: 1fr !important; gap: 25px !important; } }
.footer-brand { display: flex !important; flex-direction: column !important; gap: 15px !important; }
.footer-brand-logo { display: flex !important; align-items: center !important; gap: 10px !important; text-decoration: none !important; color: #f5f5f7 !important; font-weight: 600 !important; font-size: 1.1rem !important; }
.footer-brand-logo img { height: 32px !important; width: auto !important; }
.footer-brand > p { color: #86868b !important; font-size: 0.9rem !important; line-height: 1.6 !important; margin: 0 !important; }
.footer-contact { margin-top: 15px !important; font-size: 0.9rem !important; line-height: 1.8 !important; }
.footer-contact a { color: #86868b !important; text-decoration: none !important; }
.footer-contact a:hover { color: #f5f5f7 !important; }
.footer-section h4 { color: #f5f5f7 !important; font-size: 0.85rem !important; font-weight: 600 !important; text-transform: uppercase !important; letter-spacing: 0.5px !important; margin: 0 0 20px 0 !important; }
.footer-section ul { list-style: none !important; padding: 0 !important; margin: 0 !important; }
.footer-section ul li { margin-bottom: 12px !important; }
.footer-section ul li a { color: #86868b !important; text-decoration: none !important; font-size: 0.9rem !important; }
.footer-section ul li a:hover { color: #f5f5f7 !important; }
.footer-bottom { max-width: 1200px !important; margin: 40px auto 0 !important; padding-top: 25px !important; border-top: 1px solid #424245 !important; display: flex !important; justify-content: space-between !important; align-items: center !important; flex-wrap: wrap !important; gap: 15px !important; }
.footer-copyright { color: #86868b !important; font-size: 0.8rem !important; }
.footer-legal { display: flex !important; gap: 25px !important; }
.footer-legal a { color: #86868b !important; text-decoration: none !important; font-size: 0.8rem !important; }
.footer-legal a:hover { color: #f5f5f7 !important; }
@media (max-width: 600px) { .footer-bottom { flex-direction: column !important; text-align: center !important; } .footer-legal { justify-content: center !important; } }