
/* =========================================================
   NAVIGATION
   ========================================================= */

html body .header_links {
    position: sticky !important;
    inset: auto !important;
    top: 0 !important;
    z-index: 9999;
    display: block !important;
    float: none !important;
    box-sizing: border-box;
    width: 100% !important;
    min-height: 49px;
    margin: 0 !important;
    padding: 0 !important;
    background: var(--hunt-header-nav-bg);
    border: 0;
    box-shadow: none !important;
}

html body .header_links .hunt-nav-inner {
    position: static !important;
    box-sizing: border-box;
    width: 720px;
    max-width: calc(100% - 24px);
    min-height: 49px;
    margin: 0 auto;
    padding: 0 2px;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    gap: 0 15px;
}

html body .header_links .hunt-nav-inner > a {
    float: none !important;
    position: static !important;
    display: inline-block;
    padding: 15px 0 14px;
    margin: 0 !important;
    background: none !important;
    color: var(--hunt-header-nav-link) !important;
    font: 600 10px/20px Tahoma, Verdana, sans-serif !important;
    letter-spacing: .09em;
    text-decoration: none !important;
    text-transform: uppercase;
}

html body .header_links .hunt-nav-inner > a:hover {
    color: var(--hunt-header-nav-hover) !important;
}

html body .header_links .hunt-nav-scene-count {
    color: var(--hunt-header-nav-count);
    letter-spacing: 0;
    font-size: 9px;
    margin-left: 3px;
}


/* =========================================================
   HEADER-GRUNDSTRUKTUR
   ========================================================= */

html body #container {
    min-width: 0;
}

html body #header {
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
}

html body #header > .wrapper {
    position: relative;
    box-sizing: border-box;
    display: block;
    overflow: visible;
    width: 720px !important;
    min-width: 0 !important;
    max-width: calc(100% - 24px) !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

html body #container > .wrapper {
    box-sizing: border-box;
    width: 720px !important;
    min-width: 0 !important;
    max-width: calc(100% - 24px) !important;
    margin: 0 auto !important;
}


/* =========================================================
   BANNER
   ========================================================= */

html body #header .hunt-header-hero {
    position: relative;
    display: block;
    box-sizing: border-box;
    width: 100% !important;
    height: 355px !important;
    min-height: 355px;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    background: var(--hunt-header-banner-bg);
    border: 4px solid var(--hunt-header-banner-border);
}

html body #header .hunt-header-hero > img.wechselbanner-image {
    position: absolute !important;
    inset: 0;
    display: block !important;
    box-sizing: border-box;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: cover;
    object-position: center;
    border: 0 !important;
    opacity: 1 !important;
}

html body #header .hunt-header-hero-link {
    position: absolute;
    z-index: 1;
    inset: 0;
    display: block;
}

html body #header .hunt-header-hero-link:focus-visible {
    outline: 2px solid var(--hunt-header-accent);
    outline-offset: -5px;
}


/* =========================================================
   IDENTITÄTSLEISTE UNTER DEM BANNER
   ========================================================= */

html body #header .hunt-header-identity {
    position: relative;
    box-sizing: border-box;
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 10px;
    min-height: 36px;
    margin: 0 !important;
    padding: 4px 10px 5px 116px !important;
    background: var(--hunt-header-nav-bg);
    border: 0;
}

html body #header .hunt-header-avatar {
    position: absolute !important;
    z-index: 5;
    left: -58px !important;
    top: -124px !important;
    box-sizing: border-box;
    display: block;
    float: none !important;
    width: 156px !important;
    height: 156px !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 5px !important;
    overflow: hidden;
    background: var(--hunt-header-avatar-bg);
    border: 0;
    box-shadow: none !important;
}

html body #header .hunt-header-avatar > img {
    display: block !important;
    float: none !important;
    width: 146px !important;
    height: 146px !important;
    min-width: 0 !important;
    max-width: none !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: cover;
    object-position: 50% 35%;
    border: 0 !important;
}

html body #header .hunt-header-identity-main {
    flex: 1 1 auto;
    min-width: 0;
}

html body #header .hunt-welcome-member,
html body #header .hunt-welcome-guest {
    color: var(--hunt-header-welcome-text);
    font: 10px/1.45 Tahoma, Verdana, sans-serif;
}

html body #header .hunt-welcome-topline {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 6px;
}

html body #header .hunt-welcome-greeting {
    color: var(--hunt-header-welcome-greeting);
}

html body #header .hunt-welcome-bottomline {
    margin-top: 2px;
}

html body #header .hunt-welcome-links {
    display: flex !important;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 11px;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

html body #header .hunt-welcome-links > li {
    display: inline-block !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

html body #header .hunt-welcome-links > li::marker {
    content: '';
}

html body #header .hunt-welcome-links a {
    font-size: 10px;
    white-space: nowrap;
}

html body #header .hunt-welcome-switcher {
    margin-top: 2px;
    font-size: 10px;
}

