:root {
    --farbe-bg: #070516;
    --farbe-panel: rgba(10, 12, 30, 0.82);
    --farbe-panel-rand: rgba(152, 166, 255, 0.20);
    --farbe-text: #f1f4ff;
    --farbe-text-soft: rgba(241, 244, 255, 0.70);
    --farbe-akzent: #7c8cff;
    --farbe-akzent-2: #4fb8ff;
    --farbe-akzent-3: #7e61ff;
    --breite-content: 1240px;
    --titel-groesse: 78px;
    --text-groesse: 16px;
    --nebel-deckkraft: 1;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    overflow-x: hidden;
    background: radial-gradient(circle at 60% 18%, rgba(130, 93, 255, 0.20), transparent 35%), #04030e;
    color: var(--farbe-text);
    font-family: Inter, Arial, Helvetica, sans-serif;
}

body {
    position: relative;
    min-height: 100vh;
}

.seiten-hintergrund,
.css-starfield {
    position: fixed;
    inset: 0;
}

.seiten-hintergrund {
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 18% 86%, rgba(62, 112, 255, 0.28), transparent 24%),
        radial-gradient(circle at 68% 20%, rgba(157, 101, 255, 0.28), transparent 32%),
        radial-gradient(circle at 54% 54%, rgba(62, 46, 145, 0.22), transparent 30%);
    opacity: var(--nebel-deckkraft);
}

.nebula-blau {
    filter: hue-rotate(-18deg) saturate(1.1);
}

.nebula-pink {
    filter: hue-rotate(35deg) saturate(1.15);
}

.css-starfield {
    z-index: 1;
    pointer-events: none;
}

.css-starfield {
    opacity: 0;
    background-image:
        radial-gradient(1px 1px at 14% 18%, rgba(255,255,255,0.78), transparent 72%),
        radial-gradient(1px 1px at 26% 66%, rgba(255,255,255,0.72), transparent 72%),
        radial-gradient(1px 1px at 41% 28%, rgba(255,255,255,0.82), transparent 72%),
        radial-gradient(1px 1px at 58% 48%, rgba(255,255,255,0.68), transparent 72%),
        radial-gradient(1px 1px at 72% 22%, rgba(255,255,255,0.78), transparent 72%),
        radial-gradient(1px 1px at 84% 74%, rgba(255,255,255,0.74), transparent 72%),
        radial-gradient(1px 1px at 91% 36%, rgba(255,255,255,0.70), transparent 72%);
    background-size: 220px 220px, 280px 280px, 340px 340px, 420px 420px, 540px 540px, 680px 680px, 820px 820px;
    background-repeat: repeat;
    animation: cssSterneDrift 34s linear infinite;
    filter: brightness(1);
}

@keyframes cssSterneDrift {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-18px, 12px, 0); }
}

.kopfbereich {
    position: relative;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: none;
    margin: 0;
    padding: 22px 28px 18px;
    background: transparent;
}

.marke__name {
    /* v4v99msg: Violett-Gradient statt grün/weiß */
    background: linear-gradient(90deg, #a855f7 0%, #d8b4fe 60%, #c084fc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-decoration: none;
    font-weight: 800;
    font-size: clamp(30px, 3vw, 42px);
    letter-spacing: -0.03em;
}

.marke__claim {
    margin: 8px 0 0;
    color: rgba(255,255,255,0.72);
    font-size: 14px;
}

.hauptnavigation {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border: none;
    border-radius: 20px;
    background: transparent;
    backdrop-filter: none;
    position: relative;
    z-index: 200;
}

.nav-link,
.sprachwahl select,
.btn {
    /* v4v99msg: hardcoded – nicht durch Admin-Variablen beeinflussbar */
    color: #f1f4ff;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 16px;
    padding: 12px 18px;
    transition: 0.2s ease;
    background: transparent;
    font: inherit;
}

.nav-link:hover,
.nav-link.is-active,
.btn:hover,
.sprachwahl select:hover {
    border-color: rgba(132, 149, 255, 0.28);
    background: rgba(116, 132, 255, 0.12);
}

.nav-link--logout {
    border-color: rgba(255, 100, 100, 0.20);
    color: rgba(255, 180, 180, 0.90);
}

.nav-link--logout:hover {
    border-color: rgba(255, 100, 100, 0.45);
    background: rgba(255, 80, 80, 0.12);
    color: #ffaaaa;
}

.sprachwahl select {
    appearance: none;
    min-width: 146px;
    outline: none;
    cursor: pointer;
}

.hamburger {
    display: none;
    width: 54px;
    height: 54px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.14);
    background: transparent;
    backdrop-filter: blur(8px);
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 5px auto;
    background: #fff;
    border-radius: 2px;
}

