:root {
    --bg: #080f1f;
    --bg-soft: #0d172a;
    --card: rgba(15, 23, 42, 0.78);
    --card-strong: #111c31;
    --line: rgba(148, 163, 184, 0.18);
    --text: #f8fafc;
    --muted: #94a3b8;
    --muted-2: #64748b;
    --primary: #10b981;
    --primary-dark: #059669;
    --primary-soft: rgba(16, 185, 129, 0.14);
    --danger: #ef4444;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
    --radius: 22px;
    --max: 1180px;
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(16, 185, 129, 0.2), transparent 34rem),
        radial-gradient(circle at 85% 10%, rgba(34, 197, 94, 0.13), transparent 30rem),
        var(--bg);
    color: var(--text);
    line-height: 1.6;
}

body.admin-page {
    background:
        radial-gradient(circle at top, rgba(16, 185, 129, 0.16), transparent 32rem),
        var(--bg);
}

img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }

.container {
    width: min(100% - 32px, var(--max));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--line);
    background: rgba(8, 15, 31, 0.82);
    backdrop-filter: blur(16px);
}

.navbar {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.logo-mark {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(16, 185, 129, 0.45);
    border-radius: 13px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.22), rgba(16, 185, 129, 0.04));
    color: var(--primary);
    box-shadow: 0 0 26px rgba(16, 185, 129, 0.18);
}

.logo span span { color: var(--primary); }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 22px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--muted);
    font-weight: 700;
    transition: 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text);
    background: rgba(148, 163, 184, 0.1);
}

.lang-switch {
    display: flex;
    gap: 6px;
    padding: 5px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.65);
}

.lang-switch button {
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    padding: 7px 10px;
    font-weight: 900;
}

.lang-switch button.active {
    color: #062016;
    background: var(--primary);
}

.mobile-menu-btn {
    display: none;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.8);
    color: var(--text);
    padding: 9px 11px;
}

.mobile-panel {
    display: none;
    padding: 0 16px 16px;
}

.mobile-panel.open { display: block; }
.mobile-panel .nav-links { flex-direction: column; align-items: stretch; }
.mobile-panel .nav-link { display: block; }

.hero {
    position: relative;
    overflow: hidden;
    padding: 104px 0 58px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    align-items: center;
    gap: 48px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 8px 13px;
    border: 1px solid rgba(16, 185, 129, 0.35);
    border-radius: 999px;
    color: #bbf7d0;
    background: var(--primary-soft);
    font-weight: 800;
    font-size: 0.9rem;
}

.hero h1,
.page-hero h1 {
    margin: 18px 0 18px;
    font-size: clamp(2.55rem, 7vw, 5.65rem);
    line-height: 0.98;
    letter-spacing: -0.07em;
}

.gradient-text {
    background: linear-gradient(90deg, #34d399, #a7f3d0 55%, #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.lead {
    max-width: 690px;
    margin: 0 0 30px;
    color: var(--muted);
    font-size: clamp(1.04rem, 2vw, 1.22rem);
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 20px;
    border-radius: 14px;
    border: 1px solid transparent;
    font-weight: 900;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--primary); color: #062016; box-shadow: 0 16px 38px rgba(16, 185, 129, 0.24); }
.btn-primary:hover { background: #34d399; }
.btn-secondary { background: rgba(15, 23, 42, 0.76); border-color: var(--line); color: var(--text); }
.btn-secondary:hover { border-color: rgba(16, 185, 129, 0.5); }
.btn-danger { background: rgba(239, 68, 68, 0.13); border-color: rgba(239, 68, 68, 0.35); color: #fecaca; }

.hero-card {
    position: relative;
    min-height: 420px;
    border: 1px solid var(--line);
    border-radius: 30px;
    background:
        linear-gradient(145deg, rgba(16, 185, 129, 0.15), transparent 42%),
        rgba(15, 23, 42, 0.78);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.hero-card::before {
    content: "";
    position: absolute;
    inset: 18px;
    border-radius: 24px;
    border: 1px solid rgba(148, 163, 184, 0.14);
}

.console {
    position: absolute;
    inset: 42px 30px auto;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(2, 6, 23, 0.75);
    overflow: hidden;
}

.console-head {
    display: flex;
    gap: 7px;
    padding: 13px;
    border-bottom: 1px solid var(--line);
}

.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--muted-2); }
.dot:nth-child(1) { background: #fb7185; }
.dot:nth-child(2) { background: #fbbf24; }
.dot:nth-child(3) { background: #34d399; }
.console-body { padding: 18px; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; color: #d1fae5; font-size: 0.93rem; }
.console-body p { margin: 0 0 11px; }
.console-body span { color: #34d399; }

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 46px;
}

.stat,
.card,
.panel {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--card);
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.16);
}

.stat { padding: 18px; }
.stat strong { display: block; font-size: 1.65rem; line-height: 1; }
.stat span { color: var(--muted); font-weight: 700; font-size: 0.9rem; }

.section { padding: 70px 0; }
.section-header { max-width: 730px; margin-bottom: 30px; }
.section-eyebrow { color: var(--primary); font-weight: 900; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; }
.section h2 { margin: 8px 0 12px; font-size: clamp(2rem, 4vw, 3.1rem); letter-spacing: -0.045em; line-height: 1.05; }
.section p { color: var(--muted); }

.feature-grid,
.plugin-grid,
.shop-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.card {
    padding: 24px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(16, 185, 129, 0.45); }
.icon-box {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 16px;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 1.45rem;
}
.card h3 { margin: 0 0 8px; font-size: 1.22rem; }
.card p { margin: 0; }

.cta-box {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 22px;
    align-items: center;
    padding: 30px;
    border: 1px solid rgba(16, 185, 129, 0.28);
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.16), rgba(15, 23, 42, 0.9));
}
.cta-box h2 { margin: 0 0 8px; }
.cta-box p { margin: 0; color: var(--muted); }

.page-hero { padding: 70px 0 34px; text-align: center; }
.page-hero .lead { margin-inline: auto; }

.plugin-grid, .shop-grid { grid-template-columns: repeat(3, 1fr); }
.plugin-card { display: flex; flex-direction: column; min-height: 280px; }
.plugin-card h2 { margin: 0 0 10px; font-size: 1.45rem; }
.plugin-card p { margin: 0 0 18px; color: var(--muted); white-space: pre-wrap; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.tag { padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; color: #cbd5e1; background: rgba(148, 163, 184, 0.08); font-size: 0.8rem; font-weight: 800; }
.plugin-card .btn { margin-top: auto; width: 100%; }

.state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 44px 18px;
    border: 1px dashed var(--line);
    border-radius: var(--radius);
    color: var(--muted);
}
.spinner {
    width: 36px;
    height: 36px;
    margin: 0 auto 14px;
    border: 4px solid rgba(16, 185, 129, 0.18);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.75s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.wiki-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
    align-items: start;
    padding: 36px 0 80px;
}
.wiki-sidebar { position: sticky; top: 102px; padding: 18px; }
.wiki-sidebar h3 { margin: 0 0 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.wiki-nav { display: grid; gap: 8px; }
.wiki-nav a { padding: 10px 12px; border-radius: 12px; color: var(--muted); font-weight: 800; }
.wiki-nav a:hover, .wiki-nav a.active { color: var(--text); background: rgba(16, 185, 129, 0.12); }
.wiki-content { padding: 32px; min-height: 520px; }
.wiki-content h1, .wiki-content h2, .wiki-content h3 { line-height: 1.15; }
.wiki-content code { background: rgba(2, 6, 23, 0.55); padding: 2px 6px; border-radius: 7px; }
.wiki-content pre { overflow: auto; padding: 16px; border-radius: 15px; background: rgba(2, 6, 23, 0.68); border: 1px solid var(--line); }

.site-footer {
    margin-top: auto;
    border-top: 1px solid var(--line);
    background: rgba(8, 15, 31, 0.62);
    padding: 28px 0;
    color: var(--muted-2);
    text-align: center;
}

.admin-shell { width: min(100% - 32px, 1180px); margin: 34px auto; }
.login-overlay {
    position: fixed; inset: 0; z-index: 100;
    display: grid; place-items: center;
    padding: 18px; background: rgba(8, 15, 31, 0.96);
}
.login-box { width: min(100%, 430px); padding: 30px; text-align: center; }
.admin-header { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; margin-bottom: 22px; }
.tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 15px; }
.tab-btn { border: 1px solid var(--line); border-radius: 13px; background: rgba(15, 23, 42, 0.75); color: var(--muted); padding: 10px 14px; font-weight: 900; }
.tab-btn.active { background: var(--primary); color: #062016; }
.admin-grid { display: grid; grid-template-columns: 320px 1fr; gap: 22px; }
.admin-list, .admin-editor { padding: 22px; }
.item-list { display: grid; gap: 8px; margin: 14px 0; }
.item-btn { width: 100%; text-align: left; border: 1px solid transparent; border-radius: 13px; background: rgba(2, 6, 23, 0.35); color: var(--muted); padding: 12px; font-weight: 800; }
.item-btn.active { border-color: rgba(16, 185, 129, 0.45); background: var(--primary-soft); color: #bbf7d0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 16px; }
label { display: block; margin-bottom: 7px; color: var(--muted); font-size: 0.85rem; font-weight: 900; }
input, textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: rgba(2, 6, 23, 0.42);
    color: var(--text);
    padding: 12px 13px;
    outline: none;
}
textarea { min-height: 160px; resize: vertical; }
input:focus, textarea:focus { border-color: rgba(16, 185, 129, 0.7); box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1); }
.editor-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 18px; }
.hidden { display: none !important; }

@media (max-width: 920px) {
    .hero-grid, .wiki-layout, .admin-grid { grid-template-columns: 1fr; }
    .hero { padding-top: 72px; }
    .hero-card { min-height: 330px; }
    .stats, .feature-grid, .plugin-grid, .shop-grid { grid-template-columns: 1fr; }
    .cta-box { grid-template-columns: 1fr; }
    .wiki-sidebar { position: static; }
    .nav-actions .nav-links { display: none; }
    .mobile-menu-btn { display: inline-flex; }
}

@media (max-width: 640px) {
    .container { width: min(100% - 22px, var(--max)); }
    .navbar { height: 68px; }
    .logo { font-size: 1.08rem; }
    .logo-mark { width: 34px; height: 34px; }
    .nav-actions { gap: 9px; }
    .lang-switch button { padding: 6px 8px; }
    .hero h1, .page-hero h1 { letter-spacing: -0.05em; }
    .button-row, .btn { width: 100%; }
    .console { inset: 28px 18px auto; }
    .console-body { font-size: 0.78rem; }
    .section { padding: 48px 0; }
    .form-grid, .admin-header { grid-template-columns: 1fr; display: grid; }
    .admin-header .btn { width: 100%; }
}


.shop-card {
    display: flex;
    flex-direction: column;
    min-height: 390px;
}
.shop-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}
.shop-card-top strong {
    font-size: 1.35rem;
    color: var(--text);
}
.shop-card h2 {
    margin: 0 0 10px;
    font-size: 1.55rem;
}
.shop-card p {
    margin: 0 0 18px;
    color: var(--muted);
}
.shop-features {
    display: grid;
    gap: 9px;
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
    color: #cbd5e1;
}
.shop-features li::before {
    content: "✓";
    color: var(--primary);
    font-weight: 900;
    margin-right: 8px;
}
.shop-card .btn {
    width: 100%;
    margin-top: auto;
}
.shop-card small {
    display: block;
    margin-top: 12px;
    text-align: center;
    color: var(--muted-2);
    font-weight: 700;
}
.result-page {
    min-height: 62vh;
    display: grid;
    place-items: center;
    padding: 70px 0;
}
.result-box {
    width: min(100%, 620px);
    padding: 36px;
    text-align: center;
}
.result-box .icon-box {
    margin-inline: auto;
}
.result-box h1 {
    margin: 0 0 12px;
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.045em;
    line-height: 1.05;
}
.result-box p {
    color: var(--muted);
    margin-bottom: 24px;
}
button[disabled] {
    opacity: 0.65;
    cursor: not-allowed;
}

/* Kundenkonto */
.account-hero {
    padding-bottom: 30px;
}

.professional-account {
    position: relative;
}

.account-layout {
    display: grid;
    grid-template-columns: minmax(0, 540px) minmax(0, 1fr);
    gap: 24px;
    align-items: stretch;
    padding-bottom: 72px;
}

.auth-card,
.account-dashboard-card,
.auth-side-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 30px;
    background:
        linear-gradient(145deg, rgba(16, 185, 129, 0.12), transparent 38%),
        rgba(15, 23, 42, 0.82);
    box-shadow: var(--shadow);
}

.auth-card,
.account-dashboard-card {
    padding: clamp(24px, 4vw, 34px);
}

.auth-card::before,
.account-dashboard-card::before {
    content: "";
    position: absolute;
    inset: 1px;
    pointer-events: none;
    border-radius: 29px;
    background: linear-gradient(135deg, rgba(255,255,255,0.08), transparent 36%, rgba(16,185,129,0.08));
    opacity: 0.7;
}

.auth-card > *,
.account-dashboard-card > * {
    position: relative;
    z-index: 1;
}

.auth-card-top {
    margin-bottom: 22px;
}

.auth-brand-pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 12px;
    border: 1px solid rgba(16, 185, 129, 0.35);
    border-radius: 999px;
    color: #bbf7d0;
    background: rgba(16, 185, 129, 0.1);
    font-size: 0.86rem;
    font-weight: 900;
}

.auth-brand-icon {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.18);
}

.auth-card h2,
.auth-side-card h2,
.account-dashboard-card h2 {
    margin: 18px 0 10px;
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.auth-card-top p,
.auth-side-card p,
.account-userbar p {
    margin: 0;
    color: var(--muted);
}

.auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 24px 0;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(2, 6, 23, 0.38);
}

.auth-tab {
    border: 0;
    border-radius: 13px;
    background: transparent;
    color: var(--muted);
    padding: 12px 14px;
    font-weight: 900;
    cursor: pointer;
    transition: 0.2s ease;
}

.auth-tab:hover {
    color: var(--text);
    background: rgba(148, 163, 184, 0.08);
}

.auth-tab.active {
    color: #062016;
    background: linear-gradient(135deg, var(--primary), #86efac);
    box-shadow: 0 12px 28px rgba(16, 185, 129, 0.2);
}

.auth-form {
    display: grid;
    gap: 16px;
}

.auth-form.hidden,
.hidden {
    display: none !important;
}

.form-field {
    margin-bottom: 0;
}

.form-field label {
    display: block;
    margin-bottom: 8px;
    color: #dbeafe;
    font-size: 0.92rem;
    font-weight: 900;
}

.form-field small {
    display: block;
    margin-top: 8px;
    color: var(--muted-2);
    font-size: 0.86rem;
}

.input-shell {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 54px;
    padding: 0 15px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 16px;
    background: rgba(2, 6, 23, 0.46);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.input-shell span {
    min-width: 24px;
    color: var(--primary);
    font-weight: 900;
    text-align: center;
}

.input-shell:focus-within {
    border-color: rgba(16, 185, 129, 0.7);
    background: rgba(2, 6, 23, 0.66);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

.input-shell input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
    padding: 14px 0;
}

.input-shell input::placeholder {
    color: rgba(148, 163, 184, 0.6);
}

.auth-submit {
    width: 100%;
    margin-top: 4px;
    min-height: 54px;
    border-radius: 16px;
}

.auth-message {
    min-height: 24px;
    margin: 16px 0 0;
    padding: 0;
    color: #fca5a5;
    font-weight: 800;
}

.auth-message.error:not(:empty) {
    padding: 12px 14px;
    border: 1px solid rgba(248, 113, 113, 0.35);
    border-radius: 14px;
    background: rgba(239, 68, 68, 0.1);
}

.auth-message.success:not(:empty) {
    padding: 12px 14px;
    border: 1px solid rgba(16, 185, 129, 0.35);
    border-radius: 14px;
    background: rgba(16, 185, 129, 0.1);
    color: #bbf7d0;
}

.auth-footer-note {
    display: flex;
    gap: 12px;
    margin-top: 18px;
    padding: 14px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 16px;
    background: rgba(2, 6, 23, 0.28);
}

.auth-footer-note p {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.auth-side-card {
    min-height: 100%;
    padding: clamp(24px, 4vw, 34px);
    background:
        radial-gradient(circle at top right, rgba(16, 185, 129, 0.22), transparent 28rem),
        linear-gradient(145deg, rgba(15, 23, 42, 0.94), rgba(15, 23, 42, 0.72));
}

.auth-side-glow {
    position: absolute;
    right: -120px;
    top: -120px;
    width: 280px;
    height: 280px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.18);
    filter: blur(8px);
}

.auth-side-content {
    position: relative;
    z-index: 1;
}

.mini-product-card {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
    padding: 16px;
    border: 1px solid rgba(16, 185, 129, 0.28);
    border-radius: 20px;
    background: rgba(2, 6, 23, 0.38);
}

.mini-product-icon {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 17px;
    background: var(--primary-soft);
    font-size: 1.35rem;
}

.mini-product-card strong {
    display: block;
    color: var(--text);
    font-size: 1.05rem;
}

.mini-product-card p {
    margin-top: 3px;
    font-size: 0.92rem;
}

.premium-list {
    margin: 24px 0;
}

.secure-box {
    display: flex;
    gap: 14px;
    padding: 18px;
    border: 1px solid rgba(16, 185, 129, 0.26);
    border-radius: 20px;
    background: rgba(16, 185, 129, 0.09);
}

.secure-box > span {
    font-size: 1.5rem;
}

.secure-box strong {
    display: block;
    margin-bottom: 4px;
    color: #d1fae5;
}

.account-userbar {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    margin-bottom: 22px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}

.account-userbar strong {
    display: block;
    margin: 3px 0 6px;
    color: var(--text);
    font-size: 1.08rem;
}

.dashboard-kicker {
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.download-list {
    display: grid;
    gap: 14px;
}

.download-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(2, 6, 23, 0.24);
}

.download-card h3 {
    margin: 8px 0 6px;
    font-size: 1.25rem;
}

.download-card p {
    margin: 0;
    color: var(--muted);
}

.download-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.empty-downloads {
    display: grid;
    gap: 18px;
    justify-items: start;
    color: var(--muted);
    padding: 22px;
    border: 1px dashed var(--line);
    border-radius: 18px;
}

.account-info-list {
    display: grid;
    gap: 13px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
    color: var(--muted);
}

.account-info-list li::before {
    content: "✓";
    color: var(--primary);
    font-weight: 900;
    margin-right: 8px;
}

@media (max-width: 920px) {
    .account-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .account-userbar,
    .download-card {
        grid-template-columns: 1fr;
    }

    .auth-card,
    .account-dashboard-card,
    .auth-side-card {
        border-radius: 24px;
    }
}

/* Eigenständiger Konto-Button außerhalb der normalen Navigation */
.account-nav-button,
.mobile-account-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 9px 16px;
    border: 1px solid rgba(16, 185, 129, 0.38);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.18), rgba(16, 185, 129, 0.06));
    color: #d1fae5;
    font-weight: 900;
    box-shadow: 0 12px 28px rgba(16, 185, 129, 0.12);
    transition: 0.2s ease;
}

.account-nav-button::before,
.mobile-account-button::before {
    content: "👤";
    font-size: 0.95rem;
}

.account-nav-button:hover,
.account-nav-button.active,
.mobile-account-button:hover,
.mobile-account-button.active {
    transform: translateY(-1px);
    border-color: rgba(16, 185, 129, 0.72);
    background: var(--primary);
    color: #062016;
}

.mobile-panel .mobile-account-button {
    width: 100%;
    margin: 4px 0;
}

@media (max-width: 920px) {
    .account-nav-button {
        display: none;
    }
}

/* Stripe Success-Sync Hinweis */
.sync-status {
    margin: 1.25rem auto;
    padding: 0.9rem 1rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: rgba(15, 23, 42, 0.72);
    color: var(--muted);
    max-width: 560px;
    font-weight: 700;
}

.sync-status:empty {
    display: none;
}

.sync-status.success {
    border-color: rgba(16, 185, 129, 0.45);
    background: rgba(16, 185, 129, 0.12);
    color: #bbf7d0;
}

.sync-status.warning {
    border-color: rgba(245, 158, 11, 0.5);
    background: rgba(245, 158, 11, 0.12);
    color: #fde68a;
}

.sync-status.error {
    border-color: rgba(248, 113, 113, 0.5);
    background: rgba(248, 113, 113, 0.12);
    color: #fecaca;
}

.sync-status a {
    color: #ffffff;
    text-decoration: underline;
}


/* Rechtliche Seiten und Shop-Pflichtinformationen */
.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.footer-inner p { margin: 0; }
.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 18px;
    font-size: 0.92rem;
}
.footer-links a {
    color: var(--muted);
    font-weight: 800;
}
.footer-links a:hover { color: var(--primary); }

