/* =========================================================
   TeamCrazyOne Netzwerk Community
   Zentrale Stylesheet-Datei
   Hier kannst du Farben, Abstände und Layout zentral ändern.
   ========================================================= */

/* ---------- GRUNDEINSTELLUNGEN ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

html,
body {
    width: 100%;
    min-height: 100%;
}

/* =========================================================
   STARTSEITE / INDEX.PHP
   - Hintergrundbild genau EINMAL auf body.home-page
   - normale Browser-Scrollleiste am rechten Fensterrand
   ========================================================= */

html {
    overflow-y: scroll;
    scrollbar-gutter: stable;
}

body.home-page {
    min-height: 100vh;
    color: #fff;
    overflow-x: hidden;
    overflow-y: visible;
    background-color: #02070d;
    background-image:
        linear-gradient(rgba(0, 5, 12, 0.42), rgba(0, 5, 12, 0.58)),
        url("img/hintergrund.png");
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Header */
.home-page .site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    min-height: 88px;
    width: 100%;
    display: grid;
    grid-template-columns: minmax(260px, 1fr) auto minmax(260px, 1fr);
    align-items: center;
    gap: 28px;
    padding: 12px clamp(22px, 4vw, 64px);
    background: rgba(0, 4, 8, 0.94);
    border-bottom: 1px solid rgba(0, 174, 255, 0.9);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.home-page .brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    width: max-content;
    color: #fff;
    text-decoration: none;
}

.home-page .brand img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid rgba(95, 199, 255, 0.6);
    box-shadow: 0 0 18px rgba(0, 153, 255, 0.14);
}

.home-page .brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.home-page .brand-copy strong {
    font-size: 22px;
    letter-spacing: -0.3px;
}

.home-page .brand-copy small {
    margin-top: 5px;
    color: rgba(255,255,255,.70);
    font-size: 12px;
}

/* Navigation */
.home-page .main-nav {
    justify-self: center;
}

.home-page .main-nav ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(22px, 3vw, 48px);
    list-style: none;
}

.home-page .main-nav a {
    position: relative;
    display: block;
    padding: 31px 2px 28px;
    color: rgba(255,255,255,.88);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: color .2s ease;
}

.home-page .main-nav a:hover,
.home-page .main-nav a.active {
    color: #00aaff;
}

.home-page .main-nav a.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 17px;
    height: 3px;
    border-radius: 999px;
    background: #009dff;
    box-shadow: 0 0 11px rgba(0, 157, 255, .48);
}

/* Rechte Header-Seite */
.home-page .header-actions {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 14px;
}

.home-page .system-status,
.home-page .portal-button {
    height: 43px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 16px;
    border-radius: 8px;
    background: rgba(4, 8, 12, .76);
    font-size: 14px;
    text-decoration: none;
    white-space: nowrap;
}

.home-page .system-status {
    color: #fff;
    border: 1px solid rgba(255,255,255,.25);
}

.home-page .system-status i {
    width: 10px;
    height: 10px;
    display: block;
    border-radius: 50%;
    background: #28c840;
    box-shadow: 0 0 12px rgba(40, 200, 64, .75);
}

.home-page .portal-button {
    color: #00aaff;
    border: 1px solid #009dff;
    font-weight: 700;
    transition: .2s ease;
}

.home-page .portal-button:hover {
    color: #fff;
    background: rgba(0, 157, 255, .18);
    box-shadow: 0 0 20px rgba(0, 157, 255, .18);
}

/* Hauptinhalt – KEIN innerer Scrollcontainer */
.home-page .home-main {
    position: relative;
    width: 100%;
    min-height: calc(100vh - 88px);
    padding: 0 clamp(22px, 6.5vw, 100px) 28px;
    background: transparent;
    overflow: visible;
}

.home-page .hero {
    min-height: 540px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 76px 20px 48px;
}

.home-page .hero-inner {
    width: min(850px, 100%);
    padding: 34px 34px 40px;
    border-radius: 24px;
    background: radial-gradient(circle at center, rgba(0,0,0,.58) 0%, rgba(0,0,0,.36) 48%, rgba(0,0,0,0) 78%);
}

.home-page .hero-kicker {
    margin-bottom: 4px;
    color: #fff;
    font-size: clamp(30px, 3.6vw, 52px);
    line-height: 1.05;
    font-weight: 800;
    text-shadow: 0 3px 18px rgba(0,0,0,.65);
}

.home-page .hero h1 {
    color: #009dff;
    font-size: clamp(48px, 6.2vw, 76px);
    line-height: 1;
    letter-spacing: -2px;
    text-shadow: 0 5px 28px rgba(0, 130, 255, .25), 0 4px 10px rgba(0,0,0,.7);
}

.home-page .hero-line {
    display: block;
    width: 84px;
    height: 3px;
    margin: 28px auto 25px;
    border-radius: 99px;
    background: #00aaff;
    box-shadow: 0 0 15px rgba(0, 170, 255, .4);
}

.home-page .hero h2 {
    margin: 0 0 9px;
    color: #fff;
    font-size: clamp(20px, 2vw, 27px);
    line-height: 1.3;
    font-weight: 500;
}

.home-page .hero-text {
    max-width: 720px;
    margin: 0 auto;
    color: rgba(255,255,255,.78);
    font-size: clamp(15px, 1.25vw, 18px);
    line-height: 1.55;
}

.home-page .hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 31px;
}

.home-page .button {
    min-width: 180px;
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 12px 22px;
    border-radius: 8px;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.home-page .button:hover {
    transform: translateY(-2px);
}

.home-page .button-primary {
    background: linear-gradient(135deg, #0088f0, #00aaff);
    border: 1px solid #17b1ff;
    box-shadow: 0 10px 24px rgba(0, 130, 255, .20);
}

.home-page .button-primary:hover {
    box-shadow: 0 12px 30px rgba(0, 157, 255, .34);
}

.home-page .button-secondary {
    background: rgba(0,0,0,.58);
    border: 1px solid rgba(255,255,255,.32);
}

.home-page .button-secondary:hover {
    background: rgba(0, 157, 255, .12);
    border-color: rgba(0, 170, 255, .65);
}

/* Karten */
.home-page .feature-grid {
    width: min(1320px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    padding: 0 0 30px;
}

.home-page .feature-card {
    min-height: 260px;
    display: flex;
    flex-direction: column;
    padding: 28px 25px 24px;
    border: 1px solid rgba(255,255,255,.27);
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(3, 10, 18, .86), rgba(1, 5, 10, .92));
    box-shadow: 0 18px 45px rgba(0,0,0,.22);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.home-page .feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 170, 255, .75);
    box-shadow: 0 18px 48px rgba(0, 130, 255, .14);
}

.home-page .feature-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 19px;
    color: #00aaff;
    filter: drop-shadow(0 0 8px rgba(0, 157, 255, .55));
}

.home-page .feature-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-page .feature-card h3 {
    margin-bottom: 9px;
    color: #fff;
    font-size: 22px;
}

.home-page .feature-card p {
    margin-bottom: 20px;
    color: rgba(255,255,255,.72);
    line-height: 1.55;
    font-size: 16px;
}

.home-page .feature-card a {
    margin-top: auto;
    color: #00aaff;
    font-weight: 700;
    text-decoration: none;
}

.home-page .feature-card a span {
    margin-left: 10px;
}

/* Footer – nicht fixed, damit nur der Browser selbst scrollt */
.home-page .footer {
    position: relative;
    width: 100%;
    min-height: 76px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 16px clamp(22px, 4vw, 64px);
    color: rgba(255,255,255,.72);
    background: rgba(0, 4, 8, .96);
    border-top: 1px solid #009dff;
}

.home-page .footer-left {
    justify-self: start;
    font-size: 14px;
}

.home-page .footer-center {
    justify-self: center;
    display: flex;
    align-items: center;
    gap: 18px;
}

.home-page .footer-center a {
    color: #00aaff;
    text-decoration: none;
}

.home-page .footer-center a:hover {
    color: #fff;
}

.home-page .footer-center span {
    color: rgba(255,255,255,.40);
}

.home-page .footer-right {
    justify-self: end;
}

@media (max-width: 1180px) {
    .home-page .site-header {
        grid-template-columns: auto 1fr auto;
        gap: 18px;
        padding-left: 22px;
        padding-right: 22px;
    }

    .home-page .brand-copy small,
    .home-page .system-status {
        display: none;
    }

    .home-page .main-nav ul {
        gap: 20px;
    }

    .home-page .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .home-page .site-header {
        position: relative;
        grid-template-columns: 1fr auto;
        min-height: auto;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .home-page .brand img {
        width: 50px;
        height: 50px;
    }

    .home-page .brand-copy strong {
        font-size: 18px;
    }

    .home-page .main-nav {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-self: stretch;
        overflow-x: auto;
        padding-bottom: 3px;
    }

    .home-page .main-nav ul {
        justify-content: flex-start;
        gap: 24px;
        min-width: max-content;
    }

    .home-page .main-nav a {
        padding: 9px 0 12px;
        font-size: 14px;
    }

    .home-page .main-nav a.active::after {
        bottom: 3px;
    }

    .home-page .hero {
        min-height: 500px;
        padding-top: 48px;
    }

    .home-page .hero-inner {
        padding-left: 12px;
        padding-right: 12px;
    }

    .home-page .feature-grid {
        grid-template-columns: 1fr;
    }

    .home-page .feature-card {
        min-height: 220px;
    }

    .home-page .footer {
        grid-template-columns: 1fr;
        gap: 10px;
        text-align: center;
    }

    .home-page .footer-left,
    .home-page .footer-center {
        justify-self: center;
    }

    .home-page .footer-right {
        display: none;
    }
}

@media (max-width: 520px) {
    .home-page .brand-copy {
        display: none;
    }

    .home-page .header-actions {
        gap: 8px;
    }

    .home-page .portal-button {
        height: 39px;
        padding: 0 12px;
    }

    .home-page .home-main {
        padding-left: 14px;
        padding-right: 14px;
    }

    .home-page .hero {
        padding-left: 0;
        padding-right: 0;
    }

    .home-page .hero h1 {
        letter-spacing: -1px;
    }

    .home-page .button {
        width: 100%;
    }
}

/* =========================================================
   DASHBOARD.HTML
   ========================================================= */

.dashboard-page {
    background: #101010;
    color: #fff;
}

/* Sidebar */
.dashboard-page .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 240px;
    height: 100vh;
    background: #050505;
    border-right: 2px solid #00d4ff;
    padding: 25px 15px;
}

.dashboard-page .sidebar h2 {
    color: #00d4ff;
    margin-bottom: 30px;
    text-align: center;
}

.dashboard-page .sidebar a {
    display: block;
    padding: 14px 15px;
    margin-bottom: 8px;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    transition: 0.3s;
}

