body {
    --bg-base: #2f3338;
    --bg-deep: #1c1f23;
    --bg-soft: #454b52;
    --honeycomb-line: rgba(255, 255, 255, 0.12);
    --honeycomb-glow: rgba(255, 255, 255, 0.06);
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    isolation: isolate;
    background:
        radial-gradient(circle at 20% 16%, rgba(255, 255, 255, 0.04), transparent 20%),
        radial-gradient(circle at 80% 18%, rgba(255, 255, 255, 0.03), transparent 18%),
        radial-gradient(circle at 50% 100%, rgba(255, 255, 255, 0.02), transparent 24%),
        linear-gradient(150deg, #17191d 0%, var(--bg-deep) 24%, #2a2e33 58%, var(--bg-base) 100%);
    font-family: "Avenir Next", "Segoe UI", sans-serif;
}
.page-shell {
    width: min(1180px, calc(100vw - 2rem));
    padding: clamp(1.25rem, 3vw, 2.5rem);
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
}
.page-shell::before {
    content: none;
}
.page-shell::after {
    content: none;
}
.logo-panel {
    position: relative;
    width: min(100%, 820px);
    padding: clamp(0.35rem, 1vw, 0.9rem);
    filter: drop-shadow(0 26px 70px rgba(0, 0, 0, 0.3));
}
.centered-svg {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 1;
}
.logo-panel {
    animation: panelReveal 900ms ease-out both;
}
.menu-toggle {
    appearance: none;
    font: inherit;
    position: fixed;
    top: clamp(1rem, 2vw, 2rem);
    right: clamp(1rem, 2vw, 2rem);
    width: 72px;
    height: 72px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    cursor: pointer;
    z-index: 50;
    transition:
        background 220ms ease,
        border-color 220ms ease,
        transform 220ms ease;
}
.menu-toggle:hover {
    transform: translateY(-2px);
}
.menu-toggle span {
    position: absolute;
    left: 50%;
    width: 30px;
    height: 2px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    transform: translateX(-50%);
    transition:
        transform 220ms ease,
        opacity 220ms ease,
        background 220ms ease;
}
.menu-toggle span:nth-child(1) {
    top: 25px;
}
.menu-toggle span:nth-child(2) {
    top: 35px;
}
.menu-toggle span:nth-child(3) {
    top: 45px;
}
body.menu-open .menu-toggle {
    background: rgba(255, 250, 246, 0.94);
    border-color: rgba(28, 31, 35, 0.08);
}
body.menu-open .menu-toggle span {
    background: #252a2f;
}
body.menu-open .menu-toggle span:nth-child(1) {
    transform: translateX(-50%) translateY(10px) rotate(45deg);
}
body.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
}
body.menu-open .menu-toggle span:nth-child(3) {
    transform: translateX(-50%) translateY(-10px) rotate(-45deg);
}
.menu-overlay {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    padding: clamp(1rem, 3vw, 2rem);
    background: rgba(15, 18, 21, 0.34);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 260ms ease;
    z-index: 40;
}
body.menu-open .menu-overlay {
    opacity: 1;
    pointer-events: auto;
}
.menu-shell {
    position: relative;
    width: min(540px, calc(100vw - 1.25rem));
    min-height: min(300px, calc(100vh - 1.5rem));
    max-height: calc(100vh - 1.5rem);
    padding: clamp(0.55rem, 1vw, 0.75rem);
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.46);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 250, 245, 0.82) 60%, rgba(255, 239, 219, 0.68));
    box-shadow: 0 42px 120px rgba(0, 0, 0, 0.28);
    color: #252a2f;
    transform: translateY(24px) scale(0.98);
    transition: transform 260ms ease;
    overflow-x: hidden;
    overflow-y: auto;
}
.menu-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 82% 14%, rgba(255, 224, 178, 0.42), transparent 24%);
    pointer-events: none;
}
body.menu-open .menu-shell {
    transform: translateY(0) scale(1);
}
.menu-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-rows: auto auto auto auto;
    gap: clamp(0.45rem, 1vw, 0.7rem);
    justify-items: center;
    align-content: start;
    min-height: 100%;
}
.menu-topbar {
    display: flex;
    justify-content: center;
    width: 100%;
}
.menu-search-wrap {
    position: relative;
    width: min(100%, 320px);
}
.menu-search {
    display: flex;
    align-items: center;
    gap: 0.38rem;
    width: 100%;
    padding: 0.32rem;
    border-radius: 999px;
    border: 1px solid rgba(37, 42, 47, 0.08);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.62), rgba(255, 252, 248, 0.5));
    box-shadow:
        0 12px 32px rgba(37, 42, 47, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.42);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.menu-search-input {
    flex: 1;
    min-width: 0;
    height: 38px;
    border: 0;
    outline: none;
    background: transparent;
    color: #252a2f;
    font: inherit;
    font-size: 0.9rem;
    padding: 0 0.65rem 0 0.75rem;
}
.menu-search-input::placeholder {
    color: #656d76;
}
.menu-search-button {
    appearance: none;
    border: 0;
    border-radius: 999px;
    background: #252a2f;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    cursor: pointer;
}
.menu-search-button svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.menu-search-suggestions {
    position: absolute;
    top: calc(100% + 0.55rem);
    left: 0;
    right: 0;
    display: grid;
    gap: 0.42rem;
    padding: 0.55rem;
    border-radius: 24px;
    border: 1px solid rgba(37, 42, 47, 0.08);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.76), rgba(255, 250, 245, 0.68));
    box-shadow: 0 24px 60px rgba(15, 18, 21, 0.14);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