.legal-page {
    padding: 46px 0 84px;
}
.legal-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 26px;
    align-items: start;
}
.legal-content {
    padding: 34px;
}
.legal-content h1 {
    margin-top: 0;
    font-size: clamp(2rem, 4vw, 3.2rem);
    letter-spacing: -0.05em;
}
.legal-content h2 {
    margin-top: 34px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}
.legal-content h3 { margin-top: 24px; }
.legal-content p,
.legal-content li {
    color: var(--muted);
    line-height: 1.75;
}
.legal-content strong { color: var(--text); }
.legal-content a { color: var(--primary); font-weight: 800; }
.legal-box {
    border: 1px solid rgba(245, 158, 11, 0.35);
    background: rgba(245, 158, 11, 0.08);
    border-radius: var(--radius);
    padding: 16px;
    margin: 20px 0;
    color: #fde68a;
}
.legal-note {
    border: 1px solid var(--line);
    background: rgba(15, 23, 42, 0.7);
    border-radius: var(--radius);
    padding: 16px;
    margin: 18px 0;
}
.legal-sidebar {
    position: sticky;
    top: 100px;
    padding: 22px;
}
.legal-sidebar h2 {
    margin-top: 0;
    font-size: 1.15rem;
}
.legal-sidebar nav {
    display: grid;
    gap: 8px;
}
.legal-sidebar a {
    color: var(--muted);
    font-weight: 850;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(2, 6, 23, 0.22);
}
.legal-sidebar a:hover {
    color: var(--text);
    background: rgba(16, 185, 129, 0.12);
}
.legal-table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid var(--line);
    margin: 18px 0;
}
.legal-table th,
.legal-table td {
    border-bottom: 1px solid var(--line);
    padding: 12px;
    text-align: left;
    vertical-align: top;
}
.legal-table th {
    color: var(--text);
    background: rgba(15, 23, 42, 0.88);
}
.legal-table td { color: var(--muted); }
.legal-table tr:last-child td { border-bottom: 0; }

.shop-legal-consent {
    margin-top: 18px;
    padding: 14px;
    border: 1px solid rgba(16, 185, 129, 0.22);
    border-radius: 15px;
    background: rgba(2, 6, 23, 0.26);
}
.shop-legal-consent label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.55;
    cursor: pointer;
}
.shop-legal-consent input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: #10b981;
    flex: 0 0 auto;
}
.shop-legal-consent a {
    color: var(--primary);
    font-weight: 900;
}
.shop-legal-warning {
    display: none;
    margin-top: 10px;
    color: #fca5a5;
    font-weight: 800;
    font-size: 0.84rem;
}
.shop-legal-warning.show { display: block; }
.price-tax-note {
    display: block;
    margin-top: 2px;
    color: var(--muted-2);
    font-size: 0.8rem;
    font-weight: 750;
}

@media (max-width: 860px) {
    .legal-layout { grid-template-columns: 1fr; }
    .legal-sidebar { position: static; order: -1; }
    .legal-content { padding: 24px; }
}


/* =========================================================
   Professional Footer + Legal Center Upgrade
   ========================================================= */
.site-footer {
    position: relative;
    overflow: hidden;
    margin-top: auto;
    padding: 0;
    border-top: 1px solid rgba(148, 163, 184, 0.16);
    background:
        radial-gradient(circle at 12% 0%, rgba(16, 185, 129, 0.14), transparent 34rem),
        linear-gradient(180deg, rgba(8, 15, 31, 0.82), rgba(3, 7, 18, 0.96));
    color: var(--muted);
    text-align: left;
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.04) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 85%);
}

.footer-grid,
.footer-bottom {
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(260px, 1.45fr) repeat(3, minmax(150px, 0.75fr));
    gap: 34px;
    padding: 56px 0 34px;
}

.footer-logo {
    margin-bottom: 16px;
}

.footer-brand p {
    max-width: 420px;
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
}

.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 11px;
    border: 1px solid rgba(16, 185, 129, 0.28);
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.08);
    color: #bbf7d0;
    font-size: 0.82rem;
    font-weight: 900;
}

.footer-badge::before {
    content: "✓";
    display: inline-grid;
    place-items: center;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.18);
    color: var(--primary);
    font-size: 0.72rem;
}

.footer-column {
    display: grid;
    align-content: start;
    gap: 9px;
}

.footer-column h3 {
    margin: 0 0 9px;
    color: var(--text);
    font-size: 0.92rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.footer-column a {
    width: fit-content;
    color: var(--muted);
    font-weight: 800;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-column a:hover {
    color: var(--primary);
    transform: translateX(3px);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 0 24px;
    border-top: 1px solid rgba(148, 163, 184, 0.13);
}

.footer-bottom p {
    margin: 0;
    color: var(--muted-2);
}

.footer-top-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 13px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.58);
    color: var(--muted);
    font-weight: 900;
}

.footer-top-link:hover {
    color: var(--text);
    border-color: rgba(16, 185, 129, 0.45);
    background: rgba(16, 185, 129, 0.1);
}

.legal-page {
    padding: 0 0 92px;
}

.legal-hero {
    position: relative;
    overflow: hidden;
    padding: 74px 0 44px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    background:
        radial-gradient(circle at 20% 0%, rgba(16, 185, 129, 0.18), transparent 30rem),
        linear-gradient(180deg, rgba(15, 23, 42, 0.24), rgba(8, 15, 31, 0));
}

.legal-hero::after {
    content: "";
    position: absolute;
    right: max(18px, calc((100vw - var(--max)) / 2));
    top: 42px;
    width: 180px;
    height: 180px;
    border: 1px solid rgba(16, 185, 129, 0.18);
    border-radius: 40px;
    transform: rotate(12deg);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.09), transparent);
    filter: blur(0.2px);
}

.legal-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 850px;
}

.legal-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 13px;
    border: 1px solid rgba(16, 185, 129, 0.32);
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.1);
    color: #bbf7d0;
    font-weight: 900;
    font-size: 0.9rem;
}

.legal-hero h1 {
    max-width: 850px;
    margin: 18px 0 16px;
    font-size: clamp(2.35rem, 6vw, 4.9rem);
    line-height: 0.98;
    letter-spacing: -0.07em;
}

.legal-hero p {
    max-width: 760px;
    margin: 0;
    color: var(--muted);
    font-size: clamp(1.02rem, 2vw, 1.2rem);
    line-height: 1.75;
}

.legal-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.legal-meta-row span {
    padding: 8px 11px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.55);
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 850;
}

.legal-layout {
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 26px;
    align-items: start;
    padding-top: 34px;
}

.legal-sidebar {
    position: sticky;
    top: 100px;
    padding: 20px;
    background: linear-gradient(180deg, rgba(17, 28, 49, 0.92), rgba(15, 23, 42, 0.78));
}

.legal-sidebar-head {
    display: flex;
    gap: 12px;
    align-items: center;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--line);
}

.legal-sidebar-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(16, 185, 129, 0.28);
    border-radius: 15px;
    background: rgba(16, 185, 129, 0.09);
}

.legal-sidebar-head p {
    margin: 0;
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.legal-sidebar-head h2 {
    margin: 2px 0 0;
    font-size: 1.08rem;
}

.legal-nav {
    display: grid;
    gap: 8px;
}

.legal-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 12px;
    border: 1px solid transparent;
    border-radius: 14px;
    background: rgba(2, 6, 23, 0.24);
    color: var(--muted);
    font-weight: 900;
    transition: 0.2s ease;
}

.legal-nav a::after {
    content: "›";
    color: var(--muted-2);
    transition: transform 0.2s ease, color 0.2s ease;
}

.legal-nav a:hover,
.legal-nav a.active {
    border-color: rgba(16, 185, 129, 0.32);
    background: rgba(16, 185, 129, 0.1);
    color: var(--text);
}

.legal-nav a:hover::after,
.legal-nav a.active::after {
    transform: translateX(2px);
    color: var(--primary);
}

.legal-help-card {
    margin-top: 18px;
    padding: 15px;
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: 18px;
    background: rgba(245, 158, 11, 0.07);
}

.legal-help-card strong {
    color: #fde68a;
}

.legal-help-card p {
    margin: 6px 0 0;
    color: #fcd34d;
    font-size: 0.88rem;
    line-height: 1.6;
}

.legal-content {
    padding: clamp(24px, 4vw, 44px);
    background:
        linear-gradient(180deg, rgba(17, 28, 49, 0.94), rgba(15, 23, 42, 0.78));
}

.legal-content-intro {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px;
    margin-bottom: 24px;
    border: 1px solid rgba(16, 185, 129, 0.18);
    border-radius: 20px;
    background: rgba(16, 185, 129, 0.07);
}

.legal-content-intro > span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 15px;
    background: rgba(16, 185, 129, 0.12);
}

.legal-content-intro strong {
    display: block;
    color: var(--text);
    font-size: 1.08rem;
}

.legal-content-intro p {
    margin: 2px 0 0;
    color: var(--muted);
}

.legal-content h1 {
    margin-top: 0;
    font-size: clamp(2rem, 4vw, 3.2rem);
    letter-spacing: -0.05em;
}

.legal-content h2 {
    position: relative;
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid rgba(148, 163, 184, 0.16);
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.legal-content h2::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    width: 76px;
    height: 1px;
    background: linear-gradient(90deg, var(--primary), transparent);
}

.legal-content h3 {
    margin-top: 24px;
    color: var(--text);
}

.legal-content p,
.legal-content li {
    color: var(--muted);
    line-height: 1.82;
}

.legal-content ul,
.legal-content ol {
    padding-left: 1.2rem;
}

.legal-content strong {
    color: var(--text);
}

.legal-content a {
    color: #86efac;
    font-weight: 900;
    text-decoration: underline;
    text-decoration-color: rgba(16, 185, 129, 0.35);
    text-underline-offset: 3px;
}

.legal-box {
    position: relative;
    border: 1px solid rgba(245, 158, 11, 0.36);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(245, 158, 11, 0.04));
    border-radius: 20px;
    padding: 17px 18px;
    margin: 20px 0;
    color: #fde68a;
}

.legal-note {
    border: 1px solid rgba(16, 185, 129, 0.22);
    background: rgba(16, 185, 129, 0.07);
    border-radius: 20px;
    padding: 17px 18px;
    margin: 18px 0;
}

.legal-table {
    display: block;
    width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
    border-radius: 16px;
    border: 1px solid var(--line);
    margin: 20px 0;
}

.legal-table tbody,
.legal-table tr {
    width: 100%;
}

.legal-table th,
.legal-table td {
    min-width: 190px;
    border-bottom: 1px solid var(--line);
    padding: 14px;
    text-align: left;
    vertical-align: top;
}

.legal-table th {
    color: var(--text);
    background: rgba(2, 6, 23, 0.45);
}

.legal-table td {
    color: var(--muted);
}

.legal-table tr:last-child td {
    border-bottom: 0;
}

@media (max-width: 980px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .legal-layout {
        grid-template-columns: 1fr;
    }

    .legal-sidebar {
        position: static;
        order: -1;
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 26px;
        padding: 42px 0 28px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .legal-hero {
        padding: 54px 0 34px;
    }

    .legal-meta-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .legal-content,
    .legal-sidebar {
        padding: 20px;
    }
}

/* =========================================================
   Shop Product Popup + Admin Shop Management
   ========================================================= */
.shop-preview {
    width: 100%;
    height: 176px;
    margin: 0 0 18px;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 20px;
    background: rgba(2, 6, 23, 0.38);
    cursor: pointer;
}

.shop-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.25s ease;
}

.shop-preview:hover img {
    transform: scale(1.035);
}

.shop-preview-empty {
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 65% 25%, rgba(16, 185, 129, 0.24), transparent 18rem),
        rgba(2, 6, 23, 0.52);
}

.shop-preview-empty span {
    font-size: 2.4rem;
    font-weight: 950;
    letter-spacing: -0.08em;
    color: rgba(187, 247, 208, 0.88);
}

.shop-detail-btn {
    margin: 0 0 12px;
}

body.modal-open {
    overflow: hidden;
}

.product-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    padding: 20px;
}

.product-modal.open {
    display: grid;
    place-items: center;
}

.product-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.78);
    backdrop-filter: blur(16px);
}

.product-modal-panel {
    position: relative;
    z-index: 1;
    width: min(1120px, 100%);
    max-height: min(88vh, 900px);
    overflow: auto;
    display: grid;
    grid-template-columns: minmax(320px, 0.95fr) minmax(320px, 1.05fr);
    gap: 24px;
    padding: 24px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 30px;
    background:
        radial-gradient(circle at 25% 0%, rgba(16, 185, 129, 0.14), transparent 26rem),
        rgba(15, 23, 42, 0.96);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 3;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(2, 6, 23, 0.72);
    color: var(--text);
    font-size: 1.5rem;
    font-weight: 900;
    cursor: pointer;
}

.modal-gallery {
    display: grid;
    gap: 14px;
    align-content: start;
}

.modal-hero-image {
    min-height: 330px;
    overflow: hidden;
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 24px;
    background: rgba(2, 6, 23, 0.44);
}

.modal-hero-image img,
#modal-hero-image {
    width: 100%;
    height: 100%;
    min-height: 330px;
    object-fit: cover;
    display: block;
}

.modal-hero-placeholder {
    display: grid !important;
    place-items: center;
    color: rgba(187, 247, 208, 0.9);
    font-size: 3rem;
    font-weight: 950;
    background:
        radial-gradient(circle at 70% 24%, rgba(16, 185, 129, 0.22), transparent 20rem),
        rgba(2, 6, 23, 0.42);
}

.modal-image-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.modal-image {
    min-height: 86px;
    overflow: hidden;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(2, 6, 23, 0.42);
    cursor: pointer;
}

.modal-image.active {
    border-color: rgba(16, 185, 129, 0.75);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

.modal-image img {
    width: 100%;
    height: 100%;
    min-height: 86px;
    object-fit: cover;
    display: block;
}

.modal-empty-image {
    padding: 18px;
    border: 1px dashed var(--line);
    border-radius: 16px;
    color: var(--muted);
    text-align: center;
}

.modal-content {
    padding: 10px 8px 10px 0;
}

.modal-content h2 {
    margin: 16px 0 10px;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
    letter-spacing: -0.055em;
}

.modal-content h3 {
    margin: 26px 0 12px;
    font-size: 1.02rem;
    color: #dbeafe;
}

.modal-lead,
.modal-details {
    color: var(--muted);
    line-height: 1.78;
}

.modal-details p {
    margin: 0 0 12px;
}

.modal-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 18px 0 6px;
    padding: 16px;
    border: 1px solid rgba(16, 185, 129, 0.23);
    border-radius: 18px;
    background: rgba(16, 185, 129, 0.08);
}

.modal-price-row strong {
    color: var(--text);
    font-size: 1.45rem;
}

.modal-price-row span {
    color: #bbf7d0;
    font-weight: 900;
}

.modal-features {
    margin-bottom: 0;
}

.admin-wide-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.checkbox-row {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 13px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: rgba(2, 6, 23, 0.32);
    color: var(--muted);
    font-weight: 900;
}

.checkbox-row input {
    width: 18px;
    height: 18px;
    padding: 0;
    accent-color: #10b981;
}

.admin-table-wrap {
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: 18px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 920px;
}

.admin-table th,
.admin-table td {
    padding: 13px 14px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.admin-table th {
    color: #dbeafe;
    background: rgba(15, 23, 42, 0.92);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.admin-table td {
    color: var(--muted);
    font-size: 0.92rem;
}

.admin-table tr:last-child td {
    border-bottom: 0;
}

.admin-muted {
    color: var(--muted-2);
    font-size: 0.86rem;
}

.admin-order-status {
    display: inline-flex;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.12);
    color: #bbf7d0;
    font-weight: 900;
    font-size: 0.78rem;
}

@media (max-width: 920px) {
    .product-modal-panel {
        grid-template-columns: 1fr;
    }

    .modal-content {
        padding: 0;
    }

    .admin-wide-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .product-modal {
        padding: 10px;
    }

    .product-modal-panel {
        padding: 16px;
        border-radius: 22px;
    }

    .modal-hero-image,
    .modal-hero-image img,
    #modal-hero-image {
        min-height: 210px;
    }

    .modal-image-strip {
        grid-template-columns: 1fr;
    }
}

/* Markdown Inhalte für Shop-Produkte */
.markdown-content {
    color: var(--muted);
    line-height: 1.75;
}

.markdown-content > *:first-child {
    margin-top: 0;
}

.markdown-content > *:last-child {
    margin-bottom: 0;
}

.markdown-content p {
    margin: 0 0 14px;
}

.markdown-content h2,
.markdown-content h3,
.markdown-content h4,
.markdown-content h5 {
    color: var(--text);
    margin: 18px 0 10px;
    line-height: 1.18;
    letter-spacing: -0.02em;
}

.markdown-content h2 { font-size: 1.35rem; }
.markdown-content h3 { font-size: 1.18rem; }
.markdown-content h4,
.markdown-content h5 { font-size: 1.04rem; }

.markdown-content ul,
.markdown-content ol {
    margin: 0 0 16px;
    padding-left: 20px;
}

.markdown-content li {
    margin: 6px 0;
}

.markdown-content strong {
    color: #f8fafc;
}

.markdown-content em {
    color: #d1fae5;
}

.markdown-content a {
    color: var(--primary-light);
    font-weight: 800;
    text-decoration: none;
    border-bottom: 1px solid rgba(52, 211, 153, 0.45);
}

.markdown-content a:hover {
    color: #a7f3d0;
    border-bottom-color: #a7f3d0;
}

.markdown-content code {
    padding: 2px 7px;
    border-radius: 8px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    background: rgba(15, 23, 42, 0.85);
    color: #d1fae5;
    font-size: 0.92em;
}

.markdown-content blockquote {
    margin: 0 0 16px;
    padding: 12px 16px;
    border-left: 3px solid var(--primary);
    border-radius: 12px;
    background: rgba(16, 185, 129, 0.08);
    color: #dbeafe;
}

.shop-card-description {
    margin: 0 0 18px;
}

.shop-card-description ul,
.shop-card-description ol {
    margin-bottom: 10px;
}

.modal-details.markdown-content,
.modal-lead.markdown-content {
    color: var(--muted);
}

.download-card-description {
    margin-top: 4px;
}

.plugin-card-description {
    margin: 0 0 18px;
}

/* Popup checkout area */
.modal-purchase-card {
    margin-top: 28px;
    padding: 20px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    border: 1px solid rgba(16, 185, 129, 0.28);
    border-radius: 22px;
    background:
        radial-gradient(circle at 85% 10%, rgba(16, 185, 129, 0.18), transparent 16rem),
        rgba(2, 6, 23, 0.42);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.modal-purchase-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 8px;
    padding: 6px 10px;
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 999px;
    color: #bbf7d0;
    background: rgba(16, 185, 129, 0.1);
    font-size: 0.78rem;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.modal-purchase-card strong {
    display: block;
    color: var(--text);
    font-size: clamp(1.55rem, 3vw, 2.15rem);
    line-height: 1;
    margin-bottom: 8px;
}

.modal-purchase-card p {
    margin: 10px 0 0;
    color: var(--muted);
    line-height: 1.7;
}

.modal-purchase-actions {
    display: grid;
    gap: 12px;
}

.modal-buy-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
}

.modal-purchase-actions small {
    color: var(--muted);
    text-align: center;
}

.modal-legal-consent {
    margin: 0;
}

@media (max-width: 720px) {
    .modal-purchase-card {
        padding: 16px;
        border-radius: 18px;
    }
}


/* =========================================================
   Automatische Bildanpassung / kein Layout-Shift
   ========================================================= */
.shop-preview {
    aspect-ratio: 16 / 9;
    height: auto;
    min-height: 0;
    display: block;
}

.shop-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.modal-hero-image {
    aspect-ratio: 16 / 10;
    min-height: 0;
    height: auto;
}

.modal-hero-image img,
#modal-hero-image {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: center;
}

.modal-hero-placeholder {
    min-height: 0 !important;
    aspect-ratio: 16 / 10;
}

.modal-image {
    aspect-ratio: 16 / 10;
    min-height: 0;
}

.modal-image img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: center;
}

.markdown-image-frame {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    margin: 16px 0;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 18px;
    background: rgba(2, 6, 23, 0.42);
}

.markdown-image-frame img,
.markdown-content img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.markdown-content > img {
    aspect-ratio: 16 / 9;
    height: auto;
    max-height: 380px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 18px;
    background: rgba(2, 6, 23, 0.42);
}

