/* ============================================================
   LIQUID GLASS APP SHELL
   Navigation, Footer, Layout-Grundgerüst
   Abhängigkeit: lg-tokens.css, lg-components.css
   Extrahiert aus Multiposting Wizard styles.css
   ============================================================ */

/* ============ DESIGN TOKENS – Aliased to lg-tokens.css ============ */
:root {
    /* ── Raven51 CD Primärfarben → lg-tokens ── */
    --primary-color: var(--lg-red);
    --primary-hover: var(--lg-red-hover);
    --primary-light: var(--lg-red-light);
    --brand-secondary: var(--lg-teal);
    --brand-secondary-hover: var(--lg-teal-hover);
    --brand-secondary-light: var(--lg-teal-light);

    /* ── Raven51 CD Sekundär/Tertiär → lg-tokens ── */
    --r51-tradewind: var(--lg-tradewind);
    --r51-jagged-ice: var(--lg-jagged-ice);
    --r51-bisque: var(--lg-bisque);
    --r51-melon: var(--lg-melon);
    --r51-delta-grey: var(--lg-delta-grey);
    --r51-nero-grey: var(--lg-nero);

    /* ── AI / Orbit → lg-tokens ── */
    --ai-color: var(--lg-ai-color);
    --ai-light: var(--lg-ai-light);
    --ai-gradient: var(--lg-ai-gradient);
    --orbit-conic: var(--lg-orbit-conic);
    --orbit-conic-strong: var(--lg-orbit-conic-strong);

    /* ── Status → lg-tokens ── */
    --success-color: var(--lg-success);
    --success-light: var(--lg-success-light);
    --warning-color: var(--lg-warning);
    --warning-light: var(--lg-warning-light);
    --info-color: var(--lg-info);
    --info-light: var(--lg-info-light);
    --error-color: var(--lg-error);

    /* ── Text → lg-tokens ── */
    --text-primary: var(--lg-text);
    --text-secondary: var(--lg-text-secondary);
    --text-muted: var(--lg-text-muted);
    --text-inverse: var(--lg-text-inverse);
    --text-on-glass: var(--lg-text);
    --text-on-glass-secondary: var(--lg-text-secondary);
    --text-on-glass-muted: var(--lg-text-muted);

    /* ── Surfaces → lg-tokens ── */
    --bg-primary: var(--lg-surface);
    --bg-secondary: var(--lg-surface-raised);
    --bg-tertiary: var(--lg-surface-sunken);
    --surface: var(--lg-surface);
    --border-color: var(--lg-border);
    --border-light: var(--lg-border-light);

    /* ── Glass Surfaces → lg-tokens (Liquid Glass!) ── */
    --glass-panel: var(--lg-glass-bg);
    --glass-panel-hover: var(--lg-glass-bg-hover);
    --glass-panel-border: var(--lg-border);
    --glass-panel-blur: var(--lg-glass-blur);
    --glass-card: var(--lg-surface-raised);
    --glass-card-border: var(--lg-border-light);
    --glass-dark: var(--lg-glass-dark-bg);
    --glass-dark-border: var(--lg-glass-dark-border);
    --glass-dark-blur: blur(20px);
    --glass-bg: var(--lg-glass-bg);
    --glass-border: var(--lg-border);
    --glass-blur: var(--lg-glass-blur);

    /* ── Spacing → lg-tokens ── */
    --spacing-xs: var(--lg-space-xs);
    --spacing-sm: var(--lg-space-sm);
    --spacing-md: var(--lg-space-lg);
    --spacing-lg: var(--lg-space-xl);
    --spacing-xl: var(--lg-space-2xl);
    --spacing-2xl: var(--lg-space-3xl);

    /* ── Radius → lg-tokens ── */
    --radius-sm: var(--lg-radius-xs);
    --radius-md: var(--lg-radius-sm);
    --radius-lg: var(--lg-radius-md);
    --radius-xl: var(--lg-radius-lg);
    --radius-2xl: var(--lg-radius-xl);
    --radius-full: var(--lg-radius-full);

    /* ── Shadows → lg-tokens ── */
    --shadow-sm: var(--lg-shadow-sm);
    --shadow-md: var(--lg-shadow-md);
    --shadow-lg: var(--lg-shadow-lg);
    --shadow-xl: var(--lg-shadow-xl);
    --shadow-glow-teal: 0 0 0 3px rgba(0, 98, 105, .10);
    --shadow-glow-ai: 0 2px 10px rgba(0, 98, 105, .1);
    --shadow-layered: 0 1px 2px rgba(0,0,0,.04), 0 4px 12px rgba(0,0,0,.06), 0 12px 32px rgba(0,0,0,.05);

    /* ── Typography → lg-tokens ── */
    --font-family: var(--lg-font);
    --transition-fast: var(--lg-ease-fast);
    --transition-base: var(--lg-ease-base);
    --transition-slow: var(--lg-ease-slow);
    --font-size-xl: var(--lg-text-xl);
    --font-size-lg: var(--lg-text-lg);
    --font-size-base: var(--lg-text-base);
    --font-size-sm: var(--lg-text-sm);
    --font-size-xs: var(--lg-text-xs);
    --font-size-2xs: var(--lg-text-2xs);

    /* ── Misc → lg-tokens ── */
    --hint-teal: var(--lg-tradewind);
    --hint-teal-bg: rgba(0, 98, 105, .08);
    --c-stepstone: var(--lg-c-stepstone);
    --c-indeed: var(--lg-c-indeed);
    --c-linkedin: var(--lg-c-linkedin);
    --c-xing: var(--lg-c-xing);
    --c-glassdoor: var(--lg-c-glassdoor);
    --c-ba: var(--lg-c-ba);
    --c-jobware: var(--lg-c-jobware);
}

