:root {
    --bg: #f4f6f8;
    --surface: #ffffff;
    --surface-2: #fafbfc;
    --border: #e6e9ed;
    --border-strong: #dbe0e6;
    --text: #333b44;
    --heading: #2e3540;
    --muted: #69727d;
    --accent: #2f83d8;
    --accent-hover: #2568b0;
    --accent-soft: #e9f2fb;
    --ok: #35a35f;
    --ok-soft: #e7f5ec;
    --danger: #dd5c54;
    --danger-soft: #fbeceb;
    --gold: #d9661f;
    --gold-dark: #a54a15;
    --gold-soft: #fdeee2;
    --dark: #141416;
    --dark-2: #1c1e22;
    --dark-border: rgba(255, 255, 255, .08);
    --on-dark: #f2f3f4;
    --on-dark-muted: #b8b9bb;
    --radius: 16px;
    --radius-sm: 11px;
    --shadow-sm: 0 1px 3px rgba(20, 27, 38, .06);
    --maxw: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }

body {
    font-family: 'Barlow', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-main { flex: 1 0 auto; }

img { max-width: 100%; display: block; }

a { color: var(--accent); text-decoration: none; }

h1, h2, h3, h4 { line-height: 1.15; margin: 0; letter-spacing: -.02em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.cp-tabs { display: flex; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }

.eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 40px;
    padding: 0 17px;
    border: none;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-weight: 600;
    font-size: 15px;
    line-height: 1;
    cursor: pointer;
    text-decoration: none;
    transition: background .16s ease, color .16s ease;
}
.btn i { font-size: 15px; }
.btn-lg { height: 54px; padding: 0 30px; font-size: 16px; }
.btn-sm { height: 34px; padding: 0 14px; font-size: 13px; }
.btn-block { width: 100%; }

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }

.btn-gold {
    background: var(--gold);
    color: #fff;
}

.btn-gold:hover {
    background: var(--gold-dark);
    color: #fff;
}

.btn-secondary { background: #eef0f3; color: var(--heading); border: 1px solid #d9dee5; }
.btn-secondary:hover { background: #e2e7ed; border-color: #c8cfd8; }

.btn-dark { background: rgba(255, 255, 255, .1); color: var(--on-dark); }
.btn-dark:hover { background: rgba(255, 255, 255, .18); }

.btn-light { background: #fff; color: var(--heading); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #c94b43; }
.btn-light:hover { background: #eef0f3; }

.site-header {
    background: var(--dark);
    border-bottom: 1px solid var(--dark-border);
    position: sticky;
    top: 0;
    z-index: 30;
    isolation: isolate;
}
.site-header::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: min(728px, 62vw);
    background: rgba(255,255,255,.11);
    clip-path: polygon(98px 0, 100% 0, 100% 100%, 58px 100%);
    pointer-events: none;
    z-index: 0;
}
.header-inner {
    display: flex;
    align-items: center;
    gap: 22px;
    height: 64px;
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.brand { flex-shrink: 0; font-weight: 700; font-size: 21px; color: var(--on-dark); letter-spacing: -.02em; display: inline-flex; align-items: center; }
.brand-logo { height: 24px; width: auto; display: block; }

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-left: auto;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: var(--on-dark);
    font-size: 20px;
    cursor: pointer;
}
.nav-toggle:hover { background: rgba(255, 255, 255, .08); }

.nav-wrap { display: flex; align-items: center; gap: 26px; flex: 1; min-width: 0; }

.nav { display: flex; align-items: center; gap: 3px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav > a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    color: var(--on-dark-muted);
    font-weight: 500;
    font-size: 15px;
    white-space: nowrap;
    transition: color .15s ease, background .15s ease;
}
.nav > a:hover { color: var(--on-dark); background: rgba(255, 255, 255, .07); }
.nav > a i { font-size: 14px; width: 16px; text-align: center; }
.nav > a.active { color: #fff; }
.nav > a.active i { color: var(--accent); }

.nav-side { display: flex; align-items: center; gap: 16px; flex-shrink: 0; position: relative; }

.user-menu { position: relative; }

.bell-menu { position: relative; }
.bell-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: var(--on-dark-muted);
    font-size: 18px;
    cursor: pointer;
}
.bell-btn:hover { background: rgba(255, 255, 255, .08); color: var(--on-dark); }
.bell-badge {
    position: absolute;
    top: 3px;
    right: 2px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 6px;
    background: var(--danger);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.bell-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    min-width: 330px;
    max-width: 380px;
    background: var(--dark-2);
    border: 1px solid var(--dark-border);
    border-radius: 14px;
    box-shadow: 0 16px 34px rgba(0, 0, 0, .4);
    padding: 8px;
    z-index: 40;
}
.bell-menu.open .bell-dropdown { display: block; }
.bell-head {
    padding: 12px 14px 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--on-dark-muted);
    border-bottom: 1px solid var(--dark-border);
    margin-bottom: 6px;
}
.bell-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 11px 12px;
    border-radius: 10px;
    line-height: 1.4;
}
.bell-item:hover { background: rgba(255, 255, 255, .07); }
.bell-ico {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(61, 143, 211, .18);
    color: #7db9e8;
    font-size: 14px;
}
.bell-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bell-body strong { color: var(--on-dark); font-size: 13.5px; }
.bell-sub { color: var(--on-dark-muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bell-time { color: #8a929c; font-size: 11px; display: inline-flex; align-items: center; gap: 4px; margin-top: 2px; }
.bell-empty { display: flex; align-items: center; gap: 8px; padding: 14px 12px; color: var(--on-dark-muted); font-size: 13.5px; }
.user-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    height: 44px;
    padding: 0 10px 0 6px;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: var(--on-dark);
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
}
.user-btn:hover { background: rgba(255, 255, 255, .08); }
.user-ava { width: 32px; height: 32px; border-radius: 8px; }
.user-btn > i { font-size: 12px; color: var(--on-dark-muted); transition: transform .15s ease; }
.user-menu.open .user-btn > i { transform: rotate(180deg); }
.user-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    min-width: 210px;
    background: var(--dark-2);
    border: 1px solid var(--dark-border);
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 16px 34px rgba(0, 0, 0, .4);
}
.user-menu.open .user-dropdown { display: block; }
.user-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--on-dark-muted);
    font-size: 15px;
    font-weight: 500;
    transition: color .15s ease, background .15s ease;
}
.user-dropdown a:hover { background: rgba(255, 255, 255, .07); color: var(--on-dark); }
.user-dropdown a i { width: 16px; text-align: center; font-size: 14px; }
.user-dropdown a.menu-admin { color: var(--accent); }
.user-dropdown a.menu-admin:hover { background: rgba(47, 131, 216, .12); color: var(--accent); }
.user-dropdown a.menu-logout { color: var(--danger); }
.user-dropdown a.menu-logout:hover { background: rgba(221, 92, 84, .12); color: var(--danger); }