.buehne {
    position: relative;
    z-index: 4;
    min-height: calc(100vh - 104px);
    max-width: var(--breite-content);
    margin: 0 auto;
    padding: 24px 20px 40px;
}

.sternbild-canvas { display: none; }

.zentrum {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

/* Haupttitel – global, wird auf Willkommen durch Seiten-<style> überschrieben */
.haupttitel {
    position: relative;
    z-index: 1;
    margin: 0 0 16px;
    font-size: clamp(52px, var(--titel-groesse, 68px), 92px);
    line-height: 1.08;
    letter-spacing: -0.01em;
    overflow: visible;
    padding-bottom: 0.05em;
    /* v4v99msg: Lila→Weiß Gradient */
    background: linear-gradient(135deg, #c084fc 0%, #e0aaff 35%, #ffffff 70%, #d8b4fe 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradientShift 9s ease-in-out infinite, schwebenTitel 8s ease-in-out infinite;
}
.einleitung { margin:0 auto; max-width:740px; font-size:var(--text-groesse,16px); color:var(--farbe-text-soft); }
.schwebend  { animation: schweben 6.5s ease-in-out infinite; }
@keyframes schweben { 0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)} }
.aktionsbereich { margin-top:34px; }
.btn--primary { background:rgba(145,157,255,.14); border-color:rgba(145,157,255,.22); box-shadow:0 10px 24px rgba(22,22,60,.28); }
.btn--ghost   { border-color:rgba(255,255,255,.14); }
.sternzeichen-info { margin-top:28px; min-height:90px; display:flex; flex-direction:column; align-items:center; gap:8px; background:none !important; border:none !important; backdrop-filter:none !important; box-shadow:none !important; padding:0 !important; }
.sternzeichen-symbol { font-size:48px; color:rgba(220,190,255,.92); filter:drop-shadow(0 0 18px rgba(180,130,255,.65)); background:none; line-height:1; }
.sternzeichen-name   { font-size:13px; font-weight:900; letter-spacing:.28em; color:rgba(190,155,255,.85); background:none; text-transform:uppercase; }
.sternzeichen-text   { color:rgba(190,210,255,.65); font-size:13px; background:none; }

.footer-links {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 8;
    text-align: center;
    font-size: 14px;
    color: rgba(241,244,255,0.76);
    padding: 10px 20px 12px;
    background: linear-gradient(to top, rgba(4, 3, 14, 0.85) 60%, transparent);
}

.footer-links a {
    /* v4v99msg: hardcoded – nicht durch Admin-Farbvariablen beeinflussbar */
    color: rgba(200, 215, 255, 0.80);
    text-decoration: none;
    margin: 0 10px;
}

.footer-links a:hover {
    text-decoration: underline;
}

.buehne--formular,
.buehne--info {
    min-height: calc(100vh - 108px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 20px 90px;
}

.formular-karte,
.info-karte {
    position: relative;
    z-index: 5;
    width: min(100%, 620px);
    background: transparent;
    border: 1px solid rgba(137, 149, 255, 0.14);
    border-radius: 28px;
    padding: 28px 26px;
    backdrop-filter: blur(8px);
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.22);
}

.info-karte {
    width: min(100%, 920px);
    max-height: calc(100vh - 200px);
    overflow: auto;
}