html body #header .hunt-welcome-switcher:empty {
    display: none;
}

html body #header .hunt-header-identity a,
html body #header .hunt-header-info a {
    color: var(--hunt-header-accent);
    text-decoration: none;
}

html body #header .hunt-header-identity a:hover,
html body #header .hunt-header-info a:hover {
    color: var(--hunt-header-link-hover);
}


/* =========================================================
   SCHNELLZUGRIFFE
   ========================================================= */

html body #header .hunt-header-quicklinks {
    flex: 0 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 3px;
    max-width: 38%;
    margin: 0 !important;
    padding: 0;
}

html body #header .hunt-header-quicklinks a {
    display: inline-block;
    margin: 0;
    padding: 3px 7px;
    background: var(--hunt-header-quicklink-bg);
    color: var(--hunt-header-quicklink-text);
    white-space: nowrap;
    font: 10px/1.4 Tahoma, Verdana, sans-serif;
}

html body #header .hunt-header-quicklinks a:hover {
    background: var(--hunt-header-quicklink-hover);
}


/* =========================================================
   UNTERER HEADERBEREICH
   ========================================================= */

html body #header .hunt-header-info {
    box-sizing: border-box;
    display: grid !important;
    grid-template-columns: 178px minmax(0, 1fr);
    gap: 10px;
    width: 100%;
    min-width: 0;
    margin: 0 !important;
    padding: 10px 24px 16px !important;
    background: var(--hunt-header-info-bg);
    border: 0;
}

html body #header .hunt-header-card {
    box-sizing: border-box;
    display: block;
    min-width: 0;
    min-height: 182px !important;
    margin: 0 !important;
    padding: 16px 11px 12px !important;
    background: var(--hunt-header-card-bg);
    border: 0;
    box-shadow: none !important;
}

html body #header .hunt-header-card h2 {
    display: block;
    float: none;
    margin: 0 0 18px !important;
    padding: 0 !important;
    color: var(--hunt-header-card-title);
    font: normal 26px/1.05 'Pirata One', Georgia, serif;
    text-align: left;
    background: none;
    border: 0;
}

html body #header .hunt-header-card--links nav {
    display: block;
    margin: 0;
    padding: 0;
}

html body #header .hunt-header-card--links nav a {
    display: block;
    box-sizing: border-box;
    margin: 0 0 3px;
    padding: 4px 5px;
    font: 10px/1.3 Tahoma, Verdana, sans-serif;
    background: var(--hunt-header-card-link-bg);
    color: var(--hunt-header-card-link-text);
    border: 0;
}

html body #header .hunt-header-card--links nav a:hover {
    background: var(--hunt-header-card-link-hover);
}

html body #header .hunt-header-card-body {
    font: 11px/1.5 Tahoma, Verdana, sans-serif;
    color: var(--hunt-header-card-text);
}

html body #header .hunt-header-card-body p {
    margin: 0 0 12px;
}

html body #header .hunt-header-card--news {
    padding-left: 14px !important;
    padding-right: 14px !important;
}


/* =========================================================
   SONSTIGES
   ========================================================= */

html body #panel.hunt-header-panel {
    display: none !important;
}

html body .hunt-header-notices:empty {
    display: none;
}

html body .hunt-header-breadcrumb {
    margin: 0 0 8px;
    padding: 6px 0;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 760px) {
    html body .header_links .hunt-nav-inner {
        gap: 0 12px;
    }

    html body #header .hunt-header-hero {
        height: 260px !important;
        min-height: 260px;
    }

    html body #header .hunt-header-identity {
        padding-left: 83px !important;
        flex-wrap: wrap;
    }

    html body #header .hunt-header-avatar {
        width: 90px !important;
        height: 90px !important;
        left: -8px !important;
        top: -55px !important;
        padding: 4px !important;
    }

    html body #header .hunt-header-avatar > img {
        width: 82px !important;
        height: 82px !important;
    }

    html body #header .hunt-header-quicklinks {
        max-width: 100%;
    }

    html body #header .hunt-header-info {
        grid-template-columns: 1fr;
        padding: 10px !important;
    }

    html body #header .hunt-header-card {
        min-height: 0 !important;
    }
}



/* =========================================================
   NAVIGATION – Unterstreichung nur am aktiven Link
   ========================================================= */

html body .header_links,
html body .header_links .hunt-nav-inner > a,
html body .header_links .hunt-nav-inner > a:hover {
    text-decoration: none !important;
}

html body .header_links .hunt-nav-inner > a {
    position: relative !important;
    display: inline-block !important;
}

/* Linie nur unter dem jeweiligen Navigationslink */
html body .header_links .hunt-nav-inner > a::after {
    content: "";
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--hunt-header-accent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

html body .header_links .hunt-nav-inner > a:hover::after,
html body .header_links .hunt-nav-inner > a:focus-visible::after {
    transform: scaleX(1);
}