.dashboard-page .sidebar a:hover {
    background: #00d4ff;
    color: #000;
}

/* Dashboard Hauptbereich */
.dashboard-page .dashboard {
    margin-left: 240px;
    min-height: 100vh;
    padding: 30px;
    background:
        linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        url("img/neonbase.png");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.dashboard-page .dashboard h1 {
    margin-bottom: 30px;
}

/* Dashboard Karten */
.dashboard-page .cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.dashboard-page .card {
    background: rgba(20, 20, 20, 0.92);
    border: 1px solid #00d4ff;
    border-radius: 12px;
    padding: 25px;
}

.dashboard-page .card h3 {
    color: #00d4ff;
    margin-bottom: 10px;
}

.dashboard-page .card p {
    color: #ccc;
}

/* Zur Webseite / Abmelden */
.dashboard-page .logout {
    position: absolute;
    bottom: 25px;
    left: 15px;
    right: 15px;
    background: #c62828;
    text-align: center;
}

.dashboard-page .logout:hover {
    background: #35b3e5 !important;
    color: rgb(12, 0, 0) !important;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {
    .dashboard-page .sidebar {
        width: 200px;
    }

    .dashboard-page .dashboard {
        margin-left: 200px;
    }
}


/* =========================================================
   LOGIN
   ========================================================= */

.login-page {
    min-height: 100vh;
    background:
        linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)),
        url("img/hintergrund.png") center center / cover no-repeat fixed;
    color: #fff;
}

.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
}

.login-card {
    width: 100%;
    max-width: 430px;
    background: rgba(10, 10, 10, 0.94);
    border: 1px solid #00d4ff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.18);
}

.login-logo {
    text-align: center;
    margin-bottom: 28px;
}

.login-logo img {
    width: 100%;
    height: 50px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 12px;
}

.login-logo h1 {
    color: #00d4ff;
    margin-bottom: 6px;
}

.login-logo p {
    color: #aaa;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.login-form label {
    margin-top: 8px;
    color: #ddd;
}

.login-form input {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #444;
    border-radius: 8px;
    background: #181818;
    color: #fff;
    outline: none;
}

.login-form input:focus {
    border-color: #00d4ff;
}

.login-form button {
    margin-top: 14px;
    border: 0;
    border-radius: 8px;
    padding: 13px;
    background: #00d4ff;
    color: #000;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
}

.login-form button:hover {
    background: #00a8cc;
}

.login-error,
.login-success {
    padding: 12px 14px;
    border-radius: 8px;
    margin-bottom: 18px;
}

.login-error {
    background: rgba(198, 40, 40, 0.25);
    border: 1px solid #c62828;
}

.login-success {
    background: rgba(25, 200, 25, 0.18);
    border: 1px solid #19c819;
}

.login-links {
    text-align: center;
    margin-top: 22px;
}

.login-links a {
    color: #00d4ff;
    text-decoration: none;
}

.dashboard-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.dashboard-topbar h1 {
    margin-bottom: 0 !important;
}

.user-box {
    background: rgba(20,20,20,0.9);
    border: 1px solid #00d4ff;
    border-radius: 8px;
    padding: 10px 14px;
}


/* =========================================================
   CMS / ADMIN
   ========================================================= */
