/* Lumora – gemeinsame Basis- und Kopf-Styles fuer ALLE Seiten.
   EINE Quelle -> Navigation/Kopf/Fusszeile koennen nicht mehr je Seite driften.
   Seitenspezifisches steht im kleinen <style>-Block der jeweiligen Seite. */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root { --bg:#0a0a0f; --border:#1e1e2e; --accent:#4f8ef7; --accent2:#7ab3ff; --text:#d8d8e8; --muted:#82829e; --card:#16161f; }
/* overflow-y: scroll zeigt den Scrollbalken-Track auf JEDER Seite (auch kurzen) - so ist
   die Inhaltsbreite immer gleich und die rechtsbuendige Nav springt beim Navigieren
   zwischen kurzen und langen Seiten NICHT mehr. (scrollbar-gutter greift hier nicht
   zuverlaessig, weil eine eigene ::-webkit-scrollbar definiert ist.) Einheitliche Optik. */
html { overflow-y: scroll; scrollbar-gutter: stable; scrollbar-width: thin; scrollbar-color: #2a2a3a transparent; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #2a2a3a; border-radius: 10px; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif; background-color: var(--bg); background-image: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(79,142,247,.18) 0%, transparent 70%); background-size: 100% 780px; background-position: 0 63px; background-repeat: no-repeat; color: var(--text); line-height: 1.7; }
.wrap { max-width: 860px; margin: 0 auto; padding: 40px 20px; }
a { color: var(--accent2); text-decoration: none; }
a:hover { text-decoration: underline; }
.back { display: inline-block; margin-bottom: 26px; font-size: 14px; color: var(--muted); }
h1 { font-size: 2.1rem; color: #fff; margin-bottom: 12px; letter-spacing: -.5px; line-height: 1.25; }
h2 { font-size: 1.3rem; color: #fff; margin: 40px 0 12px; }
p { margin-bottom: 12px; }
.lead { font-size: 1.08rem; color: #b8b8cc; }
.muted { color: var(--muted); font-size: 14px; }
.cta { display: inline-block; background: linear-gradient(135deg, var(--accent), #6a8cff); color: #fff; font-weight: 700; padding: 13px 30px; border-radius: 12px; margin: 18px 0 6px; }
.cta:hover { text-decoration: none; filter: brightness(1.1); }
ul.feat { list-style: none; margin: 12px 0; }
ul.feat li { padding: 7px 0 7px 30px; position: relative; }
ul.feat li::before { content: "✔"; position: absolute; left: 4px; color: #6ee7a0; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 20px 24px; margin: 14px 0; }
footer { max-width: 860px; margin: 48px auto 0; padding: 18px 20px 40px; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted); }
footer a { color: var(--muted); }
nav { position: sticky; top: 0; background: rgba(10,10,15,0.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); padding: 14px 32px; display: flex; align-items: center; justify-content: space-between; z-index: 100; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--accent2); text-decoration: none; }
.nav-logo:hover { text-decoration: none; }
.nav-logo span { color: var(--text); }
.nav-logo-img { width: 26px; height: 26px; border-radius: 6px; display: block; }
.nav-right { display: flex; align-items: center; gap: 28px; }
nav ul { display: flex; gap: 28px; list-style: none; }
nav ul a { color: var(--muted); text-decoration: none; font-size: 14px; transition: color .2s; }
nav ul a:hover { color: var(--text); }
.nav-lang { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; color: var(--text); border: 1px solid var(--border); padding: 5px 12px; border-radius: 999px; white-space: nowrap; transition: border-color .2s, color .2s; text-decoration: none; }
.nav-lang:hover { border-color: var(--accent2); color: var(--accent2); text-decoration: none; }
.nav-burger { display: none; background: none; border: 1px solid var(--border); color: var(--text); font-size: 19px; line-height: 1; width: 42px; height: 38px; border-radius: 10px; cursor: pointer; align-items: center; justify-content: center; transition: border-color .2s, color .2s; }
.nav-burger:hover { border-color: var(--accent2); color: var(--accent2); }
.nav-drop { position: relative; }
.nav-drop-btn { background: none; border: none; color: var(--text); font: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; padding: 0; transition: color .2s; }
.nav-drop-btn:hover, .nav-drop:focus-within .nav-drop-btn { color: var(--accent2); }
.nav-drop-caret { font-size: 10px; transition: transform .2s; }
.nav-drop:hover .nav-drop-caret, .nav-drop:focus-within .nav-drop-caret { transform: rotate(180deg); }
.nav-drop-menu { position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(-8px); width: 300px; background: #14141e; border: 1px solid var(--border); border-radius: 16px; padding: 8px; box-shadow: 0 28px 70px rgba(0, 0, 0, .5); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s, transform .2s, visibility .2s; z-index: 120; }
.nav-drop-menu::before { content: ""; position: absolute; bottom: 100%; left: 0; right: 0; height: 14px; }
.nav-drop:hover .nav-drop-menu, .nav-drop:focus-within .nav-drop-menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.nav-drop-label { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 8px 10px 6px; }
.nav-drop-menu a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 11px; color: var(--text); text-decoration: none; font-size: 14px; font-weight: 500; transition: background .16s; }
.nav-drop-menu a:hover { background: rgba(122, 179, 255, .1); }
.nav-drop-menu a .di { width: 36px; height: 36px; flex: none; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 17px; background: rgba(122, 179, 255, .1); border: 1px solid rgba(122, 179, 255, .14); }
.nav-drop-menu a .dtxt { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.nav-drop-menu a .dsub { font-size: 11.5px; color: var(--muted); font-weight: 400; margin-top: 1px; white-space: normal; }
.page { transition: transform .34s cubic-bezier(.33, 1, .68, 1); }
.drawer { position: fixed; top: 0; right: 0; height: 100dvh; width: min(320px, 85vw); display: flex; flex-direction: column; overflow-x: hidden; overflow-y: auto; background: #101017; border-left: 1px solid var(--border); box-shadow: -34px 0 80px rgba(0, 0, 0, .55); transform: translateX(100%); transition: transform .34s cubic-bezier(.33, 1, .68, 1); z-index: 200; }
.drawer-head { display: flex; align-items: center; gap: 10px; padding: 16px 18px; border-bottom: 1px solid var(--border); position: sticky; top: 0; background: #101017; z-index: 1; }
.drawer-head img { width: 30px; height: 30px; border-radius: 8px; }
.drawer-brand { font-size: 17px; font-weight: 700; color: var(--text); letter-spacing: -.01em; }
.drawer-close { margin-left: auto; background: none; border: 1px solid var(--border); color: var(--muted); width: 34px; height: 34px; border-radius: 9px; cursor: pointer; font-size: 15px; line-height: 1; display: flex; align-items: center; justify-content: center; transition: color .2s, border-color .2s; }
.drawer-close:hover { color: var(--text); border-color: var(--accent2); }
.drawer-nav { padding: 10px 10px 4px; }
.drawer-group-label { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 12px 12px 4px; }
.drawer-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; text-decoration: none; color: var(--text); font-size: 15.5px; font-weight: 500; transition: background .18s; }
.drawer-item:hover, .drawer-item:active { background: rgba(122, 179, 255, .1); }
.drawer-item .ico { width: 38px; height: 38px; flex: none; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; background: rgba(122, 179, 255, .1); border: 1px solid rgba(122, 179, 255, .14); }
.drawer-item .txt { flex: 1; display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.drawer-item .sub { font-size: 11.5px; color: var(--muted); font-weight: 400; margin-top: 1px; }
.drawer-item .chev { color: var(--muted); font-size: 20px; font-weight: 300; }
.drawer-foot { margin-top: auto; padding: 14px 18px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--border); }
.drawer-cta { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 16px; border-radius: 12px; background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #06080f; font-weight: 700; text-decoration: none; font-size: 15px; }
.drawer-cta:hover { filter: brightness(1.08); text-decoration: none; }
.drawer-lang { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 10px; padding: 10px; border-radius: 10px; border: 1px solid var(--border); color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 600; transition: color .2s, border-color .2s; }
.drawer-lang:hover { color: var(--accent2); border-color: var(--accent2); text-decoration: none; }
.drawer-backdrop { position: fixed; inset: 0; background: rgba(4, 5, 10, .55); opacity: 0; visibility: hidden; transition: opacity .34s, visibility .34s; z-index: 150; -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
body.menu-open .drawer { transform: translateX(0); }
body.menu-open .drawer-backdrop { opacity: 1; visibility: visible; }
body.menu-open .page { transform: translateX(calc(-1 * min(320px, 85vw))); }
body.menu-open { overflow: hidden; }
body.menu-open .drawer-nav > * { animation: drawerIn .45s cubic-bezier(.33, 1, .68, 1) backwards; }
body.menu-open .drawer-nav > *:nth-child(1) { animation-delay: .04s; }
body.menu-open .drawer-nav > *:nth-child(2) { animation-delay: .07s; }
body.menu-open .drawer-nav > *:nth-child(3) { animation-delay: .10s; }
body.menu-open .drawer-nav > *:nth-child(4) { animation-delay: .13s; }
body.menu-open .drawer-nav > *:nth-child(5) { animation-delay: .16s; }
body.menu-open .drawer-nav > *:nth-child(6) { animation-delay: .19s; }
body.menu-open .drawer-nav > *:nth-child(7) { animation-delay: .22s; }
body.menu-open .drawer-nav > *:nth-child(8) { animation-delay: .25s; }
@keyframes drawerIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { body.menu-open .drawer-nav > * { animation: none; } .page, .drawer, .drawer-backdrop { transition-duration: .01ms; } }
@media (max-width: 640px) {
      nav { padding: 12px 16px; }
      .nav-right { gap: 12px; }
      .nav-burger { display: flex; }
      nav ul { display: none; }
    }