@media (max-width: 640px) {
    .shop-preview,
    .markdown-image-frame,
    .markdown-content > img {
        aspect-ratio: 16 / 10;
    }

    .modal-hero-image,
    .modal-hero-placeholder {
        aspect-ratio: 16 / 11;
    }

    .modal-image-strip {
        grid-template-columns: repeat(3, minmax(92px, 1fr));
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .modal-image {
        min-width: 92px;
    }
}

/* Erweiterter Kundenbereich */
.account-dashboard-card {
    grid-column: 1 / -1;
}

.account-menu-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.account-menu {
    display: grid;
    gap: 8px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(2, 6, 23, 0.28);
    position: sticky;
    top: 86px;
}

.account-menu-item {
    border: 1px solid transparent;
    border-radius: 15px;
    background: transparent;
    color: var(--muted);
    padding: 12px 13px;
    text-align: left;
    font-weight: 900;
    cursor: pointer;
    transition: 0.2s ease;
}

.account-menu-item:hover,
.account-menu-item.active {
    color: #d1fae5;
    border-color: rgba(16, 185, 129, 0.34);
    background: rgba(16, 185, 129, 0.12);
}

.account-content {
    min-width: 0;
}

.account-tab-panel {
    display: none;
}

.account-tab-panel.active {
    display: block;
}

.account-section-head {
    margin-bottom: 20px;
}

.account-section-head h2 {
    margin: 8px 0 8px;
}

.account-section-head p {
    margin: 0;
    color: var(--muted);
}

.account-overview-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.account-stat-card {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(2, 6, 23, 0.28);
}

.account-stat-card span {
    display: block;
    color: var(--muted-2);
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.account-stat-card strong {
    display: block;
    margin-top: 8px;
    color: var(--text);
    font-size: clamp(1.4rem, 3vw, 2.1rem);
    line-height: 1;
}

.account-stat-wide {
    grid-column: span 2;
}

.download-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.download-small-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
    color: var(--muted-2);
    font-size: 0.86rem;
    font-weight: 800;
}

.account-table-wrap {
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: 18px;
}

.account-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
}

.account-table th,
.account-table td {
    padding: 14px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.account-table th {
    background: rgba(15, 23, 42, 0.88);
    color: #dbeafe;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.account-table td {
    color: var(--muted);
}

.account-table tr:last-child td {
    border-bottom: 0;
}

.account-table td span {
    color: var(--muted-2);
    font-size: 0.86rem;
}

.account-table code {
    display: inline-block;
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
    color: #bbf7d0;
}

.account-status-pill {
    display: inline-flex;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.12);
    color: #bbf7d0 !important;
    font-weight: 900;
}

.updates-list {
    display: grid;
    gap: 16px;
}

.update-card {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(2, 6, 23, 0.28);
}

.update-card-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 14px;
}

.update-card h3 {
    margin: 10px 0 6px;
    font-size: 1.22rem;
}

.update-card p {
    margin: 0;
    color: var(--muted-2);
}

.update-changelog {
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

.account-form {
    display: grid;
    gap: 16px;
    max-width: 680px;
}

.admin-help-box {
    min-height: 48px;
    padding: 13px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: rgba(2, 6, 23, 0.32);
    color: var(--muted);
    font-size: 0.9rem;
}

@media (max-width: 980px) {
    .account-menu-layout {
        grid-template-columns: 1fr;
    }

    .account-menu {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .account-overview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .account-menu {
        grid-template-columns: 1fr;
    }

    .account-overview-grid {
        grid-template-columns: 1fr;
    }

    .account-stat-wide {
        grid-column: auto;
    }

    .download-actions,
    .update-card-head {
        justify-content: flex-start;
        flex-direction: column;
    }
}


/* Refund / order status enhancements */
.btn-sm,
.btn-xs {
    min-height: auto;
    padding: 8px 11px;
    font-size: 0.82rem;
    border-radius: 10px;
}

.btn-xs {
    padding: 6px 9px;
    font-size: 0.76rem;
}

.account-status-pill.warning,
.admin-order-status.warning {
    background: rgba(245, 158, 11, 0.13);
    color: #fde68a !important;
}

.account-status-pill.danger,
.admin-order-status.danger,
.account-status-pill.refunded {
    background: rgba(239, 68, 68, 0.13);
    color: #fecaca !important;
}

.account-status-pill.paid {
    background: rgba(16, 185, 129, 0.12);
    color: #bbf7d0 !important;
}

.refund-cell-meta,
.admin-order-actions {
    display: grid;
    gap: 7px;
    margin-top: 9px;
}

.refund-cell-meta small {
    display: block;
    color: var(--muted-2);
    line-height: 1.45;
}

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

.admin-orders-table {
    min-width: 1180px;
}

.account-orders-table {
    min-width: 980px;
}

/* =========================================================
   Admin Dashboard, Kundenverwaltung, Filter & Download-Sperren
   ========================================================= */
.admin-dashboard-layout {
    display: grid;
    gap: 22px;
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.admin-stat-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    min-height: 104px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background:
        radial-gradient(circle at 90% 10%, rgba(16, 185, 129, 0.15), transparent 9rem),
        rgba(15, 23, 42, 0.68);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.admin-stat-card.warning {
    background:
        radial-gradient(circle at 90% 10%, rgba(245, 158, 11, 0.18), transparent 9rem),
        rgba(15, 23, 42, 0.68);
    border-color: rgba(245, 158, 11, 0.25);
}

.admin-stat-card > span {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.22);
    font-size: 1.35rem;
}

.admin-stat-card small {
    display: block;
    color: var(--muted-2);
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-size: 0.74rem;
}

.admin-stat-card strong {
    display: block;
    margin-top: 7px;
    color: var(--text);
    font-size: clamp(1.45rem, 3vw, 2.15rem);
    line-height: 1;
    letter-spacing: -0.05em;
}

.admin-controls {
    display: grid;
    grid-template-columns: minmax(180px, 260px) minmax(240px, 1fr);
    gap: 12px;
    margin: 18px 0;
}

.admin-controls input,
.admin-controls select {
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(2, 6, 23, 0.42);
    color: var(--text);
    padding: 0 13px;
    outline: none;
}

.admin-controls input:focus,
.admin-controls select:focus {
    border-color: rgba(16, 185, 129, 0.55);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.11);
}

.admin-customers-table code,
.admin-orders-table code {
    display: inline-block;
    max-width: 230px;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
    color: #bbf7d0;
}

.admin-order-status.danger {
    background: rgba(239, 68, 68, 0.13);
    color: #fecaca !important;
}

.admin-order-status.warning {
    background: rgba(245, 158, 11, 0.13);
    color: #fde68a !important;
}

.btn[disabled] {
    cursor: not-allowed;
    opacity: 0.58;
}

@media (max-width: 1180px) {
    .admin-stats-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .admin-stats-grid {
        grid-template-columns: 1fr;
    }

    .admin-controls {
        grid-template-columns: 1fr;
    }
}
    object-fit: cover;
    display: block;
}

.admin-image-item code {
    display: block;
    font-size: .75rem;
    color: var(--muted);
    word-break: break-all;
    margin-bottom: 10px;
}

.admin-manual-purchase-panel {
    margin-bottom: 22px;
    background: linear-gradient(135deg, rgba(16, 185, 129, .08), rgba(15, 23, 42, .72));
}

.editor-head.compact {
    margin-bottom: 14px;
}

@media (max-width: 820px) {
    .admin-upload-box,
    .admin-preview-grid {
        grid-template-columns: 1fr;
    }

    .admin-upload-box {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-upload-actions {
        justify-content: stretch;
    }

    .admin-upload-actions input[type="file"],
    .admin-upload-actions .btn {
        width: 100%;
        max-width: none;
    }
}

.update-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.update-meta span {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(148, 163, 184, .22);
    border-radius: 999px;
    padding: 6px 10px;
    color: var(--muted);
    background: rgba(15, 23, 42, .55);
    font-size: .84rem;
}

/* Admin Settings / E-Mail / Wartungsmodus */
.admin-settings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 22px;
}

.admin-settings-card {
    background: rgba(15, 23, 42, 0.62);
    border: 1px solid rgba(148, 163, 184, 0.14);
    box-shadow: none;
}

.admin-settings-card h3 {
    margin-top: 0;
    margin-bottom: 16px;
}

.admin-mail-actions-panel {
    margin-top: 22px;
}

.admin-mail-row-actions {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.maintenance-state {
    max-width: 760px;
    margin: 0 auto;
    border: 1px solid rgba(245, 158, 11, 0.28);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(15, 23, 42, 0.9));
}

.maintenance-state strong {
    display: block;
    color: #fbbf24;
    font-size: 1.25rem;
    margin-bottom: 8px;
}

@media (max-width: 900px) {
    .admin-settings-grid {
        grid-template-columns: 1fr;
    }
}

/* License / SMTP / Admin Security Update */
.link-button {
    border: 0;
    background: transparent;
    color: var(--primary);
    cursor: pointer;
    font: inherit;
    padding: 0;
}
.link-button:hover { text-decoration: underline; }
.account-forgot-link { align-self: flex-start; margin-top: 10px; }
.licenses-list { display: grid; gap: 18px; }
.license-card {
    display: flex;
    justify-content: space-between;
    gap: 22px;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: rgba(15, 23, 42, 0.55);
}
.license-card-main { min-width: 0; }
.license-key-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 10px 0;
}
.license-key-row code {
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(2, 6, 23, 0.6);
    color: var(--text);
    font-weight: 700;
}
.admin-header-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.admin-soft-separator { border: 0; border-top: 1px solid var(--border); margin: 18px 0; }
.admin-wide-grid.compact { gap: 12px; }
.admin-licenses-table code { word-break: break-all; }
@media (max-width: 760px) {
    .license-card { flex-direction: column; }
    .license-card .download-actions { align-items: stretch; }
}


/* --- Marketing/Landing CSS from product update --- */
:root {
    --bg: #080f1f;
    --bg-soft: #0d172a;
    --card: rgba(15, 23, 42, 0.78);
    --card-strong: #111c31;
    --line: rgba(148, 163, 184, 0.18);
    --text: #f8fafc;
    --muted: #94a3b8;
    --muted-2: #64748b;
    --primary: #10b981;
    --primary-dark: #059669;
    --primary-soft: rgba(16, 185, 129, 0.14);
    --danger: #ef4444;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
    --radius: 22px;
    --max: 1180px;
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(16, 185, 129, 0.2), transparent 34rem),
        radial-gradient(circle at 85% 10%, rgba(34, 197, 94, 0.13), transparent 30rem),
        var(--bg);
    color: var(--text);
    line-height: 1.6;
}

body.admin-page {
    background:
        radial-gradient(circle at top, rgba(16, 185, 129, 0.16), transparent 32rem),
        var(--bg);
}

img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }

.container {
    width: min(100% - 32px, var(--max));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--line);
    background: rgba(8, 15, 31, 0.82);
    backdrop-filter: blur(16px);
}

.navbar {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.logo-mark {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(16, 185, 129, 0.45);
    border-radius: 13px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.22), rgba(16, 185, 129, 0.04));
    color: var(--primary);
    box-shadow: 0 0 26px rgba(16, 185, 129, 0.18);
}

.logo span span { color: var(--primary); }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 22px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--muted);
    font-weight: 700;
    transition: 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text);
    background: rgba(148, 163, 184, 0.1);
}

.lang-switch {
    display: flex;
    gap: 6px;
    padding: 5px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.65);
}

.lang-switch button {
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    padding: 7px 10px;
    font-weight: 900;
}

.lang-switch button.active {
    color: #062016;
    background: var(--primary);
}

.mobile-menu-btn {
    display: none;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.8);
    color: var(--text);
    padding: 9px 11px;
}

.mobile-panel {
    display: none;
    padding: 0 16px 16px;
}

.mobile-panel.open { display: block; }
.mobile-panel .nav-links { flex-direction: column; align-items: stretch; }
.mobile-panel .nav-link { display: block; }

.hero {
    position: relative;
    overflow: hidden;
    padding: 104px 0 58px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    align-items: center;
    gap: 48px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 8px 13px;
    border: 1px solid rgba(16, 185, 129, 0.35);
    border-radius: 999px;
    color: #bbf7d0;
    background: var(--primary-soft);
    font-weight: 800;
    font-size: 0.9rem;
}

.hero h1,
.page-hero h1 {
    margin: 18px 0 18px;
    font-size: clamp(2.55rem, 7vw, 5.65rem);
    line-height: 0.98;
    letter-spacing: -0.07em;
}

.gradient-text {
    background: linear-gradient(90deg, #34d399, #a7f3d0 55%, #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.lead {
    max-width: 690px;
    margin: 0 0 30px;
    color: var(--muted);
    font-size: clamp(1.04rem, 2vw, 1.22rem);
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 20px;
    border-radius: 14px;
    border: 1px solid transparent;
    font-weight: 900;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--primary); color: #062016; box-shadow: 0 16px 38px rgba(16, 185, 129, 0.24); }
.btn-primary:hover { background: #34d399; }
.btn-secondary { background: rgba(15, 23, 42, 0.76); border-color: var(--line); color: var(--text); }
.btn-secondary:hover { border-color: rgba(16, 185, 129, 0.5); }
.btn-danger { background: rgba(239, 68, 68, 0.13); border-color: rgba(239, 68, 68, 0.35); color: #fecaca; }

.hero-card {
    position: relative;
    min-height: 420px;
    border: 1px solid var(--line);
    border-radius: 30px;
    background:
        linear-gradient(145deg, rgba(16, 185, 129, 0.15), transparent 42%),
        rgba(15, 23, 42, 0.78);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.hero-card::before {
    content: "";
    position: absolute;
    inset: 18px;
    border-radius: 24px;
    border: 1px solid rgba(148, 163, 184, 0.14);
}

.console {
    position: absolute;
    inset: 42px 30px auto;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(2, 6, 23, 0.75);
    overflow: hidden;
}

.console-head {
    display: flex;
    gap: 7px;
    padding: 13px;
    border-bottom: 1px solid var(--line);
}

.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--muted-2); }
.dot:nth-child(1) { background: #fb7185; }
.dot:nth-child(2) { background: #fbbf24; }
.dot:nth-child(3) { background: #34d399; }
.console-body { padding: 18px; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; color: #d1fae5; font-size: 0.93rem; }
.console-body p { margin: 0 0 11px; }
.console-body span { color: #34d399; }

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 46px;
}

.stat,
.card,
.panel {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--card);
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.16);
}

.stat { padding: 18px; }
.stat strong { display: block; font-size: 1.65rem; line-height: 1; }
.stat span { color: var(--muted); font-weight: 700; font-size: 0.9rem; }

.section { padding: 70px 0; }
.section-header { max-width: 730px; margin-bottom: 30px; }
.section-eyebrow { color: var(--primary); font-weight: 900; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; }
.section h2 { margin: 8px 0 12px; font-size: clamp(2rem, 4vw, 3.1rem); letter-spacing: -0.045em; line-height: 1.05; }
.section p { color: var(--muted); }

.feature-grid,
.plugin-grid,
.shop-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.card {
    padding: 24px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(16, 185, 129, 0.45); }
.icon-box {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 16px;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 1.45rem;
}
.card h3 { margin: 0 0 8px; font-size: 1.22rem; }
.card p { margin: 0; }

.cta-box {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 22px;
    align-items: center;
    padding: 30px;
    border: 1px solid rgba(16, 185, 129, 0.28);
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.16), rgba(15, 23, 42, 0.9));
}
.cta-box h2 { margin: 0 0 8px; }
.cta-box p { margin: 0; color: var(--muted); }

.page-hero { padding: 70px 0 34px; text-align: center; }
.page-hero .lead { margin-inline: auto; }

.plugin-grid, .shop-grid { grid-template-columns: repeat(3, 1fr); }
.plugin-card { display: flex; flex-direction: column; min-height: 280px; }
.plugin-card h2 { margin: 0 0 10px; font-size: 1.45rem; }
.plugin-card p { margin: 0 0 18px; color: var(--muted); white-space: pre-wrap; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.tag { padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; color: #cbd5e1; background: rgba(148, 163, 184, 0.08); font-size: 0.8rem; font-weight: 800; }
.plugin-card .btn { margin-top: auto; width: 100%; }

.state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 44px 18px;
    border: 1px dashed var(--line);
    border-radius: var(--radius);
    color: var(--muted);
}
.spinner {
    width: 36px;
    height: 36px;
    margin: 0 auto 14px;
    border: 4px solid rgba(16, 185, 129, 0.18);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.75s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.wiki-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
    align-items: start;
    padding: 36px 0 80px;
}
.wiki-sidebar { position: sticky; top: 102px; padding: 18px; }
.wiki-sidebar h3 { margin: 0 0 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.wiki-nav { display: grid; gap: 8px; }
.wiki-nav a { padding: 10px 12px; border-radius: 12px; color: var(--muted); font-weight: 800; }
.wiki-nav a:hover, .wiki-nav a.active { color: var(--text); background: rgba(16, 185, 129, 0.12); }
.wiki-content { padding: 32px; min-height: 520px; }
.wiki-content h1, .wiki-content h2, .wiki-content h3 { line-height: 1.15; }
.wiki-content code { background: rgba(2, 6, 23, 0.55); padding: 2px 6px; border-radius: 7px; }
.wiki-content pre { overflow: auto; padding: 16px; border-radius: 15px; background: rgba(2, 6, 23, 0.68); border: 1px solid var(--line); }

.site-footer {
    margin-top: auto;
    border-top: 1px solid var(--line);
    background: rgba(8, 15, 31, 0.62);
    padding: 28px 0;
    color: var(--muted-2);
    text-align: center;
}

.admin-shell { width: min(100% - 32px, 1180px); margin: 34px auto; }
.login-overlay {
    position: fixed; inset: 0; z-index: 100;
    display: grid; place-items: center;
    padding: 18px; background: rgba(8, 15, 31, 0.96);
}
.login-box { width: min(100%, 430px); padding: 30px; text-align: center; }
.admin-header { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; margin-bottom: 22px; }
.tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 15px; }
.tab-btn { border: 1px solid var(--line); border-radius: 13px; background: rgba(15, 23, 42, 0.75); color: var(--muted); padding: 10px 14px; font-weight: 900; }
.tab-btn.active { background: var(--primary); color: #062016; }
.admin-grid { display: grid; grid-template-columns: 320px 1fr; gap: 22px; }
.admin-list, .admin-editor { padding: 22px; }
.item-list { display: grid; gap: 8px; margin: 14px 0; }
.item-btn { width: 100%; text-align: left; border: 1px solid transparent; border-radius: 13px; background: rgba(2, 6, 23, 0.35); color: var(--muted); padding: 12px; font-weight: 800; }
.item-btn.active { border-color: rgba(16, 185, 129, 0.45); background: var(--primary-soft); color: #bbf7d0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 16px; }
label { display: block; margin-bottom: 7px; color: var(--muted); font-size: 0.85rem; font-weight: 900; }
input, textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: rgba(2, 6, 23, 0.42);
    color: var(--text);
    padding: 12px 13px;
    outline: none;
}
textarea { min-height: 160px; resize: vertical; }
input:focus, textarea:focus { border-color: rgba(16, 185, 129, 0.7); box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1); }
.editor-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 18px; }
.hidden { display: none !important; }

@media (max-width: 920px) {
    .hero-grid, .wiki-layout, .admin-grid { grid-template-columns: 1fr; }
    .hero { padding-top: 72px; }
    .hero-card { min-height: 330px; }
    .stats, .feature-grid, .plugin-grid, .shop-grid { grid-template-columns: 1fr; }
    .cta-box { grid-template-columns: 1fr; }
    .wiki-sidebar { position: static; }
    .nav-actions .nav-links { display: none; }
    .mobile-menu-btn { display: inline-flex; }
}

@media (max-width: 640px) {
    .container { width: min(100% - 22px, var(--max)); }
    .navbar { height: 68px; }
    .logo { font-size: 1.08rem; }
    .logo-mark { width: 34px; height: 34px; }
    .nav-actions { gap: 9px; }
    .lang-switch button { padding: 6px 8px; }
    .hero h1, .page-hero h1 { letter-spacing: -0.05em; }
    .button-row, .btn { width: 100%; }
    .console { inset: 28px 18px auto; }
    .console-body { font-size: 0.78rem; }
    .section { padding: 48px 0; }
    .form-grid, .admin-header { grid-template-columns: 1fr; display: grid; }
    .admin-header .btn { width: 100%; }
}


.shop-card {
    display: flex;
    flex-direction: column;
    min-height: 390px;
}
.shop-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}
.shop-card-top strong {
    font-size: 1.35rem;
    color: var(--text);
}
.shop-card h2 {
    margin: 0 0 10px;
    font-size: 1.55rem;
}
.shop-card p {
    margin: 0 0 18px;
    color: var(--muted);
}
.shop-features {
    display: grid;
    gap: 9px;
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
    color: #cbd5e1;
}
.shop-features li::before {
    content: "✓";
    color: var(--primary);
    font-weight: 900;
    margin-right: 8px;
}
.shop-card .btn {
    width: 100%;
    margin-top: auto;
}
.shop-card small {
    display: block;
    margin-top: 12px;
    text-align: center;
    color: var(--muted-2);
    font-weight: 700;
}
.result-page {
    min-height: 62vh;
    display: grid;
    place-items: center;
    padding: 70px 0;
}
.result-box {
    width: min(100%, 620px);
    padding: 36px;
    text-align: center;
}
.result-box .icon-box {
    margin-inline: auto;
}
.result-box h1 {
    margin: 0 0 12px;
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.045em;
    line-height: 1.05;
}
.result-box p {
    color: var(--muted);
    margin-bottom: 24px;
}
button[disabled] {
    opacity: 0.65;
    cursor: not-allowed;
}

/* Kundenkonto */
.account-hero {
    padding-bottom: 30px;
}

.professional-account {
    position: relative;
}

.account-layout {
    display: grid;
    grid-template-columns: minmax(0, 540px) minmax(0, 1fr);
    gap: 24px;
    align-items: stretch;
    padding-bottom: 72px;
}

.auth-card,
.account-dashboard-card,
.auth-side-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 30px;
    background:
        linear-gradient(145deg, rgba(16, 185, 129, 0.12), transparent 38%),
        rgba(15, 23, 42, 0.82);
    box-shadow: var(--shadow);
}

