/* ==========================================
   HEADER
========================================== */

.site-header {
    position: sticky;

    top: 0;

    z-index: 1000;

    height: 80px;

    background: #ffffff;

    border-bottom: 0px solid var(--border-color);
}

/* ==========================================
   CONTAINER
========================================== */

.site-header .container {
    height: 100%;

    display: grid;

    grid-template-columns: auto auto 1fr;

    align-items: center;

    column-gap: 64px;
}

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

.logo {
    display: flex;

    align-items: center;
}

.logo img {
    display: block;

    height: 40px;
}

/* ==========================================
   NAVIGATION
========================================== */

.main-nav {
    justify-self: start;
}

.main-nav ul {
    display: flex;

    align-items: center;

    gap: 30px;

    list-style: none;

    margin: 0;

    padding: 0;
}

.main-nav a {
    position: relative;

    display: inline-block;

    font-family: var(--font-primary);

    font-size: 16px;

    font-weight: 500;

    letter-spacing: 0.2px;

    color: var(--color-text);

    text-decoration: none;

    transition: color 0.2s ease;
}

.main-nav a:hover {
    color: var(--color-primary);
}

.main-nav a.active {
    color: var(--color-primary);

    font-weight: 700;
}

.main-nav a.active::after {
    width: 100%;
}

/* ==========================================
   UNDERLINE ANIMATION
========================================== */

.main-nav a::after {
    content: "";

    position: absolute;

    left: 0;

    bottom: -6px;

    width: 0;

    height: 2px;

    background: var(--color-primary);

    transition: width 0.2s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

/* ===================================== */
/* AI TRANSPARENCY BAR                   */
/* ===================================== */

.ai-transparency-bar {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 30px;

    z-index: 1100;

    background: #fafafa;
    border-bottom: 0px solid rgba(0, 0, 0, 0.06);
}

.ai-transparency-bar .container {
    height: 100%;

    display: flex;
    align-items: center;
}

.ai-transparency-text {
    margin: 0;

    font-size: 11px;
    font-weight: 400;

    color: #777;
}

.ai-transparency-text span {
    margin: 0 7px;
    color: #aaa;
}

.ai-transparency-text a {
    color: #666;
    text-decoration: none;
}

.ai-transparency-text a:hover {
    color: #222;
}


/* ===================================== */
/* MAIN HEADER POSITION                  */
/* ===================================== */

.site-header {
    position: fixed;

    top: 30px;
    left: 0;

    width: 100%;

    z-index: 1000;

    background: #fff;
}

/* WICHTIG:

   Platz für AI-Bar + Header schaffen */

main {

    padding-top: 110px;

}