/* ============ RESET ============ */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
body{font-family:var(--font-family);font-size:14px;line-height:1.5;color:var(--text-primary);background:linear-gradient(145deg,#e8f0f1 0%,#d5e3e4 30%,#e2ddd8 60%,#eae6e2 100%);background-attachment:fixed;min-height:100vh;display:flex;flex-direction:column;position:relative;overflow-x:hidden}

/* ============ TOP NAV – Liquid Glass Petrol Header ============ */
.top-nav-glass{
    height:54px;
    background:linear-gradient(135deg,rgba(0,77,82,.92) 0%,rgba(0,98,105,.88) 50%,rgba(51,100,109,.85) 100%);
    backdrop-filter:blur(24px) saturate(1.4);
    -webkit-backdrop-filter:blur(24px) saturate(1.4);
    display:flex;align-items:center;justify-content:space-between;
    padding:0 clamp(24px,3vw,64px);
    position:sticky;top:0;z-index:200;
    border-bottom:1px solid rgba(255,255,255,.12);
    box-shadow:0 1px 8px rgba(0,50,55,.15),inset 0 -1px 0 rgba(255,255,255,.06)
}
.top-nav-glass__logo{display:flex;align-items:center}
.top-nav-glass__logo img{height:26px;width:auto}
.top-nav-glass__menu{display:flex;align-items:center;gap:2px}
.top-nav-glass__item{
    display:flex;align-items:center;gap:6px;
    padding:6px 14px;
    color:rgba(255,255,255,.72);
    font-size:var(--font-size-xs);font-weight:500;
    border-radius:var(--radius-full);
    cursor:pointer;transition:all .2s ease;
    text-decoration:none;white-space:nowrap;
    border:1.5px solid transparent
}
.top-nav-glass__item .material-symbols-outlined{font-size:17px}
.top-nav-glass__item:hover{background:rgba(255,255,255,.12);color:#fff}
.top-nav-glass__item.active{
    background:rgba(255,255,255,.18);
    backdrop-filter:blur(8px);
    -webkit-backdrop-filter:blur(8px);
    color:#fff;font-weight:600;
    border-color:rgba(255,255,255,.25);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 4px rgba(0,0,0,.1)
}
.top-nav-glass__divider{
    width:1.5px;height:24px;
    background:rgba(255,255,255,.3);
    margin:0 8px;
    flex-shrink:0;
    border-radius:1px
}
.top-nav-glass__right{
    display:flex;align-items:center;gap:clamp(10px,1.2vw,18px)
}
.top-nav-glass__icon-btn{
    position:relative;
    width:34px;height:34px;
    border-radius:50%;border:none;
    background:rgba(255,255,255,.1);
    backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
    color:rgba(255,255,255,.8);
    cursor:pointer;display:flex;align-items:center;justify-content:center;
    transition:all .2s ease
}
.top-nav-glass__icon-btn:hover{background:rgba(255,255,255,.2);color:#fff}
.top-nav-glass__icon-btn .material-symbols-outlined{font-size:19px}
.top-nav-glass__badge{
    position:absolute;top:-2px;right:-2px;
    min-width:16px;height:16px;
    border-radius:8px;
    background:var(--lg-red);color:#fff;
    font-size:10px;font-weight:700;
    display:flex;align-items:center;justify-content:center;
    padding:0 4px;
    box-shadow:0 1px 4px rgba(227,6,19,.4)
}
.top-nav-glass__user-wrapper{position:relative}
.top-nav-glass__user{
    display:flex;align-items:center;gap:10px;
    padding:3px 8px 3px 12px;border-radius:var(--radius-full);
    cursor:pointer;transition:all .2s ease;color:#fff;
    border:1px solid rgba(255,255,255,.45);
    background:linear-gradient(135deg,rgba(255,255,255,.38) 0%,rgba(255,255,255,.22) 100%);
    backdrop-filter:blur(12px) saturate(1.3);-webkit-backdrop-filter:blur(12px) saturate(1.3);
    box-shadow:0 1px 6px rgba(0,50,55,.08),inset 0 1px 0 rgba(255,255,255,.4);
    font-family:inherit
}
.top-nav-glass__user:hover{
    background:linear-gradient(135deg,rgba(255,255,255,.48) 0%,rgba(255,255,255,.3) 100%);
    border-color:rgba(255,255,255,.55);
    box-shadow:0 2px 10px rgba(0,50,55,.1),inset 0 1px 0 rgba(255,255,255,.5)
}
.top-nav-glass__user[aria-expanded="true"]{
    background:linear-gradient(135deg,rgba(255,255,255,.52) 0%,rgba(255,255,255,.35) 100%);
    border-color:rgba(255,255,255,.6);
    box-shadow:0 2px 12px rgba(0,50,55,.12),inset 0 1px 0 rgba(255,255,255,.5)
}
.top-nav-glass__user-info{text-align:right}
.top-nav-glass__user-name{font-size:var(--font-size-xs);font-weight:600;line-height:1.2;color:#fff}
.top-nav-glass__user-avatar{
    width:32px;height:32px;border-radius:50%;
    background:rgba(255,255,255,.3);
    border:1.5px solid rgba(255,255,255,.5);
    display:flex;align-items:center;justify-content:center;
    overflow:hidden;transition:border-color .2s ease;
    box-shadow:0 1px 4px rgba(0,50,55,.1)
}
.top-nav-glass__user:hover .top-nav-glass__user-avatar{border-color:rgba(255,255,255,.65)}
.top-nav-glass__user-avatar img{width:100%;height:100%;object-fit:cover}
.top-nav-glass__user-avatar .material-symbols-outlined{font-size:17px;color:rgba(255,255,255,.9)}
.top-nav-glass__user-chevron{
    font-size:18px!important;color:#fff;opacity:.7;
    transition:transform .25s ease,opacity .2s ease;
    margin-left:-4px
}
.top-nav-glass__user:hover .top-nav-glass__user-chevron{opacity:1}
.top-nav-glass__user[aria-expanded="true"] .top-nav-glass__user-chevron{transform:rotate(180deg);opacity:1}

/* ---- User Dropdown (Liquid Glass) ---- */
.user-dropdown{
    position:absolute;top:calc(100% + 10px);right:0;
    min-width:260px;
    background:linear-gradient(160deg,rgba(255,255,255,.78) 0%,rgba(245,250,250,.65) 100%);
    backdrop-filter:blur(40px) saturate(1.6) brightness(1.08);
    -webkit-backdrop-filter:blur(40px) saturate(1.6) brightness(1.08);
    border:1px solid rgba(255,255,255,.45);
    border-radius:16px;
    box-shadow:
        0 4px 16px rgba(0,50,55,.07),
        0 12px 40px rgba(0,50,55,.10),
        inset 0 1px 0 rgba(255,255,255,.55),
        inset 0 -1px 0 rgba(0,0,0,.03);
    padding:6px;
    opacity:0;
    visibility:hidden;
    transform:translateY(-8px) scale(.97);
    transition:opacity .2s ease,transform .25s cubic-bezier(.16,1,.3,1),visibility .2s ease;
    z-index:500;
    pointer-events:none
}
.user-dropdown.open{
    opacity:1;visibility:visible;
    transform:translateY(0) scale(1);
    pointer-events:auto
}
/* Glass arrow/notch */
.user-dropdown::before{
    content:'';position:absolute;top:-6px;right:20px;
    width:12px;height:12px;
    background:rgba(255,255,255,.78);
    border:1px solid rgba(255,255,255,.45);
    border-bottom:none;border-right:none;
    transform:rotate(45deg);
    border-radius:2px 0 0 0
}
.user-dropdown__header{
    display:flex;align-items:center;gap:12px;
    padding:12px 12px 10px;
    border-radius:12px;
    background:linear-gradient(135deg,rgba(0,77,82,.05) 0%,rgba(0,98,105,.02) 100%)
}
.user-dropdown__avatar{
    width:40px;height:40px;border-radius:50%;overflow:hidden;
    border:2px solid rgba(255,255,255,.35);
    flex-shrink:0;
    box-shadow:0 2px 10px rgba(0,50,55,.12)
}
.user-dropdown__avatar img{width:100%;height:100%;object-fit:cover}
.user-dropdown__identity{min-width:0}
.user-dropdown__name{
    font-size:var(--font-size-sm);font-weight:700;
    color:var(--text-primary);line-height:1.3
}
.user-dropdown__email{
    font-size:11px;color:var(--text-secondary);
    line-height:1.3;
    overflow:hidden;text-overflow:ellipsis;white-space:nowrap
}
.user-dropdown__divider{
    height:1px;
    background:linear-gradient(90deg,transparent 0%,rgba(0,77,82,.08) 15%,rgba(0,77,82,.08) 85%,transparent 100%);
    margin:4px 8px
}
.user-dropdown__item{
    display:flex;align-items:center;gap:10px;
    padding:9px 12px;border-radius:10px;
    color:var(--text-primary);font-size:var(--font-size-xs);font-weight:500;
    text-decoration:none;cursor:pointer;
    transition:all .15s ease
}
.user-dropdown__item .material-symbols-outlined{
    font-size:18px;color:var(--text-secondary);
    transition:color .15s ease
}
.user-dropdown__item:hover{
    background:rgba(0,77,82,.06);
    color:var(--brand-secondary);
    transform:translateX(2px)
}
.user-dropdown__item:hover .material-symbols-outlined{color:var(--brand-secondary)}
.user-dropdown__item:active{background:rgba(0,77,82,.1);transform:scale(.98)}
.user-dropdown__item--danger{color:var(--lg-red)}
.user-dropdown__item--danger .material-symbols-outlined{color:var(--lg-red)!important}
.user-dropdown__item--danger:hover{background:rgba(227,6,19,.05);color:var(--lg-red)}

/* ---- Hamburger (hidden on desktop) ---- */
.top-nav-glass__hamburger{display:none}

/* ---- Mobile Nav Overlay ---- */
.mobile-nav-overlay{
    display:none;position:fixed;inset:0;z-index:300;
    background:rgba(0,30,33,.45);
    backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);
    opacity:0;pointer-events:none;
    transition:opacity .25s ease
}
.mobile-nav-overlay--open{opacity:1;pointer-events:auto}
.mobile-nav-overlay__panel{
    position:absolute;top:0;left:0;bottom:0;
    width:min(300px,85vw);
    background:linear-gradient(180deg,rgba(0,77,82,.96) 0%,rgba(0,60,65,.98) 100%);
    backdrop-filter:blur(24px) saturate(1.4);-webkit-backdrop-filter:blur(24px) saturate(1.4);
    box-shadow:4px 0 32px rgba(0,0,0,.2);
    transform:translateX(-100%);
    transition:transform .3s cubic-bezier(.16,1,.3,1);
    display:flex;flex-direction:column;
    padding:16px 12px;
    overflow-y:auto
}
.mobile-nav-overlay--open .mobile-nav-overlay__panel{transform:translateX(0)}
.mobile-nav-overlay__header{
    display:flex;align-items:center;justify-content:space-between;
    padding:4px 8px 12px;
}
.mobile-nav-overlay__logo{height:22px;width:auto;opacity:.9}
.mobile-nav-overlay__close{
    width:32px;height:32px;border-radius:50%;border:none;
    background:rgba(255,255,255,.1);color:rgba(255,255,255,.8);
    cursor:pointer;display:flex;align-items:center;justify-content:center;
    transition:background .2s
}
.mobile-nav-overlay__close:hover{background:rgba(255,255,255,.2)}
.mobile-nav-overlay__close .material-symbols-outlined{font-size:18px}
.mobile-nav-overlay__user{
    display:flex;align-items:center;gap:12px;
    padding:12px;border-radius:12px;
    background:rgba(255,255,255,.06);
    margin-bottom:4px
}
.mobile-nav-overlay__avatar{
    width:40px;height:40px;border-radius:50%;overflow:hidden;
    border:2px solid rgba(255,255,255,.2);flex-shrink:0
}
.mobile-nav-overlay__avatar img{width:100%;height:100%;object-fit:cover}
.mobile-nav-overlay__user-name{color:#fff;font-size:var(--font-size-sm);font-weight:600;line-height:1.3}
.mobile-nav-overlay__user-email{color:rgba(255,255,255,.55);font-size:11px;line-height:1.3}
.mobile-nav-overlay__divider{
    height:1px;margin:6px 8px;
    background:linear-gradient(90deg,transparent,rgba(255,255,255,.12),transparent)
}
.mobile-nav-overlay__menu{display:flex;flex-direction:column;gap:2px}
.mobile-nav-overlay__footer{display:flex;flex-direction:column;gap:2px}
.mobile-nav-overlay__item{
    display:flex;align-items:center;gap:12px;
    padding:11px 14px;border-radius:10px;
    color:rgba(255,255,255,.72);font-size:var(--font-size-sm);font-weight:500;
    text-decoration:none;cursor:pointer;
    transition:all .15s ease
}
.mobile-nav-overlay__item .material-symbols-outlined{font-size:20px}
.mobile-nav-overlay__item:hover,.mobile-nav-overlay__item:active{
    background:rgba(255,255,255,.1);color:#fff
}
.mobile-nav-overlay__item.active{
    background:rgba(255,255,255,.14);color:#fff;font-weight:600;
    border:1px solid rgba(255,255,255,.12)
}
.mobile-nav-overlay__item--danger{color:rgba(255,150,150,.8)}
.mobile-nav-overlay__item--danger:hover{color:#faa;background:rgba(255,100,100,.1)}


/* ============ STICKY BOTTOM NAV (Liquid Glass) ============ */
.lg-sticky-footer,.wizard-sticky-footer{position:fixed;bottom:0;left:0;right:0;z-index:25;background:rgba(255,255,255,.18);backdrop-filter:blur(40px) saturate(1.8) brightness(1.05);-webkit-backdrop-filter:blur(40px) saturate(1.8) brightness(1.05);border-top:1px solid rgba(255,255,255,.45);box-shadow:0 -4px 24px rgba(0,0,0,.05),0 -8px 40px rgba(0,0,0,.03),inset 0 1px 0 rgba(255,255,255,.3);padding:0 clamp(24px,3vw,64px);display:flex;align-items:center;justify-content:space-between;height:64px;transition:opacity .25s ease,transform .25s ease}
.lg-sticky-footer--hidden,.wizard-sticky-footer--hidden{opacity:0;transform:translateY(100%);pointer-events:none}
/* Left: Back button – glass style */
.wsf__back{display:flex;align-items:center;gap:6px;padding:9px 18px;border:1px solid rgba(0,50,55,.12);background:rgba(255,255,255,.3);color:var(--text-primary);border-radius:var(--radius-full);font-family:var(--font-family);font-size:var(--font-size-sm);font-weight:600;cursor:pointer;transition:all var(--transition-fast);box-shadow:0 1px 4px rgba(0,0,0,.04),inset 0 1px 0 rgba(255,255,255,.3);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.wsf__back:hover{background:rgba(255,255,255,.45);border-color:rgba(0,50,55,.18);box-shadow:0 2px 8px rgba(0,0,0,.06),inset 0 1px 0 rgba(255,255,255,.4)}
.wsf__back:disabled{opacity:.35;cursor:not-allowed}
.wsf__back .material-symbols-outlined{font-size:18px}
/* Center: Step info + autosave */
.wsf__center{display:flex;flex-direction:column;align-items:center;gap:2px;min-width:0}
.wsf__step-label{font-size:var(--font-size-xs);color:var(--text-secondary);font-weight:500;display:flex;align-items:center;gap:4px;white-space:nowrap}
.wsf__step-label .material-symbols-outlined{font-size:14px}
.wsf__autosave{display:flex;align-items:center;gap:4px;font-size:var(--font-size-2xs);color:var(--success-color);font-weight:500;white-space:nowrap;transition:color .2s ease}
.wsf__autosave .material-symbols-outlined{font-size:12px}
/* Right: Next button – tinted glass */
.wsf__next{display:flex;align-items:center;gap:8px;padding:10px 24px;background:rgba(227,6,19,.78);color:var(--text-inverse);border:1px solid rgba(255,255,255,.2);border-radius:var(--radius-full);font-family:var(--font-family);font-size:var(--font-size-sm);font-weight:600;cursor:pointer;transition:all var(--transition-fast);box-shadow:0 2px 12px rgba(227,6,19,.2),inset 0 1px 0 rgba(255,255,255,.2)}
.wsf__next:hover{background:rgba(227,6,19,.88);box-shadow:0 4px 20px rgba(227,6,19,.3),inset 0 1px 0 rgba(255,255,255,.25);transform:translateY(-1px)}
.wsf__next:disabled{opacity:.45;cursor:not-allowed;box-shadow:none;transform:none}
.wsf__next .material-symbols-outlined{font-size:18px}

/* ============ GENERIC BUTTONS ============ */
.btn{display:inline-flex;align-items:center;gap:8px;padding:10px 24px;border-radius:var(--radius-full);font-family:var(--font-family);font-size:var(--font-size-sm);font-weight:600;border:none;cursor:pointer;transition:all var(--transition-fast)}
.btn-primary{background:rgba(227,6,19,.78);color:var(--text-inverse);border:1px solid rgba(255,255,255,.2);box-shadow:0 2px 12px rgba(227,6,19,.2),inset 0 1px 0 rgba(255,255,255,.2);border-radius:var(--radius-full)}
.btn-primary:hover{background:rgba(227,6,19,.88);box-shadow:0 4px 20px rgba(227,6,19,.3),inset 0 1px 0 rgba(255,255,255,.25);transform:translateY(-1px)}
.btn-primary:disabled{opacity:.45;cursor:not-allowed;box-shadow:none;transform:none}
.btn-secondary{background:rgba(255,255,255,.3);color:var(--text-primary);border:1px solid rgba(0,50,55,.12);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);box-shadow:0 1px 4px rgba(0,0,0,.04),inset 0 1px 0 rgba(255,255,255,.3)}
.btn-secondary:hover{background:rgba(255,255,255,.45);border-color:rgba(0,50,55,.18);box-shadow:0 2px 8px rgba(0,0,0,.06),inset 0 1px 0 rgba(255,255,255,.4)}
/* AI Button: Liquid Glass + animated travelling Orbit border */
.btn-ai{position:relative;border:none;border-radius:var(--radius-full);background:transparent;color:#006269;box-shadow:0 2px 10px rgba(0,98,105,.1),0 4px 20px rgba(0,98,105,.05);font-weight:600;overflow:hidden;z-index:0}
.btn-ai::before{content:'';position:absolute;top:50%;left:50%;width:300%;aspect-ratio:1;background:var(--orbit-conic-strong);animation:orbitBorderSpin 8s linear infinite;z-index:-2;pointer-events:none}
.btn-ai::after{content:'';position:absolute;inset:2.5px;border-radius:inherit;background:linear-gradient(145deg,#E2F0F1,#BAD9D8);box-shadow:inset 0 2px 8px rgba(255,255,255,.55),inset 0 -2px 6px rgba(0,98,105,.08);z-index:-1;pointer-events:none}
.btn-ai:hover{box-shadow:0 4px 16px rgba(0,98,105,.16),0 6px 24px rgba(0,98,105,.07);transform:translateY(-1px)}
.btn-ai:hover::before{animation-duration:3s}
.btn-ai:hover::after{background:linear-gradient(145deg,#d8eaeb,#afd0cf)}
.btn-ai .material-symbols-outlined{color:#006269}
/* Raven AI Signet Icon (inline SVG replacement for auto_awesome) */
.raven-signet{display:inline-block;width:1em;height:1em;vertical-align:-.125em;flex-shrink:0}
.raven-signet--sm{width:13px;height:13px}
.raven-signet--md{width:15px;height:15px}
.raven-signet--lg{width:18px;height:18px}
/* Icon Box: reusable rounded icon container */
.icon-box{width:32px;height:32px;border-radius:var(--radius-md);display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}
.icon-box .material-symbols-outlined{font-size:18px}
.icon-box--teal{background:rgba(0,98,105,.08);color:var(--brand-secondary)}
.icon-box--success{background:var(--success-light);color:var(--success-color)}
.icon-box--warning{background:var(--warning-light);color:var(--warning-color)}
.icon-box--error{background:rgba(220,38,38,.08);color:var(--error-color)}
.icon-box--info{background:rgba(0,50,55,.06);color:var(--text-secondary)}
.btn-ghost{background:rgba(255,255,255,.18);color:var(--text-secondary);padding:10px 16px;border:1px solid rgba(0,50,55,.1);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);box-shadow:0 1px 3px rgba(0,0,0,.03),inset 0 1px 0 rgba(255,255,255,.2)}
.btn-ghost:hover{color:var(--text-primary);background:rgba(255,255,255,.35);border-color:rgba(0,50,55,.15);box-shadow:0 2px 6px rgba(0,0,0,.05),inset 0 1px 0 rgba(255,255,255,.3)}
.btn-danger{background:rgba(220,38,38,.1);color:var(--error-color);padding:6px 12px;font-size:var(--font-size-xs);border:1px solid rgba(220,38,38,.15);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);box-shadow:0 1px 4px rgba(220,38,38,.06),inset 0 1px 0 rgba(255,255,255,.15)}
.btn-danger:hover{background:rgba(220,38,38,.16);border-color:rgba(220,38,38,.25);box-shadow:0 2px 8px rgba(220,38,38,.1),inset 0 1px 0 rgba(255,255,255,.2)}
.btn .material-symbols-outlined{font-size:18px}
@keyframes orbitBorderSpin{to{transform:translate(-50%,-50%) rotate(360deg)}}

/* ============ SPLIT LAYOUT ============ */
.lg-split-layout,.wizard-split{display:grid;grid-template-columns:2fr 1fr;gap:clamp(20px,2vw,32px);align-items:start}
.lg-split-layout__main,.wizard-split__main{min-width:0}
.lg-split-layout__aside,.wizard-split__aside{position:sticky;top:16px;display:flex;flex-direction:column;gap:12px}
.lg-split-layout__aside::-webkit-scrollbar,.wizard-split__aside::-webkit-scrollbar{width:4px}
.lg-split-layout__aside::-webkit-scrollbar-thumb,.wizard-split__aside::-webkit-scrollbar-thumb{background:var(--border-color);border-radius:2px}


/* ============================================================
   HERO BANNER (lg-hero)
   Full-width hero with image, gradient overlay, content layer
   and optional glass tab-nav at bottom.
   Consolidated from Academy hero__* and Marketplace hero-banner__*.
   ============================================================ */

.lg-hero {
    position: relative;
    overflow: hidden;
    border-radius: var(--lg-radius-xl);
    min-height: 200px;
}

.lg-hero__img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.lg-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        180deg,
        rgba(0, 40, 45, .25) 0%,
        rgba(0, 40, 45, .65) 60%,
        rgba(0, 40, 45, .85) 100%
    );
}

.lg-hero__content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(20px, 2vw, 40px) clamp(24px, 3vw, 48px);
}

.lg-hero__title {
    font-size: var(--lg-text-xl);
    font-weight: 700;
    color: var(--lg-text-inverse);
    text-shadow: 0 2px 8px rgba(0, 0, 0, .35);
}

.lg-hero__subtitle {
    font-size: var(--lg-text-sm);
    color: var(--lg-text-inverse);
    opacity: .85;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .3);
    margin-top: var(--lg-space-xs);
}

/* ── Glass nav bar at bottom of hero ── */
.lg-hero__nav {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: var(--lg-space-sm);
    padding: var(--lg-space-sm) clamp(24px, 3vw, 48px);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    background: rgba(255, 255, 255, .08);
    border-top: 1px solid rgba(255, 255, 255, .15);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}

.lg-hero__nav-item {
    display: inline-flex;
    align-items: center;
    gap: var(--lg-space-xs);
    padding: 6px 16px;
    border-radius: var(--lg-radius-full);
    background: transparent;
    border: 1.5px solid transparent;
    color: var(--lg-text-inverse);
    font-family: var(--lg-font);
    font-size: var(--lg-text-xs);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--lg-ease-fast);
    white-space: nowrap;
    opacity: .8;
}
.lg-hero__nav-item:hover {
    opacity: 1;
    background: rgba(255, 255, 255, .1);
}
.lg-hero__nav-item.active {
    opacity: 1;
    background: rgba(255, 255, 255, .18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-color: rgba(255, 255, 255, .25);
    font-weight: 600;
    box-shadow:
        0 1px 6px rgba(0, 0, 0, .1),
        inset 0 1px 0 rgba(255, 255, 255, .2);
}

.lg-hero__nav-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: var(--lg-radius-full);
    background: rgba(255, 255, 255, .15);
    font-size: var(--lg-text-2xs);
    font-weight: 700;
    line-height: 1;
}
.lg-hero__nav-item.active .lg-hero__nav-count {
    background: rgba(255, 255, 255, .25);
}


/* ============================================================
   PAGE GRID (lg-page-grid)
   3-column layout: sidebar | main | aside
   ============================================================ */

.lg-page-grid {
    display: grid;
    grid-template-columns: 260px 1fr 280px;
    gap: clamp(16px, 1.5vw, 24px);
    align-items: start;
    padding: clamp(16px, 2vw, 32px) clamp(16px, 3vw, 64px);
}

.lg-page-grid__sidebar {
    position: sticky;
    top: 78px;
    display: flex;
    flex-direction: column;
    gap: var(--lg-space-lg);
}

.lg-page-grid__main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: clamp(24px, 2vw, 32px);
}

.lg-page-grid__aside {
    position: sticky;
    top: 78px;
    display: flex;
    flex-direction: column;
    gap: var(--lg-space-lg);
}

@media (max-width: 1200px) {
    .lg-page-grid {
        grid-template-columns: 1fr;
    }
    .lg-page-grid__sidebar,
    .lg-page-grid__aside {
        display: none;
    }
}

@media (max-width: 768px) {
    .lg-page-grid {
        padding: var(--lg-space-md);
    }
}


/* ============ RESPONSIVE – App Shell ============ */
@media(max-width:1024px){
    .lg-split-layout,.wizard-split{grid-template-columns:1fr}
    .lg-split-layout__aside,.wizard-split__aside{position:static}
    /* Nav: nur Icons, Labels verstecken */
    .top-nav-glass__item span:not(.material-symbols-outlined){display:none}
    .top-nav-glass__item{padding:6px 10px}
    .top-nav-glass__divider{display:none}
}
@media(max-width:768px){
    /* Top Nav responsive */
    .top-nav-glass__menu{display:none}
    .top-nav-glass__divider{display:none}
    .top-nav-glass__user-info{display:none}
    .top-nav-glass__user-chevron{display:none}
    .top-nav-glass__user{padding:3px;border-color:transparent;background:none}
    .top-nav-glass__user:hover{background:rgba(255,255,255,.1)}
    .top-nav-glass__hamburger{
        display:flex;align-items:center;justify-content:center;
        width:36px;height:36px;border:none;
        background:rgba(255,255,255,.08);
        border-radius:var(--radius-md);
        color:rgba(255,255,255,.85);
        cursor:pointer;transition:background .2s
    }
    .top-nav-glass__hamburger:hover{background:rgba(255,255,255,.18)}
    .top-nav-glass__hamburger .material-symbols-outlined{font-size:22px}
    .mobile-nav-overlay{display:block}
}
@media(max-width:576px){
    .top-nav-glass{height:46px;padding:0 12px}
    .top-nav-glass__logo img{height:20px}
    .top-nav-glass__hamburger{width:32px;height:32px}
    .top-nav-glass__hamburger .material-symbols-outlined{font-size:20px}
    .top-nav-glass__icon-btn{width:30px;height:30px}
    .top-nav-glass__icon-btn .material-symbols-outlined{font-size:17px}
    .top-nav-glass__user-avatar{width:28px;height:28px}
    .lg-sticky-footer,.wizard-sticky-footer{padding:0 16px;height:56px}
    .wsf__center{display:none}
    .wsf__back{padding:8px 14px;font-size:var(--font-size-xs)}
    .wsf__next{padding:9px 20px;font-size:var(--font-size-xs)}
}


/* ============================================================
   SHELL LAYOUT – Header + Sidebar + Content Grid
   Für Seiten mit Seitennavigation (z.B. Multipostings-Bereich)
   ============================================================ */
:root {
    --shell-header-h: 54px;
    --shell-nav-w: 240px;
    --shell-nav-w-collapsed: 64px;
    --shell-context-w: 320px;
    --shell-footer-h: 52px;
    --shell-breadcrumb-h: 44px;
    --shell-content-pad: clamp(16px, 1rem + 1vw, 32px);
    --shell-speed: 0.3s;
    --shell-ease: cubic-bezier(0.4, 0, 0.2, 1);
    --shell-z-header: 300;
    --shell-z-nav: 250;
    --shell-z-backdrop: 200;
    /* Legacy aliases */
    --surface-hover: #FAFAFA;
    --border-dark: #D1D1D1;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-mono: 'SF Mono', 'Fira Code', monospace;
    --font-size-md: var(--lg-text-base);
    --font-size-2xl: clamp(1.5rem, 1.25rem + 1.25vw, 2rem);
    --status-online: #117F4C;
    --status-pending: #C9AA14;
    --status-expired: #999999;
    --text-disabled: #bbb;
    --raven-red: #e30613;
    --shadow-xs: 0 1px 2px rgba(0,0,0,.05);
    --line-height-normal: 1.5;
    --line-height-tight: 1.2;
    --letter-spacing-wide: 0.02em;
    --letter-spacing-wider: 0.06em;
}

/* ---- App Shell Grid ---- */
.app-shell {
    display: grid;
    grid-template-areas: "header header" "nav main" "nav footer";
    grid-template-columns: var(--shell-nav-w) 1fr;
    grid-template-rows: var(--shell-header-h) 1fr var(--shell-footer-h);
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
    background: var(--bg-secondary, #fafafa);
}
.app-shell.no-context {
    grid-template-areas: "header header" "nav main" "nav footer";
    grid-template-columns: var(--shell-nav-w) 1fr;
}

/* ---- Shell Header (Liquid Glass – matched to top-nav-glass) ---- */
.shell-header {
    grid-area: header; position: sticky; top: 0; z-index: var(--shell-z-header);
    display: flex; align-items: center; gap: clamp(8px, 0.5rem + 0.5vw, 16px);
    padding: 0 clamp(24px, 3vw, 64px); height: var(--shell-header-h);
    background: linear-gradient(135deg, rgba(0,77,82,.92) 0%, rgba(0,98,105,.88) 50%, rgba(51,100,109,.85) 100%);
    backdrop-filter: blur(24px) saturate(1.4);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 1px 8px rgba(0,50,55,.15), inset 0 -1px 0 rgba(255,255,255,.06);
}
.shell-header__nav-toggle { display: none; align-items: center; justify-content: center; width: 36px; height: 36px; border: none; background: rgba(255,255,255,.08); color: rgba(255,255,255,.85); cursor: pointer; border-radius: var(--radius-md, 8px); flex-shrink: 0; transition: background .2s ease; }
.shell-header__nav-toggle:hover { background: rgba(255,255,255,.18); }
.shell-header__nav-toggle .material-symbols-outlined { font-size: 22px; }
.shell-header__logo { display: flex; align-items: center; gap: var(--spacing-sm, 8px); font-weight: 700; font-size: clamp(14px, 0.875rem + 0.25vw, 18px); white-space: nowrap; flex-shrink: 0; }
.shell-header__logo img { height: 26px; width: auto; }
.shell-header__menu { display: flex; align-items: center; gap: 2px; margin-left: clamp(8px, 0.5rem + 1vw, 24px); }
.shell-header__menu-item { display: flex; align-items: center; gap: 6px; padding: 6px 14px; color: rgba(255,255,255,.72); font-size: var(--font-size-xs, 12px); font-weight: 500; border-radius: var(--radius-full, 9999px); text-decoration: none; white-space: nowrap; cursor: pointer; transition: all .2s ease; border: 1.5px solid transparent; }
.shell-header__menu-item .material-symbols-outlined { font-size: 17px; }
.shell-header__menu-item:hover { background: rgba(255,255,255,.12); color: #fff; }
.shell-header__menu-item.active {
    background: rgba(255,255,255,.18);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    color: #fff; font-weight: 600;
    border-color: rgba(255,255,255,.25);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 4px rgba(0,0,0,.1);
}
.shell-header__divider { width: 1.5px; height: 24px; background: rgba(255,255,255,.3); margin: 0 8px; flex-shrink: 0; border-radius: 1px; }
.shell-header__spacer { flex: 1; }
.shell-header__actions { display: flex; align-items: center; gap: clamp(10px, 1.2vw, 18px); flex-shrink: 0; }
.shell-header__action {
    position: relative; display: flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; border-radius: 50%; border: none;
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    color: rgba(255,255,255,.8);
    cursor: pointer; transition: all .2s ease;
}
.shell-header__action:hover { background: rgba(255,255,255,.2); color: #fff; }
.shell-header__action .material-symbols-outlined { font-size: 19px; }
.shell-header__badge {
    position: absolute; top: -2px; right: -2px;
    min-width: 16px; height: 16px; padding: 0 4px;
    border-radius: 8px;
    background: var(--lg-red, #e30613); color: #fff;
    font-size: 10px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 1px 4px rgba(227,6,19,.4);
}
.shell-header__user-wrapper { position: relative; }
.shell-header__user {
    display: flex; align-items: center; gap: 10px;
    padding: 3px 8px 3px 12px; border-radius: var(--radius-full, 9999px);
    cursor: pointer; transition: all .2s ease; color: #fff;
    border: 1px solid rgba(255,255,255,.45);
    background: linear-gradient(135deg, rgba(255,255,255,.38) 0%, rgba(255,255,255,.22) 100%);
    backdrop-filter: blur(12px) saturate(1.3); -webkit-backdrop-filter: blur(12px) saturate(1.3);
    box-shadow: 0 1px 6px rgba(0,50,55,.08), inset 0 1px 0 rgba(255,255,255,.4);
    font-family: inherit; font-size: var(--font-size-xs, 12px); font-weight: 600;
}
.shell-header__user:hover {
    background: linear-gradient(135deg, rgba(255,255,255,.48) 0%, rgba(255,255,255,.3) 100%);
    border-color: rgba(255,255,255,.55);
    box-shadow: 0 2px 10px rgba(0,50,55,.1), inset 0 1px 0 rgba(255,255,255,.5);
}
.shell-header__avatar {
    width: 32px; height: 32px; border-radius: 50%;
    background: rgba(255,255,255,.3);
    border: 1.5px solid rgba(255,255,255,.5);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; flex-shrink: 0;
    box-shadow: 0 1px 4px rgba(0,50,55,.1);
}
.shell-header__avatar img { width: 100%; height: 100%; object-fit: cover; }
.shell-header__user-name { white-space: nowrap; }

/* ---- Shell Sidebar Nav ---- */
.shell-nav { grid-area: nav; position: sticky; top: var(--shell-header-h); height: calc(100vh - var(--shell-header-h)); overflow-y: auto; overflow-x: hidden; background: var(--bg-primary, #fff); border-right: 1px solid var(--border-color, #e5e5e5); display: flex; flex-direction: column; z-index: var(--shell-z-nav); transition: width var(--shell-speed) var(--shell-ease), transform var(--shell-speed) var(--shell-ease); }
.shell-nav::-webkit-scrollbar { width: 3px; }
.shell-nav::-webkit-scrollbar-thumb { background: var(--border-color, #e5e5e5); border-radius: 2px; }
.shell-nav__section { padding: var(--spacing-md, 16px) var(--spacing-sm, 8px) var(--spacing-xs, 4px); }
.shell-nav__section-title { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted, #999); padding: 0 8px; margin-bottom: 4px; }
.shell-nav__item { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: var(--radius-sm, 6px); color: var(--text-secondary, #666); text-decoration: none; font-size: var(--font-size-sm, 13px); font-weight: 500; cursor: pointer; border: none; background: none; width: 100%; text-align: left; transition: background .15s ease, color .15s ease; }
.shell-nav__item:hover { background: var(--surface-hover, #f5f5f5); color: var(--text-primary, #2e2d2c); }
.shell-nav__item.active { background: rgba(227,6,19,.08); color: var(--primary-color, #e30613); font-weight: 600; }
.shell-nav__item-icon { width: 20px; height: 20px; font-size: 20px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.shell-nav__item-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shell-nav__item-badge { margin-left: auto; padding: 1px 7px; border-radius: var(--radius-full, 9999px); background: var(--primary-color, #e30613); color: #fff; font-size: 11px; font-weight: 600; line-height: 1.4; flex-shrink: 0; }
.shell-nav__mobile-menu { display: none !important; }
.shell-nav__divider { height: 1px; background: var(--border-color, #e5e5e5); margin: var(--spacing-xs, 4px) var(--spacing-sm, 8px); }
.shell-nav__footer { margin-top: auto; padding: var(--spacing-md, 16px); border-top: 1px solid var(--border-color, #e5e5e5); }
.shell-nav__collapse-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 8px; border: none; background: transparent; color: var(--text-muted, #999); cursor: pointer; border-radius: var(--radius-sm, 6px); font-size: 13px; transition: background .15s ease, color .15s ease; }
.shell-nav__collapse-btn:hover { background: var(--surface-hover, #f5f5f5); color: var(--text-primary, #2e2d2c); }

/* ---- Shell Content ---- */
.shell-content { grid-area: main; display: flex; flex-direction: column; min-width: 0; overflow-x: hidden; }
.shell-breadcrumb { display: flex; align-items: center; gap: 4px; padding: 0 var(--shell-content-pad); height: var(--shell-breadcrumb-h); font-size: var(--font-size-sm, 13px); color: var(--text-muted, #999); background: var(--bg-primary, #fff); border-bottom: 1px solid var(--border-color, #e5e5e5); flex-shrink: 0; }
.shell-breadcrumb a { color: var(--text-secondary, #666); text-decoration: none; transition: color .15s ease; }
.shell-breadcrumb a:hover { color: var(--primary-color, #e30613); }
.shell-breadcrumb__sep { color: #d0d0d0; margin: 0 2px; user-select: none; }
.shell-breadcrumb__current { color: var(--text-primary, #2e2d2c); font-weight: 500; }
.shell-content__body { flex: 1; padding: var(--shell-content-pad); }
.shell-page-header { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--spacing-md, 16px); margin-bottom: clamp(20px, 1.25rem + 0.75vw, 32px); }
.shell-page-header__title { font-size: clamp(1.25rem, 1rem + 1.25vw, 1.75rem); font-weight: 700; color: var(--text-primary, #2e2d2c); line-height: 1.2; }
.shell-page-header__subtitle { font-size: var(--font-size-sm, 13px); color: var(--text-muted, #999); margin-top: 4px; }
.shell-page-header__actions { display: flex; align-items: center; gap: var(--spacing-sm, 8px); flex-shrink: 0; }

/* ---- Shell Footer ---- */
.shell-footer { grid-area: footer; display: flex; align-items: center; justify-content: space-between; padding: 0 var(--shell-content-pad); height: var(--shell-footer-h); background: var(--bg-primary, #fff); border-top: 1px solid var(--border-color, #e5e5e5); font-size: 11px; color: var(--text-muted, #999); }
.shell-footer a { color: var(--text-secondary, #666); text-decoration: none; transition: color .15s ease; }
.shell-footer a:hover { color: var(--primary-color, #e30613); }
.shell-footer__links { display: flex; gap: var(--spacing-md, 16px); }
.shell-backdrop { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: var(--shell-z-backdrop); opacity: 0; transition: opacity var(--shell-speed) var(--shell-ease); pointer-events: none; }
.shell-backdrop.active { opacity: 1; pointer-events: all; }

/* ---- Shell Responsive ---- */
@media (max-width: 1199px) {
    .app-shell, .app-shell.no-context { grid-template-areas: "header header" "nav main" "nav footer"; grid-template-columns: var(--shell-nav-w) 1fr; }
    .shell-backdrop { display: block; }
}
@media (max-width: 767px) {
    .app-shell, .app-shell.no-context { grid-template-areas: "header" "main" "footer"; grid-template-columns: 1fr; }
    .shell-header__nav-toggle { display: flex; }
    .shell-header__menu { display: none; }
    .shell-header__user-name { display: none; }
    .shell-nav { position: fixed; top: var(--shell-header-h); left: 0; bottom: 0; width: var(--shell-nav-w); transform: translateX(-100%); box-shadow: none; }
    .shell-nav.open { transform: translateX(0); box-shadow: 4px 0 24px rgba(0,0,0,.12); }
    .shell-nav__mobile-menu { display: block !important; }
    .shell-backdrop { display: block; }
}