.auth-card,
.account-dashboard-card {
    padding: clamp(24px, 4vw, 34px);
}

.auth-card::before,
.account-dashboard-card::before {
    content: "";
    position: absolute;
    inset: 1px;
    pointer-events: none;
    border-radius: 29px;
    background: linear-gradient(135deg, rgba(255,255,255,0.08), transparent 36%, rgba(16,185,129,0.08));
    opacity: 0.7;
}

.auth-card > *,
.account-dashboard-card > * {
    position: relative;
    z-index: 1;
}

.auth-card-top {
    margin-bottom: 22px;
}

.auth-brand-pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 12px;
    border: 1px solid rgba(16, 185, 129, 0.35);
    border-radius: 999px;
    color: #bbf7d0;
    background: rgba(16, 185, 129, 0.1);
    font-size: 0.86rem;
    font-weight: 900;
}

.auth-brand-icon {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.18);
}

.auth-card h2,
.auth-side-card h2,
.account-dashboard-card h2 {
    margin: 18px 0 10px;
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.auth-card-top p,
.auth-side-card p,
.account-userbar p {
    margin: 0;
    color: var(--muted);
}

.auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 24px 0;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(2, 6, 23, 0.38);
}

.auth-tab {
    border: 0;
    border-radius: 13px;
    background: transparent;
    color: var(--muted);
    padding: 12px 14px;
    font-weight: 900;
    cursor: pointer;
    transition: 0.2s ease;
}

.auth-tab:hover {
    color: var(--text);
    background: rgba(148, 163, 184, 0.08);
}

.auth-tab.active {
    color: #062016;
    background: linear-gradient(135deg, var(--primary), #86efac);
    box-shadow: 0 12px 28px rgba(16, 185, 129, 0.2);
}

.auth-form {
    display: grid;
    gap: 16px;
}

.auth-form.hidden,
.hidden {
    display: none !important;
}

.form-field {
    margin-bottom: 0;
}

.form-field label {
    display: block;
    margin-bottom: 8px;
    color: #dbeafe;
    font-size: 0.92rem;
    font-weight: 900;
}

.form-field small {
    display: block;
    margin-top: 8px;
    color: var(--muted-2);
    font-size: 0.86rem;
}

.input-shell {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 54px;
    padding: 0 15px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 16px;
    background: rgba(2, 6, 23, 0.46);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.input-shell span {
    min-width: 24px;
    color: var(--primary);
    font-weight: 900;
    text-align: center;
}

.input-shell:focus-within {
    border-color: rgba(16, 185, 129, 0.7);
    background: rgba(2, 6, 23, 0.66);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

.input-shell input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
    padding: 14px 0;
}

.input-shell input::placeholder {
    color: rgba(148, 163, 184, 0.6);
}

.auth-submit {
    width: 100%;
    margin-top: 4px;
    min-height: 54px;
    border-radius: 16px;
}

.auth-message {
    min-height: 24px;
    margin: 16px 0 0;
    padding: 0;
    color: #fca5a5;
    font-weight: 800;
}

.auth-message.error:not(:empty) {
    padding: 12px 14px;
    border: 1px solid rgba(248, 113, 113, 0.35);
    border-radius: 14px;
    background: rgba(239, 68, 68, 0.1);
}

.auth-message.success:not(:empty) {
    padding: 12px 14px;
    border: 1px solid rgba(16, 185, 129, 0.35);
    border-radius: 14px;
    background: rgba(16, 185, 129, 0.1);
    color: #bbf7d0;
}

.auth-footer-note {
    display: flex;
    gap: 12px;
    margin-top: 18px;
    padding: 14px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 16px;
    background: rgba(2, 6, 23, 0.28);
}

.auth-footer-note p {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.auth-side-card {
    min-height: 100%;
    padding: clamp(24px, 4vw, 34px);
    background:
        radial-gradient(circle at top right, rgba(16, 185, 129, 0.22), transparent 28rem),
        linear-gradient(145deg, rgba(15, 23, 42, 0.94), rgba(15, 23, 42, 0.72));
}

.auth-side-glow {
    position: absolute;
    right: -120px;
    top: -120px;
    width: 280px;
    height: 280px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.18);
    filter: blur(8px);
}

.auth-side-content {
    position: relative;
    z-index: 1;
}

.mini-product-card {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
    padding: 16px;
    border: 1px solid rgba(16, 185, 129, 0.28);
    border-radius: 20px;
    background: rgba(2, 6, 23, 0.38);
}

.mini-product-icon {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 17px;
    background: var(--primary-soft);
    font-size: 1.35rem;
}

.mini-product-card strong {
    display: block;
    color: var(--text);
    font-size: 1.05rem;
}

.mini-product-card p {
    margin-top: 3px;
    font-size: 0.92rem;
}

.premium-list {
    margin: 24px 0;
}

.secure-box {
    display: flex;
    gap: 14px;
    padding: 18px;
    border: 1px solid rgba(16, 185, 129, 0.26);
    border-radius: 20px;
    background: rgba(16, 185, 129, 0.09);
}

.secure-box > span {
    font-size: 1.5rem;
}

.secure-box strong {
    display: block;
    margin-bottom: 4px;
    color: #d1fae5;
}

.account-userbar {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    margin-bottom: 22px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}

.account-userbar strong {
    display: block;
    margin: 3px 0 6px;
    color: var(--text);
    font-size: 1.08rem;
}

.dashboard-kicker {
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.download-list {
    display: grid;
    gap: 14px;
}

.download-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(2, 6, 23, 0.24);
}

.download-card h3 {
    margin: 8px 0 6px;
    font-size: 1.25rem;
}

.download-card p {
    margin: 0;
    color: var(--muted);
}

.download-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.empty-downloads {
    display: grid;
    gap: 18px;
    justify-items: start;
    color: var(--muted);
    padding: 22px;
    border: 1px dashed var(--line);
    border-radius: 18px;
}

.account-info-list {
    display: grid;
    gap: 13px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
    color: var(--muted);
}

.account-info-list li::before {
    content: "✓";
    color: var(--primary);
    font-weight: 900;
    margin-right: 8px;
}

@media (max-width: 920px) {
    .account-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .account-userbar,
    .download-card {
        grid-template-columns: 1fr;
    }

    .auth-card,
    .account-dashboard-card,
    .auth-side-card {
        border-radius: 24px;
    }
}

/* Eigenständiger Konto-Button außerhalb der normalen Navigation */
.account-nav-button,
.mobile-account-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 9px 16px;
    border: 1px solid rgba(16, 185, 129, 0.38);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.18), rgba(16, 185, 129, 0.06));
    color: #d1fae5;
    font-weight: 900;
    box-shadow: 0 12px 28px rgba(16, 185, 129, 0.12);
    transition: 0.2s ease;
}

.account-nav-button::before,
.mobile-account-button::before {
    content: "👤";
    font-size: 0.95rem;
}

.account-nav-button:hover,
.account-nav-button.active,
.mobile-account-button:hover,
.mobile-account-button.active {
    transform: translateY(-1px);
    border-color: rgba(16, 185, 129, 0.72);
    background: var(--primary);
    color: #062016;
}

.mobile-panel .mobile-account-button {
    width: 100%;
    margin: 4px 0;
}

@media (max-width: 920px) {
    .account-nav-button {
        display: none;
    }
}

/* Stripe Success-Sync Hinweis */
.sync-status {
    margin: 1.25rem auto;
    padding: 0.9rem 1rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: rgba(15, 23, 42, 0.72);
    color: var(--muted);
    max-width: 560px;
    font-weight: 700;
}

.sync-status:empty {
    display: none;
}

.sync-status.success {
    border-color: rgba(16, 185, 129, 0.45);
    background: rgba(16, 185, 129, 0.12);
    color: #bbf7d0;
}

.sync-status.warning {
    border-color: rgba(245, 158, 11, 0.5);
    background: rgba(245, 158, 11, 0.12);
    color: #fde68a;
}

.sync-status.error {
    border-color: rgba(248, 113, 113, 0.5);
    background: rgba(248, 113, 113, 0.12);
    color: #fecaca;
}

.sync-status a {
    color: #ffffff;
    text-decoration: underline;
}


/* Rechtliche Seiten und Shop-Pflichtinformationen */
.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.footer-inner p { margin: 0; }
.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 18px;
    font-size: 0.92rem;
}
.footer-links a {
    color: var(--muted);
    font-weight: 800;
}
.footer-links a:hover { color: var(--primary); }

.legal-page {
    padding: 46px 0 84px;
}
.legal-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 26px;
    align-items: start;
}
.legal-content {
    padding: 34px;
}
.legal-content h1 {
    margin-top: 0;
    font-size: clamp(2rem, 4vw, 3.2rem);
    letter-spacing: -0.05em;
}
.legal-content h2 {
    margin-top: 34px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}
.legal-content h3 { margin-top: 24px; }
.legal-content p,
.legal-content li {
    color: var(--muted);
    line-height: 1.75;
}
.legal-content strong { color: var(--text); }
.legal-content a { color: var(--primary); font-weight: 800; }
.legal-box {
    border: 1px solid rgba(245, 158, 11, 0.35);
    background: rgba(245, 158, 11, 0.08);
    border-radius: var(--radius);
    padding: 16px;
    margin: 20px 0;
    color: #fde68a;
}
.legal-note {
    border: 1px solid var(--line);
    background: rgba(15, 23, 42, 0.7);
    border-radius: var(--radius);
    padding: 16px;
    margin: 18px 0;
}
.legal-sidebar {
    position: sticky;
    top: 100px;
    padding: 22px;
}
.legal-sidebar h2 {
    margin-top: 0;
    font-size: 1.15rem;
}
.legal-sidebar nav {
    display: grid;
    gap: 8px;
}
.legal-sidebar a {
    color: var(--muted);
    font-weight: 850;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(2, 6, 23, 0.22);
}
.legal-sidebar a:hover {
    color: var(--text);
    background: rgba(16, 185, 129, 0.12);
}
.legal-table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid var(--line);
    margin: 18px 0;
}
.legal-table th,
.legal-table td {
    border-bottom: 1px solid var(--line);
    padding: 12px;
    text-align: left;
    vertical-align: top;
}
.legal-table th {
    color: var(--text);
    background: rgba(15, 23, 42, 0.88);
}
.legal-table td { color: var(--muted); }
.legal-table tr:last-child td { border-bottom: 0; }

.shop-legal-consent {
    margin-top: 18px;
    padding: 14px;
    border: 1px solid rgba(16, 185, 129, 0.22);
    border-radius: 15px;
    background: rgba(2, 6, 23, 0.26);
}
.shop-legal-consent label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.55;
    cursor: pointer;
}
.shop-legal-consent input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: #10b981;
    flex: 0 0 auto;
}
.shop-legal-consent a {
    color: var(--primary);
    font-weight: 900;
}
.shop-legal-warning {
    display: none;
    margin-top: 10px;
    color: #fca5a5;
    font-weight: 800;
    font-size: 0.84rem;
}
.shop-legal-warning.show { display: block; }
.price-tax-note {
    display: block;
    margin-top: 2px;
    color: var(--muted-2);
    font-size: 0.8rem;
    font-weight: 750;
}

@media (max-width: 860px) {
    .legal-layout { grid-template-columns: 1fr; }
    .legal-sidebar { position: static; order: -1; }
    .legal-content { padding: 24px; }
}


/* =========================================================
   Professional Footer + Legal Center Upgrade
   ========================================================= */
.site-footer {
    position: relative;
    overflow: hidden;
    margin-top: auto;
    padding: 0;
    border-top: 1px solid rgba(148, 163, 184, 0.16);
    background:
        radial-gradient(circle at 12% 0%, rgba(16, 185, 129, 0.14), transparent 34rem),
        linear-gradient(180deg, rgba(8, 15, 31, 0.82), rgba(3, 7, 18, 0.96));
    color: var(--muted);
    text-align: left;
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.04) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 85%);
}

.footer-grid,
.footer-bottom {
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(260px, 1.45fr) repeat(3, minmax(150px, 0.75fr));
    gap: 34px;
    padding: 56px 0 34px;
}

.footer-logo {
    margin-bottom: 16px;
}

.footer-brand p {
    max-width: 420px;
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
}

.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 11px;
    border: 1px solid rgba(16, 185, 129, 0.28);
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.08);
    color: #bbf7d0;
    font-size: 0.82rem;
    font-weight: 900;
}

.footer-badge::before {
    content: "✓";
    display: inline-grid;
    place-items: center;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.18);
    color: var(--primary);
    font-size: 0.72rem;
}

.footer-column {
    display: grid;
    align-content: start;
    gap: 9px;
}

.footer-column h3 {
    margin: 0 0 9px;
    color: var(--text);
    font-size: 0.92rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.footer-column a {
    width: fit-content;
    color: var(--muted);
    font-weight: 800;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-column a:hover {
    color: var(--primary);
    transform: translateX(3px);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 0 24px;
    border-top: 1px solid rgba(148, 163, 184, 0.13);
}

.footer-bottom p {
    margin: 0;
    color: var(--muted-2);
}

.footer-top-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 13px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.58);
    color: var(--muted);
    font-weight: 900;
}

.footer-top-link:hover {
    color: var(--text);
    border-color: rgba(16, 185, 129, 0.45);
    background: rgba(16, 185, 129, 0.1);
}

.legal-page {
    padding: 0 0 92px;
}

.legal-hero {
    position: relative;
    overflow: hidden;
    padding: 74px 0 44px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    background:
        radial-gradient(circle at 20% 0%, rgba(16, 185, 129, 0.18), transparent 30rem),
        linear-gradient(180deg, rgba(15, 23, 42, 0.24), rgba(8, 15, 31, 0));
}

.legal-hero::after {
    content: "";
    position: absolute;
    right: max(18px, calc((100vw - var(--max)) / 2));
    top: 42px;
    width: 180px;
    height: 180px;
    border: 1px solid rgba(16, 185, 129, 0.18);
    border-radius: 40px;
    transform: rotate(12deg);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.09), transparent);
    filter: blur(0.2px);
}

.legal-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 850px;
}

.legal-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 13px;
    border: 1px solid rgba(16, 185, 129, 0.32);
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.1);
    color: #bbf7d0;
    font-weight: 900;
    font-size: 0.9rem;
}

.legal-hero h1 {
    max-width: 850px;
    margin: 18px 0 16px;
    font-size: clamp(2.35rem, 6vw, 4.9rem);
    line-height: 0.98;
    letter-spacing: -0.07em;
}

.legal-hero p {
    max-width: 760px;
    margin: 0;
    color: var(--muted);
    font-size: clamp(1.02rem, 2vw, 1.2rem);
    line-height: 1.75;
}

.legal-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.legal-meta-row span {
    padding: 8px 11px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.55);
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 850;
}

.legal-layout {
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 26px;
    align-items: start;
    padding-top: 34px;
}

.legal-sidebar {
    position: sticky;
    top: 100px;
    padding: 20px;
    background: linear-gradient(180deg, rgba(17, 28, 49, 0.92), rgba(15, 23, 42, 0.78));
}

.legal-sidebar-head {
    display: flex;
    gap: 12px;
    align-items: center;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--line);
}

.legal-sidebar-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(16, 185, 129, 0.28);
    border-radius: 15px;
    background: rgba(16, 185, 129, 0.09);
}

.legal-sidebar-head p {
    margin: 0;
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.legal-sidebar-head h2 {
    margin: 2px 0 0;
    font-size: 1.08rem;
}

.legal-nav {
    display: grid;
    gap: 8px;
}

.legal-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 12px;
    border: 1px solid transparent;
    border-radius: 14px;
    background: rgba(2, 6, 23, 0.24);
    color: var(--muted);
    font-weight: 900;
    transition: 0.2s ease;
}

.legal-nav a::after {
    content: "›";
    color: var(--muted-2);
    transition: transform 0.2s ease, color 0.2s ease;
}

.legal-nav a:hover,
.legal-nav a.active {
    border-color: rgba(16, 185, 129, 0.32);
    background: rgba(16, 185, 129, 0.1);
    color: var(--text);
}

.legal-nav a:hover::after,
.legal-nav a.active::after {
    transform: translateX(2px);
    color: var(--primary);
}

.legal-help-card {
    margin-top: 18px;
    padding: 15px;
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: 18px;
    background: rgba(245, 158, 11, 0.07);
}

.legal-help-card strong {
    color: #fde68a;
}

.legal-help-card p {
    margin: 6px 0 0;
    color: #fcd34d;
    font-size: 0.88rem;
    line-height: 1.6;
}

.legal-content {
    padding: clamp(24px, 4vw, 44px);
    background:
        linear-gradient(180deg, rgba(17, 28, 49, 0.94), rgba(15, 23, 42, 0.78));
}

.legal-content-intro {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px;
    margin-bottom: 24px;
    border: 1px solid rgba(16, 185, 129, 0.18);
    border-radius: 20px;
    background: rgba(16, 185, 129, 0.07);
}

.legal-content-intro > span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 15px;
    background: rgba(16, 185, 129, 0.12);
}

.legal-content-intro strong {
    display: block;
    color: var(--text);
    font-size: 1.08rem;
}

.legal-content-intro p {
    margin: 2px 0 0;
    color: var(--muted);
}

.legal-content h1 {
    margin-top: 0;
    font-size: clamp(2rem, 4vw, 3.2rem);
    letter-spacing: -0.05em;
}

.legal-content h2 {
    position: relative;
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid rgba(148, 163, 184, 0.16);
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.legal-content h2::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    width: 76px;
    height: 1px;
    background: linear-gradient(90deg, var(--primary), transparent);
}

.legal-content h3 {
    margin-top: 24px;
    color: var(--text);
}

.legal-content p,
.legal-content li {
    color: var(--muted);
    line-height: 1.82;
}

.legal-content ul,
.legal-content ol {
    padding-left: 1.2rem;
}

.legal-content strong {
    color: var(--text);
}

.legal-content a {
    color: #86efac;
    font-weight: 900;
    text-decoration: underline;
    text-decoration-color: rgba(16, 185, 129, 0.35);
    text-underline-offset: 3px;
}

.legal-box {
    position: relative;
    border: 1px solid rgba(245, 158, 11, 0.36);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(245, 158, 11, 0.04));
    border-radius: 20px;
    padding: 17px 18px;
    margin: 20px 0;
    color: #fde68a;
}

.legal-note {
    border: 1px solid rgba(16, 185, 129, 0.22);
    background: rgba(16, 185, 129, 0.07);
    border-radius: 20px;
    padding: 17px 18px;
    margin: 18px 0;
}

.legal-table {
    display: block;
    width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
    border-radius: 16px;
    border: 1px solid var(--line);
    margin: 20px 0;
}

.legal-table tbody,
.legal-table tr {
    width: 100%;
}

.legal-table th,
.legal-table td {
    min-width: 190px;
    border-bottom: 1px solid var(--line);
    padding: 14px;
    text-align: left;
    vertical-align: top;
}

.legal-table th {
    color: var(--text);
    background: rgba(2, 6, 23, 0.45);
}

.legal-table td {
    color: var(--muted);
}

.legal-table tr:last-child td {
    border-bottom: 0;
}