.formular-titel {
    margin: 0 0 24px;
    text-align: center;
    font-size: clamp(42px, 5vw, 72px);
    line-height: 1.18;
    padding-bottom: 0.08em;
    overflow: visible;
    /* v4v99msg: Kreativ – Violett→Rosa→Gold→Orange */
    background: linear-gradient(135deg, #c084fc 0%, #f0abfc 38%, #fbbf24 72%, #fb923c 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
}

.register-formular {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.register-formular label > span,
.formular-info,
.formular-hinweis {
    color: rgba(241,244,255,0.82);
    font-size: 15px;
}

.register-formular input[type="email"],
.register-formular input[type="text"],
.register-formular input[type="password"] {
    width: 100%;
    margin-top: 8px;
    padding: 15px 18px;
    border-radius: 18px;
    border: 1px solid rgba(142, 156, 255, 0.12);
    background: rgba(8, 10, 28, 0.42);
    color: #f1f4ff;
    outline: none;
}

.register-formular input::placeholder {
    color: rgba(241,244,255,0.36);
}

.passwort-zeile {
    display: flex;
    align-items: center;
    gap: 10px;
}

.passwort-toggle {
    margin-top: 8px;
    width: 50px;
    height: 42px;
    border-radius: 14px;
    border: 1px solid rgba(142, 156, 255, 0.18);
    background: rgba(145, 157, 255, 0.12);
    color: #fff;
    cursor: pointer;
}

.checkbox-zeile {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 4px;
}

.checkbox-zeile input {
    margin-top: 4px;
}

.checkbox-zeile a {
    color: #cbd2ff;
}

.formular-meldung {
    margin-bottom: 16px;
    padding: 12px 16px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.1);
}

.formular-meldung.is-success {
    background: rgba(70, 176, 126, 0.16);
    border-color: rgba(70, 176, 126, 0.35);
}

.formular-meldung.is-error {
    background: rgba(214, 88, 88, 0.16);
    border-color: rgba(214, 88, 88, 0.35);
}

.formular-karte--placeholder {
    text-align: center;
}

.info-karte h1,
.info-karte h2 {
    color: #f4f6ff;
}

.info-karte p,
.info-karte li {
    color: rgba(241,244,255,0.84);
    line-height: 1.65;
}


.placeholder-aktionen {
    display:flex;
    gap:12px;
    justify-content:center;
    flex-wrap:wrap;
    margin-top:20px;
}

.dashboard-grid {
    display:grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap:14px;
    margin: 22px 0 16px;
    text-align:left;
}

.dashboard-grid > div {
    padding:14px 16px;
    border-radius:18px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(142, 156, 255, 0.12);
}


.untertitel-rotation {
    margin: 0 auto;
    max-width: 920px;
    min-height: 58px;
    font-size: clamp(17px, 2vw, 20px);
    line-height: 1.55;
    color: rgba(200, 215, 255, 0.78);
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 1.8s cubic-bezier(0.4,0,0.2,1), transform 1.8s cubic-bezier(0.4,0,0.2,1);
    text-shadow: 0 0 20px rgba(140,160,255,0.18);
    animation: schwebenMini 10s ease-in-out infinite 1s;
}

.untertitel-rotation.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.formular-karte--kompakt {
    max-width: 560px;
}

.placeholder-aktionen--links {
    justify-content: flex-start;
}


.starfield-canvas{position:absolute;inset:0;width:100%;height:100%;display:block}
body[data-seite="willkommen"]{overflow:hidden}
.admin-seite .formular-karte{max-width:1280px}
.admin-sektionstitel{margin:18px 0 14px;font-size:1.2rem}
.admin-benutzer-liste{display:grid;gap:18px}
.admin-benutzer-card{border:1px solid rgba(126,135,255,.22);border-radius:22px;background:rgba(255,255,255,.04);padding:16px 18px;backdrop-filter:blur(10px)}
.admin-benutzer-kopf{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.admin-badges{display:flex;gap:10px;flex-wrap:wrap}
.admin-badge{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;background:rgba(80,95,255,.18);border:1px solid rgba(128,140,255,.28);font-size:.9rem}
.admin-badge.is-new{background:rgba(56,191,123,.18);border-color:rgba(56,191,123,.35)}
.admin-daten-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:10px 16px}
.admin-daten-zeile{display:flex;flex-direction:column;padding:10px 12px;border-radius:14px;background:rgba(255,255,255,.03)}
.admin-daten-zeile span{font-size:.8rem;opacity:.7;margin-bottom:4px;word-break:break-word}
.admin-daten-zeile strong{font-size:.95rem;word-break:break-word}


/* am_3v8m */
.sprachwahl select, .sprachwahl option { background:#0d1030; color:#f1f4ff; }

/* ── Admin Panel – v3v56m vollständige Styles ── */
.admin-panel {
    position: fixed;
    top: 0; right: 0;
    z-index: 9999;
    width: min(840px, 92vw);
    height: 100vh;
    padding: 22px;
    background: transparent;
    border-left: 1px solid rgba(255,255,255,0.10);
    backdrop-filter: blur(18px);
    transform: translateX(105%);
    transition: transform 0.30s cubic-bezier(0.4,0,0.2,1);
    overflow-y: auto;
    overflow-x: hidden;
}
.admin-panel.is-open { transform: translateX(0); }

/* Wenn Admin-Panel offen: Inhalt abdunkeln, Sterne sichtbar */
.admin-panel-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 89;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(1px);
    cursor: pointer;
}
body.admin-panel-offen .admin-panel-overlay { display: block; }
body.admin-panel-offen .buehne,
body.admin-panel-offen .hauptnavigation,
body.admin-panel-offen .footer-links {
    opacity: 0.15;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* Fragebogen: gleiche Transparenz wie Dashboard/Login */
body[data-seite="fragebogen"] .formular-karte {
    background: transparent !important;
    border-color: rgba(137,149,255,.10) !important;
    backdrop-filter: blur(4px) !important;
    box-shadow: 0 20px 60px rgba(0,0,0,.15) !important;
}
.admin-panel__kopf { display:flex; justify-content:space-between; align-items:center; margin-bottom:20px; padding-bottom:14px; border-bottom:1px solid rgba(255,255,255,0.08); }
.admin-panel__titel { font-size:18px; font-weight:700; color:rgba(200,215,255,0.95); }
.admin-panel__schliessen { background:rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.10); color:rgba(255,255,255,0.70); border-radius:8px; width:36px; height:36px; cursor:pointer; font-size:18px; display:flex; align-items:center; justify-content:center; }
.admin-panel__schliessen:hover { background:rgba(255,255,255,0.12); }
.admin-block { margin-bottom:20px; padding:16px; border-radius:16px; background:rgba(255,255,255,0.04); border:1px solid rgba(255,255,255,0.07); }
.admin-block h3 { margin:0 0 12px; font-size:13px; font-weight:700; text-transform:uppercase; letter-spacing:.08em; color:rgba(200,215,255,0.70); }
.admin-block label { display:flex; flex-direction:column; gap:6px; margin-bottom:10px; font-size:13px; color:rgba(241,244,255,0.80); }
.admin-block input[type="range"] { width:100%; accent-color:#7c8cff; }
.admin-block input[type="color"] { width:48px; height:32px; border-radius:6px; border:1px solid rgba(255,255,255,0.12); cursor:pointer; background:none; }
.admin-block select { width:100%; padding:8px 10px; border-radius:10px; border:1px solid rgba(255,255,255,0.10); background:rgba(10,14,30,0.60); color:#f1f4ff; }
.admin-block select option { background:#0d1030; }
.admin-checkbox { flex-direction:row !important; align-items:center; gap:10px !important; }
.admin-checkbox input { width:auto; }
.farb-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.admin-aktion { display:flex; gap:12px; margin-top:16px; }
.admin-status { font-size:12px; color:rgba(255,255,255,0.50); margin-top:8px; }
output { font-weight:700; color:rgba(200,215,255,0.90); }

.admin-block select { color:#f1f4ff; background:#060915; }
html, body { background:#04030e; }
.seiten-hintergrund { background: transparent; opacity: 1; }
.css-starfield { opacity: 1; background: transparent !important; animation: none !important; filter: none !important; }
.starfield-canvas { position: fixed; inset: 0; width: 100%; height: 100%; display: block; }
body[data-seite="willkommen"]{overflow:hidden}
.formular-karte { background: transparent !important; border: none !important; box-shadow: none !important; backdrop-filter: none !important; width: min(560px, 92vw); padding: 10px 10px 24px; animation: schwebenLangsam 6.8s ease-in-out infinite; }
.formular-karte--kompakt { width: min(520px, 92vw); }
body[data-seite="login"] .formular-karte { width: min(500px, 92vw); }
body[data-seite="login"] .formular-titel--login { font-size: clamp(54px, 5vw, 84px); margin-bottom: 14px; line-height: 1.18; padding-bottom: 0.08em; overflow: visible; }
body[data-seite="registrieren"] .formular-titel--register { font-size: clamp(48px, 4.2vw, 68px); margin-bottom: 18px; line-height: 1.18; padding-bottom: 0.08em; overflow: visible; }
.formular-label, .placeholder-aktionen, .formular-meldung, .formular-info, .sternzeichen-info, .untertitel-rotation, .haupttitel, .marke, .hauptnavigation, .footer-links, .register-formular label, .register-formular .checkbox-zeile, .register-formular .btn { animation: schwebenMini 9.5s ease-in-out infinite; }
.register-formular input[type="email"], .register-formular input[type="text"], .register-formular input[type="password"], .formular-label input, .passwort-zeile input { background: rgba(6, 8, 26, 0.22); backdrop-filter: blur(2px); }
.register-formular input[type="email"]:focus, .register-formular input[type="text"]:focus, .register-formular input[type="password"]:focus, .formular-label input:focus, .passwort-zeile input:focus { background: rgba(10, 12, 34, 0.14); box-shadow: 0 0 0 1px rgba(137, 150, 255, 0.24), 0 0 28px rgba(90, 100, 255, 0.12); }
.passwort-zeile { background: transparent; border: none; padding: 0; }
.passwort-zeile .passwort-toggle { margin-left: 10px; align-self: stretch; background: rgba(18, 21, 54, 0.45); border: 1px solid rgba(150, 165, 255, 0.18); }
.login-original .login-freiraum { display:flex; flex-direction:column; gap:18px; margin-top: 8px; }
.login-original .formular-label { display:flex; flex-direction:column; gap:8px; text-align:left; }
.login-original .formular-label span { color: rgba(241,244,255,0.82); font-size:15px; }
.login-original .passwort-zeile { display:flex; align-items:center; gap:10px; }
.login-original .passwort-zeile input { flex:1; }
.login-original .placeholder-aktionen--links { justify-content:flex-start; margin-top: 4px; }
.login-original input[type="text"], .login-original input[type="password"] { width:100%; padding: 15px 18px; border-radius: 18px; border: 1px solid rgba(142, 156, 255, 0.12); color:#f1f4ff; outline:none; }
.login-original input::placeholder { color: rgba(241,244,255,0.36); }


/* floatTitle replaced by gradientShift */
.hero-title {
    animation: schweben 7s ease-in-out infinite;
}

.admin-seite--voll {
    max-width: none;
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
}

.admin-oberflaeche--transparent {
    width: 100%;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 24px;
    background: rgba(7, 10, 30, 0.32);
    box-shadow: 0 20px 60px rgba(0,0,0,0.22);
    backdrop-filter: blur(10px);
    padding: 22px;
}

.admin-werkzeugleiste {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.admin-suche {
    flex: 1 1 360px;
}

.admin-suche input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(8, 10, 28, 0.54);
    color: #fff;
}

.admin-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.admin-btn-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.12);
    color: #fff;
    text-decoration: none;
    background: rgba(255,255,255,0.05);
}

.admin-btn-small:hover {
    background: rgba(124,140,255,0.14);
    border-color: rgba(124,140,255,0.28);
}

.admin-tabelle-wrap {
    width: 100%;
    overflow: auto;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.08);
    background: transparent;
}

.admin-table,
.admin-tabelle {
    width: 100%;
    min-width: 1200px;
    border-collapse: collapse;
    background: transparent;
}

.admin-table thead th,
.admin-tabelle thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    padding: 10px 12px;
    text-align: left;
    font-size: 13px;
    letter-spacing: 0.02em;
    background: rgba(10,14,36,0.6);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.12);
    white-space: nowrap;
}

.admin-table td,
.admin-tabelle td {
    padding: 8px 12px;
    border-bottom: 1px solid rgba(255,255,255,0.10);
    vertical-align: top;
    font-size: 14px;
}

.admin-table tbody tr:hover,
.admin-tabelle tbody tr:hover {
    background: rgba(124,140,255,0.08);
}

.admin-mini {
    display: inline-block;
    margin-top: 6px;
    color: rgba(255,255,255,0.66);
    font-size: 12px;
}

.admin-badge.is-protected {
    background: rgba(255, 193, 7, 0.16);
    border: 1px solid rgba(255, 193, 7, 0.30);
    color: #ffe28a;
}

.admin-ampel {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 0 10px rgba(255,255,255,0.15);
}

.admin-ampel.online {
    background: #38d66b;
    box-shadow: 0 0 12px rgba(56,214,107,0.55);
}

.admin-ampel.offline {
    background: #ff5c6a;
    box-shadow: 0 0 12px rgba(255,92,106,0.45);
}


.seiten-hintergrund {
    isolation: isolate;
}

.starfield-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.haupttitel.schwebend {
    /* On welcome page: override with nebula animation */
    animation: gradientShift 9s ease-in-out infinite, schwebenTitel 8s ease-in-out infinite;
}


.benutzer-untermenue-wrap {
    position: relative;
    z-index: 10;
    max-width: var(--breite-content);
    margin: 8px auto 0;
    padding: 0 20px;
    display: flex;
    justify-content: flex-end;
}

.benutzer-untermenue {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border: 1px solid rgba(134, 150, 255, 0.12);
    border-radius: 18px;
    background: rgba(10, 12, 30, 0.24);
    backdrop-filter: blur(10px);
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
}


/* ── v3v53m zusätzliche Animationen ── */
@keyframes schwebenMini {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-4px); }
}

