/* ============================================================================
   VexPhoenixHost - Bausteine fuer Unterseiten
   ----------------------------------------------------------------------------
   Seitenkopf, Reiter, Karten, Formulare, Hinweise und Fliesstext im Stil der
   neuen Startseite. Wird global geladen (header.php), damit jede Seite, die
   umgestellt wird, nur noch Markup braucht und kaum eigenes CSS.
   ========================================================================== */

.nx-wrap { max-width: var(--nx-max); margin-inline: auto; padding-inline: var(--nx-gutter); }
.nx-wrap--narrow { max-width: 880px; }
.nx-wrap--tight { max-width: 520px; }

/* ---- Seitenkopf ---------------------------------------------------------
   Linksbuendig wie der Hero der Startseite, darunter die feine Naht. */
.nx-pagehead {
    position: relative;
    padding: clamp(48px, 8vw, 96px) 0 clamp(32px, 5vw, 56px);
}
.nx-pagehead::before {
    content: '';
    position: absolute;
    inset: -120px calc(var(--nx-gutter) * -1) auto;
    height: 420px;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(40% 60% at 18% 40%, rgba(0, 162, 255, 0.12), transparent 70%),
        radial-gradient(35% 55% at 70% 60%, rgba(255, 107, 0, 0.10), transparent 70%);
}
.nx-pagehead h1 {
    margin: 0;
    max-width: 16ch;
    font-size: clamp(2.6rem, 1.4rem + 4.4vw, 5rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.05em;
    text-wrap: balance;
    background: linear-gradient(100deg, #cfeaff 0%, #ffffff 40%, #ffe3cf 70%, #ff9a52 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    padding-bottom: 0.06em;
}
.nx-pagehead p {
    max-width: 52ch;
    margin: 22px 0 0;
    color: var(--nx-text-2);
    font-size: var(--nx-fs-lg);
}
.nx-pagehead--center { text-align: center; }
.nx-pagehead--center h1,
.nx-pagehead--center p { margin-inline: auto; }

.nx-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    color: var(--nx-text-3);
    font-size: var(--nx-fs-sm);
    text-decoration: none;
}
@media (hover: hover) { .nx-back:hover { color: var(--nx-ash); } }

/* ---- Reiter / Filter --------------------------------------------------- */
.nx-tabs {
    display: flex;
    gap: 4px;
    padding: 4px;
    margin: 0 0 clamp(36px, 5vw, 56px);
    width: max-content;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    border: 1px solid var(--nx-line-2);
    border-radius: var(--nx-r-pill);
    background: rgba(14, 22, 38, 0.7);
}
.nx-tabs::-webkit-scrollbar { display: none; }
.nx-tabs a,
.nx-tabs button {
    flex-shrink: 0;
    padding: 10px 18px;
    border: 0;
    border-radius: var(--nx-r-pill);
    background: none;
    color: var(--nx-text-2);
    font: 500 var(--nx-fs-sm)/1 var(--nx-sans);
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
    transition: background var(--nx-t-small) var(--nx-ease), color var(--nx-t-small) var(--nx-ease);
}
.nx-tabs [aria-current='page'],
.nx-tabs [aria-selected='true'] { background: var(--nx-ash); color: var(--nx-night); font-weight: 600; }
@media (hover: hover) {
    .nx-tabs a:not([aria-current='page']):hover,
    .nx-tabs button:not([aria-selected='true']):hover { color: var(--nx-ash); background: rgba(160, 190, 235, 0.07); }
}

/* ---- Karten ------------------------------------------------------------ */
.nx-card {
    position: relative;
    padding: clamp(22px, 3vw, 32px);
    border: 1px solid var(--nx-line-2);
    border-radius: var(--nx-r-lg);
    background: var(--nx-steel);
}
.nx-card--sunken { background: #0a101d; }
.nx-card--dashed { background: transparent; border-style: dashed; border-color: rgba(160, 190, 235, 0.24); }

.nx-section-title {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin: 0 0 22px;
    font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.1rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.1;
}
.nx-section-title small { font-size: var(--nx-fs-sm); font-weight: 500; letter-spacing: 0; color: var(--nx-text-3); }

/* ---- Formulare --------------------------------------------------------- */
.nx-form { display: grid; gap: 18px; }
.nx-field { display: grid; gap: 8px; }
.nx-field > label,
.nx-label { font-size: var(--nx-fs-sm); font-weight: 600; color: var(--nx-ash); }
.nx-field small,
.nx-hint { color: var(--nx-text-3); font-size: var(--nx-fs-xs); line-height: 1.5; }
.nx-input,
.nx-field input:not([type='checkbox']):not([type='radio']),
.nx-field select,
.nx-field textarea {
    width: 100%;
    min-height: 50px;
    padding: 0 16px;
    border: 1px solid var(--nx-line-2);
    border-radius: 12px;
    background: #0a101d;
    color: var(--nx-ash);
    font: 400 var(--nx-fs-md)/1.4 var(--nx-sans);
    transition: border-color var(--nx-t-small) ease, box-shadow var(--nx-t-small) ease;
}
.nx-field textarea { padding: 14px 16px; min-height: 120px; resize: vertical; }
.nx-input::placeholder,
.nx-field input::placeholder { color: var(--nx-text-4); }
.nx-input:focus,
.nx-field input:focus,
.nx-field select:focus,
.nx-field textarea:focus {
    outline: none;
    border-color: var(--nx-ice);
    box-shadow: 0 0 0 4px rgba(0, 162, 255, 0.16);
}
.nx-field--icon { position: relative; }
.nx-field--icon > i {
    position: absolute;
    left: 16px;
    bottom: 17px;
    color: var(--nx-text-4);
    font-size: 0.9rem;
    pointer-events: none;
}
.nx-field--icon input { padding-left: 44px !important; }

.nx-check { display: flex; align-items: flex-start; gap: 12px; color: var(--nx-text-2); font-size: var(--nx-fs-sm); line-height: 1.5; cursor: pointer; }
.nx-check input { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; accent-color: var(--nx-ember); }
.nx-check a { color: var(--nx-ice-soft); text-decoration: underline; text-underline-offset: 3px; }

.nx-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--nx-text-3);
    font-size: var(--nx-fs-xs);
}
.nx-divider::before,
.nx-divider::after { content: ''; flex: 1; height: 1px; background: var(--nx-line-2); }