@media (max-width: 980px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .legal-layout {
        grid-template-columns: 1fr;
    }

    .legal-sidebar {
        position: static;
        order: -1;
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 26px;
        padding: 42px 0 28px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .legal-hero {
        padding: 54px 0 34px;
    }

    .legal-meta-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .legal-content,
    .legal-sidebar {
        padding: 20px;
    }
}

/* =========================================================
   Shop Product Popup + Admin Shop Management
   ========================================================= */
.shop-preview {
    width: 100%;
    height: 176px;
    margin: 0 0 18px;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 20px;
    background: rgba(2, 6, 23, 0.38);
    cursor: pointer;
}

.shop-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.25s ease;
}

.shop-preview:hover img {
    transform: scale(1.035);
}

.shop-preview-empty {
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 65% 25%, rgba(16, 185, 129, 0.24), transparent 18rem),
        rgba(2, 6, 23, 0.52);
}

.shop-preview-empty span {
    font-size: 2.4rem;
    font-weight: 950;
    letter-spacing: -0.08em;
    color: rgba(187, 247, 208, 0.88);
}

.shop-detail-btn {
    margin: 0 0 12px;
}

body.modal-open {
    overflow: hidden;
}

.product-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    padding: 20px;
}

.product-modal.open {
    display: grid;
    place-items: center;
}

.product-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.78);
    backdrop-filter: blur(16px);
}

.product-modal-panel {
    position: relative;
    z-index: 1;
    width: min(1120px, 100%);
    max-height: min(88vh, 900px);
    overflow: auto;
    display: grid;
    grid-template-columns: minmax(320px, 0.95fr) minmax(320px, 1.05fr);
    gap: 24px;
    padding: 24px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 30px;
    background:
        radial-gradient(circle at 25% 0%, rgba(16, 185, 129, 0.14), transparent 26rem),
        rgba(15, 23, 42, 0.96);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 3;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(2, 6, 23, 0.72);
    color: var(--text);
    font-size: 1.5rem;
    font-weight: 900;
    cursor: pointer;
}

.modal-gallery {
    display: grid;
    gap: 14px;
    align-content: start;
}

.modal-hero-image {
    min-height: 330px;
    overflow: hidden;
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 24px;
    background: rgba(2, 6, 23, 0.44);
}

.modal-hero-image img,
#modal-hero-image {
    width: 100%;
    height: 100%;
    min-height: 330px;
    object-fit: cover;
    display: block;
}

.modal-hero-placeholder {
    display: grid !important;
    place-items: center;
    color: rgba(187, 247, 208, 0.9);
    font-size: 3rem;
    font-weight: 950;
    background:
        radial-gradient(circle at 70% 24%, rgba(16, 185, 129, 0.22), transparent 20rem),
        rgba(2, 6, 23, 0.42);
}

.modal-image-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.modal-image {
    min-height: 86px;
    overflow: hidden;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(2, 6, 23, 0.42);
    cursor: pointer;
}

.modal-image.active {
    border-color: rgba(16, 185, 129, 0.75);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

.modal-image img {
    width: 100%;
    height: 100%;
    min-height: 86px;
    object-fit: cover;
    display: block;
}

.modal-empty-image {
    padding: 18px;
    border: 1px dashed var(--line);
    border-radius: 16px;
    color: var(--muted);
    text-align: center;
}

.modal-content {
    padding: 10px 8px 10px 0;
}

.modal-content h2 {
    margin: 16px 0 10px;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
    letter-spacing: -0.055em;
}

.modal-content h3 {
    margin: 26px 0 12px;
    font-size: 1.02rem;
    color: #dbeafe;
}

.modal-lead,
.modal-details {
    color: var(--muted);
    line-height: 1.78;
}

.modal-details p {
    margin: 0 0 12px;
}

.modal-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 18px 0 6px;
    padding: 16px;
    border: 1px solid rgba(16, 185, 129, 0.23);
    border-radius: 18px;
    background: rgba(16, 185, 129, 0.08);
}

.modal-price-row strong {
    color: var(--text);
    font-size: 1.45rem;
}

.modal-price-row span {
    color: #bbf7d0;
    font-weight: 900;
}

.modal-features {
    margin-bottom: 0;
}

.admin-wide-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.checkbox-row {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 13px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: rgba(2, 6, 23, 0.32);
    color: var(--muted);
    font-weight: 900;
}

.checkbox-row input {
    width: 18px;
    height: 18px;
    padding: 0;
    accent-color: #10b981;
}

.admin-table-wrap {
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: 18px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 920px;
}

.admin-table th,
.admin-table td {
    padding: 13px 14px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.admin-table th {
    color: #dbeafe;
    background: rgba(15, 23, 42, 0.92);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.admin-table td {
    color: var(--muted);
    font-size: 0.92rem;
}

.admin-table tr:last-child td {
    border-bottom: 0;
}

.admin-muted {
    color: var(--muted-2);
    font-size: 0.86rem;
}

.admin-order-status {
    display: inline-flex;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.12);
    color: #bbf7d0;
    font-weight: 900;
    font-size: 0.78rem;
}

@media (max-width: 920px) {
    .product-modal-panel {
        grid-template-columns: 1fr;
    }

    .modal-content {
        padding: 0;
    }

    .admin-wide-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .product-modal {
        padding: 10px;
    }

    .product-modal-panel {
        padding: 16px;
        border-radius: 22px;
    }

    .modal-hero-image,
    .modal-hero-image img,
    #modal-hero-image {
        min-height: 210px;
    }

    .modal-image-strip {
        grid-template-columns: 1fr;
    }
}

/* Markdown Inhalte für Shop-Produkte */
.markdown-content {
    color: var(--muted);
    line-height: 1.75;
}

.markdown-content > *:first-child {
    margin-top: 0;
}

.markdown-content > *:last-child {
    margin-bottom: 0;
}

.markdown-content p {
    margin: 0 0 14px;
}

.markdown-content h2,
.markdown-content h3,
.markdown-content h4,
.markdown-content h5 {
    color: var(--text);
    margin: 18px 0 10px;
    line-height: 1.18;
    letter-spacing: -0.02em;
}

.markdown-content h2 { font-size: 1.35rem; }
.markdown-content h3 { font-size: 1.18rem; }
.markdown-content h4,
.markdown-content h5 { font-size: 1.04rem; }

.markdown-content ul,
.markdown-content ol {
    margin: 0 0 16px;
    padding-left: 20px;
}

.markdown-content li {
    margin: 6px 0;
}

.markdown-content strong {
    color: #f8fafc;
}

.markdown-content em {
    color: #d1fae5;
}

.markdown-content a {
    color: var(--primary-light);
    font-weight: 800;
    text-decoration: none;
    border-bottom: 1px solid rgba(52, 211, 153, 0.45);
}

.markdown-content a:hover {
    color: #a7f3d0;
    border-bottom-color: #a7f3d0;
}

.markdown-content code {
    padding: 2px 7px;
    border-radius: 8px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    background: rgba(15, 23, 42, 0.85);
    color: #d1fae5;
    font-size: 0.92em;
}

.markdown-content blockquote {
    margin: 0 0 16px;
    padding: 12px 16px;
    border-left: 3px solid var(--primary);
    border-radius: 12px;
    background: rgba(16, 185, 129, 0.08);
    color: #dbeafe;
}

.shop-card-description {
    margin: 0 0 18px;
}

.shop-card-description ul,
.shop-card-description ol {
    margin-bottom: 10px;
}

.modal-details.markdown-content,
.modal-lead.markdown-content {
    color: var(--muted);
}

.download-card-description {
    margin-top: 4px;
}

.plugin-card-description {
    margin: 0 0 18px;
}

/* Popup checkout area */
.modal-purchase-card {
    margin-top: 28px;
    padding: 20px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    border: 1px solid rgba(16, 185, 129, 0.28);
    border-radius: 22px;
    background:
        radial-gradient(circle at 85% 10%, rgba(16, 185, 129, 0.18), transparent 16rem),
        rgba(2, 6, 23, 0.42);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.modal-purchase-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 8px;
    padding: 6px 10px;
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 999px;
    color: #bbf7d0;
    background: rgba(16, 185, 129, 0.1);
    font-size: 0.78rem;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.modal-purchase-card strong {
    display: block;
    color: var(--text);
    font-size: clamp(1.55rem, 3vw, 2.15rem);
    line-height: 1;
    margin-bottom: 8px;
}

.modal-purchase-card p {
    margin: 10px 0 0;
    color: var(--muted);
    line-height: 1.7;
}

.modal-purchase-actions {
    display: grid;
    gap: 12px;
}

.modal-buy-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
}

.modal-purchase-actions small {
    color: var(--muted);
    text-align: center;
}

.modal-legal-consent {
    margin: 0;
}

@media (max-width: 720px) {
    .modal-purchase-card {
        padding: 16px;
        border-radius: 18px;
    }
}


/* =========================================================
   Automatische Bildanpassung / kein Layout-Shift
   ========================================================= */
.shop-preview {
    aspect-ratio: 16 / 9;
    height: auto;
    min-height: 0;
    display: block;
}

.shop-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.modal-hero-image {
    aspect-ratio: 16 / 10;
    min-height: 0;
    height: auto;
}

.modal-hero-image img,
#modal-hero-image {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: center;
}

.modal-hero-placeholder {
    min-height: 0 !important;
    aspect-ratio: 16 / 10;
}

.modal-image {
    aspect-ratio: 16 / 10;
    min-height: 0;
}

.modal-image img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: center;
}

.markdown-image-frame {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    margin: 16px 0;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 18px;
    background: rgba(2, 6, 23, 0.42);
}

.markdown-image-frame img,
.markdown-content img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.markdown-content > img {
    aspect-ratio: 16 / 9;
    height: auto;
    max-height: 380px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 18px;
    background: rgba(2, 6, 23, 0.42);
}

@media (max-width: 640px) {
    .shop-preview,
    .markdown-image-frame,
    .markdown-content > img {
        aspect-ratio: 16 / 10;
    }

    .modal-hero-image,
    .modal-hero-placeholder {
        aspect-ratio: 16 / 11;
    }

    .modal-image-strip {
        grid-template-columns: repeat(3, minmax(92px, 1fr));
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .modal-image {
        min-width: 92px;
    }
}

/* Erweiterter Kundenbereich */
.account-dashboard-card {
    grid-column: 1 / -1;
}

.account-menu-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.account-menu {
    display: grid;
    gap: 8px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(2, 6, 23, 0.28);
    position: sticky;
    top: 86px;
}

.account-menu-item {
    border: 1px solid transparent;
    border-radius: 15px;
    background: transparent;
    color: var(--muted);
    padding: 12px 13px;
    text-align: left;
    font-weight: 900;
    cursor: pointer;
    transition: 0.2s ease;
}

.account-menu-item:hover,
.account-menu-item.active {
    color: #d1fae5;
    border-color: rgba(16, 185, 129, 0.34);
    background: rgba(16, 185, 129, 0.12);
}

.account-content {
    min-width: 0;
}

.account-tab-panel {
    display: none;
}

.account-tab-panel.active {
    display: block;
}

.account-section-head {
    margin-bottom: 20px;
}

.account-section-head h2 {
    margin: 8px 0 8px;
}

.account-section-head p {
    margin: 0;
    color: var(--muted);
}

.account-overview-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.account-stat-card {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(2, 6, 23, 0.28);
}

.account-stat-card span {
    display: block;
    color: var(--muted-2);
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.account-stat-card strong {
    display: block;
    margin-top: 8px;
    color: var(--text);
    font-size: clamp(1.4rem, 3vw, 2.1rem);
    line-height: 1;
}

.account-stat-wide {
    grid-column: span 2;
}

.download-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.download-small-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
    color: var(--muted-2);
    font-size: 0.86rem;
    font-weight: 800;
}

.account-table-wrap {
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: 18px;
}

.account-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
}

.account-table th,
.account-table td {
    padding: 14px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.account-table th {
    background: rgba(15, 23, 42, 0.88);
    color: #dbeafe;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.account-table td {
    color: var(--muted);
}

.account-table tr:last-child td {
    border-bottom: 0;
}

.account-table td span {
    color: var(--muted-2);
    font-size: 0.86rem;
}

.account-table code {
    display: inline-block;
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
    color: #bbf7d0;
}

.account-status-pill {
    display: inline-flex;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.12);
    color: #bbf7d0 !important;
    font-weight: 900;
}

.updates-list {
    display: grid;
    gap: 16px;
}

.update-card {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(2, 6, 23, 0.28);
}

.update-card-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 14px;
}

.update-card h3 {
    margin: 10px 0 6px;
    font-size: 1.22rem;
}

.update-card p {
    margin: 0;
    color: var(--muted-2);
}

.update-changelog {
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

.account-form {
    display: grid;
    gap: 16px;
    max-width: 680px;
}

.admin-help-box {
    min-height: 48px;
    padding: 13px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: rgba(2, 6, 23, 0.32);
    color: var(--muted);
    font-size: 0.9rem;
}

@media (max-width: 980px) {
    .account-menu-layout {
        grid-template-columns: 1fr;
    }

    .account-menu {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .account-overview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .account-menu {
        grid-template-columns: 1fr;
    }

    .account-overview-grid {
        grid-template-columns: 1fr;
    }

    .account-stat-wide {
        grid-column: auto;
    }

    .download-actions,
    .update-card-head {
        justify-content: flex-start;
        flex-direction: column;
    }
}


/* Refund / order status enhancements */
.btn-sm,
.btn-xs {
    min-height: auto;
    padding: 8px 11px;
    font-size: 0.82rem;
    border-radius: 10px;
}

.btn-xs {
    padding: 6px 9px;
    font-size: 0.76rem;
}

.account-status-pill.warning,
.admin-order-status.warning {
    background: rgba(245, 158, 11, 0.13);
    color: #fde68a !important;
}

.account-status-pill.danger,
.admin-order-status.danger,
.account-status-pill.refunded {
    background: rgba(239, 68, 68, 0.13);
    color: #fecaca !important;
}

.account-status-pill.paid {
    background: rgba(16, 185, 129, 0.12);
    color: #bbf7d0 !important;
}

.refund-cell-meta,
.admin-order-actions {
    display: grid;
    gap: 7px;
    margin-top: 9px;
}

.refund-cell-meta small {
    display: block;
    color: var(--muted-2);
    line-height: 1.45;
}

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

.admin-orders-table {
    min-width: 1180px;
}

.account-orders-table {
    min-width: 980px;
}

/* =========================================================
   Admin Dashboard, Kundenverwaltung, Filter & Download-Sperren
   ========================================================= */
.admin-dashboard-layout {
    display: grid;
    gap: 22px;
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.admin-stat-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    min-height: 104px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background:
        radial-gradient(circle at 90% 10%, rgba(16, 185, 129, 0.15), transparent 9rem),
        rgba(15, 23, 42, 0.68);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.admin-stat-card.warning {
    background:
        radial-gradient(circle at 90% 10%, rgba(245, 158, 11, 0.18), transparent 9rem),
        rgba(15, 23, 42, 0.68);
    border-color: rgba(245, 158, 11, 0.25);
}

.admin-stat-card > span {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.22);
    font-size: 1.35rem;
}

.admin-stat-card small {
    display: block;
    color: var(--muted-2);
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-size: 0.74rem;
}

.admin-stat-card strong {
    display: block;
    margin-top: 7px;
    color: var(--text);
    font-size: clamp(1.45rem, 3vw, 2.15rem);
    line-height: 1;
    letter-spacing: -0.05em;
}

.admin-controls {
    display: grid;
    grid-template-columns: minmax(180px, 260px) minmax(240px, 1fr);
    gap: 12px;
    margin: 18px 0;
}

.admin-controls input,
.admin-controls select {
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(2, 6, 23, 0.42);
    color: var(--text);
    padding: 0 13px;
    outline: none;
}

.admin-controls input:focus,
.admin-controls select:focus {
    border-color: rgba(16, 185, 129, 0.55);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.11);
}

.admin-customers-table code,
.admin-orders-table code {
    display: inline-block;
    max-width: 230px;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
    color: #bbf7d0;
}

.admin-order-status.danger {
    background: rgba(239, 68, 68, 0.13);
    color: #fecaca !important;
}

.admin-order-status.warning {
    background: rgba(245, 158, 11, 0.13);
    color: #fde68a !important;
}

.btn[disabled] {
    cursor: not-allowed;
    opacity: 0.58;
}

@media (max-width: 1180px) {
    .admin-stats-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .admin-stats-grid {
        grid-template-columns: 1fr;
    }

    .admin-controls {
        grid-template-columns: 1fr;
    }
}
    object-fit: cover;
    display: block;
}

.admin-image-item code {
    display: block;
    font-size: .75rem;
    color: var(--muted);
    word-break: break-all;
    margin-bottom: 10px;
}

.admin-manual-purchase-panel {
    margin-bottom: 22px;
    background: linear-gradient(135deg, rgba(16, 185, 129, .08), rgba(15, 23, 42, .72));
}

.editor-head.compact {
    margin-bottom: 14px;
}

@media (max-width: 820px) {
    .admin-upload-box,
    .admin-preview-grid {
        grid-template-columns: 1fr;
    }

    .admin-upload-box {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-upload-actions {
        justify-content: stretch;
    }

    .admin-upload-actions input[type="file"],
    .admin-upload-actions .btn {
        width: 100%;
        max-width: none;
    }
}

.update-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.update-meta span {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(148, 163, 184, .22);
    border-radius: 999px;
    padding: 6px 10px;
    color: var(--muted);
    background: rgba(15, 23, 42, .55);
    font-size: .84rem;
}

/* Admin Settings / E-Mail / Wartungsmodus */
.admin-settings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 22px;
}

.admin-settings-card {
    background: rgba(15, 23, 42, 0.62);
    border: 1px solid rgba(148, 163, 184, 0.14);
    box-shadow: none;
}

.admin-settings-card h3 {
    margin-top: 0;
    margin-bottom: 16px;
}

.admin-mail-actions-panel {
    margin-top: 22px;
}

.admin-mail-row-actions {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.maintenance-state {
    max-width: 760px;
    margin: 0 auto;
    border: 1px solid rgba(245, 158, 11, 0.28);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(15, 23, 42, 0.9));
}

.maintenance-state strong {
    display: block;
    color: #fbbf24;
    font-size: 1.25rem;
    margin-bottom: 8px;
}

@media (max-width: 900px) {
    .admin-settings-grid {
        grid-template-columns: 1fr;
    }
}

/* Veronix Landingpage / Produktseite / Wiki Update */
.sales-hero {
    position: relative;
    overflow: hidden;
}

.sales-hero::after {
    content: "";
    position: absolute;
    inset: auto -12% -25% auto;
    width: 520px;
    height: 520px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.24), transparent 68%);
    pointer-events: none;
}

.sales-hero-grid {
    align-items: center;
    gap: 52px;
}

.sales-hero-copy h1 {
    max-width: 780px;
}

.hero-proof-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.hero-proof-list span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    background: rgba(15, 23, 42, 0.66);
    font-size: 0.92rem;
}

.hero-proof-list span::before {
    content: "✓";
    width: 20px;
    height: 20px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary);
    font-weight: 900;
}

.product-visual-card {
    position: relative;
    border: 1px solid rgba(16, 185, 129, 0.28);
    border-radius: 28px;
    padding: 12px;
    background: linear-gradient(145deg, rgba(16, 185, 129, 0.16), rgba(15, 23, 42, 0.82));
    box-shadow: var(--shadow);
    overflow: hidden;
}

.product-visual-card img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 20px;
}

.product-visual-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 12px;
}

.product-visual-stats div {
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(2, 6, 23, 0.55);
}

.product-visual-stats strong,
.product-visual-stats span {
    display: block;
}

.product-visual-stats strong {
    color: var(--text);
    font-size: 0.9rem;
}

.product-visual-stats span {
    color: var(--muted);
    font-size: 0.78rem;
    margin-top: 3px;
}

.trust-section {
    padding-top: 34px;
}

.trust-grid,
.shop-trust-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.trust-card {
    border: 1px solid var(--line);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.86), rgba(15, 23, 42, 0.58));
    padding: 22px;
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.18);
}

.trust-card > span {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: var(--primary-soft);
    margin-bottom: 14px;
    font-size: 1.4rem;
}

.trust-card h3,
.trust-card strong {
    display: block;
    color: var(--text);
    margin: 0 0 8px;
    font-size: 1.04rem;
}

.trust-card p {
    color: var(--muted);
    margin: 0;
    line-height: 1.65;
}

.compact-trust {
    padding: 18px;
}

.shop-trust-strip {
    margin-top: -10px;
    margin-bottom: 18px;
}

.split-grid {
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    gap: 48px;
}

.align-center {
    align-items: center;
}

.benefit-list {
    display: grid;
    gap: 12px;
    margin: 24px 0;
}

.benefit-list div {
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 16px 18px;
    background: rgba(15, 23, 42, 0.56);
}

.benefit-list strong,
.benefit-list span {
    display: block;
}

.benefit-list strong {
    color: var(--text);
    margin-bottom: 4px;
}