.hero {
    position: relative;
    background: url('../img/hero.png') center center / cover no-repeat, var(--dark);
    padding: 64px 0 40px;
    text-align: center;
    display: flex;
    min-height: calc(100vh - 65px);
    min-height: calc(100svh - 65px);
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 58% 62% at 50% 42%, rgba(7, 10, 15, .58) 0%, rgba(7, 10, 15, .28) 55%, rgba(7, 10, 15, 0) 78%);
    pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}
.hero .eyebrow { color: #8cc0ea; text-shadow: 0 1px 6px rgba(0, 0, 0, .4); }
.hero-gold { color: #ef8b3d; }
.hero h1 { font-size: 58px; font-weight: 700; margin-bottom: 20px; color: #fff; text-shadow: 0 2px 14px rgba(0, 0, 0, .45); }
.hero p { font-size: 20px; color: rgba(255, 255, 255, .92); max-width: 640px; margin: 0 auto 36px; text-shadow: 0 1px 10px rgba(0, 0, 0, .4); }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-chips { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }
.hero-chips span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 10px; background: rgba(255, 255, 255, .08); color: #e8ecf1; font-size: 13px; font-weight: 600; }
.hero-chips span i { color: #fff; font-size: 12.5px; }
.hero-trust { margin-top: auto; }
.hero-chips { margin-bottom: 40px; }
.hero-trust { padding: 16px 20px; border: 1px solid rgba(255, 255, 255, .09); border-radius: 16px; background: rgba(11, 15, 21, .72); display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; text-align: left; }
.hero-trust-item { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.hero-trust-item strong { display: block; font-size: 14px; color: #fff; line-height: 1.3; }
.hero-trust-item span:not(.ht-chip):not(.ht-dot) { display: block; font-size: 12px; color: rgba(255, 255, 255, .58); }
.ht-chip { position: relative; width: 38px; height: 38px; border-radius: 10px; background: rgba(63, 143, 211, .18); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; flex: 0 0 auto; }
.ht-dot { position: absolute; right: -3px; bottom: -3px; width: 10px; height: 10px; border-radius: 3px; background: #35d07f; box-shadow: 0 0 8px rgba(53, 208, 127, .85); }
.ht-dot.warn { background: var(--gold); box-shadow: 0 0 10px rgba(217, 102, 31, .7); }

.page-header {
    background:
        url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%221400%22%20height%3D%22260%22%20viewBox%3D%220%200%201400%20260%22%20preserveAspectRatio%3D%22xMidYMid%20slice%22%3E%0A%3Cdefs%3E%0A%3ClinearGradient%20id%3D%22p1%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%221%22%20y2%3D%221%22%3E%0A%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23ffffff%22%20stop-opacity%3D%22.06%22/%3E%0A%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23ffffff%22%20stop-opacity%3D%220%22/%3E%0A%3C/linearGradient%3E%0A%3ClinearGradient%20id%3D%22p2%22%20x1%3D%220%22%20y1%3D%221%22%20x2%3D%221%22%20y2%3D%220%22%3E%0A%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23ffffff%22%20stop-opacity%3D%22.05%22/%3E%0A%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23ffffff%22%20stop-opacity%3D%220%22/%3E%0A%3C/linearGradient%3E%0A%3ClinearGradient%20id%3D%22p3%22%20x1%3D%221%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%0A%3Cstop%20offset%3D%220%22%20stop-color%3D%22%238ec3f2%22%20stop-opacity%3D%22.05%22/%3E%0A%3Cstop%20offset%3D%221%22%20stop-color%3D%22%238ec3f2%22%20stop-opacity%3D%220%22/%3E%0A%3C/linearGradient%3E%0A%3C/defs%3E%0A%3Cpolygon%20points%3D%22380%2C-40%20720%2C300%20470%2C320%20210%2C120%22%20fill%3D%22url%28%23p1%29%22/%3E%0A%3Cpolygon%20points%3D%22640%2C-30%20940%2C240%20760%2C320%20520%2C140%22%20fill%3D%22url%28%23p2%29%22/%3E%0A%3Cpolygon%20points%3D%2260%2C90%20300%2C300%20-40%2C300%22%20fill%3D%22url%28%23p1%29%22/%3E%0A%3Cpolygon%20points%3D%22980%2C-20%201400%2C180%201400%2C320%20820%2C300%22%20fill%3D%22url%28%23p3%29%22/%3E%0A%3Cg%20fill%3D%22none%22%20stroke%3D%22%234a9fe0%22%20stroke-opacity%3D%22.55%22%20stroke-width%3D%221.1%22%20stroke-linecap%3D%22round%22%3E%0A%3Cline%20x1%3D%221180%22%20y1%3D%2210%22%20x2%3D%221400%22%20y2%3D%22150%22/%3E%0A%3Cline%20x1%3D%221240%22%20y1%3D%2230%22%20x2%3D%221400%22%20y2%3D%22175%22/%3E%0A%3C/g%3E%0A%3C/svg%3E") center center / cover no-repeat,
        radial-gradient(ellipse 70% 150% at 50% 40%, rgba(120, 175, 225, .20) 0%, rgba(120, 175, 225, 0) 60%),
        radial-gradient(ellipse 65% 180% at 0% 20%, rgba(8, 28, 50, .85) 0%, rgba(8, 28, 50, 0) 62%),
        linear-gradient(105deg, #0f2942 0%, #1a4d80 50%, #2568ac 100%);
    padding: 34px 0 30px;
    text-align: center;
    color: #fff;
}
.page-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .16);
    color: #fff;
    font-size: 21px;
}
.page-avatar {
    width: 56px;
    height: 56px;
    margin: 0 auto 12px;
    border-radius: 14px;
    border: 3px solid rgba(255, 255, 255, .45);
}
.page-header .eyebrow { color: rgba(255, 255, 255, .82); }
.page-header h1 { color: #fff; font-size: 34px; font-weight: 700; margin-bottom: 8px; }
.page-header p { color: rgba(255, 255, 255, .9); font-size: 16px; max-width: 620px; margin: 0 auto; }

.content { padding: 34px 0 60px; }
.content.narrow { max-width: 460px; margin: 0 auto; }

.login-section { padding: 60px 0 76px; }
.login-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; max-width: 1020px; margin: 0 auto; }
.login-split h1 { font-size: 32px; font-weight: 700; color: var(--heading); line-height: 1.25; margin: 12px 0 14px; }
.login-benefits { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.login-benefits li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; line-height: 1.6; color: var(--text); }
.login-benefits i { color: var(--ok); margin-top: 3px; flex: 0 0 auto; }
.card.login-card { position: relative; overflow: hidden; padding: 34px 34px 26px; background: linear-gradient(105deg, #0f2942 0%, #1a4d80 50%, #2568ac 100%); border: 1px solid rgba(255, 255, 255, .08); }
.login-card::before, .login-card::after { content: ""; position: absolute; top: -50px; bottom: -50px; width: 96px; transform: skewX(-14deg); pointer-events: none; }
.login-card::before { right: -26px; background: rgba(255, 255, 255, .06); }
.login-card::after { right: 64px; background: rgba(255, 255, 255, .04); }
.login-card > * { position: relative; z-index: 1; }
.login-twitch { display: block; text-align: center; font-size: 42px; color: #fff; margin: 4px 0 20px; }
.login-trust { margin: 24px 0 18px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .09); display: grid; gap: 12px; }
.login-trust > div { display: flex; gap: 11px; align-items: flex-start; }
.login-trust i { color: #63bef5; margin-top: 3px; flex: 0 0 auto; }
.login-card .login-trust p { margin: 0; font-size: 13px; line-height: 1.65; color: rgba(255, 255, 255, .72); }
.login-card .login-trust strong { color: #fff; }
.login-card .login-foot { margin: 0; text-align: center; font-size: 12.5px; color: rgba(255, 255, 255, .55); }
.login-card .login-foot a { color: #8cc0ea; }
@media (max-width: 860px) {
    .login-section { padding: 36px 0 56px; }
    .login-split { grid-template-columns: 1fr; gap: 30px; }
    .login-split h1 { font-size: 26px; }
    .card.login-card { padding: 28px 22px 22px; }
}

.section-head { text-align: center; margin-bottom: 52px; }
.section-head h2 { font-size: 34px; font-weight: 650; color: var(--heading); }

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr));
    gap: 26px;
}
.grid.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1080px) {
    .grid.grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .grid.grid-4 { grid-template-columns: 1fr; }
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 34px;
    box-shadow: var(--shadow-sm);
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .6s cubic-bezier(.22, .61, .36, 1), transform .6s cubic-bezier(.22, .61, .36, 1);
    will-change: opacity, transform;
}
.reveal.visible {
    opacity: 1;
    transform: none;
}
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

.feature {
    transition: transform .28s cubic-bezier(.22, .61, .36, 1), box-shadow .28s ease, border-color .28s ease;
}
.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 32px rgba(20, 40, 70, .12);
    border-color: var(--accent);
}
.feature.warn:hover {
    border-color: var(--gold);
    box-shadow: 0 14px 32px rgba(217, 102, 31, .13);
}
.lw-reihe { display: flex; gap: 16px; overflow-x: auto; padding: 6px 2px 14px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.lw-card { flex: 0 0 300px; scroll-snap-align: start; background: #10151d; border: 1px solid rgba(255, 255, 255, .09); border-radius: 14px; overflow: hidden; text-decoration: none; transition: transform .18s, border-color .18s; }
.lw-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.lw-thumb { position: relative; display: block; aspect-ratio: 16 / 9; background: linear-gradient(120deg, #16273e, #0e1622); }
.lw-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lw-live { position: absolute; top: 10px; left: 10px; background: #e53e3e; color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .08em; padding: 3px 9px; border-radius: 6px; }
.lw-zuschauer { position: absolute; bottom: 10px; left: 10px; background: rgba(10, 13, 18, .78); color: #fff; font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 6px; }
.lw-zuschauer i { font-size: 10px; margin-right: 4px; color: #8cc0ea; }
.lw-meta { display: block; padding: 12px 14px; }
.lw-meta strong { display: block; color: #fff; font-size: 14.5px; }
.lw-meta span { display: block; margin-top: 3px; color: rgba(255, 255, 255, .55); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lw-live-badge { display: inline-flex; align-items: center; gap: 7px; margin-left: 10px; vertical-align: middle; background: rgba(229, 62, 62, .15); border: 1px solid rgba(229, 62, 62, .5); color: #ff8a80; font-size: 12px; font-weight: 800; letter-spacing: .06em; padding: 4px 11px; border-radius: 8px; }
.lw-live-badge::before { content: ""; width: 9px; height: 9px; border-radius: 3px; background: #e53e3e; box-shadow: 0 0 8px rgba(229, 62, 62, .8); animation: lwPuls 1.1s ease-in-out infinite; }
@keyframes lwPuls { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.feature .feature-icon {
    transition: transform .28s cubic-bezier(.34, 1.56, .64, 1);
}
.feature:hover .feature-icon {
    transform: scale(1.08) rotate(-4deg);
}
.card h3 { font-size: 20px; font-weight: 600; margin-bottom: 10px; color: var(--heading); }
.card p { margin: 0; color: var(--muted); }

.auth-card { text-align: center; }

.lead {
    font-size: 19px;
    line-height: 1.7;
    color: var(--muted);
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.content.surface {
    background: #edf0f4;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.feature { text-align: left; }
.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 20px;
    border-radius: 14px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 22px;
}
.feature-icon.danger { background: var(--gold-soft); color: var(--gold); }
.titel-strich { display: block; width: 34px; height: 3px; border-radius: 2px; background: var(--accent); margin: -2px 0 12px; }
.titel-strich.gold { background: var(--gold); }
.feature { display: flex; flex-direction: column; }
.feature p { flex: 1 1 auto; }
.feature .btn { align-self: flex-start; }

.providers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 18px;
    margin-top: 44px;
}
.provider {
    display: flex;
    gap: 16px;
    padding: 22px 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}
.provider-status {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 15px;
}
.provider.ok .provider-status { background: var(--ok-soft); color: var(--ok); }
.provider.no .provider-status { background: var(--danger-soft); color: var(--danger); }
.provider h4 { font-size: 17px; font-weight: 600; margin-bottom: 4px; }
.provider p { margin: 0; color: var(--muted); font-size: 15px; }

.cta {
    background: linear-gradient(135deg, #3D8FD3 0%, #2f7cbd 100%);
    text-align: center;
    padding: 72px 0;
}
.cta h2 { color: #fff; font-size: 34px; font-weight: 700; margin-bottom: 14px; }
.cta p { color: rgba(255, 255, 255, .9); font-size: 18px; max-width: 560px; margin: 0 auto 30px; }
.cta .btn-primary { background: #fff; color: var(--accent-hover); }
.cta .btn-primary:hover { background: #eef3f8; }

.tier { display: flex; flex-direction: column; }
.tier-badge {
    align-self: flex-start;
    padding: 4px 12px;
    margin-bottom: 18px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    background: #eef1f4;
    color: var(--muted);
}
.tier-badge.blue { background: var(--accent-soft); color: var(--accent-hover); }
.tier-badge.dark { background: var(--dark); color: #fff; }
.tier .feature-icon { margin-bottom: 16px; }
.tier h3 { margin-bottom: 10px; }
.tier > p { margin: 0 0 18px; color: var(--muted); flex: 1; }
.tier-note {
    display: flex;
    gap: 11px;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.55;
}
.tier-note i { flex-shrink: 0; margin-top: 3px; }
.tier-note.warn { background: var(--gold-soft); color: #8f4310; }
.tier-note.warn i { color: var(--gold); }
.tier-note.good { background: var(--accent-soft); color: #24567f; }
.tier-note.good i { color: var(--accent); }

.callout {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    margin-top: 26px;
    padding: 24px 26px;
    background: var(--accent-soft);
    border: 1px solid #cfe4f6;
    border-radius: var(--radius);
}
.callout-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--accent);
    color: #fff;
    font-size: 20px;
}
.callout h4 { font-size: 17px; font-weight: 600; margin-bottom: 4px; color: var(--text); }
.callout p { margin: 0; color: var(--muted); font-size: 15px; }

.flow {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 4px;
}
.flow-step {
    flex: 1 1 0;
    min-width: 140px;
    max-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 26px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}
.flow-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 14px;
    border-radius: 14px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 22px;
}
.flow-step h4 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.flow-step p { margin: 0; font-size: 13px; line-height: 1.45; color: var(--muted); }
.flow-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: var(--accent);
    font-size: 18px;
}
.flow-note { margin: 22px 0 0; text-align: center; font-size: 14px; color: var(--muted); }

.product { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.product-media {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef1f4;
    color: #b7bfc8;
    font-size: 40px;
    border-bottom: 1px solid var(--border);
}
.product-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.product-body h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.product-body p { margin: 0 0 18px; color: var(--muted); font-size: 15px; flex: 1; }
.product-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 16px; }
.product-price .amount { font-size: 24px; font-weight: 700; color: var(--text); }
.product-price .ship { font-size: 13px; color: var(--muted); }
.product .btn { width: 100%; margin-top: auto; }
.setup-tag {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--accent);
}

.service { display: flex; flex-direction: column; transition: border-color .18s ease, box-shadow .18s ease; }
.service:hover { border-color: var(--accent); box-shadow: 0 4px 18px rgba(61, 143, 211, .12); }
.tier { transition: border-color .18s ease, box-shadow .18s ease; }
.tier:hover { border-color: var(--accent); box-shadow: 0 4px 18px rgba(61, 143, 211, .12); }
.service > p { flex: 1; }
.price-line { margin: 4px 0 20px; font-size: 22px; font-weight: 700; color: var(--text); }
.price-line small { font-size: 14px; font-weight: 500; color: var(--muted); }
.service .btn { align-self: flex-start; }

.team-grid { display: grid; gap: 20px; margin-top: 26px; }
.team-card { display: flex; gap: 26px; align-items: flex-start; transition: border-color .18s ease, box-shadow .18s ease; }
.team-card:hover { border-color: var(--accent); box-shadow: 0 4px 18px rgba(61, 143, 211, .12); }
.team-photo { flex: 0 0 auto; padding: 2px; border-radius: 20px; background: linear-gradient(135deg, var(--accent-hover), #63BEF5); }
.team-photo img { width: 168px; height: 168px; border-radius: 18px; object-fit: cover; display: block; }
.team-body { display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.team-body h3 { margin: 0; font-size: 21px; }
.team-body > p { margin: 0; line-height: 1.7; font-size: 14px; }
.team-role { font-size: 13.5px; font-weight: 600; color: var(--heading); }
.team-role i { color: var(--accent); margin-right: 7px; }
.team-facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 2px 0; }
.team-fact { padding: 9px 15px; border: 1px solid var(--border); border-radius: 11px; background: var(--surface-2); }
.team-fact strong { display: block; font-size: 18px; font-weight: 700; color: var(--accent); line-height: 1.25; }
.team-fact span { font-size: 11.5px; color: var(--muted); }
.team-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 3px; }
.team-chips span, .team-chips a { padding: 4px 12px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface-2); font-size: 12px; font-weight: 600; color: var(--text); line-height: 1.6; }
.team-chips a { color: var(--accent-hover); border-color: rgba(61, 143, 211, .35); background: var(--accent-soft); }
.team-chips a i { font-size: 10px; margin-left: 3px; }
.team-chips span i { font-size: 12px; margin-right: 6px; color: var(--accent); }
.team-role i { width: 26px; height: 26px; border-radius: 8px; background: var(--accent-soft); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; }
.team-fact { position: relative; padding-right: 46px; }
.team-fact .tf-icon { position: absolute; top: 9px; right: 9px; width: 26px; height: 26px; border-radius: 7px; background: var(--accent-soft); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; font-size: 11.5px; }
.team-claim { margin-top: 20px; padding: 26px 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--accent); }
.team-claim p { margin: 0 0 7px; font-size: 22px; font-weight: 700; line-height: 1.45; color: var(--accent-hover); }
.team-claim span { display: block; color: var(--muted); font-size: 14px; line-height: 1.7; }
@media (max-width: 640px) {
    .team-card { flex-direction: column; }
    .team-photo { padding: 2px; border-radius: 17px; }
    .team-photo img { width: 116px; height: 116px; border-radius: 15px; }
    .team-claim { padding: 22px 20px; }
    .team-claim p { font-size: 18px; }
}

.stats { margin-bottom: 26px; }
.stat-card { display: flex; flex-direction: column; gap: 12px; }
.stat-head { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.stat-head i { width: 32px; height: 32px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent); font-size: 14px; flex: 0 0 auto; }

.live-dot { display: inline-flex; align-items: center; gap: 5px; background: #dd5c54; color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .05em; padding: 3px 9px; border-radius: 6px; vertical-align: middle; animation: livepulse 1.8s ease-in-out infinite; }
@keyframes livepulse { 0%,100% { opacity: 1 } 50% { opacity: .55 } }

.wk-chart { display: flex; align-items: flex-end; gap: 10px; height: 165px; margin-top: 22px; }
.wk-col { flex: 1; min-width: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; position: relative; }
.wk-balken { width: 100%; max-width: 42px; border-radius: 7px 7px 3px 3px; background: linear-gradient(180deg, #4a97d8, #2f7cbd); transition: filter .12s ease; }
.wk-col:hover .wk-balken { filter: brightness(1.12); }
.wk-balken.leer { height: 4px; background: #e6e9ee; border-radius: 3px; }
.wk-val { font-size: 12px; font-weight: 700; color: var(--heading); margin-bottom: 5px; }
.wk-label { font-size: 10.5px; color: var(--muted); margin-top: 7px; white-space: nowrap; }
.wk-label.jetzt { color: var(--accent); font-weight: 700; }
.wk-liste { margin-top: 20px; border-top: 1px solid var(--border); padding-top: 14px; }
.wk-liste-titel { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.wk-row { display: flex; align-items: center; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 13.5px; }
.wk-row:last-child { border-bottom: none; padding-bottom: 0; }
.wk-datum { flex: 1; font-weight: 600; color: var(--heading); }
.wk-ab { font-weight: 400; color: var(--muted); font-size: 12.5px; margin-left: 4px; }
.wk-dauer { color: var(--text); white-space: nowrap; }
.wk-dauer i, .wk-peak i { color: var(--accent); font-size: 12px; margin-right: 4px; }
.wk-peak { color: var(--muted); white-space: nowrap; min-width: 84px; text-align: right; }

.ueber-tile { display: flex; align-items: center; gap: 14px; text-decoration: none; transition: border-color .16s ease, box-shadow .16s ease; }
.ueber-tile:hover { border-color: var(--accent); box-shadow: 0 4px 16px rgba(61,143,211,.12); }
.ueber-ico { width: 46px; height: 46px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent); font-size: 19px; flex: 0 0 auto; }
.ueber-tile strong { display: block; font-size: 22px; color: var(--heading); line-height: 1.1; }
.ueber-tile span { font-size: 13px; color: var(--muted); }
@media (max-width: 560px) {
    .wk-chart { gap: 5px; height: 135px; }
    .wk-val { font-size: 10px; }
    .wk-label { font-size: 9px; }
    .wk-col:nth-child(odd) .wk-label { visibility: hidden; }
    .wk-col:last-child .wk-label { visibility: visible; }
    .wk-peak { min-width: 0; }
    .wk-row { flex-wrap: wrap; gap: 4px 12px; }
    .wk-datum { flex: 1 1 100%; }
}
.stat { font-size: 34px; font-weight: 700; color: var(--heading); line-height: 1; }

.table-card { padding: 0; overflow: hidden; }
.table-card h3 { padding: 26px 30px 18px; }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: left; padding: 15px 30px; border-top: 1px solid var(--border); }
.table-compact th, .table-compact td { padding: 12px 14px; }
.table th {
    color: var(--muted);
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .06em;
    background: var(--surface-2);
}
.table tbody tr:hover { background: var(--surface-2); }

.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 11px;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 600;
    text-transform: capitalize;
}
.badge-user { background: #eef1f4; color: var(--muted); }
.badge-admin { background: var(--accent-soft); color: var(--accent-hover); }

.site-footer { flex-shrink: 0; background: var(--dark); }
.footer-top {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 56px 24px 40px;
    display: flex;
    justify-content: space-between;
    gap: 48px;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--dark-border);
}
.footer-brand { max-width: 280px; }
.footer-brand .brand { display: inline-flex; font-size: 22px; margin-bottom: 14px; }
.footer-brand .brand-logo { height: 26px; }
.footer-brand p { margin: 0; color: var(--on-dark-muted); font-size: 15px; }
.footer-cols { display: flex; gap: 46px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 {
    margin: 0 0 4px;
    color: var(--on-dark);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.footer-col a { color: var(--on-dark-muted); font-size: 15px; transition: color .15s ease; }
.footer-col a:hover { color: var(--on-dark); }
.footer-bottom {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 22px 24px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
.footer-bottom p { margin: 0; color: var(--on-dark-muted); font-size: 14px; }

@media (max-width: 1240px) {
    .nav-toggle { display: inline-flex; }
    .site-header::before { display: none; }
    .nav-wrap {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--dark);
        border-bottom: 1px solid var(--dark-border);
        box-shadow: 0 14px 28px rgba(0, 0, 0, .35);
        padding: 8px 0 14px;
        max-height: calc(100dvh - 66px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }
    .site-header.open .nav-wrap { display: flex; }
    .nav { flex-direction: column; align-items: stretch; gap: 0; overflow: visible; }
    .nav > a { padding: 14px 24px; border-radius: 0; font-size: 16px; }
    .nav > a i { font-size: 17px; }
    .nav-side {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 14px 24px 0;
        margin-top: 6px;
        border-top: 1px solid var(--dark-border);
    }
    .nav-side .btn { width: 100%; height: 48px; }
    .site-header .user-menu { width: 100%; }
    .site-header .bell-menu { width: 100%; }
    .site-header .bell-btn { width: 100%; height: 44px; border-radius: 10px; justify-content: flex-start; padding: 0 12px; gap: 10px; }
    .site-header .bell-btn::after { content: "Benachrichtigungen"; font-size: 16px; color: var(--on-dark-muted); }
    .site-header .bell-badge { position: static; margin-left: auto; }
    .site-header .bell-dropdown { position: static; min-width: 0; max-width: none; background: transparent; border: none; box-shadow: none; padding: 0 0 0 8px; }
    .site-header .user-btn { display: none; }
    .site-header .user-dropdown {
        display: block;
        position: static;
        min-width: 0;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
    }
    .site-header .user-dropdown a { padding: 13px 12px; border-radius: 10px; font-size: 16px; }
}

@media (max-width: 1040px) {
    .flow { flex-direction: column; align-items: center; }
    .flow-step {
        flex: none;
        width: 100%;
        max-width: 440px;
        flex-direction: row;
        text-align: left;
        gap: 16px;
        padding: 20px 22px;
    }
    .flow-icon { margin-bottom: 0; flex-shrink: 0; }
    .flow-arrow { transform: rotate(90deg); }
}

@media (max-width: 720px) {
    .header-inner { gap: 14px; padding: 0 16px; }
    .hero { padding: 48px 0 32px; }
    .hero h1 { font-size: 38px; }
    .hero p { font-size: 17px; }
    .page-header { padding: 26px 0 24px; }
    .page-header h1 { font-size: 26px; }
    .content { padding: 26px 0 44px; }
    .section-head h2 { font-size: 29px; }
    .lead { font-size: 17px; }
    .cta { padding: 56px 0; }
    .cta h2 { font-size: 27px; }
    .callout { flex-direction: column; gap: 14px; padding: 22px; }
    .table th, .table td { padding: 13px 18px; }
    .footer-top { flex-direction: column; gap: 32px; padding: 44px 20px 32px; }
    .footer-cols { gap: 44px; }
    .footer-bottom { padding: 20px; }
}

textarea, select, input[type=text], input[type=email] {
    border: 1px solid var(--border-strong) !important;
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}
textarea:focus, select:focus, input[type=text]:focus, input[type=email]:focus {
    border-color: var(--accent) !important;
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(10, 12, 16, .88);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    cursor: zoom-out;
}
.lightbox-overlay img {
    max-width: 94vw;
    max-height: 92vh;
    border-radius: 12px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
}

.file-names { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.file-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border: 1px solid var(--border-strong);
    border-radius: 9px;
    background: var(--surface);
    font-size: 13px;
    color: var(--text);
}
.file-chip i { color: var(--accent); }
.file-chip i.fa-file-pdf { color: var(--danger); }
.file-chip em { font-style: normal; color: var(--muted); font-size: 12px; }
.file-chip button {
    border: none;
    background: transparent;
    color: var(--muted);
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    padding: 0 2px;
}
.file-chip button:hover { color: var(--danger); }

.confirm-overlay {
    position: fixed;
    inset: 0;
    z-index: 110;
    background: rgba(14, 17, 22, .55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.confirm-box {
    background: var(--surface);
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
    padding: 30px 32px;
    max-width: 420px;
    width: 100%;
    text-align: center;
}
.confirm-icon {
    width: 52px;
    height: 52px;
    border-radius: 13px;
    margin: 0 auto 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 21px;
}
.confirm-icon.danger { background: var(--danger-soft); color: var(--danger); }
.confirm-box h3 { margin: 0 0 8px; font-size: 19px; color: var(--heading); }
.confirm-box p { margin: 0 0 22px; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.confirm-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.confirm-danger { background: var(--danger); color: #fff; }
.confirm-danger:hover { background: #c74840; }

.ticket-head {
    background:
        url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%221400%22%20height%3D%22260%22%20viewBox%3D%220%200%201400%20260%22%20preserveAspectRatio%3D%22xMidYMid%20slice%22%3E%0A%3Cdefs%3E%0A%3ClinearGradient%20id%3D%22p1%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%221%22%20y2%3D%221%22%3E%0A%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23ffffff%22%20stop-opacity%3D%22.06%22/%3E%0A%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23ffffff%22%20stop-opacity%3D%220%22/%3E%0A%3C/linearGradient%3E%0A%3ClinearGradient%20id%3D%22p2%22%20x1%3D%220%22%20y1%3D%221%22%20x2%3D%221%22%20y2%3D%220%22%3E%0A%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23ffffff%22%20stop-opacity%3D%22.05%22/%3E%0A%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23ffffff%22%20stop-opacity%3D%220%22/%3E%0A%3C/linearGradient%3E%0A%3ClinearGradient%20id%3D%22p3%22%20x1%3D%221%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%0A%3Cstop%20offset%3D%220%22%20stop-color%3D%22%238ec3f2%22%20stop-opacity%3D%22.05%22/%3E%0A%3Cstop%20offset%3D%221%22%20stop-color%3D%22%238ec3f2%22%20stop-opacity%3D%220%22/%3E%0A%3C/linearGradient%3E%0A%3C/defs%3E%0A%3Cpolygon%20points%3D%22380%2C-40%20720%2C300%20470%2C320%20210%2C120%22%20fill%3D%22url%28%23p1%29%22/%3E%0A%3Cpolygon%20points%3D%22640%2C-30%20940%2C240%20760%2C320%20520%2C140%22%20fill%3D%22url%28%23p2%29%22/%3E%0A%3Cpolygon%20points%3D%2260%2C90%20300%2C300%20-40%2C300%22%20fill%3D%22url%28%23p1%29%22/%3E%0A%3Cpolygon%20points%3D%22980%2C-20%201400%2C180%201400%2C320%20820%2C300%22%20fill%3D%22url%28%23p3%29%22/%3E%0A%3Cg%20fill%3D%22none%22%20stroke%3D%22%234a9fe0%22%20stroke-opacity%3D%22.55%22%20stroke-width%3D%221.1%22%20stroke-linecap%3D%22round%22%3E%0A%3Cline%20x1%3D%221180%22%20y1%3D%2210%22%20x2%3D%221400%22%20y2%3D%22150%22/%3E%0A%3Cline%20x1%3D%221240%22%20y1%3D%2230%22%20x2%3D%221400%22%20y2%3D%22175%22/%3E%0A%3C/g%3E%0A%3C/svg%3E") center center / cover no-repeat,
        radial-gradient(ellipse 70% 150% at 50% 40%, rgba(120, 175, 225, .20) 0%, rgba(120, 175, 225, 0) 60%),
        radial-gradient(ellipse 65% 180% at 0% 20%, rgba(8, 28, 50, .85) 0%, rgba(8, 28, 50, 0) 62%),
        linear-gradient(105deg, #0f2942 0%, #1a4d80 50%, #2568ac 100%);
    padding: 18px 28px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.ticket-head { border-radius: var(--radius) var(--radius) 0 0; }
.ticket-head h3 { margin: 0; color: #fff; }
.ticket-head .t-from { color: rgba(255, 255, 255, .78); font-size: 13px; }

.msg-time {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 7px;
    background: rgba(255, 255, 255, .72);
    border: 1px solid rgba(20, 40, 60, .10);
    color: #5f6a76;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .01em;
}
.msg-time i { font-size: 11px; color: var(--accent); }
.msg-time em { font-style: normal; color: #8a94a0; font-weight: 500; padding-left: 6px; border-left: 1px solid rgba(20, 40, 60, .12); }

.msg {
    padding: 14px 16px;
    border-radius: 11px;
    background: var(--surface-2);
    border: 1px solid var(--border);
}
.msg.team {
    background: var(--accent-soft);
    border: 1px solid rgba(61, 143, 211, .30);
}

.ticket-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 22px;
    padding: 20px 24px;
    align-items: start;
}
.t-side { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 82px; }
.side-box {
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface-2);
    padding: 16px 18px;
}
.side-box h4 {
    margin: 0 0 12px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--muted);
}
.side-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13.5px; color: var(--text); padding: 5px 0; }
.side-row span:first-child { color: var(--muted); }
.side-row span:last-child { font-weight: 600; color: var(--heading); }
.side-user { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 9px; }
.side-user img { width: 68px; height: 68px; border-radius: 16px; }
.side-user strong { display: block; font-size: 15px; color: var(--heading); }
.side-user span { color: var(--muted); font-size: 12.5px; }
@media (max-width: 920px) {
    .ticket-grid { grid-template-columns: 1fr; padding: 20px; }
    .t-side { order: -1; position: static; }
}

.user-sep { display: block; height: 1px; background: rgba(255, 255, 255, .08); margin: 8px 12px; }

/* Streamweg-Diagramme */
.weg-card { margin-bottom: 18px; }
.weg-head { display: flex; align-items: center; gap: 11px; margin-bottom: 22px; }
.weg-head h3 { margin: 0; }
.weg-head .weg-tag { font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 4px 10px; border-radius: 7px; }
.weg-flow { display: flex; align-items: stretch; gap: 10px; flex-wrap: wrap; }
.weg-node { flex: 1; min-width: 150px; max-width: 220px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 9px; padding: 18px 12px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface-2); }
.weg-node i { width: 44px; height: 44px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; font-size: 19px; background: var(--accent-soft); color: var(--accent); }
.weg-node strong { font-size: 14.5px; color: var(--heading); line-height: 1.35; }
.weg-node span { font-size: 12.5px; color: var(--muted); line-height: 1.55; }
.weg-node.gefahr { border-color: #f0cfcc; background: #fdf7f6; }
.weg-node.gefahr i { background: var(--danger-soft); color: var(--danger); }
.weg-node.gefahr strong { color: #9c3a33; }

.weg-arrow { display: flex; align-items: center; color: #b6bfca; font-size: 19px; flex: 0 0 auto; }
.weg-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; padding: 12px 15px; border-radius: 10px; font-size: 13.5px; line-height: 1.65; }
.weg-note i { line-height: 1.65; flex: 0 0 auto; }
.weg-note.schlecht { background: var(--danger-soft); color: #9c3a33; }
.weg-note.schlecht i { color: var(--danger); }
.weg-note.gut { background: #d4efdd; color: #1f7a44; }
.weg-note.gut i { color: #1f7a44; }
@media (max-width: 760px) {
    .weg-flow { flex-direction: column; align-items: stretch; }
    .weg-node { max-width: none; }
    .weg-arrow { justify-content: center; transform: rotate(90deg); padding: 2px 0; }
}

.weg-illu { display: flex; justify-content: center; align-items: center; margin-bottom: 20px; }
.weg-illu img { height: 300px; width: auto; max-width: 100%; object-fit: contain; }
.weg-illu img[src*="weg2"] { height: 360px; }
.weg-illu img[src*="weg3"] { height: 375px; }
.weg-illu img[src*="weg4"] { height: 375px; }

@media (max-width: 720px) {
    .weg-illu img, .weg-illu img[src*="weg2"], .weg-illu img[src*="weg3"], .weg-illu img[src*="weg4"] { height: auto; width: 100%; max-height: 340px; }
    .weg-head { flex-wrap: wrap; }
}

@media (max-width: 1024px) and (orientation: portrait) {
    .hero { background: url('../img/hero-mobil.png') center center / cover no-repeat, url('../img/hero.png') left center / cover no-repeat, var(--dark); }
}
@media (max-width: 1024px) and (orientation: landscape) {
    .hero { background-position: left center, center; }
}

.cl-container { max-width: 840px; }
.cl-beta-note {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px 20px;
    margin-bottom: 28px;
    background: var(--gold-soft);
    border: 1px solid #f0d9c4;
    border-radius: var(--radius-sm);
}
.cl-beta-note i { color: var(--gold); font-size: 17px; margin-top: 4px; flex: 0 0 auto; }
.cl-beta-note strong { display: block; color: var(--gold-dark); font-size: 15px; margin-bottom: 3px; }
.cl-beta-note p { margin: 0; font-size: 14px; color: var(--text); line-height: 1.6; }

.cl-version { padding: 0; margin-bottom: 22px; overflow: hidden; }
.cl-head {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 18px 24px;
    background: var(--surface-2);
    border-bottom: 1px solid var(--border);
}
.cl-ver {
    padding: 4px 12px;
    border-radius: 7px;
    background: var(--accent-soft);
    color: var(--accent-hover);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .02em;
}
.cl-current {
    padding: 4px 10px;
    border-radius: 7px;
    background: var(--ok-soft);
    color: var(--ok);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.cl-head h2 { flex: 1; font-size: 19px; font-weight: 650; color: var(--heading); min-width: 200px; overflow-wrap: break-word; word-break: break-word; }
.cl-date { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--muted); white-space: nowrap; }

.cl-list { list-style: none; margin: 0; padding: 6px 0; }
.cl-list li { display: flex; align-items: flex-start; gap: 14px; padding: 11px 24px; }
.cl-list li + li { border-top: 1px solid var(--border); }
.cl-tag {
    flex: 0 0 96px;
    text-align: center;
    padding: 3px 0;
    border-radius: 7px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-top: 1px;
}
.cl-tag-neu { background: var(--accent-soft); color: var(--accent-hover); }
.cl-tag-verbessert { background: var(--gold-soft); color: var(--gold-dark); }
.cl-tag-behoben { background: var(--ok-soft); color: var(--ok); }
.cl-text { font-size: 14.5px; line-height: 1.65; color: var(--text); }

@media (max-width: 640px) {
    .cl-head { padding: 15px 18px; }
    .cl-head h2 { min-width: 100%; order: 3; font-size: 17px; }
    .cl-date { margin-left: auto; }
    .cl-list li { padding: 11px 18px; flex-direction: column; gap: 6px; }
    .cl-tag { flex: none; width: 96px; }
}

.blue-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(105deg, #0f2942 0%, #1a4d80 50%, #2568ac 100%);
    border: 1px solid rgba(255, 255, 255, .08);
}
.blue-card::before, .blue-card::after { content: ""; position: absolute; top: -50px; bottom: -50px; width: 96px; transform: skewX(-14deg); pointer-events: none; }
.blue-card::before { right: -26px; background: rgba(255, 255, 255, .06); }
.blue-card::after { right: 64px; background: rgba(255, 255, 255, .04); }
.blue-card > * { position: relative; z-index: 1; }

.sterne-wahl { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.sterne-wahl input { position: absolute; opacity: 0; pointer-events: none; }
.sterne-wahl label { cursor: pointer; font-size: 24px; color: var(--border-strong); transition: color .1s ease; }
.sterne-wahl label:hover, .sterne-wahl label:hover ~ label,
.sterne-wahl input:checked ~ label { color: var(--gold); }

.bew-sterne { color: var(--gold); font-size: 13.5px; letter-spacing: 2px; white-space: nowrap; }
.bew-schnitt { display: flex; align-items: center; justify-content: center; gap: 10px; margin: -8px 0 30px; font-size: 16px; color: var(--heading); flex-wrap: wrap; }
.bew-track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
.bew-track::-webkit-scrollbar { display: none; }
.bew-card { display: flex; flex-direction: column; gap: 12px; flex: 0 0 calc((100% - 36px) / 3); scroll-snap-align: start; }
@media (max-width: 920px) { .bew-card { flex-basis: calc((100% - 18px) / 2); } }
@media (max-width: 620px) { .bew-card { flex-basis: 100%; } }
.bew-leiste { display: flex; justify-content: center; gap: 7px; margin-top: 22px; }
.bew-balken { width: 24px; height: 4px; border-radius: 3px; border: none; padding: 0; cursor: pointer; background: var(--border-strong); transition: background .15s ease; }
.bew-balken:hover { background: var(--muted); }
.bew-balken.aktiv { background: var(--accent); }
.bew-kopf { display: flex; align-items: center; gap: 11px; }
.bew-kopf img { width: 38px; height: 38px; border-radius: 9px; object-fit: cover; flex: 0 0 auto; }
.bew-kopf strong { display: block; color: var(--heading); font-size: 14.5px; }
.bew-tag { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ok); }
.bew-text { margin: 0; font-size: 14px; line-height: 1.7; color: var(--text); flex: 1; }
.bew-datum { font-size: 12px; color: var(--muted); }

}

details.klapp-card > summary { cursor: pointer; list-style: none; display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; user-select: none; padding: 24px 30px 20px; }
details.klapp-card > summary::marker { content: ""; }
details.klapp-card > summary::-webkit-details-marker { display: none; }
details.klapp-card > summary h3 { margin: 0; padding: 0; }
details.klapp-card > summary .klapp-links { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; min-width: 0; }
details.klapp-card > summary .klapp-rechts { margin-left: auto; display: inline-flex; align-items: center; gap: 14px; white-space: nowrap; }
details.klapp-card > summary .klapp-zahl { min-width: 26px; height: 26px; padding: 0 8px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent); font-size: 12.5px; font-weight: 700; }
details.klapp-card > summary .klapp-pfeil { color: var(--muted); font-size: 14px; transition: transform .2s ease; }
details.klapp-card[open] > summary .klapp-pfeil { transform: rotate(180deg); }