.nx-btn--block { width: 100%; }
.nx-btn--discord { --_bg: #5865f2; --_fg: #fff; }
@media (hover: hover) { .nx-btn--discord:hover { --_bg: #4752c4; } }

/* ---- Hinweise ---------------------------------------------------------- */
.nx-notice {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 16px;
    border: 1px solid var(--nx-line-2);
    border-radius: 12px;
    background: rgba(160, 190, 235, 0.05);
    color: var(--nx-text-2);
    font-size: var(--nx-fs-sm);
    line-height: 1.5;
}
.nx-notice i { margin-top: 3px; }
.nx-notice--error { border-color: rgba(255, 92, 92, 0.35); background: rgba(255, 92, 92, 0.08); color: #ffc2c2; }
.nx-notice--ok { border-color: rgba(61, 220, 132, 0.35); background: rgba(61, 220, 132, 0.08); color: #b9f5d3; }
.nx-notice--info { border-color: rgba(0, 162, 255, 0.35); background: rgba(0, 162, 255, 0.07); color: #cdeaff; }

/* ---- Fliesstext (Rechtstexte, Anleitungen) ----------------------------- */
.nx-prose { color: var(--nx-text-2); font-size: var(--nx-fs-md); line-height: 1.75; max-width: 72ch; }
.nx-prose > * + * { margin-top: 1em; }
.nx-prose h2 { margin-top: 2.2em; color: var(--nx-ash); font-size: 1.5rem; font-weight: 750; letter-spacing: -0.03em; line-height: 1.2; }
.nx-prose h3 { margin-top: 1.8em; color: var(--nx-ash); font-size: 1.15rem; font-weight: 700; letter-spacing: -0.02em; }
.nx-prose h2:first-child, .nx-prose h3:first-child { margin-top: 0; }
.nx-prose a { color: var(--nx-ice-soft); text-decoration: underline; text-underline-offset: 3px; }
.nx-prose ul, .nx-prose ol { padding-left: 1.3em; }
.nx-prose li + li { margin-top: 0.4em; }
.nx-prose li::marker { color: var(--nx-ember-soft); }
.nx-prose strong { color: var(--nx-ash); }
.nx-prose table { width: 100%; font-size: var(--nx-fs-sm); }
.nx-prose th, .nx-prose td { padding: 10px 12px; text-align: left; vertical-align: top; }
.nx-prose blockquote { padding-left: 18px; border-left: 2px solid var(--nx-ember); color: var(--nx-text-2); }

/* ---- Leerzustand ------------------------------------------------------- */
.nx-empty-state { padding: 56px 24px; text-align: center; color: var(--nx-text-3); }
.nx-empty-state i { display: block; margin-bottom: 14px; font-size: 2rem; color: var(--nx-text-4); }

/* ---- Status-Punkte ----------------------------------------------------- */
.nx-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--nx-text-4); flex-shrink: 0; }
.nx-dot--ok { background: #3ddc84; box-shadow: 0 0 0 4px rgba(61, 220, 132, 0.15); }
.nx-dot--warn { background: #ffb020; box-shadow: 0 0 0 4px rgba(255, 176, 32, 0.15); }
.nx-dot--down { background: #ff5c5c; box-shadow: 0 0 0 4px rgba(255, 92, 92, 0.15); }

/* ---- Kleinteile, auf allen Seiten ------------------------------------- */
.nx-sr {
    position: absolute !important;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.nx-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--nx-ice-soft);
    font-weight: 600;
    font-size: var(--nx-fs-sm);
    text-decoration: underline;
    text-decoration-color: rgba(124, 201, 255, 0.35);
    text-underline-offset: 5px;
    transition: text-decoration-color var(--nx-t-small) ease, color var(--nx-t-small) ease;
}
@media (hover: hover) {
    .nx-link:hover { color: #fff; text-decoration-color: var(--nx-ember); }
}


/* ============================================================================
   ANMELDEN / REGISTRIEREN
   Links das Formular, rechts was einen im Kundenbereich erwartet.
   ========================================================================== */
.au-shell {
    display: grid;
    grid-template-columns: minmax(0, 460px) minmax(0, 1fr);
    gap: clamp(32px, 7vw, 120px);
    align-items: start;
    padding-top: clamp(40px, 7vw, 88px);
}
.au-form h1 {
    margin: 0;
    font-size: clamp(2.4rem, 1.6rem + 2.6vw, 3.4rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1;
}
.au-form > p { margin: 14px 0 30px; color: var(--nx-text-2); }
.au-form .nx-notice { margin-bottom: 22px; }
.au-form .nx-form { margin-bottom: 22px; }
.au-meta { display: flex; justify-content: flex-end; margin-top: -6px; font-size: var(--nx-fs-sm); }
.au-meta a, .au-switch a { color: var(--nx-ice-soft); text-decoration: underline; text-decoration-color: rgba(124, 201, 255, 0.35); text-underline-offset: 4px; }
.au-note { margin: 12px 0 0; color: var(--nx-text-3); font-size: var(--nx-fs-xs); text-align: center; }
.au-note--warn { color: #ffcf7a; }
.au-switch { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--nx-line-2); color: var(--nx-text-2); font-size: var(--nx-fs-sm); }
.au-req { color: var(--nx-ember-soft); }

.au-aside {
    position: sticky;
    top: 110px;
    padding: clamp(28px, 4vw, 48px);
    border: 1px solid var(--nx-line-2);
    border-radius: var(--nx-r-lg);
    background:
        radial-gradient(70% 60% at 100% 100%, rgba(255, 107, 0, 0.14), transparent 70%),
        radial-gradient(60% 60% at 0% 0%, rgba(0, 162, 255, 0.12), transparent 70%),
        var(--nx-steel);
    overflow: hidden;
}
.au-aside img {
    width: 96px; height: 96px; border-radius: 50%;
    box-shadow: -20px 0 50px -10px rgba(0, 162, 255, 0.45), 20px 10px 60px -10px rgba(255, 107, 0, 0.5);
}
.au-aside h2 { margin: 28px 0 10px; font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; }
.au-aside > p { margin: 0 0 26px; color: var(--nx-text-2); max-width: 44ch; }
.au-list { list-style: none; margin: 0; padding: 0; display: grid; }
.au-list li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; padding: 16px 0; border-top: 1px solid var(--nx-line-2); }
.au-list i {
    width: 36px; height: 36px; display: grid; place-items: center;
    border-radius: 10px; background: rgba(0, 162, 255, 0.1); color: var(--nx-ice-soft); font-size: 0.9rem;
}
.au-list strong { display: block; font-weight: 650; }
.au-list span { color: var(--nx-text-3); font-size: var(--nx-fs-sm); }

/* Passwortstaerke: Rot/Gelb/Gruen ist hier die Aussage */
.au-strength { height: 4px; border-radius: 4px; background: rgba(160, 190, 235, 0.1); overflow: hidden; }
.au-strength .strength-bar { height: 100%; width: 0; border-radius: inherit; transition: width var(--nx-t-med) var(--nx-ease), background var(--nx-t-med) ease; }
.au-strength .strength-weak { width: 25%; background: #ff5c5c; }
.au-strength .strength-medium { width: 50%; background: #ffb020; }
.au-strength .strength-strong { width: 75%; background: #7bd88f; }
.au-strength .strength-very-strong { width: 100%; background: #3ddc84; }

@media (max-width: 900px) {
    .au-shell { grid-template-columns: 1fr; }
    .au-aside { position: static; }
}

/* ============================================================================
   RECHTSTEXTE (AGB, Datenschutz, Impressum, Widerruf)
   Kein Kasten, sondern ruhiger Lesesatz wie in einem guten Vertrag.
   Die Texte kommen aus dem Dashboard (Rechtliches) - darum wird hier das
   rohe HTML gestaltet, nicht eigene Klassen.
   ========================================================================== */
.legal-container.nx-legal-wrap { max-width: 860px; margin: 0 auto; padding: clamp(48px, 8vw, 96px) var(--nx-gutter) 0; }
.legal-card.nx-legal {
    padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none;
    -webkit-backdrop-filter: none; backdrop-filter: none;
    color: var(--nx-text-2); font-size: var(--nx-fs-md); line-height: 1.75;
}
.legal-card.nx-legal h1 {
    margin: 0; font-size: clamp(2.3rem, 1.4rem + 3.4vw, 4rem); font-weight: 800; line-height: 1; letter-spacing: -0.05em;
    background: linear-gradient(100deg, #cfeaff 0%, #ffffff 45%, #ffd9bd 80%, #ff9a52 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
    padding-bottom: 0.06em; text-wrap: balance;
}
.legal-card.nx-legal h1 i { display: none; }
.legal-card.nx-legal .subtitle {
    margin: 18px 0 44px; padding-bottom: 26px; border-bottom: 1px solid var(--nx-line-2);
    color: var(--nx-text-3); font-size: var(--nx-fs-sm); text-align: left;
}
.legal-card.nx-legal h2 {
    margin: 2.4em 0 0.6em; padding: 0; border: 0; color: var(--nx-ash);
    font-size: 1.35rem; font-weight: 750; letter-spacing: -0.03em; line-height: 1.25;
    -webkit-text-fill-color: currentColor; background: none;
}
.legal-card.nx-legal h3 { margin: 1.8em 0 0.5em; color: var(--nx-ash); font-size: 1.08rem; font-weight: 700; letter-spacing: -0.02em; }
.legal-card.nx-legal h2 i, .legal-card.nx-legal h3 i { display: none; }
.legal-card.nx-legal p, .legal-card.nx-legal li { color: var(--nx-text-2); max-width: 72ch; }
.legal-card.nx-legal p + p { margin-top: 1em; }
.legal-card.nx-legal ul, .legal-card.nx-legal ol { margin: 0.8em 0; padding-left: 1.3em; }
.legal-card.nx-legal li + li { margin-top: 0.35em; }
.legal-card.nx-legal li::marker { color: var(--nx-ember-soft); }
.legal-card.nx-legal strong { color: var(--nx-ash); }
.legal-card.nx-legal a { color: var(--nx-ice-soft); text-decoration: underline; text-underline-offset: 3px; }
.legal-card.nx-legal table { width: 100%; margin: 1em 0; font-size: var(--nx-fs-sm); }
.legal-card.nx-legal th, .legal-card.nx-legal td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--nx-line-2); }

/* Einspaltige Konto-Seiten (Passwort, Bestaetigen, Abmelden) */
.au-single { padding-top: clamp(48px, 9vw, 112px); }
.au-single .au-form > .nx-notice { margin-bottom: 22px; }
.au-single .au-form > p { margin: 14px 0 26px; }

/* ============================================================================
   LANDINGPAGES (Paysafecard, Discord-Bot, Creator-Programm)
   Gemeinsamer Satz fuer die drei Seiten mit Praefix ps- / mb- / cp-.
   ========================================================================== */
.ps-wrap, .mb-wrap, .cp-wrap { max-width: 960px; margin: 0 auto; padding: 0 var(--nx-gutter); }
.ps-hero, .mb-hero, .cp-hero { padding: clamp(48px, 8vw, 96px) 0 clamp(28px, 4vw, 44px); text-align: left; position: relative; }
.ps-hero::before, .mb-hero::before, .cp-hero::before {
    content: ''; position: absolute; inset: -120px calc(var(--nx-gutter) * -1) auto; height: 420px; z-index: -1; pointer-events: none;
    background: radial-gradient(40% 60% at 18% 40%, rgba(0, 162, 255, 0.12), transparent 70%),
                radial-gradient(35% 55% at 70% 60%, rgba(255, 107, 0, 0.10), transparent 70%);
}
.ps-hero .vph-eyebrow, .mb-hero .vph-eyebrow, .cp-hero .vph-eyebrow {
    display: inline-block; padding: 0; border: 0; background: none;
    color: var(--nx-ice-soft); font-size: var(--nx-fs-sm); font-weight: 600; letter-spacing: 0; text-transform: none;
}
.ps-hero h1, .mb-hero h1, .cp-hero h1 {
    margin: 14px 0 22px; max-width: 18ch;
    font-size: clamp(2.4rem, 1.4rem + 4vw, 4.4rem); font-weight: 800; line-height: 0.98; letter-spacing: -0.05em; text-wrap: balance;
    background: linear-gradient(100deg, #cfeaff 0%, #ffffff 40%, #ffe3cf 70%, #ff9a52 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; padding-bottom: 0.06em;
}
.cp-hero h1 { max-width: 20ch; }
.ps-hero p.lead, .mb-hero p.lead, .cp-hero p.lead { max-width: 58ch; margin: 0; color: var(--nx-text-2); font-size: var(--nx-fs-lg); line-height: 1.55; }
.ps-cta, .mb-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }

.ps-wrap .vph-btn, .mb-wrap .vph-btn, .cp-wrap .vph-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 50px; padding: 0 22px; border-radius: 999px;
    font: 600 var(--nx-fs-sm)/1.2 var(--nx-sans); text-decoration: none; box-shadow: none; transform: none;
}
/* Lange Knopftexte (z. B. "Minecraft ab … · Gameserver ab …") duerfen auf
   schmalen Bildschirmen umbrechen statt seitlich ueberzulaufen. */
@media (max-width: 520px) {
    .ps-wrap .vph-btn, .mb-wrap .vph-btn, .cp-wrap .vph-btn { white-space: normal; text-align: center; max-width: 100%; padding-block: 10px; }
}
.ps-wrap .vph-btn--primary, .mb-wrap .vph-btn--primary, .cp-wrap .vph-btn--primary { background: var(--nx-ember); color: var(--nx-on-ember); border: 0; }
.ps-wrap .vph-btn--primary:hover, .mb-wrap .vph-btn--primary:hover, .cp-wrap .vph-btn--primary:hover { background: #ff7d1f; box-shadow: 0 10px 30px -10px rgba(255, 107, 0, 0.6); }
.ps-wrap .vph-btn--ghost, .mb-wrap .vph-btn--ghost, .cp-wrap .vph-btn--ghost { background: transparent; color: var(--nx-ash); border: 1px solid var(--nx-line-2); }
.ps-wrap .vph-btn--ghost:hover, .mb-wrap .vph-btn--ghost:hover, .cp-wrap .vph-btn--ghost:hover { background: rgba(160, 190, 235, 0.06); border-color: rgba(160, 190, 235, 0.36); }

.ps-box, .mb-box, .cp-box { margin: 18px 0; padding: clamp(22px, 3vw, 32px); border: 1px solid var(--nx-line-2); border-radius: var(--nx-r-lg); background: var(--nx-steel); }
.ps-box h2, .mb-box h2, .cp-form h2 { margin: 0 0 12px; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.8rem); font-weight: 800; letter-spacing: -0.035em; color: var(--nx-ash); }
.ps-box h3, .mb-box h3, .cp-box h3 { margin: 0 0 8px; font-size: 1.05rem; font-weight: 700; letter-spacing: -0.02em; color: var(--nx-ash); }
.ps-box p, .mb-box p, .cp-box p { color: var(--nx-text-2); line-height: 1.7; }
.ps-wrap > section > h2, .mb-wrap > section > h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); font-weight: 800; letter-spacing: -0.04em; }
.ps-box a, .mb-box a, .cp-wrap p a { color: var(--nx-ice-soft); }

.ps-grid, .mb-grid, .cp-grid { display: grid; gap: 22px 28px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.ps-grid > div, .mb-grid > div { padding-top: 16px; border-top: 1px solid var(--nx-line-2); }
.cp-grid { margin: 32px 0; gap: 12px; }
.cp-box .ico { display: block; margin-bottom: 14px; font-size: 1.2rem; color: var(--nx-ice-soft); }

/* Schritte: echte Abfolge, darum nummeriert */
.ps-steps, .mb-steps { counter-reset: s; list-style: none; padding: 0; margin: 20px 0 0; }
.ps-steps li, .mb-steps li { counter-increment: s; position: relative; padding: 0 0 26px 52px; color: var(--nx-text-2); line-height: 1.6; }
.ps-steps li strong, .mb-steps li strong { display: block; margin-bottom: 4px; color: var(--nx-ash); }
.ps-steps li::before, .mb-steps li::before {
    content: counter(s); position: absolute; left: 0; top: -3px; width: 32px; height: 32px; border-radius: 50%;
    display: grid; place-items: center; border: 1px solid rgba(0, 162, 255, 0.45); background: none;
    color: var(--nx-ice-soft); font: 700 0.85rem/1 var(--nx-tech);
}
.ps-steps li:not(:last-child)::after, .mb-steps li:not(:last-child)::after { content: ''; position: absolute; left: 15.5px; top: 34px; bottom: 4px; width: 1px; background: var(--nx-line-2); }

.mb-liste { list-style: none; padding: 0; margin: 18px 0 0; }
.mb-liste li { position: relative; padding: 12px 0 12px 30px; border-bottom: 1px solid var(--nx-line); color: var(--nx-text-2); }
.mb-liste li:last-child { border-bottom: 0; }
.mb-liste li strong { color: var(--nx-ash); }
.mb-liste li::before, .cp-deal li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: 13px; font-size: 0.8rem; color: #7bd88f; }

.ps-hinweis, .mb-hinweis { margin: 22px 0; padding: 18px 22px; border: 1px solid rgba(0, 162, 255, 0.3); border-radius: var(--nx-r-md); background: rgba(0, 162, 255, 0.06); color: var(--nx-text-2); }
.ps-hinweis strong, .mb-hinweis strong { color: var(--nx-ash); }
.mb-klein, .cp-klein { color: var(--nx-text-3); font-size: var(--nx-fs-sm); line-height: 1.6; }

/* FAQ: Aufklappen zeigt, was sich geaendert hat */
.ps-faq, .mb-faq { margin: 0; padding: 0; border: 0; border-top: 1px solid var(--nx-line-2); border-radius: 0; background: none; }
.ps-faq:last-of-type, .mb-faq:last-of-type { border-bottom: 1px solid var(--nx-line-2); }
.ps-faq summary, .mb-faq summary { display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; font-weight: 650; cursor: pointer; list-style: none; }
.ps-faq summary::-webkit-details-marker, .mb-faq summary::-webkit-details-marker { display: none; }
.ps-faq summary::after, .mb-faq summary::after { content: "+"; float: none; color: var(--nx-ember-soft); font-weight: 400; font-size: 1.4rem; line-height: 1; transition: transform var(--nx-t-med) var(--nx-ease); }
.ps-faq[open] summary::after, .mb-faq[open] summary::after { content: "+"; transform: rotate(45deg); }
.ps-faq p, .mb-faq p { margin: -6px 0 22px; max-width: 70ch; color: var(--nx-text-2); line-height: 1.7; }

/* Creator-Programm */
.cp-deal { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; margin: 32px 0; }
.cp-deal ul { list-style: none; padding: 0; margin: 12px 0 0; }
.cp-deal li { position: relative; padding: 9px 0 9px 28px; color: var(--nx-text-2); }
.cp-form { margin: 32px 0 0; padding: clamp(24px, 4vw, 40px); border: 1px solid var(--nx-line-2); border-radius: var(--nx-r-lg); background: var(--nx-steel); }
.cp-row { display: grid; gap: 0 16px; grid-template-columns: 1fr 1fr; }
.cp-form label { display: block; margin: 0 0 8px; font-weight: 600; font-size: var(--nx-fs-sm); color: var(--nx-ash); }
.cp-form .hint { font-weight: 400; color: var(--nx-text-3); font-size: var(--nx-fs-xs); }
.cp-form input:not([type="checkbox"]), .cp-form select, .cp-form textarea {
    width: 100%; min-height: 50px; margin-bottom: 18px; padding: 0 16px;
    border: 1px solid var(--nx-line-2); border-radius: 12px; background: #0a101d; color: var(--nx-ash); font: 400 var(--nx-fs-md)/1.4 var(--nx-sans);
}
.cp-form textarea { min-height: 120px; padding: 14px 16px; resize: vertical; }
.cp-form input:focus, .cp-form select:focus, .cp-form textarea:focus { outline: none; border-color: var(--nx-ice); box-shadow: 0 0 0 4px rgba(0, 162, 255, 0.16); }
.cp-consent { display: flex; gap: 12px; align-items: flex-start; margin: 6px 0 22px; color: var(--nx-text-2); font-size: var(--nx-fs-sm); font-weight: 400 !important; }
.cp-consent input { width: 18px !important; min-height: 0 !important; height: 18px; margin: 2px 0 0 !important; accent-color: var(--nx-ember); }
.cp-melden { margin-bottom: 24px; padding: 16px 20px; border-radius: 12px; }
.cp-melden--ok { background: rgba(61, 220, 132, 0.08); border: 1px solid rgba(61, 220, 132, 0.35); color: #b9f5d3; }
.cp-melden--fehl { background: rgba(255, 92, 92, 0.08); border: 1px solid rgba(255, 92, 92, 0.35); color: #ffc2c2; }
.cp-melden ul { margin: 8px 0 0; padding-left: 20px; }
@media (max-width: 760px) { .cp-deal, .cp-row { grid-template-columns: 1fr; } }

/* ============================================================================
   ALTE BAUSTEINE IM NEUEN LOOK
   vph-btn / vph-card / vph-eyebrow aus vph-design.css werden noch von
   discord-bot.php und ki-support.php benutzt. Hier ziehen sie nach:
   Pillen-Knoepfe, Orange fuer Handlungen, ruhige Flaechen.
   ========================================================================== */
.vph-btn { border-radius: 999px; min-height: 46px; padding: 0 22px; font-family: var(--nx-sans); letter-spacing: -0.01em; }
.vph-btn--primary { background: var(--nx-ember); color: var(--nx-on-ember); box-shadow: none; }
.vph-btn--primary:hover { background: #ff7d1f; filter: none; transform: none; box-shadow: 0 10px 30px -10px rgba(255, 107, 0, 0.6); }
.vph-btn--ghost { background: transparent; border-color: var(--nx-line-2); color: var(--nx-ash); box-shadow: none; }
.vph-btn--ghost:hover { background: rgba(160, 190, 235, 0.06); border-color: rgba(160, 190, 235, 0.36); transform: none; }
.vph-card { background: var(--nx-steel); border: 1px solid var(--nx-line-2); border-radius: var(--nx-r-lg); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.vph-card::before { content: none; }
.vph-card:hover { transform: none; }
.vph-eyebrow { text-transform: none; letter-spacing: 0; }

/* Seitentitel der Werkzeug-Seiten (Bot-Verwaltung, KI-Support) */
.bot-kopf h1, .ki-seite h1 {
    font-family: var(--nx-sans) !important;
    font-size: clamp(2.2rem, 1.4rem + 3vw, 3.6rem) !important;
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1;
    background: linear-gradient(100deg, #cfeaff 0%, #ffffff 40%, #ffe3cf 70%, #ff9a52 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
}

/* Lange deutsche Woerter ("Geschaeftsbedingungen") duerfen in grossen
   Ueberschriften auf dem Handy umbrechen statt aus dem Bild zu laufen. */
.nx-pagehead h1, .legal-card.nx-legal h1, .ps-hero h1, .mb-hero h1, .cp-hero h1, .au-form h1 {
    hyphens: auto;
    -webkit-hyphens: auto;
    overflow-wrap: break-word;
}