.benefit-list span {
    color: var(--muted);
}

.screenshot-stack {
    display: grid;
    gap: 16px;
}

.screenshot-stack img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 24px;
    border: 1px solid rgba(16, 185, 129, 0.26);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.screenshot-stack img:nth-child(2) {
    width: 82%;
    margin-left: auto;
    margin-top: -44px;
}

.server-benefit-grid .card {
    min-height: 230px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.faq-item {
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px 20px;
    background: rgba(15, 23, 42, 0.74);
}

.faq-item summary {
    cursor: pointer;
    color: var(--text);
    font-weight: 800;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    float: right;
    color: var(--primary);
    font-size: 1.2rem;
}

.faq-item[open] summary::after {
    content: "–";
}

.faq-item p {
    color: var(--muted);
    margin: 12px 0 0;
    line-height: 1.7;
}

.sales-cta-box .button-row {
    margin: 0;
    justify-content: flex-end;
}

.product-page-hero {
    padding: 86px 0 36px;
    background:
        radial-gradient(circle at 72% 16%, rgba(16, 185, 129, 0.2), transparent 32%),
        linear-gradient(180deg, rgba(8, 15, 31, 0.2), rgba(8, 15, 31, 1));
}

.product-page-grid {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 48px;
    align-items: center;
}

.product-page-hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    margin: 16px 0 18px;
    line-height: 0.95;
}

.large-product-visual {
    transform: rotate(1deg);
}

.product-info-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.product-info-strip div {
    border: 1px solid var(--line);
    background: rgba(15, 23, 42, 0.76);
    border-radius: 20px;
    padding: 18px;
}

.product-info-strip span,
.product-info-strip strong,
.product-info-strip small {
    display: block;
}

.product-info-strip span,
.product-info-strip small {
    color: var(--muted);
}

.product-info-strip strong {
    color: var(--text);
    margin: 5px 0;
}

.feature-check-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 22px;
}

.feature-check-grid span {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 11px 14px;
    color: var(--text);
    background: rgba(16, 185, 129, 0.08);
}

.feature-check-grid span::before {
    content: "✓";
    color: var(--primary);
    font-weight: 900;
    margin-right: 8px;
}

.product-doc-section .section-header {
    margin-bottom: 28px;
}

.install-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.install-steps article {
    border: 1px solid var(--line);
    background: rgba(15, 23, 42, 0.76);
    border-radius: 22px;
    padding: 22px;
}

.install-steps strong {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: var(--primary-soft);
    color: var(--primary);
    margin-bottom: 16px;
}

.install-steps h3 {
    color: var(--text);
    margin: 0 0 8px;
}

.install-steps p {
    color: var(--muted);
    margin: 0;
    line-height: 1.65;
}

.product-doc-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.spec-grid div {
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 14px;
    background: rgba(2, 6, 23, 0.32);
}

.spec-grid span,
.spec-grid strong {
    display: block;
}

.spec-grid span {
    color: var(--muted);
    font-size: 0.82rem;
}

.spec-grid strong {
    color: var(--text);
    margin-top: 4px;
}

.clean-list {
    color: var(--muted);
    line-height: 1.8;
    padding-left: 18px;
}

.clean-list.ordered {
    padding-left: 22px;
}

.responsive-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(15, 23, 42, 0.72);
}

.doc-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
}

.doc-table th,
.doc-table td {
    text-align: left;
    padding: 16px 18px;
    border-bottom: 1px solid var(--line);
}

.doc-table th {
    color: var(--text);
    background: rgba(16, 185, 129, 0.08);
}

.doc-table td {
    color: var(--muted);
}

.doc-table tr:last-child td {
    border-bottom: 0;
}

.mini-changelog {
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 18px;
    padding: 16px;
    background: rgba(16, 185, 129, 0.08);
}

.wiki-start-section {
    display: grid;
    gap: 20px;
    margin-bottom: 28px;
}

.wiki-tools {
    display: grid;
    grid-template-columns: 1fr minmax(240px, 360px);
    gap: 22px;
    align-items: end;
}

.wiki-tools h2 {
    margin: 0 0 8px;
}

.wiki-tools p {
    margin: 0;
    color: var(--muted);
}

.wiki-search-label {
    display: grid;
    gap: 8px;
    color: var(--muted);
    font-weight: 700;
}

.wiki-search-label input {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 15px;
    padding: 13px 14px;
    color: var(--text);
    background: rgba(2, 6, 23, 0.42);
    outline: none;
}

.wiki-search-label input:focus {
    border-color: rgba(16, 185, 129, 0.72);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12);
}

.wiki-filter-row {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.wiki-filter {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 9px 13px;
    color: var(--muted);
    background: rgba(15, 23, 42, 0.72);
    cursor: pointer;
    font-weight: 800;
}

.wiki-filter.active,
.wiki-filter:hover {
    border-color: rgba(16, 185, 129, 0.55);
    color: var(--primary);
    background: var(--primary-soft);
}

.doc-quick-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.doc-quick-card {
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 18px;
    background: rgba(15, 23, 42, 0.72);
    text-decoration: none;
    transition: transform .2s ease, border-color .2s ease;
}

.doc-quick-card:hover {
    transform: translateY(-3px);
    border-color: rgba(16, 185, 129, 0.5);
}

.doc-quick-card span,
.doc-quick-card strong,
.doc-quick-card small {
    display: block;
}

.doc-quick-card span {
    font-size: 1.45rem;
    margin-bottom: 10px;
}

.doc-quick-card strong {
    color: var(--text);
    margin-bottom: 6px;
}

.doc-quick-card small {
    color: var(--muted);
    line-height: 1.55;
}

.enhanced-wiki-layout .wiki-nav a {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.enhanced-wiki-layout .wiki-nav a small {
    color: var(--muted-2);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.wiki-empty-hint {
    color: var(--muted);
    padding: 12px;
}

.wiki-static-docs {
    padding-top: 40px;
}

@media (max-width: 980px) {
    .trust-grid,
    .shop-trust-strip,
    .install-steps,
    .doc-quick-grid,
    .product-info-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .split-grid,
    .product-page-grid,
    .wiki-tools,
    .product-doc-grid {
        grid-template-columns: 1fr;
    }

    .screenshot-stack img:nth-child(2) {
        width: 100%;
        margin-top: 0;
    }
}

@media (max-width: 640px) {
    .trust-grid,
    .shop-trust-strip,
    .install-steps,
    .doc-quick-grid,
    .product-info-strip,
    .feature-check-grid,
    .spec-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .product-visual-stats {
        grid-template-columns: 1fr;
    }

    .sales-cta-box .button-row {
        justify-content: flex-start;
    }

    .product-page-hero {
        padding-top: 56px;
    }
}


/* === SEO/Performance + Roadmap/Mobile Update === */
img { max-width: 100%; height: auto; }
.product-visual-card img,
.screenshot-stack img,
.shop-card-image img,
.modal-gallery-main img,
.markdown-content img { width: 100%; display: block; object-fit: cover; }
.product-visual-card img { aspect-ratio: 16 / 10; }
.screenshot-stack img { aspect-ratio: 16 / 9; }
.comparison-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.comparison-card,
.roadmap-item { background: linear-gradient(180deg, rgba(15,23,42,.92), rgba(2,6,23,.72)); border: 1px solid rgba(148,163,184,.16); border-radius: 24px; padding: 24px; box-shadow: 0 22px 70px rgba(0,0,0,.22); }
.comparison-card.featured { border-color: rgba(124,58,237,.55); box-shadow: 0 22px 80px rgba(124,58,237,.18); }
.comparison-badge { display: inline-flex; align-items: center; padding: 7px 10px; border-radius: 999px; background: rgba(124,58,237,.16); color: #ddd6fe; border: 1px solid rgba(124,58,237,.28); font-size: 12px; font-weight: 800; margin-bottom: 14px; }
.comparison-badge.muted { background: rgba(148,163,184,.08); color: var(--muted); border-color: rgba(148,163,184,.16); }
.roadmap-timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.roadmap-item strong { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 16px; background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #fff; margin-bottom: 16px; }
.roadmap-mini-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.roadmap-mini-grid span { padding: 18px; border-radius: 18px; background: rgba(15,23,42,.82); border: 1px solid rgba(148,163,184,.16); font-weight: 800; }
.admin-stat-card.info { border-color: rgba(6,182,212,.32); }
.admin-stat-card.success { border-color: rgba(34,197,94,.32); }
.admin-dashboard-note { margin: 14px 0; color: var(--muted); font-size: 13px; }

/* Modernes Mobile Slide-Menü */
.mobile-panel { position: fixed; inset: 0 0 0 auto; width: min(380px, 88vw); min-height: 100dvh; display: block !important; transform: translateX(105%); transition: transform .28s ease; z-index: 1000; background: rgba(8, 11, 20, .96); border-left: 1px solid rgba(148, 163, 184, .16); box-shadow: -30px 0 80px rgba(0,0,0,.45); backdrop-filter: blur(18px); padding: 86px 20px 24px; }
.mobile-panel.open { transform: translateX(0); }
.mobile-panel::before { content: "Menü"; position: absolute; top: 28px; left: 24px; font-weight: 900; letter-spacing: .02em; color: #fff; }
.mobile-panel::after { content: "×"; position: absolute; top: 18px; right: 20px; width: 42px; height: 42px; border-radius: 16px; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(148,163,184,.16); pointer-events: none; font-size: 28px; }
.mobile-panel .nav-links { display: flex; flex-direction: column; gap: 12px; padding: 0; }
.mobile-panel .nav-link,
.mobile-panel .mobile-account-button { min-height: 52px; display: flex; align-items: center; justify-content: space-between; border-radius: 18px; padding: 15px 16px; background: rgba(15,23,42,.74); border: 1px solid rgba(148,163,184,.16); font-weight: 800; }
.mobile-panel .nav-link[href="shop.html"] { background: linear-gradient(135deg, rgba(124,58,237,.9), rgba(6,182,212,.78)); color: #fff; box-shadow: 0 18px 45px rgba(124,58,237,.2); }
.mobile-panel .mobile-account-button { background: rgba(6,182,212,.13); border-color: rgba(6,182,212,.32); color: #cffafe; }
body.mobile-menu-open { overflow: hidden; }
body.mobile-menu-open::after { content: ""; position: fixed; inset: 0; background: rgba(2,6,23,.58); z-index: 999; }
.site-header { z-index: 1001; }
.account-nav-button { white-space: nowrap; }
@media (max-width: 900px) { .comparison-grid, .roadmap-timeline { grid-template-columns: 1fr; } .roadmap-mini-grid { grid-template-columns: 1fr; } }
@media (min-width: 901px) { .mobile-panel { display: none !important; } body.mobile-menu-open::after { display: none; } }


/* =========================================================
   Veronix Modern UI Refresh 2026
   Ziel: übersichtlicher, hochwertiger, einheitlicher auf allen Seiten
   ========================================================= */
:root {
    --bg: #050816;
    --bg-soft: #0b1022;
    --bg-elevated: #10172a;
    --card: rgba(15, 23, 42, 0.76);
    --card-strong: rgba(17, 24, 39, 0.94);
    --line: rgba(148, 163, 184, 0.17);
    --border: var(--line);
    --text: #f8fafc;
    --muted: #a6b3c7;
    --muted-2: #748198;
    --primary: #8b5cf6;
    --primary-dark: #7c3aed;
    --primary-soft: rgba(139, 92, 246, 0.15);
    --accent: #22d3ee;
    --accent-soft: rgba(34, 211, 238, 0.12);
    --success: #22c55e;
    --success-soft: rgba(34, 197, 94, 0.12);
    --warning: #f59e0b;
    --danger: #ef4444;
    --shadow: 0 22px 70px rgba(0, 0, 0, 0.38);
    --shadow-soft: 0 14px 40px rgba(0, 0, 0, 0.22);
    --radius: 24px;
    --radius-sm: 16px;
    --max: 1200px;
}

html {
    scrollbar-color: rgba(139, 92, 246, 0.55) rgba(15, 23, 42, 0.6);
}

body {
    background:
        radial-gradient(circle at 10% -10%, rgba(139, 92, 246, 0.24), transparent 34rem),
        radial-gradient(circle at 92% 8%, rgba(34, 211, 238, 0.15), transparent 30rem),
        linear-gradient(180deg, #050816 0%, #070b19 42%, #050816 100%);
    color: var(--text);
    letter-spacing: -0.01em;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.035) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 78%);
}

::selection {
    background: rgba(139, 92, 246, 0.55);
    color: white;
}

.container {
    width: min(100% - 40px, var(--max));
}

p,
li,
.lead {
    color: var(--muted);
}

/* Navigation */
.site-header {
    background: rgba(5, 8, 22, 0.78);
    border-bottom: 1px solid rgba(148, 163, 184, 0.13);
    backdrop-filter: blur(22px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.18);
}

.navbar {
    height: 82px;
}

.logo {
    gap: 12px;
    letter-spacing: 0.07em;
}

.logo-mark {
    width: 42px;
    height: 42px;
    border-radius: 16px;
    border-color: rgba(139, 92, 246, 0.48);
    background:
        radial-gradient(circle at 30% 20%, rgba(34, 211, 238, 0.25), transparent 52%),
        linear-gradient(135deg, rgba(139, 92, 246, 0.32), rgba(139, 92, 246, 0.08));
    color: #e9d5ff;
    box-shadow: 0 0 36px rgba(139, 92, 246, 0.26);
}

.logo span span,
.section-eyebrow,
.legal-eyebrow {
    color: var(--accent);
}

.nav-links {
    gap: 6px;
}

.nav-link {
    position: relative;
    padding: 10px 14px;
    color: var(--muted);
    border: 1px solid transparent;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text);
    border-color: rgba(148, 163, 184, 0.13);
    background: rgba(255, 255, 255, 0.055);
}

.nav-link.active::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 6px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.account-nav-button,
.mobile-account-button {
    border-color: rgba(34, 211, 238, 0.32);
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.16), rgba(139, 92, 246, 0.12));
    color: #cffafe;
    box-shadow: 0 14px 34px rgba(34, 211, 238, 0.10);
}

.account-nav-button:hover,
.account-nav-button.active,
.mobile-account-button:hover,
.mobile-account-button.active {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #030712;
}

.lang-switch {
    background: rgba(15, 23, 42, 0.8);
}

.lang-switch button.active {
    color: #080b14;
    background: linear-gradient(135deg, var(--primary), var(--accent));
}

.mobile-menu-btn {
    min-width: 44px;
    min-height: 44px;
    border-radius: 15px;
    background: rgba(15, 23, 42, 0.9);
}

/* Hero & page headers */
.hero {
    padding: clamp(70px, 8vw, 120px) 0 62px;
}

.hero h1,
.page-hero h1,
.legal-hero h1 {
    letter-spacing: -0.065em;
    text-wrap: balance;
}

.gradient-text {
    background: linear-gradient(90deg, #a78bfa 0%, #22d3ee 58%, #f8fafc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.badge,
.auth-brand-pill,
.footer-badge,
.legal-eyebrow {
    border-color: rgba(139, 92, 246, 0.36);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.16), rgba(34, 211, 238, 0.08));
    color: #ddd6fe;
}

.hero-proof-list span,
.trust-card,
.card,
.panel,
.stat,
.product-visual-card,
.roadmap-mini-grid span,
.faq-item,
.download-card,
.legal-content,
.legal-sidebar,
.auth-card,
.auth-side-card,
.account-dashboard-card {
    border-color: rgba(148, 163, 184, 0.14);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
        rgba(15, 23, 42, 0.72);
    box-shadow: var(--shadow-soft);
}

.hero-proof-list {
    gap: 10px;
}

.hero-proof-list span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 999px;
    color: #dbeafe;
    font-weight: 850;
}

.hero-proof-list span::before {
    content: "✓";
    color: var(--accent);
    font-weight: 1000;
}

.product-visual-card {
    border-radius: 32px;
    overflow: hidden;
}

.product-visual-card img,
.screenshot-stack img,
.shop-card-image img,
.product-modal-main-image img,
.markdown-content img {
    border-radius: 18px;
}

.product-visual-stats {
    backdrop-filter: blur(16px);
    background: rgba(5, 8, 22, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 20px;
}

/* Sections */
.section {
    padding: clamp(58px, 8vw, 88px) 0;
}

.section-header {
    margin-bottom: 36px;
}

.section h2,
.cta-box h2,
.auth-card h2,
.account-dashboard-card h2 {
    text-wrap: balance;
}

.section-eyebrow {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 8px;
    padding: 7px 11px;
    border: 1px solid rgba(34, 211, 238, 0.22);
    border-radius: 999px;
    background: rgba(34, 211, 238, 0.06);
}

.feature-grid,
.plugin-grid,
.shop-grid,
.trust-grid {
    gap: 22px;
}

.card,
.trust-card,
.shop-card,
.plugin-card,
.panel {
    border-radius: 26px;
}

.card:hover,
.trust-card:hover,
.shop-card:hover,
.plugin-card:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 92, 246, 0.38);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.30);
}

.icon-box,
.mini-product-icon,
.legal-sidebar-icon {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.17), rgba(34, 211, 238, 0.10));
    color: #c4b5fd;
}

/* Buttons */
.btn {
    border-radius: 16px;
    min-height: 50px;
    padding-inline: 22px;
}

.btn-primary {
    color: #070b19;
    background: linear-gradient(135deg, #a78bfa, #22d3ee);
    box-shadow: 0 18px 42px rgba(139, 92, 246, 0.26);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #c4b5fd, #67e8f9);
}

.btn-secondary {
    background: rgba(15, 23, 42, 0.82);
    border-color: rgba(148, 163, 184, 0.16);
}

.btn-secondary:hover {
    border-color: rgba(34, 211, 238, 0.42);
    background: rgba(30, 41, 59, 0.76);
}

.btn-danger {
    color: #fecaca;
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.28);
}

/* Shop & product cards */
.shop-card,
.plugin-card {
    overflow: hidden;
}

.shop-card-top {
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.10);
}

.price-tax-note,
.shop-card small {
    color: var(--muted-2);
}

.tag,
.status-pill,
.download-meta span,
.legal-meta-row span {
    border-color: rgba(148, 163, 184, 0.14);
    background: rgba(15, 23, 42, 0.72);
}

.shop-legal-consent {
    border-color: rgba(139, 92, 246, 0.24);
    background: rgba(139, 92, 246, 0.07);
}

/* FAQ / Roadmap */
.faq-grid {
    display: grid;
    gap: 14px;
}

.faq-item {
    border-radius: 22px;
    padding: 0;
    overflow: hidden;
}

.faq-item summary {
    padding: 18px 20px;
    color: var(--text);
    font-weight: 900;
    cursor: pointer;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    float: right;
    color: var(--accent);
    font-size: 1.3rem;
    line-height: 1;
}

.faq-item[open] summary::after {
    content: "–";
}

.faq-item p {
    margin: 0;
    padding: 0 20px 20px;
}

.roadmap-mini-grid span {
    border-radius: 18px;
    padding: 16px;
    color: #dbeafe;
    font-weight: 900;
}

/* Wiki */
.wiki-layout {
    gap: 28px;
}

.wiki-sidebar,
.wiki-content {
    border-radius: 28px;
}

.wiki-nav a {
    display: flex;
    align-items: center;
    gap: 8px;
}

.wiki-nav a:hover,
.wiki-nav a.active {
    color: var(--text);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.14), rgba(34, 211, 238, 0.07));
}

.wiki-content {
    line-height: 1.78;
}

.wiki-content h1,
.wiki-content h2,
.wiki-content h3 {
    color: var(--text);
    letter-spacing: -0.035em;
}

.wiki-content pre,
.code,
.legal-content pre {
    border-color: rgba(148, 163, 184, 0.14);
    background: rgba(2, 6, 23, 0.72);
}

/* Account */
.account-layout {
    gap: 28px;
}

.auth-tabs {
    border-radius: 20px;
    background: rgba(2, 6, 23, 0.44);
}

.auth-tab.active {
    color: #070b19;
    background: linear-gradient(135deg, #a78bfa, #22d3ee);
}

.input-shell,
input,
textarea,
select {
    border-radius: 16px;
    background: rgba(2, 6, 23, 0.50);
    border-color: rgba(148, 163, 184, 0.16);
}

.input-shell:focus-within,
input:focus,
textarea:focus,
select:focus {
    border-color: rgba(34, 211, 238, 0.55);
    box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.11);
}

.account-userbar {
    background: rgba(2, 6, 23, 0.22);
    border-radius: 20px;
    padding: 18px;
    border: 1px solid rgba(148, 163, 184, 0.12);
}

.download-card {
    border-radius: 22px;
}

/* Admin Panel */
body.admin-page {
    background:
        radial-gradient(circle at 8% -10%, rgba(139, 92, 246, 0.22), transparent 34rem),
        radial-gradient(circle at 92% 4%, rgba(34, 211, 238, 0.14), transparent 28rem),
        #050816;
}