@keyframes schwebenLangsam {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-10px); }
}

/* ── v3v55m Animations-Keyframes ── */
@keyframes gradientShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes schwebenTitel {
    0%, 100% { transform: translate3d(0, 0,   0); }
    33%       { transform: translate3d(0, -10px, 0); }
    66%       { transform: translate3d(0, -5px,  0); }
}

@keyframes schwebenMini {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-4px); }
}

@keyframes schwebenLangsam {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-10px); }
}

/* ── 3v81m: Admin Panel Fixes ── */
.ausgeblendet {
    display: none !important;
}

/* Admin-Panel Checkbox Fix – sicherstellen dass sie sichtbar sind */
.admin-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 6px 4px;
}
.admin-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--farbe-akzent, #4a63ff);
    cursor: pointer;
    flex-shrink: 0;
}

/* ── v5v06msg: Scrollbalken Farbgebung ───────────────────────────── */

/* Webkit (Chrome, Safari, Edge, Samsung Internet) */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: rgba(8, 10, 28, 0.60);
    border-radius: 999px;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(140, 100, 255, 0.65), rgba(80, 60, 180, 0.55));
    border-radius: 999px;
    border: 2px solid rgba(8, 10, 28, 0.40);
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(160, 120, 255, 0.85), rgba(100, 80, 220, 0.75));
}
::-webkit-scrollbar-corner {
    background: transparent;
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(140, 100, 255, 0.60) rgba(8, 10, 28, 0.50);
}

