/**
 * NetDiag Enterprise – Firmen-Design mit Logo
 * Modern, professionell, mit Logo-Unterstützung
 */

/* Header: Terminal-Deko ausblenden bei Enterprise */
body.enterprise header::before,
body.enterprise header::after {
    display: none;
}

body.enterprise header:hover {
    border-color: var(--border-color);
    border-top-color: var(--primary-color);
}

/* ========== Enterprise Header – Corporate Look ========== */
.header-enterprise {
    padding: 0;
    margin-bottom: 0;
    border: none;
    border-radius: var(--radius-lg);
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-top: 4px solid var(--primary-color);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
    min-height: 100px;
}

.header-enterprise-brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
    padding: var(--spacing-lg) var(--spacing-xl);
    width: 100%;
}

/* Logo-Bereich – für Firmen-Logo */
.header-enterprise-logo-wrap {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm) var(--spacing-md);
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.header-enterprise-logo {
    height: 48px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    display: block;
}

/* Ohne Logo: nur Text-Brand */
.header-enterprise-brand:not(:has(.header-enterprise-logo)) .header-enterprise-titles {
    margin-left: 0;
}

.header-enterprise-titles {
    flex: 1;
    min-width: 0;
}

.header-enterprise-titles h1 {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    margin-bottom: 0.25rem;
    color: var(--text-color-bright);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.header-enterprise-titles .subtitle {
    margin-top: 0.25rem;
    font-size: 0.9rem;
    opacity: 0.85;
    color: var(--text-muted);
}

/* Tagline (z.B. MADE IN AUSTRIA) */
.header-enterprise-tagline {
    margin-top: 0.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--primary-color);
    opacity: 1;
}

/* Enterprise-Badge */
.badge-enterprise {
    display: inline-block;
    font-size: 0.6em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.25em 0.6em;
    margin-left: 0.25em;
    vertical-align: middle;
    background: var(--primary-color);
    color: #0a0a0a;
    border-radius: var(--radius-sm);
    box-shadow: 0 0 12px rgba(var(--primary-rgb, 74, 222, 128), 0.35);
}

/* ========== Footer Enterprise ========== */
.footer-enterprise .footer-content {
    padding: var(--spacing-md) 0;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--spacing-xl);
    align-items: start;
}

.footer-enterprise .footer-title {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--primary-color);
    margin-bottom: 0.35rem;
}

.footer-enterprise .footer-support a {
    color: var(--primary-color);
    text-decoration: none;
}

.footer-enterprise .footer-support a:hover {
    text-decoration: underline;
}

.footer-enterprise .footer-license,
.footer-enterprise .footer-extra {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.footer-enterprise .footer-powered {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-top: 0.5rem;
}

/* ========== Enterprise: Karten & Buttons ========== */
body.enterprise .tool-card {
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

body.enterprise .btn-primary {
    background: var(--primary-color);
    color: #0a0a0a;
    border: none;
}

body.enterprise .btn-primary:hover {
    background: var(--primary-hover);
    color: #0a0a0a;
}

body.enterprise .nav-dropdown-toggle.active,
body.enterprise .nav-dropdown-item.active {
    color: var(--primary-color);
}

body.enterprise .result-box.success {
    border-left-color: var(--primary-color);
}

/* ========== Responsive Enterprise ========== */
@media (max-width: 768px) {
    .header-enterprise-brand {
        flex-direction: column;
        align-items: flex-start;
        padding: var(--spacing-md);
    }
    .header-enterprise-logo-wrap {
        align-self: flex-start;
    }
    .header-enterprise-logo {
        max-height: 40px;
    }
    .footer-enterprise .footer-content {
        grid-template-columns: 1fr;
    }
}
