/* =========================================
   LOGO
   ========================================= */

.base-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-extrabold);
    letter-spacing: -0.5px;
    color: var(--color-text);
    text-decoration: none;
}

/* .base-nav-logo | Änderungsprotokoll: 2026-10-03 | agent-router | @skill-change-provenance | Querformat-Logo AI Coding Days Köln ohne Neon-Ecken */
.base-nav-logo {
    display: flex;
    align-items: center;
    gap: 0;
    color: var(--color-text);
    text-decoration: none;
    grid-column: 1;
    justify-self: start;
    line-height: 0;
}

/* .base-logo-full | Änderungsprotokoll: 2026-10-03 | agent-router | @skill-change-provenance, @skill-css-rules | Querformat 165x80 Event-Logo wie Live /warum */
.base-logo-full {
    height: 80px;
    width: auto;
    max-width: 165px;
    max-height: 80px;
    flex-shrink: 0;
    object-fit: contain;
    display: block;
    border-radius: 0;
}

.base-nav-logo .base-logo-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    object-fit: contain;
    display: block;
}

.base-logo-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    object-fit: contain;
    border-radius: 6px;
    display: block;
}

.base-logo-text {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: baseline;
    gap: 0;
    font-size: inherit;
    font-weight: inherit;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.base-logo-text-char {
    display: inline-block;
    font-weight: var(--font-weight-bold);
    color: var(--color-headline);
}

.base-logo-text-char-space {
    color: transparent;
    width: 0.28em;
}

/* .base-nav-logo Hamburger-Viewport | Änderungsprotokoll: 2026-10-30 | parent-agent | @skill-change-provenance, @skill-css-rules | Public max 1023px; Secure immer: Logo neben Timetable-CTA + Hamburger */
@media (max-width: 1023px) {
    .base-nav-mode-public .base-nav-logo {
        flex: 1 1 auto;
        min-width: 0;
        max-width: calc(100% - 170px);
    }

    .base-nav-mode-public .base-logo-full {
        width: auto;
        max-width: min(165px, 100%);
        height: 80px;
        max-height: 80px;
        flex-shrink: 1;
        object-fit: contain;
        object-position: left center;
    }
}

.base-nav-mode-secure .base-nav-logo {
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - 170px);
}

.base-nav-mode-secure .base-logo-full {
    width: auto;
    max-width: min(165px, 100%);
    height: 80px;
    max-height: 80px;
    flex-shrink: 1;
    object-fit: contain;
    object-position: left center;
}

/* 011-ui-logo 003: Mobile Logo neben Timetable-CTA + Hamburger; Flaggen nur im Menü */
/* .base-nav-logo | Änderungsprotokoll: 2026-10-03 | agent-router | @skill-change-provenance, @skill-css-rules | Schmale Viewports: Querformat-Logo kompakter */
@media (max-width: 575px) {
    .base-nav-logo {
        max-width: calc(100% - 150px);
    }

    /* .base-logo-full | Änderungsprotokoll: 2026-10-03 | agent-router | @skill-change-provenance, @skill-css-rules | Mobile Querformat Hoehe 56px */
    .base-logo-full {
        width: auto;
        max-width: min(115px, 100%);
        height: 56px;
        max-height: 56px;
    }

    .base-nav-logo .base-logo-icon {
        width: 36px;
        height: 36px;
    }

    .base-logo {
        max-width: calc(100% - 48px);
        font-size: var(--font-size-xl);
    }

    .base-logo-icon {
        width: 20px;
        height: 20px;
    }
}

/* #app-version | Änderungsprotokoll: 2026-10-22 | parent-agent | @skill-change-provenance, @skill-css-rules, @skill-admin-secure-app-version | App-Version als Flex-Kind von .base-nav-logo direkt rechts neben img.base-logo-full */
.app-version {
    display: inline-flex;
    align-items: center;
    align-self: center;
    flex-shrink: 0;
    margin-left: 0.35rem;
    padding: 0.1rem 0.4rem;
    font-size: 0.6875rem;
    font-weight: 600;
    font-family: var(--font-family-mono, ui-monospace, SFMono-Regular, Menlo, monospace);
    letter-spacing: 0.045em;
    line-height: 1.15;
    color: rgb(88 166 255 / 92%);
    background: rgb(8 16 28 / 72%);
    border: 1px solid rgb(88 166 255 / 28%);
    border-radius: 4px;
    white-space: nowrap;
    user-select: all;
}