.admin-shell {
    width: min(100% - 36px, 1320px);
}

.login-box,
.admin-editor,
.admin-list,
.panel {
    backdrop-filter: blur(16px);
}

.admin-header {
    padding: 24px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 30px;
    background: rgba(15, 23, 42, 0.58);
    box-shadow: var(--shadow-soft);
}

.tabs {
    gap: 8px;
}

.tab-btn {
    border-radius: 999px;
    background: rgba(2, 6, 23, 0.36);
}

.tab-btn:hover {
    color: var(--text);
    border-color: rgba(34, 211, 238, 0.28);
}

.tab-btn.active {
    color: #070b19;
    border-color: transparent;
    background: linear-gradient(135deg, #a78bfa, #22d3ee);
}

.admin-dashboard-layout,
.admin-grid {
    gap: 24px;
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.admin-stat-card,
.admin-kpi-card,
.admin-table-wrap,
.admin-detail-card,
.admin-controls {
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 22px;
    background: rgba(15, 23, 42, 0.66);
    box-shadow: var(--shadow-soft);
}

.admin-stat-card,
.admin-kpi-card {
    padding: 20px;
}

.admin-stat-card strong,
.admin-kpi-card strong {
    display: block;
    color: var(--text);
    font-size: clamp(1.45rem, 3vw, 2.1rem);
    line-height: 1;
}

.admin-stat-card span,
.admin-kpi-card span,
.admin-muted {
    color: var(--muted);
}

.admin-table-wrap {
    overflow: auto;
}

.admin-table,
.admin-table-wrap table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td,
.admin-table-wrap th,
.admin-table-wrap td {
    padding: 13px 14px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.10);
    text-align: left;
    vertical-align: top;
}

.admin-table th,
.admin-table-wrap th {
    color: #dbeafe;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: rgba(2, 6, 23, 0.32);
}

.admin-table tr:hover td,
.admin-table-wrap tr:hover td {
    background: rgba(139, 92, 246, 0.045);
}

.admin-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px;
    margin-bottom: 16px;
}

.admin-controls input,
.admin-controls select {
    flex: 1 1 220px;
}

.item-btn {
    border-radius: 16px;
}

.item-btn:hover,
.item-btn.active {
    border-color: rgba(139, 92, 246, 0.36);
    background: rgba(139, 92, 246, 0.10);
    color: #ddd6fe;
}

.markdown-preview,
.upload-dropzone,
.image-gallery,
.version-card {
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 20px;
    background: rgba(2, 6, 23, 0.30);
}

/* Legal pages */
.legal-hero {
    background:
        radial-gradient(circle at 18% 0%, rgba(139, 92, 246, 0.18), transparent 30rem),
        radial-gradient(circle at 86% 20%, rgba(34, 211, 238, 0.10), transparent 24rem),
        linear-gradient(180deg, rgba(15, 23, 42, 0.30), rgba(8, 15, 31, 0));
}

.legal-content h2 {
    color: var(--text);
}

.legal-box {
    border-color: rgba(245, 158, 11, 0.28);
    background: rgba(245, 158, 11, 0.08);
}

/* Footer */
.site-footer {
    background:
        radial-gradient(circle at 12% 0%, rgba(139, 92, 246, 0.16), transparent 34rem),
        radial-gradient(circle at 86% 10%, rgba(34, 211, 238, 0.08), transparent 28rem),
        linear-gradient(180deg, rgba(8, 15, 31, 0.86), rgba(3, 7, 18, 0.98));
}

.footer-column a:hover,
.footer-links a:hover,
.legal-content a,
.shop-legal-consent a {
    color: var(--accent);
}

.footer-top-link:hover {
    border-color: rgba(34, 211, 238, 0.38);
    background: rgba(34, 211, 238, 0.08);
}

/* Modals / popup */
.modal,
.product-modal,
.dialog {
    backdrop-filter: blur(16px);
}

.modal-content,
.product-modal-content,
.dialog-content {
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 30px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
        rgba(15, 23, 42, 0.96);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.46);
}

/* Clear responsive layout */
@media (max-width: 1100px) {
    .feature-grid,
    .plugin-grid,
    .shop-grid,
    .trust-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 920px) {
    .container {
        width: min(100% - 28px, var(--max));
    }

    .mobile-panel {
        position: fixed;
        inset: 82px 12px auto 12px;
        z-index: 80;
        padding: 14px;
        border: 1px solid rgba(148, 163, 184, 0.16);
        border-radius: 24px;
        background: rgba(8, 13, 30, 0.96);
        backdrop-filter: blur(22px);
        box-shadow: var(--shadow);
    }

    .mobile-panel .nav-links {
        width: 100%;
        gap: 8px;
    }

    .mobile-panel .nav-link,
    .mobile-panel .mobile-account-button {
        min-height: 48px;
        padding: 13px 15px;
        border-radius: 16px;
        background: rgba(15, 23, 42, 0.66);
    }

    .mobile-panel .nav-link[href*="shop"] {
        color: #070b19;
        background: linear-gradient(135deg, #a78bfa, #22d3ee);
        font-weight: 1000;
    }

    .site-header:has(.mobile-panel.open)::after {
        content: "";
        position: fixed;
        inset: 82px 0 0;
        z-index: 70;
        background: rgba(2, 6, 23, 0.55);
        backdrop-filter: blur(3px);
    }

    .hero-grid,
    .sales-hero-grid,
    .split-grid,
    .wiki-layout,
    .legal-layout,
    .account-layout,
    .admin-grid {
        grid-template-columns: 1fr !important;
    }

    .legal-sidebar,
    .wiki-sidebar {
        position: static;
    }

    .admin-header {
        display: grid;
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .feature-grid,
    .plugin-grid,
    .shop-grid,
    .trust-grid,
    .admin-stats-grid,
    .stats {
        grid-template-columns: 1fr;
    }

    .navbar {
        height: 72px;
    }

    .mobile-panel {
        inset-top: 72px;
    }

    .hero h1,
    .page-hero h1,
    .legal-hero h1 {
        font-size: clamp(2.35rem, 12vw, 4rem);
    }

    .section {
        padding: 48px 0;
    }

    .card,
    .panel,
    .legal-content,
    .auth-card,
    .account-dashboard-card,
    .admin-header {
        border-radius: 22px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        width: min(100% - 22px, var(--max));
    }

    .btn,
    .button-row,
    .button-row .btn,
    .admin-header-actions .btn {
        width: 100%;
    }

    .nav-actions {
        gap: 8px;
    }

    .lang-switch {
        display: none;
    }

    .card,
    .trust-card,
    .shop-card,
    .plugin-card,
    .panel {
        padding: 20px;
    }

    .admin-shell {
        width: min(100% - 22px, 1320px);
        margin: 20px auto;
    }

    .tabs {
        overflow-x: auto;
        padding-bottom: 4px;
        flex-wrap: nowrap;
    }

    .tab-btn {
        white-space: nowrap;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.001ms !important;
        transition-duration: 0.001ms !important;
    }
}


/* Wiki search + license account improvements */
.wiki-tools {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 22px;
    align-items: start;
}

.wiki-tools > .wiki-filter-row,
.wiki-tools > .wiki-search-results {
    grid-column: 1 / -1;
}

.enhanced-wiki-search {
    width: 100%;
}

.enhanced-wiki-search input {
    min-height: 54px;
    border-radius: 18px;
    font-size: 0.98rem;
}

.wiki-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.wiki-filter {
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(15, 23, 42, 0.65);
    color: var(--muted);
    font-weight: 800;
    cursor: pointer;
}

.wiki-filter.active,
.wiki-filter:hover {
    color: #fff;
    border-color: rgba(124, 58, 237, 0.55);
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.28), rgba(6, 182, 212, 0.16));
}

.wiki-search-results {
    margin-top: 2px;
}

.wiki-result-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    color: var(--muted);
    font-size: 0.92rem;
    margin-bottom: 12px;
}

.wiki-result-head strong {
    color: var(--text);
}

.wiki-result-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.wiki-result-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 15px;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(2, 6, 23, 0.35);
    text-decoration: none;
    color: inherit;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.wiki-result-card:hover {
    transform: translateY(-2px);
    border-color: rgba(6, 182, 212, 0.45);
    background: rgba(15, 23, 42, 0.72);
}

.wiki-result-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: rgba(124, 58, 237, 0.14);
}

.wiki-result-content {
    display: grid;
    gap: 5px;
}

.wiki-result-content small {
    color: var(--muted);
    line-height: 1.55;
}

.wiki-result-content em {
    color: var(--primary-2);
    font-style: normal;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.wiki-result-empty {
    padding: 16px;
    border: 1px dashed rgba(148, 163, 184, 0.22);
    border-radius: 18px;
    color: var(--muted);
}

.doc-quick-card.highlighted {
    border-color: rgba(6, 182, 212, 0.4);
    background: linear-gradient(145deg, rgba(6, 182, 212, 0.14), rgba(124, 58, 237, 0.12));
}

.license-help-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 22px;
}

.mini-info-card {
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(2, 6, 23, 0.28);
}

.mini-info-card strong,
.mini-info-card span {
    display: block;
}

.mini-info-card strong {
    margin-bottom: 8px;
    color: var(--text);
}

.mini-info-card span {
    color: var(--muted);
    line-height: 1.55;
    font-size: .94rem;
}

.license-list {
    display: grid;
    gap: 18px;
}

.license-card-enhanced {
    display: grid;
    grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr);
    gap: 20px;
    align-items: start;
}

.license-card-enhanced .license-card-main {
    min-width: 0;
}

.license-bind-form {
    padding: 18px;
    border-radius: 20px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(15, 23, 42, 0.5);
}

.license-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.license-form-grid label {
    display: grid;
    gap: 7px;
    color: var(--muted);
    font-weight: 800;
    font-size: .88rem;
}

.license-form-grid input,
.license-form-grid select,
.license-form-grid textarea {
    width: 100%;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(2, 6, 23, 0.55);
    color: var(--text);
    padding: 12px 13px;
    outline: none;
}

.license-form-grid textarea {
    min-height: 92px;
    resize: vertical;
}

.license-notes-field {
    grid-column: 1 / -1;
}

.license-actions-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.license-form-hint {
    color: var(--muted);
    font-size: .9rem;
    line-height: 1.55;
    margin: 12px 0 0;
}

@media (max-width: 900px) {
    .wiki-tools,
    .license-card-enhanced,
    .license-help-grid {
        grid-template-columns: 1fr;
    }
    .wiki-result-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .license-form-grid {
        grid-template-columns: 1fr;
    }
    .wiki-result-head {
        flex-direction: column;
    }
}


/* === Generic home page + shop modal roadmap update === */
.home-process-preview .roadmap-mini-grid span {
    min-height: 58px;
    display: flex;
    align-items: center;
}

.modal-roadmap-block {
    margin-top: 22px;
    padding: 18px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.72), rgba(2, 6, 23, 0.45));
}

.modal-section-heading {
    margin-bottom: 14px;
}

.modal-section-heading h3 {
    margin-bottom: 4px;
}

.modal-section-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.modal-roadmap-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.modal-roadmap-item {
    padding: 14px;
    border-radius: 16px;
    background: rgba(2, 6, 23, 0.42);
    border: 1px solid rgba(148, 163, 184, 0.14);
}

.modal-roadmap-item strong {
    display: block;
    color: var(--text);
    margin-bottom: 5px;
}

.modal-roadmap-item span {
    display: block;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.55;
}

@media (max-width: 720px) {
    .modal-roadmap-grid {
        grid-template-columns: 1fr;
    }
}

/* ------------------------------------------------------------
   Veronix Update: Produktseiten + Warenkorb + einfache Funktionen
   ------------------------------------------------------------ */
.cart-nav-button,
.mobile-cart-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 42px;
    padding: .75rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(34, 211, 238, .28);
    background: rgba(6, 182, 212, .09);
    color: #e0faff;
    font-weight: 900;
    text-decoration: none;
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.cart-nav-button:hover,
.mobile-cart-button:hover,
.cart-nav-button.active {
    transform: translateY(-1px);
    border-color: rgba(34, 211, 238, .55);
    background: rgba(6, 182, 212, .16);
}

.cart-nav-button [data-cart-count],
.mobile-cart-button [data-cart-count] {
    min-width: 22px;
    height: 22px;
    padding: 0 .4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, #7c3aed, #06b6d4);
    color: white;
    font-size: .78rem;
}

.simple-shop-flow,
.simple-info-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.simple-shop-flow article,
.simple-info-strip article {
    padding: 1.1rem;
    border: 1px solid rgba(148, 163, 184, .16);
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(15, 23, 42, .82), rgba(15, 23, 42, .52));
    box-shadow: 0 18px 50px rgba(0, 0, 0, .16);
}

.simple-shop-flow span,
.simple-info-strip span {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: rgba(6, 182, 212, .13);
    color: #67e8f9;
    font-weight: 950;
    margin-bottom: .75rem;
}

.simple-shop-flow strong,
.simple-info-strip strong {
    display: block;
    color: #f8fafc;
    font-size: 1.02rem;
    margin-bottom: .25rem;
}

.simple-shop-flow p,
.simple-info-strip p {
    margin: 0;
    color: #a8b3c7;
    line-height: 1.55;
}

.compact-heading {
    max-width: 760px;
    margin-bottom: 1.25rem;
}

.clean-shop-card .shop-preview {
    text-decoration: none;
}

.shop-card-actions-simple {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem;
    margin-top: auto;
}

.compact-feature-list {
    margin-bottom: 1rem;
}

.product-detail-page {
    padding-top: 3rem;
    padding-bottom: 4rem;
}

.product-detail-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
    gap: 2rem;
    align-items: center;
    margin-bottom: 2rem;
}

.product-detail-copy {
    display: grid;
    gap: 1.1rem;
}

.back-link {
    color: #93c5fd;
    font-weight: 850;
    text-decoration: none;
}

.back-link:hover {
    color: #67e8f9;
}

.product-detail-copy h1 {
    margin: 0;
    font-size: clamp(2.4rem, 5vw, 5.2rem);
    line-height: .96;
    letter-spacing: -.055em;
}

.product-detail-media,
.product-gallery-grid img,
.cart-item-image,
.shop-preview {
    overflow: hidden;
    background: rgba(2, 6, 23, .52);
}

.product-detail-media {
    aspect-ratio: 16 / 10;
    border-radius: 30px;
    border: 1px solid rgba(148, 163, 184, .18);
    box-shadow: 0 30px 90px rgba(0, 0, 0, .35);
}

.product-detail-media img,
.product-gallery-grid img,
.cart-item-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.product-detail-placeholder,
.cart-item-image span {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    font-size: clamp(2rem, 6vw, 5rem);
    font-weight: 1000;
    color: rgba(255, 255, 255, .35);
    background: radial-gradient(circle at top left, rgba(124, 58, 237, .42), transparent 55%), rgba(15, 23, 42, .86);
}

.product-price-box {
    width: fit-content;
    display: grid;
    gap: .2rem;
    padding: .95rem 1.15rem;
    border-radius: 18px;
    border: 1px solid rgba(34, 211, 238, .22);
    background: rgba(6, 182, 212, .08);
}

.product-price-box strong {
    font-size: 1.55rem;
    color: #fff;
}

.product-price-box small {
    color: #a8b3c7;
}

.product-detail-actions,
.cart-item-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
}

.trust-mini-row {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
}

.trust-mini-row span {
    padding: .5rem .75rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, .7);
    border: 1px solid rgba(148, 163, 184, .16);
    color: #cbd5e1;
    font-size: .9rem;
    font-weight: 800;
}

.product-section-card {
    margin-top: 1.4rem;
    padding: clamp(1.2rem, 3vw, 2rem);
    border: 1px solid rgba(148, 163, 184, .16);
    border-radius: 28px;
    background: rgba(15, 23, 42, .66);
    box-shadow: 0 20px 70px rgba(0, 0, 0, .18);
}

.feature-overview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.feature-overview-grid article {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: 1rem;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, .15);
    background: rgba(2, 6, 23, .32);
}

.feature-overview-grid span {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: rgba(124, 58, 237, .16);
    color: #ddd6fe;
    font-weight: 950;
}

.feature-overview-grid strong {
    color: #f8fafc;
}

.product-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.product-gallery-grid img {
    aspect-ratio: 16 / 9;
    border-radius: 20px;
    border: 1px solid rgba(148, 163, 184, .16);
}

.product-detail-markdown {
    max-width: 900px;
}

.product-bottom-cta {
    margin-top: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: clamp(1.2rem, 3vw, 2rem);
}

.product-bottom-cta h2 {
    margin-bottom: .4rem;
}

.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 1.4rem;
    align-items: start;
}

.cart-items {
    display: grid;
    gap: 1rem;
}

.cart-item {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 1rem;
    padding: 1rem;
}

.cart-item-image {
    aspect-ratio: 16 / 10;
    border-radius: 20px;
    border: 1px solid rgba(148, 163, 184, .16);
    text-decoration: none;
}

.cart-item-content {
    display: grid;
    gap: .75rem;
}

.cart-item-top {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.cart-item-top h2 {
    margin: 0;
    font-size: 1.35rem;
}

.cart-item-top strong {
    white-space: nowrap;
    color: #fff;
}

.cart-summary {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 1rem;
    padding: 1.35rem;
}

.cart-summary-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .9rem 0;
    border-bottom: 1px solid rgba(148, 163, 184, .14);
}

.cart-summary-line strong {
    color: #fff;
    font-size: 1.2rem;
}

.cart-checkout-btn {
    width: 100%;
}

.cart-legal-consent {
    margin: 0;
}

.empty-cart-state,
.product-not-found {
    min-height: 320px;
    display: grid;
    place-items: center;
    text-align: center;
}

.success-tag {
    color: #bbf7d0;
    border-color: rgba(34, 197, 94, .25);
    background: rgba(34, 197, 94, .12);
}

.mini-cart-notice {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: min(420px, calc(100vw - 2rem));
    padding: 1rem;
    border-radius: 18px;
    border: 1px solid rgba(34, 211, 238, .32);
    background: rgba(15, 23, 42, .96);
    box-shadow: 0 25px 80px rgba(0, 0, 0, .45);
    transform: translateY(120%);
    opacity: 0;
    transition: transform .22s ease, opacity .22s ease;
}

.mini-cart-notice.show {
    transform: translateY(0);
    opacity: 1;
}

.mini-cart-notice a {
    color: #67e8f9;
    font-weight: 900;
    white-space: nowrap;
}

.btn-danger {
    background: rgba(239, 68, 68, .12) !important;
    border-color: rgba(239, 68, 68, .25) !important;
    color: #fecaca !important;
}

.btn-sm {
    min-height: 36px;
    padding: .55rem .8rem;
    font-size: .88rem;
}

@media (max-width: 960px) {
    .product-detail-hero,
    .cart-layout {
        grid-template-columns: 1fr;
    }

    .cart-summary {
        position: static;
    }
}

@media (max-width: 720px) {
    .simple-shop-flow,
    .simple-info-strip,
    .feature-overview-grid,
    .product-gallery-grid {
        grid-template-columns: 1fr;
    }

    .shop-card-actions-simple,
    .cart-item {
        grid-template-columns: 1fr;
    }

    .product-bottom-cta,
    .cart-item-top {
        align-items: flex-start;
        flex-direction: column;
    }

    .product-detail-page {
        padding-top: 1.5rem;
    }
}


/* =========================================================
   Cart Cleanup / Checkout Übersicht 2026-06-14
   ========================================================= */