.admin-grid{display:grid;grid-template-columns:minmax(300px,1fr) minmax(400px,1.4fr);gap:22px;align-items:start}
.admin-panel{background:rgba(15,15,15,.94);border:1px solid #00d4ff;border-radius:12px;padding:22px;margin-bottom:22px}
.admin-panel h2{color:#00d4ff;margin-bottom:18px}
.admin-form{display:flex;flex-direction:column;gap:10px}
.admin-form input,.admin-form textarea,.admin-form select,.member-head select{background:#181818;border:1px solid #444;color:#fff;border-radius:7px;padding:11px}
.admin-form textarea{resize:vertical}
.admin-form button,.admin-panel button{background:#00d4ff;color:#000;border:0;border-radius:7px;padding:10px 15px;font-weight:bold;cursor:pointer}
.admin-success{background:rgba(25,200,25,.16);border:1px solid #19c819;border-radius:8px;padding:12px;margin-bottom:18px}
.admin-table{width:100%;border-collapse:collapse}
.admin-table th,.admin-table td{text-align:left;padding:10px;border-bottom:1px solid #333;vertical-align:middle}
.admin-table a{color:#00d4ff}
.inline-form{display:inline}
button.danger,.danger{background:#c62828!important;color:#fff!important;margin-left:8px}
.check{display:flex;align-items:center;gap:8px}
.check input{width:auto}
.media-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.media-card{background:#151515;border:1px solid #333;border-radius:10px;padding:12px}
.media-card img{width:100%;height:150px;object-fit:contain;border-radius:7px;background:#09131c}
.media-card p{margin-top:8px;word-break:break-word}
.media-card small{display:block;color:#999;word-break:break-all;margin:5px 0 10px}
.row-form{display:grid;grid-template-columns:1fr 1fr 1fr auto auto;align-items:end}
.member-panel{position:relative}
.member-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:16px}
.permission-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px;margin:15px 0}
.delete-member{position:absolute;right:20px;bottom:20px}
.public-content{max-width:1200px;margin:0 auto;width:100%}
.public-content h1{font-size:42px;margin:20px 0 10px}
.public-content h2{font-size:22px;color:#00d4ff;margin-bottom:20px}
.page-text{max-width:850px;line-height:1.7;font-size:18px}
.hero-image{width:100%;max-height:360px;object-fit:cover;border-radius:14px;margin-bottom:20px}
.cta-button{display:inline-block;margin-top:22px;background:#00d4ff;color:#000;text-decoration:none;padding:12px 20px;border-radius:8px;font-weight:bold}

@media(max-width:1000px){
 .admin-grid{grid-template-columns:1fr}
 .row-form{grid-template-columns:1fr}
 .dashboard-page .sidebar{position:relative;width:100%;height:auto}
 .dashboard-page .dashboard{margin-left:0}
}


/* Registrierung */
.register-link {
    color: #fff;
    text-decoration: none;
    padding: 10px 14px;
    border: 1px solid #00d4ff;
    border-radius: 8px;
    transition: 0.3s;
}

.register-link:hover {
    background: #00d4ff;
    color: #000;
}

/* =========================================================
   TEAMCRAZYONE CONTROL CENTER – PROFESSIONAL ADMIN UI
   ========================================================= */
.dashboard-page {
    min-height: 100vh;
    background: #071019;
    color: #eef6ff;
}

.dashboard-page .sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: 274px;
    height: 100vh;
    padding: 22px 18px;
    display: flex;
    flex-direction: column;
    background:
        linear-gradient(180deg, rgba(7,17,28,.98), rgba(3,9,15,.99)),
        url("img/hintergrund.png") center / cover no-repeat;
    border-right: 1px solid rgba(0, 174, 255, .24);
    box-shadow: 22px 0 50px rgba(0,0,0,.22);
    overflow-y: auto;
    z-index: 1200;
}

.dashboard-page .admin-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 4px 8px 22px;
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.dashboard-page .admin-brand img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 10px;
    border: 1px solid rgba(0,174,255,.45);
    box-shadow: 0 0 20px rgba(0,157,255,.12);
}

.dashboard-page .admin-brand span,
.dashboard-page .sidebar-user > span:last-child {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.dashboard-page .admin-brand strong { font-size: 18px; line-height: 1.2; }
.dashboard-page .admin-brand small,
.dashboard-page .sidebar-user small { margin-top: 3px; color: #7890a6; font-size: 11px; }
.dashboard-page .admin-nav-label { padding: 24px 12px 10px; color: #526b81; font-size: 10px; font-weight: 800; letter-spacing: 1.6px; }
.dashboard-page .admin-nav { display: grid; gap: 6px; }
.dashboard-page .sidebar a { margin: 0; }

.dashboard-page .admin-nav-link {
    display: flex !important;
    align-items: center;
    gap: 12px;
    min-height: 46px;
    padding: 0 13px !important;
    color: #9eb1c3 !important;
    border: 1px solid transparent;
    border-radius: 11px !important;
    font-weight: 600;
    transition: .18s ease !important;
}

.dashboard-page .admin-nav-link:hover {
    color: #fff !important;
    background: rgba(0,157,255,.09) !important;
    border-color: rgba(0,157,255,.14);
}

.dashboard-page .admin-nav-link.active {
    color: #fff !important;
    background: linear-gradient(90deg, rgba(0,157,255,.22), rgba(0,157,255,.08)) !important;
    border-color: rgba(0,157,255,.32);
    box-shadow: inset 3px 0 0 #00aaff, 0 8px 24px rgba(0,0,0,.12);
}

.dashboard-page .admin-nav-icon {
    width: 26px;
    height: 26px;
    display: inline-grid;
    place-items: center;
    color: #00aaff;
    font-size: 17px;
}

.dashboard-page .sidebar-footer {
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.08);
}
.dashboard-page .sidebar-user { display: flex; align-items: center; gap: 10px; padding: 8px 8px 13px; }
.dashboard-page .sidebar-user strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.dashboard-page .sidebar-avatar {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    display: grid !important;
    place-items: center;
    border-radius: 50%;
    color: #00111d;
    background: #00aaff;
    font-weight: 900;
}
.dashboard-page .sidebar-logout {
    display: block !important;
    padding: 10px 12px !important;
    text-align: center;
    color: #ff9393 !important;
    background: rgba(197,57,57,.08);
    border: 1px solid rgba(255,92,92,.16);
    border-radius: 9px !important;
    text-decoration: none;
}
.dashboard-page .sidebar-logout:hover { color: #fff !important; background: rgba(197,57,57,.20) !important; }

.dashboard-page .dashboard {
    margin-left: 274px;
    min-height: 100vh;
    padding: 30px clamp(24px, 3.2vw, 52px) 54px;
    background:
        radial-gradient(circle at 90% 0%, rgba(0,145,255,.10), transparent 30%),
        linear-gradient(rgba(5,13,22,.94), rgba(5,13,22,.97)),
        url("img/hintergrund.png") center / cover fixed no-repeat;
}

.dashboard-page .admin-page-header {
    min-height: 66px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
}
.dashboard-page .admin-page-header h1 { margin: 0 !important; color: #fff; font-size: clamp(27px, 3vw, 36px); letter-spacing: -.6px; }
.dashboard-page .admin-page-header p { margin-top: 5px; color: #7790a6; font-size: 14px; }
.dashboard-page .admin-header-site {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    color: #c5d7e7;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 9px;
    text-decoration: none;
    font-size: 13px;
}
.dashboard-page .admin-header-site:hover { color: #fff; border-color: rgba(0,170,255,.42); }

.dashboard-page .dashboard-welcome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 28px 30px;
    margin-bottom: 22px;
    background: linear-gradient(115deg, rgba(0,157,255,.16), rgba(14,27,40,.84) 55%, rgba(14,27,40,.72));
    border: 1px solid rgba(0,170,255,.22);
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(0,0,0,.16);
}
.dashboard-page .dashboard-eyebrow,
.dashboard-page .panel-kicker { display: block; margin-bottom: 7px; color: #00aaff; font-size: 10px; font-weight: 900; letter-spacing: 1.7px; }
.dashboard-page .dashboard-welcome h2 { margin: 0 0 8px; color: #fff; font-size: 26px; }
.dashboard-page .dashboard-welcome p { max-width: 720px; margin: 0; color: #9bb0c3; line-height: 1.6; }
.dashboard-page .dashboard-system-pill {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 14px;
    color: #c7d7e4;
    background: rgba(0,0,0,.22);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 99px;
    font-size: 12px;
    font-weight: 700;
}
.dashboard-page .dashboard-system-pill span { width: 9px; height: 9px; border-radius: 50%; }
.dashboard-page .dashboard-system-pill.is-online span { background: #35d164; box-shadow: 0 0 11px rgba(53,209,100,.7); }
.dashboard-page .dashboard-system-pill.is-offline span { background: #ffb020; box-shadow: 0 0 11px rgba(255,176,32,.6); }

.dashboard-page .stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 22px;
}
.dashboard-page .stat-card {
    min-height: 132px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    color: inherit;
    background: rgba(12,25,38,.88);
    border: 1px solid rgba(126,159,187,.15);
    border-radius: 15px;
    text-decoration: none;
    box-shadow: 0 14px 34px rgba(0,0,0,.12);
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.dashboard-page .stat-card:hover { transform: translateY(-2px); border-color: rgba(0,170,255,.36); background: rgba(14,30,45,.94); }
.dashboard-page .stat-icon {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    color: #00aaff;
    background: rgba(0,157,255,.10);
    border: 1px solid rgba(0,157,255,.18);
    border-radius: 12px;
    font-size: 22px;
}
.dashboard-page .stat-copy { display: flex; flex-direction: column; min-width: 0; }
.dashboard-page .stat-copy > span { color: #8ea3b7; font-size: 12px; font-weight: 700; }
.dashboard-page .stat-copy strong { margin: 2px 0; color: #fff; font-size: 29px; line-height: 1.15; }
.dashboard-page .stat-copy small { color: #60778c; font-size: 11px; }

.dashboard-page .dashboard-layout { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(280px,.8fr); gap: 18px; }
.dashboard-page .dashboard-layout-wide { grid-template-columns: minmax(0,1.45fr) minmax(320px,.75fr); }
.dashboard-page .admin-panel {
    padding: 22px;
    margin-bottom: 18px;
    background: rgba(10,22,34,.90);
    border: 1px solid rgba(123,157,184,.16);
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,.13);
}
.dashboard-page .admin-panel h2 { color: #fff; font-size: 19px; margin-bottom: 16px; }
.dashboard-page .dashboard-panel { min-width: 0; }
.dashboard-page .panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; margin-bottom: 18px; }
.dashboard-page .panel-heading h2 { margin: 0; }
.dashboard-page .panel-heading > a { color: #00aaff; text-decoration: none; font-size: 12px; font-weight: 700; }

.dashboard-page .quick-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.dashboard-page .quick-actions a {
    min-height: 88px;
    display: grid;
    grid-template-columns: 36px 1fr;
    grid-template-rows: auto auto;
    column-gap: 10px;
    align-content: center;
    padding: 13px;
    color: #fff;
    background: rgba(255,255,255,.025);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 11px;
    text-decoration: none;
}
.dashboard-page .quick-actions a:hover { border-color: rgba(0,170,255,.28); background: rgba(0,157,255,.06); }
.dashboard-page .quick-actions a > span { grid-row: 1 / 3; width: 34px; height: 34px; display: grid; place-items: center; color: #00aaff; background: rgba(0,157,255,.09); border-radius: 9px; font-size: 18px; }
.dashboard-page .quick-actions strong { font-size: 13px; }
.dashboard-page .quick-actions small { margin-top: 3px; color: #6d8498; font-size: 11px; }

.dashboard-page .system-list { display: grid; }
.dashboard-page .system-list > div { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.06); color: #849bb0; font-size: 12px; }
.dashboard-page .system-list > div:last-child { border: 0; }
.dashboard-page .system-list strong { color: #d8e5ef; font-weight: 700; }
.dashboard-page .status-ok { color: #54d67d !important; }
.dashboard-page .status-warn { color: #ffbd4a !important; }

.dashboard-page .dashboard-table-wrap { overflow-x: auto; }
.dashboard-page .dashboard-table { min-width: 620px; }
.dashboard-page .admin-table th { color: #5f788e; font-size: 10px; text-transform: uppercase; letter-spacing: .8px; font-weight: 800; }
.dashboard-page .admin-table th,
.dashboard-page .admin-table td { padding: 12px 10px; border-bottom: 1px solid rgba(255,255,255,.06); }
.dashboard-page .admin-table td { color: #aebfcd; font-size: 12px; }
.dashboard-page .admin-table td strong { display: block; color: #eef6ff; font-size: 13px; }
.dashboard-page .admin-table td small { display: block; margin-top: 3px; color: #546c81; }
.dashboard-page .table-action { color: #00aaff; text-decoration: none; font-weight: 700; }
.dashboard-page .content-status,
.dashboard-page .home-badge { display: inline-flex; padding: 4px 7px; margin-right: 5px; border-radius: 99px; font-size: 10px; font-weight: 800; }
.dashboard-page .content-status.published { color: #65df8a; background: rgba(48,190,92,.10); }
.dashboard-page .content-status.draft { color: #e6ad4e; background: rgba(230,173,78,.10); }
.dashboard-page .home-badge { color: #61bcff; background: rgba(0,157,255,.10); }
.dashboard-page .empty-state { padding: 28px !important; text-align: center !important; color: #61778a !important; }
.dashboard-page .empty-card { padding: 35px 15px; color: #657b8e; text-align: center; border: 1px dashed rgba(255,255,255,.08); border-radius: 10px; }

.dashboard-page .dashboard-media-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.dashboard-page .dashboard-media-grid a { position: relative; min-width: 0; color: #fff; text-decoration: none; overflow: hidden; border-radius: 10px; border: 1px solid rgba(255,255,255,.07); background: #07111a; }
.dashboard-page .dashboard-media-grid img { width: 100%; aspect-ratio: 16/10; display: block; object-fit: cover; }
.dashboard-page .dashboard-media-grid span { display: block; padding: 8px 9px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #8fa5b8; font-size: 10px; }

.dashboard-page .admin-form { gap: 11px; }
.dashboard-page .admin-form label { color: #91a7ba; font-size: 12px; font-weight: 700; }
.dashboard-page .admin-form input,
.dashboard-page .admin-form textarea,
.dashboard-page .admin-form select,
.dashboard-page .member-head select {
    min-height: 42px;
    background: rgba(4,12,19,.82);
    border: 1px solid rgba(126,157,181,.22);
    border-radius: 9px;
    color: #f2f7fb;
    outline: none;
}
.dashboard-page .admin-form input:focus,
.dashboard-page .admin-form textarea:focus,
.dashboard-page .admin-form select:focus,
.dashboard-page .member-head select:focus { border-color: rgba(0,170,255,.7); box-shadow: 0 0 0 3px rgba(0,157,255,.08); }
.dashboard-page .admin-form button,
.dashboard-page .admin-panel button { min-height: 40px; border-radius: 9px; background: #00aaff; }
.dashboard-page .admin-form button:hover,
.dashboard-page .admin-panel button:hover { filter: brightness(1.08); }
.dashboard-page .admin-success,
.dashboard-page .login-error,
.dashboard-page .admin-alert { padding: 13px 15px; margin-bottom: 18px; border-radius: 10px; font-size: 13px; }
.dashboard-page .admin-alert-error { color: #ffd3d3; background: rgba(198,40,40,.12); border: 1px solid rgba(255,92,92,.24); }
.dashboard-page .media-card { background: rgba(7,17,27,.92); border-color: rgba(126,157,181,.16); border-radius: 12px; }
.dashboard-page .media-card img { height: 180px; }
.dashboard-page .media-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
.dashboard-page .media-card { min-width:0; }
.dashboard-page .media-card img { width:100%; height:150px; object-fit:contain; }
@media(max-width:1150px){.dashboard-page .media-grid{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:780px){.dashboard-page .media-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:460px){.dashboard-page .media-grid{grid-template-columns:1fr;}}
.dashboard-page .member-panel { padding-bottom: 72px; }

/* Public sub pages use the same professional header and one single background. */
.home-page.public-page .public-content {
    position: relative;
    max-width: 1180px;
    min-height: calc(100vh - 180px);
    margin: 0 auto;
    padding: clamp(54px,7vw,90px) clamp(22px,5vw,72px) 70px;
    background: rgba(2,9,15,.72);
    border-left: 1px solid rgba(0,170,255,.08);
    border-right: 1px solid rgba(0,170,255,.08);
    backdrop-filter: blur(5px);
}
.home-page.public-page .public-content h1 { margin-top: 0; color: #fff; font-size: clamp(34px,5vw,56px); }
.home-page.public-page .public-content h2 { color: #00aaff; }
.home-page.public-page .page-text { color: #cad6df; }

@media (max-width: 1180px) {
    .dashboard-page .stat-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .dashboard-page .dashboard-layout,
    .dashboard-page .dashboard-layout-wide { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
    .dashboard-page .sidebar { position: relative; width: 100%; height: auto; max-height: none; padding: 14px; }
    .dashboard-page .admin-brand { padding-bottom: 14px; }
    .dashboard-page .admin-nav-label { display: none; }
    .dashboard-page .admin-nav { grid-template-columns: repeat(3,minmax(0,1fr)); margin-top: 12px; }
    .dashboard-page .admin-nav-link { justify-content: center; }
    .dashboard-page .sidebar-footer { display: none; }
    .dashboard-page .dashboard { margin-left: 0; padding: 24px 18px 42px; }
    .dashboard-page .admin-page-header { align-items: flex-start; }
}

@media (max-width: 640px) {
    .dashboard-page .admin-nav { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .dashboard-page .admin-page-header { flex-direction: column; }
    .dashboard-page .dashboard-welcome { flex-direction: column; align-items: flex-start; padding: 22px; }
    .dashboard-page .stat-grid { grid-template-columns: 1fr; }
    .dashboard-page .stat-card { min-height: 110px; }
    .dashboard-page .quick-actions { grid-template-columns: 1fr; }
    .dashboard-page .dashboard-media-grid { grid-template-columns: 1fr; }
    .dashboard-page .row-form { grid-template-columns: 1fr; }
    .dashboard-page .member-head { align-items: flex-start; flex-direction: column; }
    .dashboard-page .delete-member { position: static; margin-top: 14px; }
    .dashboard-page .member-panel { padding-bottom: 22px; }
}

/* =========================================================
   HEADER MANAGER / dynamische Header-Einstellungen
   ========================================================= */
.home-page .site-header {
    min-height: var(--tc1-header-height, 88px);
    background: var(--tc1-header-bg, rgba(0,4,8,.94));
    border-bottom-color: var(--tc1-accent, #00aaff);
}
.home-page .site-header:not(.is-sticky) { position: relative; }
.home-page .site-header.is-sticky { position: sticky; top: 0; }
.home-page .main-nav a:hover,
.home-page .main-nav a.active,
.home-page .portal-button { color: var(--tc1-accent, #00aaff); }
.home-page .main-nav a.active::after { background: var(--tc1-accent, #00aaff); }
.home-page .portal-button { border-color: var(--tc1-accent, #00aaff); }

.dashboard-page .header-settings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 18px;
}
.dashboard-page .header-settings-grid .admin-panel { margin-bottom: 0; }
.dashboard-page .header-preview-panel { overflow: hidden; }
.dashboard-page .header-preview-frame {
    overflow-x: auto;
    padding: 16px;
    border-radius: 13px;
    background: #03080d;
    border: 1px solid rgba(255,255,255,.07);
}
.dashboard-page .header-preview-bar {
    --preview-accent: #00aaff;
    min-width: 850px;
    min-height: 70px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
    padding: 8px 22px;
    border-bottom: 1px solid var(--preview-accent);
    border-radius: 9px;
    transition: .2s ease;
}
.dashboard-page .header-preview-brand { display:flex; align-items:center; gap:10px; min-width:0; }
.dashboard-page .header-preview-brand img { width:48px; height:48px; object-fit:contain; border-radius:8px; border:1px solid rgba(255,255,255,.13); }
.dashboard-page .header-preview-brand span { display:flex; flex-direction:column; min-width:0; }
.dashboard-page .header-preview-brand strong { color:#fff; font-size:15px; }
.dashboard-page .header-preview-brand small { color:#7d93a7; font-size:9px; margin-top:3px; }
.dashboard-page .header-preview-nav { display:flex; gap:22px; color:#d4e0ea; font-size:11px; font-weight:700; }
.dashboard-page .header-preview-nav span:first-child { color:var(--preview-accent); }
.dashboard-page .header-preview-actions { justify-self:end; display:flex; align-items:center; gap:8px; }
.dashboard-page .header-preview-status,
.dashboard-page .header-preview-button { min-height:32px; display:inline-flex; align-items:center; gap:7px; padding:0 10px; border-radius:7px; font-size:10px; font-weight:700; white-space:nowrap; }
.dashboard-page .header-preview-status { color:#fff; border:1px solid rgba(255,255,255,.18); }
.dashboard-page .header-preview-status i { width:7px; height:7px; border-radius:50%; background:#35d164; box-shadow:0 0 8px rgba(53,209,100,.7); }
.dashboard-page .header-preview-button { color:var(--preview-accent); border:1px solid var(--preview-accent); }
.dashboard-page .header-logo-current { display:flex; align-items:center; gap:12px; padding:10px; border:1px solid rgba(255,255,255,.07); border-radius:9px; background:rgba(255,255,255,.02); }
.dashboard-page .header-logo-current img { width:58px; height:58px; object-fit:contain; border-radius:8px; background:#071019; }
.dashboard-page .header-logo-current span { color:#7f96aa; font-size:11px; }
.dashboard-page .form-hint { color:#61798d; font-size:10px; line-height:1.5; }
.dashboard-page .color-fields { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.dashboard-page .color-fields label { display:flex; flex-direction:column; gap:7px; }
.dashboard-page .color-fields input[type=color] { width:100%; height:46px; padding:4px; cursor:pointer; }
.dashboard-page .header-savebar { position:sticky; bottom:16px; z-index:20; display:flex; align-items:center; gap:12px; margin:18px 0; padding:12px; border:1px solid rgba(0,170,255,.18); border-radius:12px; background:rgba(5,15,24,.96); box-shadow:0 16px 40px rgba(0,0,0,.26); backdrop-filter:blur(12px); }
.dashboard-page .header-savebar button { min-height:42px; padding:0 20px; border:0; border-radius:9px; color:#fff; background:#00aaff; font-weight:800; cursor:pointer; }
.dashboard-page .header-savebar a { color:#91a8bb; text-decoration:none; font-size:12px; }
.dashboard-page .header-reset-form { margin-top:4px; }
.dashboard-page .header-reset-form .danger { min-height:38px; padding:0 14px; border:1px solid rgba(255,90,90,.24); border-radius:9px; color:#ff9f9f; background:rgba(190,35,35,.10); cursor:pointer; }
.dashboard-page input[type=range] { accent-color:#00aaff; }

@media (max-width: 900px) {
    .dashboard-page .header-settings-grid { grid-template-columns:1fr; }
}
@media (max-width: 640px) {
    .dashboard-page .color-fields { grid-template-columns:1fr; }
    .dashboard-page .header-savebar { align-items:stretch; flex-direction:column; }
}


/* ===== Öffentliche Seitenbilder ===== */
.home-page .hero { position: relative; overflow: hidden; }
.home-page .hero.has-page-image::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(2,8,14,.88), rgba(2,8,14,.62) 48%, rgba(2,8,14,.78));
    pointer-events: none;
}
.home-page .hero-page-image {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.home-page .hero-page-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}
.home-page .hero.has-page-image .hero-inner { position: relative; z-index: 2; }
.home-page .hero.layout-image_left,
.home-page .hero.layout-image_right {
    width: min(1320px, 100%);
    min-height: 500px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(320px, 1fr);
    gap: clamp(28px, 5vw, 72px);
    text-align: left;
}
.home-page .hero.layout-image_right .hero-side-image { order: 2; }
.home-page .hero.layout-image_right .hero-inner { order: 1; }
.home-page .hero-side-image {
    position: relative;
    z-index: 2;
    overflow: hidden;
    border: 1px solid rgba(0,170,255,.38);
    border-radius: 22px;
    box-shadow: 0 24px 65px rgba(0,0,0,.38), 0 0 30px rgba(0,157,255,.12);
}
.home-page .hero-side-image img { width:100%; height:100%; min-height:360px; display:block; object-fit:cover; }
.home-page .hero.layout-image_left .hero-inner,
.home-page .hero.layout-image_right .hero-inner { width:100%; padding:34px 0 40px; background:none; }
.home-page .hero.layout-image_left .hero-line,
.home-page .hero.layout-image_right .hero-line { margin-left:0; }
.home-page .hero.layout-image_left .hero-text,
.home-page .hero.layout-image_right .hero-text { margin-left:0; }
.home-page .hero.layout-image_left .hero-actions,
.home-page .hero.layout-image_right .hero-actions { justify-content:flex-start; }
@media (max-width: 820px) {
    .home-page .hero.layout-image_left,
    .home-page .hero.layout-image_right { display:flex; flex-direction:column; padding-top:36px; text-align:center; }
    .home-page .hero.layout-image_right .hero-side-image,
    .home-page .hero.layout-image_right .hero-inner { order:initial; }
    .home-page .hero-side-image { width:100%; }
    .home-page .hero-side-image img { min-height:240px; max-height:420px; }
    .home-page .hero.layout-image_left .hero-line,
    .home-page .hero.layout-image_right .hero-line { margin-left:auto; }
    .home-page .hero.layout-image_left .hero-text,
    .home-page .hero.layout-image_right .hero-text { margin-left:auto; }
    .home-page .hero.layout-image_left .hero-actions,
    .home-page .hero.layout-image_right .hero-actions { justify-content:center; }
}
.home-page.public-page .page-hero-image {
    margin: 0 0 28px;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(0,170,255,.2);
    box-shadow: 0 20px 55px rgba(0,0,0,.26);
}
.home-page.public-page .page-hero-image .hero-image {
    width: 100%;
    height: clamp(220px, 38vw, 480px);
    max-height: none;
    margin: 0;
    display: block;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
}
.dashboard-page .admin-image-preview {
    display: grid;
    grid-template-columns: 110px 1fr;
    align-items: center;
    gap: 14px;
    margin: 10px 0 6px;
    padding: 10px;
    border: 1px solid rgba(0,170,255,.18);
    border-radius: 12px;
    background: rgba(0,170,255,.05);
}
.dashboard-page .admin-image-preview img {
    width: 110px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
}
.dashboard-page .admin-image-preview span,
.dashboard-page .field-help { color: #8fa5b8; font-size: 12px; }
.dashboard-page .content-button-fields { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-top:6px; }
.dashboard-page .content-button-fields > div { display:flex; flex-direction:column; gap:10px; padding:14px; border:1px solid rgba(0,170,255,.16); border-radius:10px; background:rgba(0,170,255,.035); }
.dashboard-page .sort-actions { display:flex; gap:5px; }
.dashboard-page .sort-actions form { margin:0; }
.dashboard-page .sort-actions button { min-width:32px; padding:6px 9px; color:#bdeeff; background:rgba(0,170,255,.12); border:1px solid rgba(0,170,255,.2); }
@media (max-width:700px) { .dashboard-page .content-button-fields { grid-template-columns:1fr; } }

/* ===== Editor für Startseiten-Karten ===== */
.dashboard-page .cards-manager { max-width: 1180px; }
.dashboard-page .add-card-button { padding:10px 15px; border:0; border-radius:8px; color:#001019; background:#00d4ff; font-weight:800; cursor:pointer; }
.dashboard-page .cards-help { margin:0 0 18px; color:#8fa5b8; line-height:1.55; }
.dashboard-page .cards-editor-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.dashboard-page .card-editor { padding:18px; border:1px solid rgba(0,170,255,.18); border-radius:13px; background:rgba(0,8,15,.52); }
.dashboard-page .card-editor-head { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:15px; }
.dashboard-page .card-editor-head strong { color:#fff; font-size:16px; }
.dashboard-page .card-editor-head div { display:flex; gap:6px; }
.dashboard-page .card-editor-head button { min-width:34px; min-height:34px; padding:5px 9px; }
.dashboard-page .card-editor-head .card-move { color:#bdeeff; background:rgba(0,170,255,.12); }
.dashboard-page .card-editor-head .card-remove { color:#ffaaaa; background:rgba(200,40,40,.15); }
.dashboard-page .card-editor-fields { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.dashboard-page .card-editor-fields label { display:flex; flex-direction:column; gap:7px; color:#91a7ba; font-size:12px; font-weight:700; }
.dashboard-page .card-editor-fields input,
.dashboard-page .card-editor-fields textarea,
.dashboard-page .card-editor-fields select { width:100%; padding:11px; border:1px solid #314252; border-radius:8px; color:#fff; background:#101820; }
.dashboard-page .card-editor-fields textarea { resize:vertical; }
.dashboard-page .card-editor-fields .card-wide { grid-column:1/-1; }
@media (max-width: 900px) { .dashboard-page .cards-editor-list { grid-template-columns:1fr; } }
@media (max-width: 580px) { .dashboard-page .card-editor-fields { grid-template-columns:1fr; } .dashboard-page .card-editor-fields .card-wide { grid-column:auto; } }

/* ===== Fest verankerter öffentlicher Header und Footer ===== */
.home-page .site-header,
.home-page .site-header.is-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1200;
}
.home-page .header-spacer { width:100%; flex:0 0 auto; }
.home-page .footer,
.home-page .footer.is-fixed {
    display: grid !important;
    visibility: visible !important;
    opacity: 1;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1200;
    min-height: 76px;
    background: color-mix(in srgb, var(--tc1-footer-bg, #000408) 96%, transparent);
    border-top-color: var(--tc1-footer-accent, #00aaff);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
.home-page .footer-center { flex-wrap:wrap; }
.home-page .footer-center a,
.home-page .footer-socials a { color:var(--tc1-footer-accent,#00aaff); }
.home-page .footer-right.footer-socials { display:flex !important; align-items:center; justify-content:flex-end; flex-wrap:wrap; gap:10px; }
.home-page .footer-socials a { width:36px; height:36px; display:inline-flex; align-items:center; justify-content:center; border:1px solid color-mix(in srgb,var(--tc1-footer-accent,#00aaff) 45%,transparent); border-radius:9px; background:rgba(0,0,0,.25); }
.home-page .footer-socials a:hover { color:#fff; background:color-mix(in srgb,var(--tc1-footer-accent,#00aaff) 20%,transparent); }
.home-page .footer-socials svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.home-page .footer-spacer { height:76px; }

/* Footer-Einstellungen im Dashboard */
.dashboard-page .footer-settings-form .header-settings-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
.dashboard-page .footer-icons-panel { grid-column:1/-1; }
.dashboard-page .footer-editor-list { display:flex; flex-direction:column; gap:10px; }
.dashboard-page .footer-activation { display:flex; align-items:center; gap:10px; margin:0 0 12px; padding:12px; border:1px solid rgba(0,212,255,.2); border-radius:9px; color:#d8f7ff; background:rgba(0,212,255,.06); font-weight:800; }
.dashboard-page .footer-activation input { width:18px; height:18px; accent-color:#00d4ff; }
.dashboard-page .footer-main-switch { border-color:rgba(41,210,96,.28); color:#caffdc; background:rgba(41,210,96,.07); font-size:14px; }

/* ===== Impressum und Datenschutz ===== */
.dashboard-page .legal-jump-nav { position:sticky; top:12px; z-index:20; display:flex; flex-wrap:wrap; gap:9px; margin:0 0 18px; padding:10px; border:1px solid rgba(0,170,255,.17); border-radius:11px; background:rgba(5,15,24,.94); backdrop-filter:blur(12px); }
.dashboard-page .legal-jump-nav a { padding:9px 14px; border-radius:8px; color:#c9efff; background:rgba(0,170,255,.1); text-decoration:none; font-weight:800; }
.dashboard-page .legal-jump-nav a:hover { color:#fff; background:rgba(0,170,255,.22); }
.dashboard-page .legal-editor-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; align-items:start; }
.dashboard-page .legal-editor { scroll-margin-top:90px; }
.dashboard-page .legal-editor textarea { min-height:320px; line-height:1.55; }
@media(max-width:1180px){.dashboard-page .legal-editor-grid{grid-template-columns:1fr;}.dashboard-page .legal-editor textarea{min-height:240px;}}
.dashboard-page .footer-editor-row { display:grid; grid-template-columns:minmax(140px,.7fr) minmax(220px,1.3fr) auto; gap:9px; }
.dashboard-page .footer-icon-row { grid-template-columns:150px minmax(130px,.7fr) minmax(220px,1.3fr) auto; }
.dashboard-page .footer-editor-row input,
.dashboard-page .footer-editor-row select { min-width:0; padding:10px; border:1px solid #314252; border-radius:8px; color:#fff; background:#101820; }
.dashboard-page .footer-row-controls { display:flex; gap:4px; }
.dashboard-page .footer-editor-row button { min-width:32px; padding:7px; color:#bdeeff; background:rgba(0,170,255,.12); }
.dashboard-page .footer-editor-row button[data-remove] { color:#ffaaaa; background:rgba(200,40,40,.15); }
@media (max-width:820px) {
    .home-page .header-spacer { height:132px !important; }
    .home-page .footer { grid-template-columns:1fr; gap:5px; min-height:116px; padding-top:9px; padding-bottom:9px; }
    .home-page .footer-socials { justify-content:center; }
    .home-page .footer-spacer { height:116px; }
    .dashboard-page .footer-settings-form .header-settings-grid { grid-template-columns:1fr; }
    .dashboard-page .footer-icons-panel { grid-column:auto; }
    .dashboard-page .footer-icon-row { grid-template-columns:1fr 1fr auto; }
    .dashboard-page .footer-icon-row input[name="icon_url[]"] { grid-column:1/3; }
}
@media (max-width:560px) {
    .home-page .footer-left { font-size:11px; }
    .home-page .footer-center { gap:10px; font-size:12px; }
    .home-page .footer-socials a { width:30px; height:30px; }
    .home-page .footer { min-height:148px; }
    .home-page .footer-spacer { height:148px; }
    .dashboard-page .footer-editor-row,
    .dashboard-page .footer-icon-row { grid-template-columns:1fr auto; }
    .dashboard-page .footer-editor-row input,
    .dashboard-page .footer-icon-row input,
    .dashboard-page .footer-icon-row select,
    .dashboard-page .footer-icon-row input[name="icon_url[]"] { grid-column:1; }
    .dashboard-page .footer-row-controls { grid-column:2; grid-row:1; }
}


/* KI-/Video-Kennzeichnung im Medienbereich */
.media-preview{position:relative;display:block;overflow:hidden}
.media-card video{width:100%;height:150px;object-fit:contain;border-radius:7px;background:#09131c;display:block}
.media-video-preview .video-play-mark{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:46px;height:46px;border-radius:50%;background:rgba(0,0,0,.72);display:grid;place-items:center;color:#fff;font-size:20px;pointer-events:none}
.ai-media-badge{position:absolute;top:9px;left:9px;background:#fff;color:#111;border-radius:999px;padding:5px 9px;font-weight:800;font-size:12px;box-shadow:0 3px 14px rgba(0,0,0,.38)}
.ai-info-panel{border-left:4px solid rgba(255,255,255,.7)}
.ai-info-panel p{margin:7px 0;line-height:1.55}
.ai-info-panel small{display:block;opacity:.78;line-height:1.5}
.ai-upload-options{display:grid;gap:8px;padding:12px;border:1px solid rgba(255,255,255,.10);border-radius:10px;background:rgba(255,255,255,.025)}
.media-type-line{font-size:12px;color:#aebdca;margin:8px 0}
.ai-mark-form{display:grid;gap:8px;margin:10px 0;padding:10px;border:1px solid rgba(255,255,255,.08);border-radius:9px;background:rgba(255,255,255,.02)}
.ai-mark-form input[type=text]{width:100%}

.media-view-page{margin:0;min-height:100vh;background:#07111a;color:#fff;font-family:Arial,sans-serif;padding:30px}
.public-media-viewer{max-width:1100px;margin:0 auto}
.public-video-wrap{position:relative;background:#000;border-radius:16px;overflow:hidden;box-shadow:0 16px 50px rgba(0,0,0,.45)}
.public-video-wrap video{display:block;width:100%;max-height:78vh;background:#000}
.public-ai-label{position:absolute;left:16px;top:16px;z-index:4;background:rgba(0,0,0,.88);color:#fff;border:2px solid #fff;border-radius:999px;padding:9px 14px;font-size:14px;font-weight:800;line-height:1.2;max-width:calc(100% - 32px)}
.public-media-viewer h1{font-size:clamp(22px,4vw,38px);margin:22px 0 8px;word-break:break-word}
.public-ai-explanation{line-height:1.6;color:#cad8e4;margin-top:8px}
@media(max-width:640px){.media-view-page{padding:12px}.public-ai-label{left:8px;top:8px;max-width:calc(100% - 16px);font-size:12px;padding:7px 10px}}

/* ===== Neonbase Video-Verwaltung / Video-Seite ===== */
.video-admin-grid{align-items:start}.video-ai-options{display:grid;gap:10px;padding:14px;border:1px solid rgba(90,170,255,.18);border-radius:14px;background:rgba(6,18,30,.55)}.video-form-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.button-link-secondary{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 16px;border:1px solid rgba(150,190,220,.25);border-radius:10px;color:#dbefff;text-decoration:none}.video-layout-help{display:grid;gap:16px}.video-layout-help>div{display:grid;gap:8px}.mini-layout{display:grid;grid-template-columns:1fr 1fr;gap:8px}.mini-layout i,.mini-layout b{display:grid;place-items:center;min-height:90px;border-radius:12px;font-style:normal;font-size:.8rem;letter-spacing:.08em}.mini-layout i{background:rgba(0,170,255,.12);border:1px solid rgba(0,170,255,.28)}.mini-layout b{background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.09)}.video-list-panel{margin-top:22px}.video-admin-list{display:grid;gap:14px}.video-admin-item{display:grid;grid-template-columns:190px minmax(0,1fr) auto;gap:18px;align-items:center;padding:14px;border:1px solid rgba(160,200,230,.12);border-radius:16px;background:rgba(5,14,24,.55)}.video-admin-thumb{position:relative;aspect-ratio:16/9;overflow:hidden;border-radius:12px;background:#000}.video-admin-thumb video{width:100%;height:100%;object-fit:cover}.video-admin-thumb span{position:absolute;inset:0;display:grid;place-items:center;font-size:2rem;text-shadow:0 2px 12px #000}.video-admin-copy{min-width:0}.video-admin-copy h3{margin:0 0 7px}.video-admin-copy p{margin:0 0 7px;color:#b9c9d8}.video-admin-copy small{color:#7f9ab0}.video-admin-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.video-public-main{width:min(1180px,92vw);margin:0 auto;padding:64px 0 80px}.video-public-intro{text-align:center;margin-bottom:42px}.video-public-intro span,.video-story-kicker{font-size:.78rem;font-weight:800;letter-spacing:.18em;color:#5cc8ff}.video-public-intro h1{font-size:clamp(2.2rem,5vw,4.2rem);margin:10px 0}.video-public-intro p{color:#adc0d0}.video-public-list{display:grid;gap:30px}.video-story{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:34px;align-items:center;padding:24px;border:1px solid rgba(120,190,230,.13);border-radius:24px;background:rgba(4,13,22,.76);backdrop-filter:blur(8px)}.video-story.video-right .video-story-media{order:2}.video-story.video-right .video-story-copy{order:1}.video-story-media{position:relative;min-width:0}.video-story-media video{display:block;width:100%;aspect-ratio:16/9;object-fit:contain;background:#000;border-radius:16px}.video-story-ai{position:absolute;left:12px;bottom:12px;max-width:calc(100% - 24px);padding:7px 10px;border-radius:9px;background:rgba(0,0,0,.82);color:#fff;font-size:.78rem}.video-story-copy h2{font-size:clamp(1.6rem,3vw,2.5rem);margin:8px 0 14px}.video-story-copy p{margin:0;color:#c3d1dd;line-height:1.75;white-space:normal}.video-empty-public{text-align:center;padding:45px;border:1px dashed rgba(120,190,230,.2);border-radius:20px;background:rgba(5,15,25,.5)}
@media(max-width:850px){.video-admin-item{grid-template-columns:130px 1fr}.video-admin-actions{grid-column:1/-1;justify-content:flex-start}.video-story{grid-template-columns:1fr;gap:20px}.video-story.video-right .video-story-media,.video-story.video-right .video-story-copy{order:initial}}@media(max-width:520px){.video-admin-item{grid-template-columns:1fr}.video-admin-thumb{width:100%}.video-public-main{padding-top:36px}.video-story{padding:14px;border-radius:18px}}

/* =========================================================
   NEONBASE VIDEOS – öffentliche Seite
   gleiche Grundoptik wie die übrigen öffentlichen Seiten
   ========================================================= */
.home-page.video-page {
    min-height: 100%;
}

.home-page.video-page .video-public-main {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
    padding: clamp(42px, 6vw, 78px) 0 86px;
}

.home-page.video-page .video-public-intro {
    max-width: 760px;
    margin: 0 auto clamp(34px, 5vw, 56px);
    text-align: center;
}

.home-page.video-page .video-public-kicker,
.home-page.video-page .video-story-kicker {
    display: inline-block;
    margin: 0;
    color: var(--tc1-accent, #00aaff);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.home-page.video-page .video-public-intro h1 {
    margin: 10px 0 14px;
    color: #fff;
    font-size: clamp(38px, 6vw, 64px);
    line-height: 1.05;
}

.home-page.video-page .video-public-line {
    display: block;
    width: 76px;
    height: 3px;
    margin: 0 auto 18px;
    border-radius: 999px;
    background: var(--tc1-accent, #00aaff);
}

.home-page.video-page .video-public-lead {
    max-width: 620px;
    margin: 0 auto;
    color: #9fb3c4;
    font-size: clamp(15px, 2vw, 18px);
    line-height: 1.7;
}

.home-page.video-page .video-public-list {
    display: grid;
    gap: 28px;
}

.home-page.video-page .video-story {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr);
    gap: clamp(26px, 4vw, 48px);
    align-items: center;
    padding: clamp(18px, 2.6vw, 30px);
    overflow: hidden;
    border: 1px solid rgba(0,170,255,.16);
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(7,18,29,.95), rgba(3,10,17,.92));
    box-shadow: 0 18px 50px rgba(0,0,0,.26);
}

.home-page.video-page .video-story.video-right .video-story-media { order: 2; }
.home-page.video-page .video-story.video-right .video-story-copy { order: 1; }

.home-page.video-page .video-story-media {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 15px;
    background: #000;
}

.home-page.video-page .video-story-media video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    background: #000;
}

.home-page.video-page .video-story-ai {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: fit-content;
    max-width: calc(100% - 24px);
    padding: 7px 10px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 8px;
    background: rgba(0,0,0,.82);
    color: #fff;
    font-size: 12px;
    line-height: 1.4;
}

.home-page.video-page .video-story-copy {
    min-width: 0;
    padding: 4px 0;
}

.home-page.video-page .video-story-copy h2 {
    margin: 9px 0 14px;
    color: #fff;
    font-size: clamp(25px, 3.4vw, 40px);
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.home-page.video-page .video-story-copy p {
    margin: 0;
    color: #b7c8d7;
    font-size: 16px;
    line-height: 1.78;
    overflow-wrap: anywhere;
}

.home-page.video-page .video-empty-public {
    max-width: 760px;
    margin: 0 auto;
    padding: 42px 28px;
    text-align: center;
    border: 1px dashed rgba(0,170,255,.28);
    border-radius: 18px;
    background: rgba(5,15,24,.7);
}

.home-page.video-page .video-empty-public h2 {
    margin: 0 0 8px;
    color: #fff;
}
.home-page.video-page .video-empty-public p {
    margin: 0;
    color: #8fa6b9;
    line-height: 1.6;
}

@media (max-width: 860px) {
    .home-page.video-page .video-story {
        grid-template-columns: 1fr;
        gap: 22px;
    }
    .home-page.video-page .video-story.video-right .video-story-media,
    .home-page.video-page .video-story.video-right .video-story-copy {
        order: initial;
    }
}

@media (max-width: 560px) {
    .home-page.video-page .video-public-main {
        width: min(100% - 24px, 1200px);
        padding-top: 30px;
    }
    .home-page.video-page .video-story {
        padding: 14px;
        border-radius: 15px;
    }
    .home-page.video-page .video-story-media {
        border-radius: 11px;
    }
    .home-page.video-page .video-story-copy p {
        font-size: 15px;
    }
}


/* ===== Neonbase Video-Admin: Zweispaltiges Layout ===== */
.dashboard-page .video-admin-grid{
    display:grid;
    grid-template-columns:minmax(460px,.95fr) minmax(560px,1.35fr);
    gap:22px;
    align-items:start;
}
.dashboard-page .video-admin-grid > .admin-panel{
    min-width:0;
    margin-top:0;
}
.dashboard-page .video-list-panel{
    margin-top:0;
}
.dashboard-page .video-admin-list{
    display:grid;
    gap:12px;
}
.dashboard-page .video-admin-item{
    display:grid;
    grid-template-columns:140px minmax(0,1fr) auto;
    gap:14px;
    align-items:center;
    padding:12px;
    border-radius:14px;
}
.dashboard-page .video-admin-thumb{
    width:140px;
    max-width:140px;
    aspect-ratio:16/9;
    overflow:hidden;
    border-radius:10px;
    background:#02070c;
}
.dashboard-page .video-admin-thumb video{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}
.dashboard-page .video-admin-thumb span{
    font-size:1.35rem;
    background:rgba(0,0,0,.12);
}
.dashboard-page .video-admin-copy h3{
    margin:0 0 5px;
    font-size:1rem;
}
.dashboard-page .video-admin-copy p{
    margin:0 0 6px;
    font-size:.88rem;
    line-height:1.45;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}
.dashboard-page .video-admin-copy small{
    display:inline-block;
    font-size:.76rem;
}
.dashboard-page .video-admin-actions{
    display:grid;
    grid-template-columns:1fr;
    gap:7px;
    min-width:108px;
}
.dashboard-page .video-admin-actions .sort-actions{
    display:flex;
    gap:6px;
    justify-content:flex-end;
}
.dashboard-page .video-admin-actions .table-action,
.dashboard-page .video-admin-actions button{
    width:100%;
    min-height:36px;
    padding:7px 10px;
    box-sizing:border-box;
    text-align:center;
}
.dashboard-page .video-admin-actions form{margin:0;}
@media(max-width:1180px){
    .dashboard-page .video-admin-grid{
        grid-template-columns:1fr;
    }
    .dashboard-page .video-list-panel{margin-top:0;}
}
@media(max-width:720px){
    .dashboard-page .video-admin-item{
        grid-template-columns:110px minmax(0,1fr);
    }
    .dashboard-page .video-admin-thumb{
        width:110px;
        max-width:110px;
    }
    .dashboard-page .video-admin-actions{
        grid-column:1/-1;
        display:flex;
        flex-wrap:wrap;
        min-width:0;
    }
    .dashboard-page .video-admin-actions .sort-actions{justify-content:flex-start;}
    .dashboard-page .video-admin-actions .table-action,
    .dashboard-page .video-admin-actions > form{
        flex:1 1 130px;
    }
}
@media(max-width:480px){
    .dashboard-page .video-admin-item{
        grid-template-columns:1fr;
    }
    .dashboard-page .video-admin-thumb{
        width:100%;
        max-width:180px;
    }
}

/* =========================================================
   NEONBASE VIDEO-ADMIN 2026 – Layout nach Referenz
   ========================================================= */
.video-admin-screen{--nb-green:#76ef36;--nb-green-dark:#2f8d20;--nb-bg:#03070d;--nb-panel:#071019;--nb-border:#1b2a35;--nb-muted:#81909d;background:#02060b;color:#fff}
.video-admin-screen .dashboard{max-width:none;padding-right:34px}
.video-admin-screen .admin-page-header{margin-bottom:22px}
.video-admin-screen .admin-page-header h1{font-size:30px}
.video-admin-screen .admin-page-header h1::before{content:'▷';display:inline-grid;place-items:center;width:48px;height:48px;margin-right:14px;border:3px solid rgba(118,239,54,.22);border-radius:50%;color:var(--nb-green);font-size:25px;vertical-align:middle}
.video-admin-screen .admin-page-header p{margin-left:66px;color:#8999a8}
.video-admin-screen .admin-header-site{border-color:#3c8e24!important;color:#e9ffe0!important;background:rgba(61,141,36,.06)!important}
.video-admin-screen .admin-header-site:hover{background:rgba(118,239,54,.1)!important}
.video-admin-screen .admin-nav-link.active{color:#071005!important;background:linear-gradient(90deg,#79ef39,#6ddd34)!important;box-shadow:0 0 22px rgba(118,239,54,.12)}
.video-admin-screen .admin-nav-link.active .admin-nav-icon{color:#071005!important}
.video-admin-screen .video-workspace{display:grid;grid-template-columns:minmax(440px,.83fr) minmax(650px,1.55fr);gap:18px;align-items:start}
.video-admin-screen .admin-panel{border:1px solid var(--nb-border);border-radius:12px;background:linear-gradient(145deg,rgba(7,16,25,.97),rgba(4,11,18,.96));box-shadow:0 16px 50px rgba(0,0,0,.16)}
.video-admin-screen .video-create-panel,.video-admin-screen .video-list-panel{margin:0;padding:17px}
.video-admin-screen .video-panel-title{display:flex;align-items:center;gap:10px;margin:0 0 16px;color:var(--nb-green)}
.video-admin-screen .video-panel-title h2{margin:0;color:var(--nb-green);font-size:17px}
.video-admin-screen .video-panel-icon{display:grid;place-items:center;width:28px;height:28px;border-radius:7px;background:rgba(118,239,54,.06);font-size:17px}
.video-admin-screen .admin-form label{color:#e2e8ed;font-size:12px}
.video-admin-screen .admin-form input,.video-admin-screen .admin-form textarea,.video-admin-screen .admin-form select{border-color:#23313d;background:#030911;color:#eef4f6;border-radius:8px}
.video-admin-screen .admin-form input:focus,.video-admin-screen .admin-form textarea:focus,.video-admin-screen .admin-form select:focus{border-color:#63cb31;box-shadow:0 0 0 3px rgba(118,239,54,.06)}
.video-admin-screen .field-help{color:#778796;font-size:10px;margin-top:-5px}
.video-admin-screen .video-editor-shell{overflow:hidden;border:1px solid #23313d;border-radius:8px;background:#030911}
.video-admin-screen .video-editor-toolbar{height:36px;display:flex;align-items:center;gap:18px;padding:0 13px;border-bottom:1px solid #23313d;color:#d6dde2;font-size:13px}
.video-admin-screen .video-editor-toolbar b,.video-admin-screen .video-editor-toolbar i,.video-admin-screen .video-editor-toolbar u{font-size:15px}
.video-admin-screen .video-editor-shell textarea{width:100%;min-height:110px;border:0!important;border-radius:0!important;box-shadow:none!important;resize:vertical}
.video-admin-screen .video-dropzone{min-height:92px;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:5px;border:1px dashed #344654;border-radius:8px;background:rgba(4,10,16,.58);cursor:pointer;color:#bdc7cf!important;text-align:center}
.video-admin-screen .video-dropzone:hover{border-color:#5ebf31;background:rgba(118,239,54,.025)}
.video-admin-screen .video-dropzone input{display:none}
.video-admin-screen .video-drop-icon{font-size:28px;color:#8fa2b2}
.video-admin-screen .video-dropzone strong{font-size:11px;font-weight:600}.video-admin-screen .video-dropzone small{font-size:10px;color:#8797a5}
.video-admin-screen .video-file-name{max-width:90%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--nb-green);font-size:10px}
.video-admin-screen .video-ai-compact{padding:0;border:0;background:none;gap:8px}
.video-admin-screen .video-ai-compact .check{font-size:10px;font-weight:500;color:#c7d0d7}
.video-admin-screen input[type=checkbox],.video-admin-screen input[type=radio]{accent-color:#6fda35}
.video-admin-screen .video-layout-choices{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.video-admin-screen .video-layout-choice{position:relative;min-height:58px;display:flex!important;align-items:center;gap:11px;padding:10px 13px;border:1px solid #253541;border-radius:8px;background:#050b11;cursor:pointer;transition:.18s ease}
.video-admin-screen .video-layout-choice input{position:absolute;opacity:0;pointer-events:none}
.video-admin-screen .video-layout-choice.selected{border-color:#58bd2c;box-shadow:0 0 0 1px rgba(118,239,54,.08) inset;background:linear-gradient(90deg,rgba(67,132,36,.13),rgba(5,11,17,.7))}
.video-admin-screen .video-layout-choice>strong{font-size:10px;color:#e6ecef}
.video-admin-screen .video-layout-choice.selected>strong{color:var(--nb-green)}
.video-admin-screen .layout-demo{width:48px;height:30px;display:grid;grid-template-columns:1fr 1fr;gap:3px;flex:0 0 auto}
.video-admin-screen .layout-demo i,.video-admin-screen .layout-demo b{display:grid;place-items:center;border-radius:4px;font-style:normal;font-size:8px;background:#0d161d;border:1px solid #263640;color:#c6d1d8}
.video-admin-screen .layout-demo i{color:var(--nb-green)}
.video-admin-screen .video-visible-check{font-size:10px!important;font-weight:500!important}
.video-admin-screen .video-save-button{min-width:230px!important;background:linear-gradient(180deg,#4e9f2d,#367f25)!important;border:1px solid #60ba34!important;color:#f4fff0!important;font-size:11px!important}
.video-admin-screen .button-link-secondary{font-size:11px}
.video-admin-screen .video-admin-list{gap:10px}
.video-admin-screen .video-admin-item{position:relative;display:grid;grid-template-columns:160px minmax(0,1fr) 28px 150px;gap:14px;align-items:center;padding:12px;border:1px solid #1b2933;border-radius:10px;background:linear-gradient(90deg,rgba(6,14,22,.94),rgba(4,10,16,.86));cursor:default;transition:opacity .15s,border-color .15s,transform .15s}
.video-admin-screen .video-admin-item.dragging{opacity:.5;border-color:#5ebc32;transform:scale(.995)}
.video-admin-screen .video-admin-thumb{width:160px;max-width:160px;border-radius:8px}
.video-admin-screen .video-admin-thumb span{font-size:25px;color:#fff;text-shadow:0 2px 10px #000}
.video-admin-screen .video-duration{position:absolute;right:6px;bottom:5px;padding:2px 4px;border-radius:3px;background:rgba(0,0,0,.76);color:#fff;font-size:9px;font-style:normal}
.video-admin-screen .video-admin-copy{align-self:center}
.video-admin-screen .video-admin-copy h3{margin:0 0 8px;color:#f5f7f8;font-size:13px}
.video-admin-screen .video-admin-copy p{margin:7px 0 0;color:#788b99;font-size:10px;line-height:1.35}
.video-admin-screen .video-layout-badge,.video-admin-screen .video-status-badge{display:inline-flex;align-items:center;margin:0 5px 0 0;padding:4px 8px;border:1px solid #3f7f25;border-radius:5px;color:#95e468;background:rgba(66,132,35,.05);font-size:9px}
.video-admin-screen .video-status-badge.is-visible{color:#82d95b}.video-admin-screen .video-status-badge.is-hidden{border-color:#60533a;color:#d1b46d}
.video-admin-screen .video-drag-handle{color:#91a1ad;font-size:20px;cursor:grab;user-select:none;text-align:center}.video-admin-screen .video-drag-handle:active{cursor:grabbing}
.video-admin-screen .video-admin-actions{display:grid;grid-template-columns:1fr;gap:6px;min-width:0}
.video-admin-screen .video-admin-actions form{margin:0}
.video-admin-screen .video-action{width:100%;min-height:31px;display:flex;align-items:center;justify-content:center;padding:6px 8px;border-radius:5px;text-decoration:none;font-size:10px;font-weight:700;cursor:pointer;box-sizing:border-box}
.video-admin-screen .video-action.edit{border:1px solid #4d9b2d;color:#f0ffe8;background:linear-gradient(180deg,#46902c,#2f7422)}
.video-admin-screen .video-admin-actions button.video-action.danger{min-height:31px!important;border:1px solid #c42b2b!important;color:#fff!important;background:linear-gradient(180deg,#c51d22,#a41116)!important;border-radius:5px!important}
.video-admin-screen .video-action.view{border:1px solid #263640;color:#e6ecef;background:#070d13}
.video-admin-screen .video-reorder-note{display:grid;gap:6px;margin-top:18px;color:#cfd6db;font-size:11px}
.video-admin-screen .video-reorder-note span{color:#8393a0}.video-admin-screen .video-reorder-note small{margin-top:5px;padding:10px;border:1px solid #1d2c36;border-radius:7px;color:#8495a3;background:#050b11}.video-admin-screen .video-reorder-note small::first-letter{color:var(--nb-green)}
@media(max-width:1280px){.video-admin-screen .video-workspace{grid-template-columns:1fr}.video-admin-screen .video-admin-item{grid-template-columns:150px minmax(0,1fr) 28px 145px}.video-admin-screen .video-admin-thumb{width:150px;max-width:150px}}
@media(max-width:760px){.video-admin-screen .dashboard{padding-right:18px}.video-admin-screen .admin-page-header p{margin-left:0}.video-admin-screen .video-layout-choices{grid-template-columns:1fr}.video-admin-screen .video-admin-item{grid-template-columns:110px minmax(0,1fr) 25px}.video-admin-screen .video-admin-thumb{width:110px;max-width:110px}.video-admin-screen .video-admin-actions{grid-column:1/-1;grid-template-columns:repeat(3,1fr)}.video-admin-screen .video-drag-handle{grid-column:3}}
@media(max-width:520px){.video-admin-screen .video-admin-item{grid-template-columns:1fr}.video-admin-screen .video-admin-thumb{width:100%;max-width:190px}.video-admin-screen .video-drag-handle{position:absolute;right:10px;top:10px}.video-admin-screen .video-admin-actions{grid-template-columns:1fr}.video-admin-screen .video-layout-badge,.video-admin-screen .video-status-badge{margin-bottom:4px}}

/* =========================================================
   NEONBASE UNIFIED DESIGN 2026
   Einheitliches Erscheinungsbild fuer Dashboard, Verwaltung,
   Login/Installation und oeffentliche Seiten.
   ========================================================= */
:root {
    --nb-bg: #03080d;
    --nb-bg-soft: #071018;
    --nb-panel: rgba(7, 15, 22, .94);
    --nb-panel-2: rgba(10, 20, 28, .96);
    --nb-border: rgba(255,255,255,.10);
    --nb-border-strong: rgba(105, 231, 47, .28);
    --nb-text: #f4f8fb;
    --nb-muted: #8e9da9;
    --nb-green: #6ee72f;
    --nb-green-2: #45c81c;
    --nb-green-soft: rgba(110,231,47,.10);
    --nb-danger: #d92c2c;
    --nb-radius: 12px;
    --nb-shadow: 0 18px 45px rgba(0,0,0,.28);
}

/* ----- Admin Grundlayout ----- */
.dashboard-page {
    background: var(--nb-bg) !important;
    color: var(--nb-text);
}
.dashboard-page .sidebar {
    width: 250px;
    padding: 18px 14px;
    background: linear-gradient(180deg, rgba(3,8,13,.99), rgba(5,12,18,.99)) !important;
    border-right: 1px solid var(--nb-border) !important;
    box-shadow: 18px 0 45px rgba(0,0,0,.25) !important;
}
.dashboard-page .dashboard {
    margin-left: 250px;
    padding: 26px clamp(22px,3vw,44px) 48px;
    background:
        radial-gradient(circle at 85% 0%, rgba(110,231,47,.055), transparent 28%),
        linear-gradient(180deg, #040a10 0%, #071018 100%) !important;
}
.dashboard-page .admin-brand {
    min-height: 64px;
    padding: 0 10px 18px;
    border-bottom: 1px solid var(--nb-border) !important;
}
.dashboard-page .admin-brand img {
    width: 164px;
    height: 22px;
    border: 0 !important;
    box-shadow: none !important;
    background: transparent;
}
.dashboard-page .admin-brand strong {
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.dashboard-page .admin-brand small,
.dashboard-page .sidebar-user small { color: #76838e !important; }

.dashboard-page .admin-nav { display: block; margin-top: 8px; }
.dashboard-page .admin-nav-group { margin-bottom: 12px; }
.dashboard-page .admin-nav-label {
    padding: 14px 10px 7px !important;
    color: #7d8993 !important;
    font-size: 9px !important;
    letter-spacing: .65px !important;
    font-weight: 800 !important;
}
.dashboard-page .admin-nav-link {
    min-height: 39px !important;
    margin: 2px 0 !important;
    padding: 0 11px !important;
    gap: 9px !important;
    color: #d2d9df !important;
    border-radius: 7px !important;
    font-size: 12px;
    font-weight: 600 !important;
}
.dashboard-page .admin-nav-icon {
    width: 22px !important;
    height: 22px !important;
    color: #cbd4da !important;
    font-size: 14px !important;
}
.dashboard-page .admin-nav-link:hover {
    color: #fff !important;
    background: rgba(110,231,47,.07) !important;
    border-color: rgba(110,231,47,.16) !important;
}
.dashboard-page .admin-nav-link:hover .admin-nav-icon { color: var(--nb-green) !important; }
.dashboard-page .admin-nav-link.active {
    color: #071007 !important;
    background: linear-gradient(90deg, #5fd72b, #79eb3c) !important;
    border-color: rgba(126,244,72,.55) !important;
    box-shadow: 0 8px 22px rgba(90,205,40,.16) !important;
}
.dashboard-page .admin-nav-link.active .admin-nav-icon { color: #071007 !important; }
.dashboard-page .sidebar-footer { border-top-color: var(--nb-border) !important; }
.dashboard-page .sidebar-avatar {
    color: #071007 !important;
    background: var(--nb-green) !important;
}

/* ----- Seitenkopf ----- */
.dashboard-page .admin-page-header {
    min-height: 58px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.dashboard-page .admin-page-header h1 {
    color: #fff !important;
    font-size: clamp(25px,2.3vw,33px) !important;
    letter-spacing: -.35px !important;
}
.dashboard-page .admin-page-header p {
    color: #87949f !important;
    font-size: 12px !important;
}
.dashboard-page .admin-header-site {
    min-height: 36px !important;
    color: #effbe9 !important;
    background: rgba(110,231,47,.035) !important;
    border-color: rgba(110,231,47,.40) !important;
    border-radius: 7px !important;
    font-weight: 700;
}
.dashboard-page .admin-header-site:hover {
    background: rgba(110,231,47,.10) !important;
    border-color: var(--nb-green) !important;
}

/* ----- Karten / Panels ----- */
.dashboard-page .admin-panel,
.dashboard-page .stat-card,
.dashboard-page .dashboard-welcome {
    background: linear-gradient(180deg, rgba(8,16,23,.96), rgba(5,12,18,.96)) !important;
    border: 1px solid var(--nb-border) !important;
    border-radius: var(--nb-radius) !important;
    box-shadow: 0 12px 32px rgba(0,0,0,.18) !important;
}
.dashboard-page .admin-panel { padding: 20px; }
.dashboard-page .admin-panel h2,
.dashboard-page .panel-heading h2 { color: #fff !important; }
.dashboard-page .dashboard-welcome {
    padding: 24px 26px;
    border-color: rgba(110,231,47,.16) !important;
}
.dashboard-page .dashboard-eyebrow,
.dashboard-page .panel-kicker,
.dashboard-page .panel-heading > a,
.dashboard-page .table-action { color: var(--nb-green) !important; }
.dashboard-page .dashboard-welcome p,
.dashboard-page .quick-actions small { color: var(--nb-muted) !important; }
.dashboard-page .stat-card:hover,
.dashboard-page .quick-actions a:hover {
    border-color: rgba(110,231,47,.34) !important;
    background: rgba(13,25,31,.98) !important;
}
.dashboard-page .stat-icon,
.dashboard-page .quick-actions a > span {
    color: var(--nb-green) !important;
    background: var(--nb-green-soft) !important;
    border-color: rgba(110,231,47,.18) !important;
}
.dashboard-page .quick-actions a {
    background: rgba(255,255,255,.018) !important;
    border-color: rgba(255,255,255,.065) !important;
}
.dashboard-page .dashboard-system-pill.is-online span,
.dashboard-page .status-ok { color: var(--nb-green) !important; }
.dashboard-page .dashboard-system-pill.is-online span { background: var(--nb-green) !important; }

/* ----- Formulare ----- */
.dashboard-page .admin-form label,
.dashboard-page .member-head label { color: #d2d8de !important; }
.dashboard-page .admin-form input,
.dashboard-page .admin-form textarea,
.dashboard-page .admin-form select,
.dashboard-page .member-head select,
.dashboard-page input[type="text"],
.dashboard-page input[type="email"],
.dashboard-page input[type="password"],
.dashboard-page input[type="number"],
.dashboard-page input[type="url"],
.dashboard-page textarea,
.dashboard-page select {
    background: #03090e !important;
    border: 1px solid rgba(255,255,255,.13) !important;
    color: #f4f7f9 !important;
    border-radius: 7px !important;
}
.dashboard-page input:focus,
.dashboard-page textarea:focus,
.dashboard-page select:focus {
    border-color: rgba(110,231,47,.72) !important;
    box-shadow: 0 0 0 3px rgba(110,231,47,.075) !important;
}
.dashboard-page input[type="checkbox"],
.dashboard-page input[type="radio"],
.dashboard-page input[type="range"] { accent-color: var(--nb-green) !important; }
.dashboard-page .admin-form button,
.dashboard-page .admin-panel button,
.dashboard-page button:not(.danger),
.dashboard-page input[type="submit"] {
    color: #081006 !important;
    background: linear-gradient(180deg, #72e83b, #50c91d) !important;
    border: 1px solid rgba(128,239,74,.38) !important;
    border-radius: 7px !important;
    font-weight: 800 !important;
}
.dashboard-page button.danger,
.dashboard-page .danger {
    color: #fff !important;
    background: linear-gradient(180deg,#dc3232,#b91e1e) !important;
    border-color: rgba(255,80,80,.30) !important;
}
.dashboard-page .register-link,
.dashboard-page .button-link-secondary {
    border-color: rgba(110,231,47,.34) !important;
}

/* ----- Tabellen / Medien / Status ----- */
.dashboard-page .admin-table th {
    color: #89959f !important;
    border-bottom-color: rgba(255,255,255,.08) !important;
}
.dashboard-page .admin-table td { border-bottom-color: rgba(255,255,255,.055) !important; }
.dashboard-page .admin-table a { color: var(--nb-green) !important; }
.dashboard-page .content-status.published,
.dashboard-page .home-badge {
    color: var(--nb-green) !important;
    background: rgba(110,231,47,.08) !important;
}
.dashboard-page .media-card {
    background: #071018 !important;
    border-color: var(--nb-border) !important;
    border-radius: var(--nb-radius) !important;
}
.dashboard-page .media-card img { background: #02070b !important; }
.dashboard-page .admin-success {
    color: #bfffa1 !important;
    background: rgba(72,190,30,.11) !important;
    border-color: rgba(110,231,47,.36) !important;
}
.dashboard-page .login-error,
.dashboard-page .admin-alert-error {
    color: #ffb5b5 !important;
    background: rgba(190,35,35,.11) !important;
    border-color: rgba(255,80,80,.25) !important;
}

/* ----- Video-Verwaltung an das globale Theme anbinden ----- */
.dashboard-page.video-admin-screen .video-panel-title h2,
.dashboard-page.video-admin-screen .video-panel-icon,
.dashboard-page.video-admin-screen .video-layout-badge,
.dashboard-page.video-admin-screen .field-help { color: var(--nb-green) !important; }
.dashboard-page.video-admin-screen .video-layout-choice.selected,
.dashboard-page.video-admin-screen .video-dropzone:hover {
    border-color: rgba(110,231,47,.55) !important;
    box-shadow: 0 0 0 2px rgba(110,231,47,.06) !important;
}
.dashboard-page.video-admin-screen .video-save-button,
.dashboard-page.video-admin-screen .video-action.edit {
    background: linear-gradient(180deg,#72e83b,#4fc71c) !important;
    color: #071007 !important;
}

/* ----- Login / Registrierung / Installation ----- */
.login-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 50% 8%, rgba(110,231,47,.08), transparent 30%),
        #03080d !important;
    color: var(--nb-text);
}
.login-page .login-card {
    background: rgba(6,14,20,.97) !important;
    border: 1px solid rgba(110,231,47,.20) !important;
    border-radius: 15px !important;
    box-shadow: var(--nb-shadow) !important;
}
.login-page .login-logo h1 { color: #fff !important; }
.login-page .login-logo p,
.login-page label { color: var(--nb-muted) !important; }
.login-page input,
.login-page select,
.login-page textarea {
    background: #03090e !important;
    border-color: rgba(255,255,255,.13) !important;
    color: #fff !important;
}
.login-page input:focus,
.login-page select:focus,
.login-page textarea:focus {
    border-color: rgba(110,231,47,.72) !important;
    box-shadow: 0 0 0 3px rgba(110,231,47,.075) !important;
}
.login-page button,
.login-page input[type="submit"] {
    background: linear-gradient(180deg,#72e83b,#50c91d) !important;
    color: #071007 !important;
    font-weight: 800 !important;
}
.login-page a { color: var(--nb-green) !important; }
.login-page .register-link { border-color: rgba(110,231,47,.35) !important; }

/* ----- Oeffentliche Neonbase-Seiten: gleicher Akzent ----- */
.home-page .site-header { border-bottom-color: rgba(110,231,47,.55) !important; }
.home-page .main-nav a:hover,
.home-page .main-nav a.active,
.home-page .portal-button,
.home-page.public-page .public-content h2 { color: var(--nb-green) !important; }
.home-page .main-nav a.active::after,
.home-page .hero-line { background: var(--nb-green) !important; box-shadow: 0 0 14px rgba(110,231,47,.34) !important; }
.home-page .portal-button { border-color: rgba(110,231,47,.58) !important; }
.home-page .brand img { border-color: rgba(110,231,47,.30) !important; }
.home-page .hero h1 { color: var(--nb-green) !important; text-shadow: 0 5px 28px rgba(110,231,47,.14), 0 4px 10px rgba(0,0,0,.7) !important; }
.home-page.public-page .public-content,
.home-page.public-page .page-hero-image,
.home-page .hero-side-image { border-color: rgba(110,231,47,.18) !important; }
.home-page .cta-button {
    background: linear-gradient(180deg,#72e83b,#50c91d) !important;
    color: #071007 !important;
}

@media (max-width: 900px) {
    .dashboard-page .sidebar { width: 100%; }
    .dashboard-page .dashboard { margin-left: 0; }
    .dashboard-page .admin-nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
    .dashboard-page .admin-nav-group { margin: 0; }
    .dashboard-page .admin-nav-label { padding-top: 4px !important; }
}
@media (max-width: 620px) {
    .dashboard-page .admin-nav { grid-template-columns: 1fr; }
}