/* ── 5v23msg: Wortfilter-Warnungen (global) ─────────────────────── */
.wortfilter-warnung {
    background: rgba(248, 113, 113, 0.12);
    border: 1.5px solid #f87171;
    border-radius: 10px;
    padding: 14px 18px;
    color: #fca5a5;
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 14px;
}
.wortfilter-warnung strong {
    color: #f87171;
    display: block;
    margin-bottom: 6px;
    font-size: 1rem;
}
.wortfilter-warnung--gesperrt {
    background: rgba(220, 38, 38, 0.20);
    border-color: #dc2626;
    color: #fca5a5;
}
.wortfilter-feld--fehler {
    border-color: #f87171 !important;
    box-shadow: 0 0 0 2px rgba(248, 113, 113, 0.30) !important;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.wortfilter-wort-markiert {
    background: rgba(248, 113, 113, 0.25);
    border-radius: 3px;
    padding: 1px 4px;
    color: #f87171;
    font-weight: 700;
}

/* 5v37cla: Nachrichten-Badge im Navigationsmenü */
.nav-msg-badge-blink {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    margin-left: 5px;
    vertical-align: middle;
    animation: amMsgBlink 1s ease-in-out infinite;
    box-shadow: 0 0 6px rgba(239,68,68,.55);
}
@keyframes amMsgBlink {
    0%,100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.45; transform: scale(0.82); }
}

/* 5v37cla: Statischer Nachrichten-Badge (für bekannte ungelesene beim Seitenladen) */
.nav-msg-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #6c9dff;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    margin-left: 5px;
    vertical-align: middle;
}