.cart-hero-clean {
    padding-bottom: clamp(1.4rem, 3vw, 2rem);
}
.checkout-steps {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem;
    margin-top: 1.25rem;
}
.checkout-steps span {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: .65rem .95rem;
    border: 1px solid rgba(148, 163, 184, .16);
    border-radius: 999px;
    background: rgba(15, 23, 42, .68);
    color: var(--muted);
    font-weight: 850;
    font-size: .92rem;
}
.checkout-steps span.active {
    color: #fff;
    border-color: rgba(34, 211, 238, .35);
    background: linear-gradient(135deg, rgba(124, 58, 237, .26), rgba(6, 182, 212, .16));
}
.cart-layout {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 410px) !important;
    gap: clamp(1rem, 2.5vw, 1.6rem) !important;
    align-items: start;
}
.cart-main-area {
    min-width: 0;
}
.cart-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}
.cart-section-head h2 {
    margin: .25rem 0 0;
    font-size: clamp(1.45rem, 3vw, 2.15rem);
    letter-spacing: -.035em;
}
.cart-summary {
    width: 100%;
    min-width: 0;
    overflow: hidden;
    border-radius: 26px;
    padding: clamp(1rem, 2.5vw, 1.35rem) !important;
}
.cart-summary h2 {
    margin: .15rem 0 .3rem;
    font-size: clamp(1.35rem, 2.4vw, 1.85rem) !important;
    line-height: 1.08;
    letter-spacing: -.035em;
    overflow-wrap: anywhere;
}
.cart-summary-box {
    display: grid;
    border: 1px solid rgba(148, 163, 184, .14);
    border-radius: 18px;
    background: rgba(2, 6, 23, .28);
    overflow: hidden;
}
.cart-summary-line {
    padding: .9rem 1rem !important;
    border-bottom: 1px solid rgba(148, 163, 184, .12) !important;
}
.cart-summary-line:last-child { border-bottom: 0 !important; }
.cart-summary-line span {
    color: var(--muted);
    font-weight: 800;
}
.cart-summary-line strong {
    font-size: 1.05rem !important;
    white-space: nowrap;
}
.cart-summary-line.total strong {
    font-size: 1.25rem !important;
    color: #67e8f9;
}
.cart-legal-consent {
    border-color: rgba(124, 58, 237, .28) !important;
    background: linear-gradient(135deg, rgba(124, 58, 237, .10), rgba(6, 182, 212, .06)) !important;
}
.cart-legal-consent label {
    display: grid !important;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: .75rem !important;
    align-items: flex-start !important;
}
.cart-legal-consent input {
    width: 18px !important;
    height: 18px !important;
    margin-top: .15rem !important;
}
.cart-legal-consent span {
    min-width: 0;
    display: block;
    color: #cbd5e1;
    font-size: .9rem;
    line-height: 1.55;
}
.cart-legal-consent span strong {
    display: block;
    margin-bottom: .25rem;
    color: #fff;
    font-size: .95rem;
}
.cart-legal-consent span small {
    display: block;
    color: var(--muted);
    font-size: .84rem;
    line-height: 1.55;
}
.cart-legal-consent a {
    color: #67e8f9 !important;
    font-weight: 900;
}
.cart-checkout-btn,
.cart-secondary-action {
    width: 100%;
    min-height: 50px;
}
.cart-checkout-btn:disabled {
    cursor: not-allowed;
    opacity: .58;
    filter: grayscale(.2);
    transform: none !important;
}
.cart-trust-note {
    color: var(--muted);
    font-size: .85rem;
    line-height: 1.5;
    text-align: center;
}
.cart-summary.is-empty .shop-legal-consent,
.cart-summary.is-empty .cart-checkout-btn {
    display: none !important;
}
.cart-summary.is-empty .cart-summary-box {
    opacity: .72;
}
.cart-item {
    grid-template-columns: minmax(110px, 170px) minmax(0, 1fr) !important;
    align-items: stretch;
    border-radius: 24px;
}
.cart-item-image {
    overflow: hidden;
    background: rgba(2, 6, 23, .35);
}
.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.cart-item-content {
    min-width: 0;
}
.cart-item-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .8rem;
}
.cart-item-top h2 {
    font-size: clamp(1.1rem, 2.2vw, 1.35rem) !important;
    line-height: 1.15;
    overflow-wrap: anywhere;
}
.cart-item-desc {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
    max-width: 68ch;
}
.cart-item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
}
.cart-item-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: .35rem .6rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, .74);
    border: 1px solid rgba(148, 163, 184, .14);
    color: var(--muted);
    font-size: .8rem;
    font-weight: 850;
}
.cart-item-meta .success-text {
    color: #bbf7d0;
    border-color: rgba(34, 197, 94, .24);
    background: rgba(34, 197, 94, .10);
}
.cart-item-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
}
.empty-cart-state {
    border-radius: 26px;
    border: 1px solid rgba(148, 163, 184, .16);
    background: linear-gradient(135deg, rgba(15, 23, 42, .74), rgba(2, 6, 23, .38));
    padding: clamp(1.5rem, 4vw, 2.5rem);
}
.empty-cart-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto .9rem;
    display: grid;
    place-items: center;
    border-radius: 22px;
    background: rgba(124, 58, 237, .18);
    border: 1px solid rgba(124, 58, 237, .28);
    font-size: 1.7rem;
}
@media (max-width: 1040px) {
    .cart-layout {
        grid-template-columns: 1fr !important;
    }
    .cart-summary {
        position: static !important;
        max-width: none;
    }
}
@media (max-width: 720px) {
    .cart-section-head {
        align-items: flex-start;
        flex-direction: column;
    }
    .checkout-steps span {
        flex: 1 1 auto;
        justify-content: center;
    }
    .cart-item {
        grid-template-columns: 1fr !important;
        padding: .9rem !important;
    }
    .cart-item-image {
        aspect-ratio: 16 / 9 !important;
    }
    .cart-item-top {
        flex-direction: column;
        align-items: flex-start;
    }
    .cart-item-actions .btn {
        width: 100%;
    }
}


/* =========================================================
   Veronix Global UI Polish v3
   Ziel: übersichtlicher, moderner, stabiler auf allen Seiten
   ========================================================= */
:root {
    --vrx-bg: #070b16;
    --vrx-bg-2: #0b1220;
    --vrx-surface: rgba(15, 23, 42, 0.78);
    --vrx-surface-solid: #101827;
    --vrx-surface-soft: rgba(30, 41, 59, 0.56);
    --vrx-border: rgba(148, 163, 184, 0.18);
    --vrx-border-strong: rgba(148, 163, 184, 0.28);
    --vrx-text: #f8fafc;
    --vrx-muted: #a8b3c7;
    --vrx-muted-2: #7b879b;
    --vrx-primary: #7c3aed;
    --vrx-primary-2: #22d3ee;
    --vrx-primary-3: #10b981;
    --vrx-danger: #ef4444;
    --vrx-warning: #f59e0b;
    --vrx-success: #22c55e;
    --vrx-radius-sm: 12px;
    --vrx-radius: 18px;
    --vrx-radius-lg: 26px;
    --vrx-shadow: 0 22px 70px rgba(0, 0, 0, 0.32);
    --vrx-shadow-soft: 0 12px 34px rgba(0, 0, 0, 0.22);
    --max: 1180px;
    --bg: var(--vrx-bg);
    --bg-soft: var(--vrx-bg-2);
    --card: var(--vrx-surface);
    --card-strong: var(--vrx-surface-solid);
    --line: var(--vrx-border);
    --text: var(--vrx-text);
    --muted: var(--vrx-muted);
    --primary: var(--vrx-primary-2);
    --primary-soft: rgba(34, 211, 238, 0.12);
    --radius: var(--vrx-radius-lg);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
    overflow-x: hidden;
    background:
        radial-gradient(circle at 12% -10%, rgba(124, 58, 237, 0.22), transparent 34rem),
        radial-gradient(circle at 90% 0%, rgba(34, 211, 238, 0.13), transparent 30rem),
        linear-gradient(180deg, #070b16 0%, #08101f 48%, #070b16 100%);
    color: var(--vrx-text);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img, picture, video, canvas, svg { display: block; max-width: 100%; }
a, button { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
    outline: 3px solid rgba(34, 211, 238, 0.45);
    outline-offset: 3px;
}

.container { width: min(100% - 36px, var(--max)); margin-inline: auto; }
.section { padding-block: clamp(42px, 7vw, 86px); }
.section + .section { padding-top: clamp(24px, 5vw, 60px); }

/* Header / Navigation */
.site-header {
    background: rgba(7, 11, 22, 0.78);
    border-bottom: 1px solid var(--vrx-border);
    backdrop-filter: blur(18px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}
.navbar { min-height: 76px; height: auto; padding-block: 12px; }
.logo { min-width: max-content; letter-spacing: 0.06em; }
.logo-mark {
    border-color: rgba(34, 211, 238, 0.36);
    color: #67e8f9;
    background: linear-gradient(135deg, rgba(124,58,237,0.28), rgba(34,211,238,0.13));
    box-shadow: 0 0 28px rgba(34, 211, 238, 0.12);
}
.logo span span { color: #67e8f9; }
.nav-actions { gap: 12px; }
.nav-links { gap: 6px; }
.nav-link {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    color: #c2cbe0;
    white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
    background: rgba(124, 58, 237, 0.12);
    border-color: rgba(124, 58, 237, 0.22);
    color: #fff;
}
.account-nav-button,
.cart-nav-button,
.mobile-account-button,
.mobile-cart-button {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 15px;
    border-radius: 999px;
    font-weight: 900;
    border: 1px solid rgba(34, 211, 238, 0.26);
    background: rgba(15, 23, 42, 0.75);
    color: #e0f2fe;
    white-space: nowrap;
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.cart-nav-button,
.mobile-cart-button {
    background: linear-gradient(135deg, rgba(124,58,237,0.28), rgba(34,211,238,0.14));
    border-color: rgba(34, 211, 238, 0.34);
}
.account-nav-button:hover,
.cart-nav-button:hover,
.mobile-account-button:hover,
.mobile-cart-button:hover { transform: translateY(-1px); border-color: rgba(34, 211, 238, 0.58); }
[data-cart-count] {
    min-width: 22px;
    height: 22px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(34, 211, 238, 0.16);
    color: #67e8f9;
    font-size: .78rem;
}
.lang-switch { background: rgba(2, 6, 23, 0.52); }
.lang-switch button.active { background: linear-gradient(135deg, var(--vrx-primary), var(--vrx-primary-2)); color: white; }

/* Hero / headings */
.hero, .page-hero { padding-block: clamp(56px, 8vw, 96px); }
.hero-grid, .split-grid, .product-hero-grid, .landing-grid { align-items: center; }
.hero h1, .page-hero h1, .product-title, h1 {
    max-width: 100%;
    overflow-wrap: anywhere;
    hyphens: auto;
    letter-spacing: -0.055em;
}
.hero h1, .page-hero h1 { font-size: clamp(2.15rem, 6vw, 4.85rem); line-height: 1.02; }
h2 { letter-spacing: -0.035em; }
.lead { color: #b7c3d7; max-width: 760px; }
.gradient-text { background: linear-gradient(90deg, #c4b5fd, #67e8f9 52%, #a7f3d0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.badge, .eyebrow {
    letter-spacing: .08em;
    text-transform: uppercase;
    border-color: rgba(34, 211, 238, 0.28);
    background: rgba(34, 211, 238, 0.09);
    color: #67e8f9;
}

/* Cards / panels */
.card,
.trust-card,
.feature-card,
.plugin-card,
.shop-card,
.product-card,
.account-panel,
.auth-card,
.legal-card,
.wiki-card,
.stat-card,
.admin-card,
.cart-summary,
.cart-item,
.product-info-card,
.product-feature-card,
.roadmap-card,
.compare-card,
.faq-item,
.documentation-card {
    border: 1px solid var(--vrx-border);
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.82), rgba(10, 17, 31, 0.76));
    border-radius: var(--vrx-radius-lg);
    box-shadow: var(--vrx-shadow-soft);
    backdrop-filter: blur(12px);
}
.card:hover,
.trust-card:hover,
.feature-card:hover,
.shop-card:hover,
.product-card:hover,
.wiki-card:hover {
    border-color: rgba(34, 211, 238, 0.32);
}

/* Buttons */
.btn, button.btn, .button, .admin-btn {
    border-radius: 14px;
    min-height: 46px;
    font-weight: 900;
    line-height: 1.1;
    white-space: normal;
    text-align: center;
}
.btn-primary, .button-primary, .admin-btn-primary {
    color: #05111d;
    background: linear-gradient(135deg, #a78bfa 0%, #22d3ee 100%);
    border: 0;
    box-shadow: 0 16px 42px rgba(34, 211, 238, 0.18);
}
.btn-primary:hover, .button-primary:hover, .admin-btn-primary:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn-secondary, .button-secondary, .admin-btn-secondary {
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid var(--vrx-border-strong);
    color: #e5edf9;
}
.btn-danger { background: rgba(239, 68, 68, .13); border: 1px solid rgba(239,68,68,.28); color: #fecaca; }

/* Forms */
input, textarea, select {
    width: 100%;
    max-width: 100%;
    border-radius: 14px;
    border: 1px solid var(--vrx-border);
    background: rgba(2, 6, 23, 0.58);
    color: var(--vrx-text);
    padding: 13px 14px;
}
textarea { min-height: 130px; resize: vertical; }
label { color: #d8e1f0; font-weight: 800; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-row { display: grid; gap: 8px; }

/* Shop / product grid */
#shop-products,
#plugins-grid,
.shop-grid,
.products-grid,
.product-grid,
.trust-grid,
.features-grid,
.roadmap-grid,
.compare-grid,
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 18px;
}
.shop-card, .product-card, .plugin-card { min-width: 0; overflow: hidden; }
.shop-card-image,
.product-card-image,
.plugin-card-image,
.product-image-frame,
.markdown-content img,
.prose img {
    aspect-ratio: 16 / 9;
    width: 100%;
    object-fit: cover;
    border-radius: 18px;
    background: rgba(2, 6, 23, .55);
    border: 1px solid var(--vrx-border);
}
.product-gallery, .shop-gallery, .image-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
.product-gallery img, .shop-gallery img, .image-gallery img { aspect-ratio: 16/9; object-fit: cover; border-radius: 16px; }
.product-hero-grid, .product-detail-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); gap: 28px; }
.product-actions, .shop-card-actions, .cart-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.product-actions .btn, .shop-card-actions .btn { flex: 1 1 180px; }

/* Cart clean layout */
.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
    gap: 24px;
    align-items: start;
}
.cart-items { display: grid; gap: 14px; min-width: 0; }
.cart-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    padding: 18px;
    min-width: 0;
}
.cart-item * { min-width: 0; }
.cart-summary { position: sticky; top: 96px; padding: clamp(20px, 3vw, 28px); overflow: hidden; }
.cart-summary h2 { margin: 8px 0 18px; font-size: clamp(1.6rem, 4vw, 2.35rem); line-height: 1.05; overflow-wrap: anywhere; }
.cart-summary-line {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--vrx-border);
}
.cart-legal-consent, .shop-legal-consent {
    margin: 18px 0;
    padding: 15px;
    border-radius: 18px;
    border: 1px solid rgba(124,58,237,0.34);
    background: rgba(124,58,237,0.10);
}
.cart-legal-consent label, .shop-legal-consent label {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    line-height: 1.55;
    color: #dbeafe;
}
.cart-legal-consent input, .shop-legal-consent input { width: 18px; height: 18px; margin-top: 3px; }
.cart-checkout-btn { width: 100%; }

/* Account */
.account-layout, .account-shell {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 26px;
    align-items: start;
}
.account-sidebar, .account-tabs {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 8px;
    padding: 16px;
    border-radius: var(--vrx-radius-lg);
    border: 1px solid var(--vrx-border);
    background: rgba(15, 23, 42, 0.72);
}
.account-tab, .account-nav-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 13px 14px;
    border-radius: 14px;
    color: #cbd5e1;
    font-weight: 900;
    border: 1px solid transparent;
    background: transparent;
    text-align: left;
}
.account-tab.active, .account-nav-item.active, .account-tab:hover, .account-nav-item:hover {
    color: white;
    border-color: rgba(34,211,238,.24);
    background: rgba(34, 211, 238, 0.09);
}
.account-content { min-width: 0; }
.account-panel { padding: clamp(20px, 4vw, 34px); min-width: 0; }
.license-key-box, .license-card { overflow-wrap: anywhere; }

/* Wiki */
.wiki-search-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
    gap: 20px;
    align-items: start;
    padding: clamp(20px, 4vw, 28px);
}
.wiki-search-panel h2 { margin-top: 0; }
.wiki-search-filters, .filter-pills, .wiki-filter-row { display: flex; flex-wrap: wrap; gap: 10px; }
.wiki-search-input, #wiki-search-input { min-height: 48px; }
.wiki-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 26px; align-items: start; }
.wiki-sidebar { position: sticky; top: 96px; }
.wiki-content, .markdown-content, .prose { min-width: 0; overflow-wrap: anywhere; }
.markdown-content pre, .prose pre, pre, code { max-width: 100%; overflow-x: auto; }

/* Legal pages */
.legal-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 26px; align-items: start; }
.legal-sidebar { position: sticky; top: 96px; }
.legal-content, .legal-card { min-width: 0; overflow-wrap: anywhere; }
.legal-content table, .legal-card table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }

/* Admin */
.admin-layout, .admin-shell { min-width: 0; }
.admin-header, .admin-topbar { gap: 16px; flex-wrap: wrap; }
.admin-tabs, .admin-nav, .admin-tabbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}
.admin-tab, .admin-nav button, .admin-tabbar button {
    min-height: 42px;
    border-radius: 14px;
    padding: 10px 14px;
    border: 1px solid var(--vrx-border);
    background: rgba(15, 23, 42, 0.72);
    color: #cbd5e1;
    font-weight: 900;
}
.admin-tab.active, .admin-nav button.active, .admin-tabbar button.active {
    border-color: rgba(34, 211, 238, .32);
    background: rgba(34, 211, 238, .10);
    color: white;
}
.admin-grid, .dashboard-grid, .stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 16px; }
.table-wrap, .admin-table-wrap, .orders-table-wrap { width: 100%; overflow-x: auto; border-radius: 18px; border: 1px solid var(--vrx-border); }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 13px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(148,163,184,.13); }
th { color: #e5edf9; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; background: rgba(2,6,23,.28); }
td { color: #c6d2e5; }
.status-pill, .badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 28px;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: .82rem;
    font-weight: 900;
    background: rgba(148,163,184,.12);
    color: #dbeafe;
}

/* Footer */
.site-footer {
    margin-top: clamp(50px, 7vw, 90px);
    border-top: 1px solid var(--vrx-border);
    background: rgba(2, 6, 23, 0.42);
}
.footer-grid { gap: 28px; }
.footer-column a { color: #aebbd0; }
.footer-column a:hover { color: #67e8f9; }

/* Utility */
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 18px; }
.stack { display: grid; gap: 14px; }
.muted { color: var(--vrx-muted); }
.notice, .alert, .empty-state {
    border-radius: 18px;
    border: 1px solid var(--vrx-border);
    background: rgba(15, 23, 42, .62);
    padding: 16px;
}
.empty-state { text-align: center; padding: clamp(28px, 6vw, 54px); color: var(--vrx-muted); }

@media (max-width: 1100px) {
    .nav-links:not(.mobile-panel .nav-links) { display: none; }
    .mobile-menu-btn { display: inline-flex; align-items: center; justify-content: center; }
    .mobile-panel {
        position: fixed;
        inset: 76px 14px auto 14px;
        z-index: 60;
        padding: 14px;
        border: 1px solid var(--vrx-border);
        border-radius: 22px;
        background: rgba(7, 11, 22, 0.96);
        box-shadow: var(--vrx-shadow);
        backdrop-filter: blur(18px);
    }
    .mobile-panel.open { display: block; }
    .mobile-panel .nav-links { display: grid; gap: 8px; }
    .mobile-panel .nav-link, .mobile-panel .mobile-cart-button, .mobile-panel .mobile-account-button { width: 100%; justify-content: flex-start; }
}

@media (max-width: 920px) {
    .hero-grid,
    .product-hero-grid,
    .product-detail-layout,
    .cart-layout,
    .account-layout,
    .account-shell,
    .wiki-layout,
    .legal-layout,
    .wiki-search-panel {
        grid-template-columns: 1fr;
    }
    .cart-summary,
    .account-sidebar,
    .account-tabs,
    .wiki-sidebar,
    .legal-sidebar { position: static; }
    .hero, .page-hero { padding-block: 44px; }
    .container { width: min(100% - 28px, var(--max)); }
}

@media (max-width: 640px) {
    .navbar { min-height: 68px; padding-block: 10px; }
    .logo { font-size: 1.05rem; }
    .logo-mark { width: 34px; height: 34px; border-radius: 12px; }
    .lang-switch { display: none; }
    .account-nav-button, .cart-nav-button { padding: 9px 11px; font-size: .88rem; }
    .cart-nav-button { max-width: 46px; overflow: hidden; }
    .cart-nav-button [data-cart-count] { margin-left: 0; }
    .hero h1, .page-hero h1 { font-size: clamp(2rem, 12vw, 3.15rem); letter-spacing: -0.05em; }
    .lead { font-size: 1rem; }
    .button-row, .product-actions, .shop-card-actions { display: grid; grid-template-columns: 1fr; width: 100%; }
    .btn { width: 100%; }
    .form-grid { grid-template-columns: 1fr; }
    .cart-item { grid-template-columns: 1fr; }
    .cart-summary h2 { font-size: 1.75rem; }
    th, td { padding: 11px 12px; }
    .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
    .container { width: min(100% - 20px, var(--max)); }
    .card, .account-panel, .cart-summary { border-radius: 20px; }
    .hero h1, .page-hero h1 { font-size: 2.05rem; }
    .badge { font-size: .78rem; }
}
