/* Logo Styles – 1:1 wie Original: header-logo-link brand, brand__mark (SVG), header-logo-content, brand__title, brand__tag */

.base-header-logo-link,
.header-logo-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    height: 100%;
    max-width: 100%;
    transition: var(--transition-fast);
}

.header-logo-link:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.header-logo-link.brand {
    color: var(--color-text-primary);
}

.brand__mark {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand__mark svg {
    display: block;
    width: 26px;
    height: 26px;
}

.base-header-logo-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand__title {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-large);
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-text-primary);
    white-space: nowrap;
}

.brand__tag {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-xs);
    font-weight: 400;
    line-height: 1.2;
    color: var(--color-text-secondary);
    white-space: nowrap;
}

/* Logo-Bild (wenn LOGO_FILENAME gesetzt) */
.base-header-logo-image {
    height: 50px;
    width: auto;
    max-width: 100%;
    border: none;
    display: block;
    object-fit: contain;
    flex-shrink: 0;
}

@media (max-width: 575px) {
    .base-header-logo-image {
        height: 35px;
        max-width: calc(100vw - 100px);
    }
    .brand__title {
        font-size: var(--font-size-base);
        max-width: calc(100vw - 100px);
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .brand__tag {
        font-size: var(--font-size-xs);
        max-width: calc(100vw - 100px);
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

@media (min-width: 600px) {
    .brand__mark svg {
        width: 28px;
        height: 28px;
    }
    .brand__title {
        font-size: var(--font-size-xl);
    }
    .brand__tag {
        font-size: var(--font-size-small);
    }
}

@media (min-width: 1024px) {
    .brand__mark svg {
        width: 30px;
        height: 30px;
    }
    .brand__title {
        font-size: var(--font-size-xxl);
    }
}

@media (min-width: 1440px) {
    .brand__mark svg {
        width: 32px;
        height: 32px;
    }
}