.menu-search-suggestions[hidden] {
    display: none;
}
.menu-suggestion {
    appearance: none;
    border: 0;
    width: 100%;
    padding: 0.5rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.7);
    color: #252a2f;
    display: grid;
    grid-template-columns: 2.5rem 1fr;
    gap: 0.7rem;
    align-items: center;
    text-align: left;
    cursor: pointer;
    transition:
        transform 180ms ease,
        background 180ms ease,
        box-shadow 180ms ease;
}
.menu-suggestion:hover,
.menu-suggestion.is-active {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 24px rgba(37, 42, 47, 0.08);
}
.menu-suggestion-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 42, 47, 0.07);
    color: #2d343b;
}
.menu-suggestion-icon svg {
    width: 1.15rem;
    height: 1.15rem;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.menu-suggestion-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
}
.menu-suggestion-label,
.menu-suggestion-meta {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.menu-suggestion-label {
    font-size: 0.92rem;
}
.menu-suggestion-meta {
    color: #656d76;
    font-size: 0.76rem;
    letter-spacing: 0.02em;
}
.menu-quicklinks {
    display: flex;
    gap: 0.75rem;
    justify-self: center;
    align-self: start;
    flex-wrap: wrap;
}
.menu-quicklink {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 56px;
    height: 40px;
    padding: 0 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.54);
    border: 1px solid rgba(37, 42, 47, 0.08);
    color: #4a545d;
    font-size: 0.86rem;
    letter-spacing: 0.03em;
}
.menu-news {
    width: min(100%, 460px);
    padding: 0.85rem 0.9rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(37, 42, 47, 0.08);
}
.menu-news-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.6rem;
    margin-bottom: 0.55rem;
}
.menu-news-title {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #4a545d;
}
.menu-news-status {
    font-size: 0.76rem;
    color: #656d76;
}
.menu-news-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.55rem;
}
.menu-news-item {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
}
.menu-news-link {
    color: #252a2f;
    text-decoration: none;
    font-size: 0.86rem;
    line-height: 1.35;
}
.menu-news-link:hover {
    text-decoration: underline;
}
.menu-news-time {
    flex: 0 0 auto;
    font-size: 0.72rem;
    color: #656d76;
    white-space: nowrap;
}
.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(100px, 132px));
    justify-content: center;
    gap: 0.65rem;
    align-content: start;
}
.menu-tile {
    --tile-accent: #2d343b;
    --tile-accent-bg: rgba(37, 42, 47, 0.07);
    appearance: none;
    font: inherit;
    padding: 0.85rem 0.6rem 0.7rem;
    border: 1px solid rgba(37, 42, 47, 0.08);
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 250, 245, 0.7));
    color: #252a2f;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition:
        transform 220ms ease,
        background 220ms ease,
        border-color 220ms ease;
    min-height: 0;
}
.menu-tile:hover {
    transform: translateY(-4px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 248, 240, 0.8));
    border-color: rgba(37, 42, 47, 0.12);
}
.menu-tile--home {
    --tile-accent: #2d343b;
    --tile-accent-bg: rgba(37, 42, 47, 0.07);
}
.menu-tile--news {
    --tile-accent: #0d5f9e;
    --tile-accent-bg: rgba(13, 95, 158, 0.12);
}
.menu-tile--bookmarks {
    --tile-accent: #9a5b12;
    --tile-accent-bg: rgba(255, 191, 105, 0.28);
}
.menu-tile-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--tile-accent-bg);
    color: var(--tile-accent);
}
.menu-tile-icon svg {
    width: 26px;
    height: 26px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.menu-tile-label {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: #3a4149;
}
@keyframes panelReveal {
    0% {
        opacity: 0;
        transform: translateY(18px) scale(0.985);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
@media (max-width: 700px) {
    .menu-toggle {
        width: 64px;
        height: 64px;
        border-radius: 18px;
    }
    .menu-toggle span {
        width: 26px;
    }
    .menu-toggle span:nth-child(1) {
        top: 22px;
    }
    .menu-toggle span:nth-child(2) {
        top: 31px;
    }
    .menu-toggle span:nth-child(3) {
        top: 40px;
    }
    .menu-shell {
        width: min(100%, calc(100vw - 1rem));
        min-height: auto;
        border-radius: 28px;
        padding: 0.9rem;
    }
    .menu-shell::before {
        background: radial-gradient(circle at 78% 12%, rgba(255, 224, 178, 0.36), transparent 26%);
    }
    .menu-layout {
        gap: 1rem;
    }
    .menu-topbar {
        justify-content: center;
    }
    .menu-search {
        width: 100%;
    }
    .menu-search-wrap {
        width: min(100%, 300px);
    }
    .menu-grid {
        grid-template-columns: repeat(2, minmax(96px, 124px));
        justify-content: center;
    }
    .menu-tile {
        min-height: 0;
    }
    .menu-quicklinks {
        justify-self: center;
    }
    .menu-news {
        width: 100%;
    }
    .page-shell {
        width: min(100vw - 1rem, 1100px);
        padding: 1rem;
    }
    .logo-panel {
        padding: 0;
    }
}

/* Ehemals inline <style> im SVG-<defs>: gleiche Selektoren, jetzt unter
   .centered-svg gescoped, damit die CSP ohne style-src 'unsafe-inline' auskommt. */
.centered-svg .box {
    fill: url(#boxFill);
    stroke: rgba(255, 255, 255, 0.2);
    stroke-width: 1.5;
}
.centered-svg .e,
.centered-svg .dash,
.centered-svg .m,
.centered-svg .a1,
.centered-svg .r,
.centered-svg .s,
.centered-svg .c,
.centered-svg .h,
.centered-svg .a2,
.centered-svg .l1,
.centered-svg .l2 {
    opacity: 0;
}
