/* custom.css - Theme-spezifische individuelle Anpassungen */

/* ============================================================
   VARIO App-Store · Header
   Tokens lokal auf .hdr gescoped, damit Body-Werte unangetastet bleiben.
   ============================================================ */
.hdr {
    --hdr-bg: #fbfaf8;
    --hdr-ink: #0e0e0e;
    --hdr-ink-soft: rgba(14, 14, 14, .72);
    --hdr-ink-muted: rgba(14, 14, 14, .50);
    --hdr-ink-faint: rgba(14, 14, 14, .35);
    --hdr-line: rgba(14, 14, 14, .10);
    --hdr-line-soft: rgba(14, 14, 14, .06);
    --hdr-accent: #84b933;
    --hdr-accent-2: #5a8420;
    --hdr-accent-soft: #eef6dd;
    --hdr-berry: #8c2952;
    --hdr-radius: 14px;
    --hdr-radius-sm: 10px;

    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(251, 250, 248, .85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--hdr-line);
}
.hdr .hdr-row {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 0 40px;
    height: 72px;
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
}

/* ----- Brand / Logo ----- */
.hdr .brand-wrap {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    flex-shrink: 0;
    gap: 2px;
}
.hdr .brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}
.hdr .brand-logo {
    height: 40px;
    width: auto;
    display: block;
}
.hdr .brand-flag {
    display: inline-block;
    padding: 1px 7px;
    background: #84b9331a;
    color: #5a8420;
    font: 700 9px/1.2 'Figtree', system-ui, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    border-radius: 3px;
    text-decoration: none;
    align-self: flex-end;
    transition: background-color .15s ease, color .15s ease;
}
.hdr .brand-flag:hover,
.hdr .brand-flag:focus-visible {
    background: #84b933;
    color: #fff;
    outline: none;
}

/* ----- Navigation ----- */
.hdr .nav { display: flex; align-items: center; gap: 2px; margin-left: 18px; }
.hdr .nav a {
    font: 500 14px/1 'Figtree', system-ui, sans-serif;
    color: var(--hdr-ink-soft);
    text-decoration: none;
    padding: 10px 14px;
    border-radius: var(--hdr-radius-sm);
    transition: all .15s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    letter-spacing: -0.005em;
}
.hdr .nav a:hover {
    color: var(--color-greeny, #84b933);
}
.hdr .nav a.active { color: var(--hdr-ink); font-weight: 600; }
.hdr .nav a.active::after {
    content: "";
    position: absolute;
    left: 14px; right: 14px; bottom: -1px;
    height: 2px;
    background: var(--hdr-accent);
}

/* Burger-Toggle: nur in der Mobile-Media-Query sichtbar */
.hdr .nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    background: #fff;
    border: 1px solid var(--hdr-line);
    border-radius: 999px;            /* rund, passend zum Avatar-Button */
    color: var(--hdr-ink);
    cursor: pointer;
    transition: color .15s ease, border-color .15s ease, background-color .15s ease;
}
.hdr .nav-toggle svg { width: 26px; height: 26px; }
.hdr .nav-toggle:hover,
.hdr .nav-toggle[aria-expanded="true"] {
    border-color: var(--hdr-accent);
    color: var(--hdr-accent-2);
}


/* ----- Search (Warm Refined) ----- */
.hdr .search {
    flex: 1;
    max-width: 380px;
    position: relative;
    margin-left: auto;
}
.hdr .search input {
    width: 100%;
    background: #fff;
    border: 1px solid rgba(14, 14, 14, .10);
    border-radius: 10px;
    padding: 10px 14px 10px 40px;
    font: 500 13px/1.4 'Figtree', system-ui, sans-serif;
    color: var(--hdr-ink);
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.hdr .search input::placeholder { color: var(--hdr-ink-faint); font-weight: 400; }
.hdr .search input:focus {
    border-color: var(--hdr-accent);
    box-shadow: 0 0 0 3px rgba(132, 185, 51, .18);
}
.hdr .search svg.s-ic {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--hdr-ink);
    pointer-events: none;
    opacity: .55;
}
.hdr .search .kbd {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font: 500 10px/1 'Figtree', system-ui, sans-serif;
    color: var(--hdr-ink-faint);
    border: 1px solid var(--hdr-line);
    background: var(--hdr-bg);
    padding: 4px 7px;
    border-radius: 5px;
    letter-spacing: .06em;
}

/* ----- Quicksearch-Dropdown (Warm Refined) ----- */
.hdr .search .hdr-search-dd {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid rgba(14, 14, 14, .08);
    border-radius: 12px;
    box-shadow:
        0 1px 2px rgba(14, 14, 14, .04),
        0 20px 50px -12px rgba(90, 132, 32, .18),
        0 12px 30px -16px rgba(14, 14, 14, .25);
    overflow: hidden;
    z-index: 70;
    max-height: 70vh;
    overflow-y: auto;
}
.hdr .search .hdr-search-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    text-decoration: none;
    color: var(--hdr-ink);
    border-bottom: 1px solid rgba(14, 14, 14, .05);
    transition: background-color .12s ease;
}
.hdr .search .hdr-search-item:last-of-type { border-bottom: 0; }
.hdr .search .hdr-search-item:hover,
.hdr .search .hdr-search-item.is-active {
    background-color: #faf8f1;
}
.hdr .search .hdr-search-item img,
.hdr .search .hdr-search-item .hdr-search-thumb-fallback {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    object-fit: cover;
    background: #f4f4f1;
    flex-shrink: 0;
    box-shadow: inset 0 0 0 1px rgba(14, 14, 14, .05);
}
.hdr .search .hdr-search-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}
.hdr .search .hdr-search-meta strong {
    font: 600 14px/1.25 'Figtree', system-ui, sans-serif;
    color: var(--hdr-ink);
    letter-spacing: -0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.hdr .search .hdr-search-meta span {
    font: 400 12px/1.4 'Figtree', system-ui, sans-serif;
    color: rgba(14, 14, 14, .55);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.hdr .search .hdr-search-meta mark {
    background: rgba(132, 185, 51, .25);
    color: inherit;
    padding: 0 2px;
    border-radius: 3px;
}
.hdr .search .hdr-search-empty {
    padding: 18px 16px;
    font: 500 13px/1.5 'Figtree', sans-serif;
    color: rgba(14, 14, 14, .55);
    text-align: center;
    letter-spacing: -0.005em;
}
.hdr .search .hdr-search-all {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    background: #faf8f1;
    border-top: 1px solid rgba(14, 14, 14, .06);
    color: var(--hdr-accent-2);
    text-decoration: none;
    font: 600 13px/1 'Figtree', sans-serif;
    letter-spacing: -0.005em;
    transition: background-color .15s ease, color .15s ease;
}
.hdr .search .hdr-search-all::after {
    content: "→";
    font-weight: 500;
    transition: transform .15s ease;
}
.hdr .search .hdr-search-all:hover {
    background: #eef6dd;
    color: var(--hdr-accent-2);
}
.hdr .search .hdr-search-all:hover::after { transform: translateX(3px); }

/* ============================================================
   "App fehlt?"-Button in der Nav
   Confident Solid: voll gesättigtes VARIO-Grün, weißer Text/Icon,
   ein sichtbarer Inner-Highlight oben für Material-Tiefe,
   grünstichiger Schatten als Brand-Signature. Kein Outlining.
   ============================================================ */
.hdr .nav .hdr-wish-pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-left: 14px;
    padding: 9px 16px 9px 13px;
    background: var(--hdr-berry);
    border: 0;
    border-radius: 10px;
    color: #fff;
    font-family: 'Figtree', system-ui, sans-serif;
    cursor: pointer;
    position: relative;
    transition: background .18s ease;
}
.hdr .nav .hdr-wish-pill-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: rgba(255, 255, 255, .16);
    border-radius: 6px;
    flex-shrink: 0;
}
.hdr .nav .hdr-wish-pill-icon i {
    font-size: 12px;
    line-height: 1;
    color: #fff;
    --fa-primary-color: #fff;
    --fa-secondary-color: #fff;
    --fa-secondary-opacity: .50;
}
.hdr .nav .hdr-wish-pill-text {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    line-height: 1;
}
.hdr .nav .hdr-wish-pill-label {
    font: 500 13px/1 'Figtree', sans-serif;
    color: #fff;
    letter-spacing: -0.005em;
}
.hdr .nav .hdr-wish-pill-cta {
    font: 500 13px/1 'Figtree', sans-serif;
    color: #fff;
    letter-spacing: -0.005em;
    white-space: nowrap;
}
.hdr .nav .hdr-wish-pill-cta::after {
    content: " →";
    display: inline-block;
    margin-left: 3px;
    color: rgba(255, 255, 255, .90);
}
.hdr .nav .hdr-wish-pill:hover {
    background: #732041;
}
.hdr .nav .hdr-wish-pill:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(140, 41, 82, .35);
}

/* ============================================================
   App-Wunsch-Modal – Warm Refined
   Cremiges Paper-Background, sanftes 14px Radius, ein grünstichiger
   Drop-Shadow als Brand-Signature, klare Typografie ohne Caps-Tracking,
   Inputs als sanfte Box mit grünem Focus-Glow.
   ============================================================ */
.vc-wish-modal { --vc-ink: #0e0e0e; --vc-paper: #fbfaf8; --vc-paper-2: #f4f1ea; --vc-green: #84b933; --vc-green-dk: #5a8420; --vc-berry: #8c2952; --vc-rule: rgba(14, 14, 14, .08); }
.vc-wish-modal .modal-dialog { max-width: 540px; }
.vc-wish-modal .modal-content {
    border: 1px solid rgba(14, 14, 14, .06);
    border-radius: 14px;
    background: var(--vc-paper);
    box-shadow:
        0 1px 2px rgba(14, 14, 14, .04),
        0 30px 60px -12px rgba(90, 132, 32, .22),
        0 18px 36px -18px rgba(14, 14, 14, .25);
}
.vc-wish-modal .modal-header {
    align-items: flex-start;
    padding: 28px 32px 4px;
    border-bottom: 0;
}
.vc-wish-modal .modal-header .btn-close {
    margin-top: 4px;
    opacity: .55;
    transition: opacity .15s ease;
}
.vc-wish-modal .modal-header .btn-close:hover { opacity: 1; }
.vc-wish-modal .vc-wish-head {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.vc-wish-modal .vc-wish-spark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    background: #84b9331a;
    color: #84b933;
    border-radius: 12px;
}
.vc-wish-modal .vc-wish-spark i {
    font-size: 20px;
    line-height: 1;
    color: #84b933;
    --fa-primary-color: #84b933;
    --fa-secondary-color: #84b933;
    --fa-secondary-opacity: .40;
}
.vc-wish-modal .vc-wish-title {
    font: 700 22px/1.25 'Figtree', sans-serif;
    letter-spacing: -0.022em;
    color: var(--vc-ink);
    margin: 0 0 6px;
}
.vc-wish-modal .vc-wish-lede {
    font: 400 14px/1.5 'Figtree', sans-serif;
    color: rgba(14, 14, 14, .58);
    margin: 0;
    max-width: 380px;
}
.vc-wish-modal .modal-body { padding: 18px 32px 28px; }

/* Inputs als sanfte Box */
.vc-wish-modal .vc-field { margin-bottom: 16px; }
.vc-wish-modal .vc-label {
    display: flex;
    align-items: baseline;
    font: 600 13px/1.2 'Figtree', sans-serif;
    color: var(--vc-ink);
    margin-bottom: 6px;
    letter-spacing: -0.005em;
}
.vc-wish-modal .vc-req { color: var(--vc-berry); margin-left: 2px; font-weight: 700; }
.vc-wish-modal .vc-opt {
    margin-left: auto;
    font: 400 12px/1 'Figtree', sans-serif;
    color: rgba(14, 14, 14, .42);
    font-style: italic;
}
.vc-wish-modal .vc-input {
    width: 100%;
    background: #fff;
    border: 1px solid rgba(14, 14, 14, .12);
    border-radius: 10px;
    padding: 11px 14px;
    font: 500 14px/1.4 'Figtree', sans-serif;
    color: var(--vc-ink);
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.vc-wish-modal .vc-input::placeholder { color: rgba(14, 14, 14, .35); font-weight: 400; }
.vc-wish-modal .vc-input:focus {
    outline: none;
    border-color: var(--vc-green);
    box-shadow: 0 0 0 3px rgba(132, 185, 51, .18);
}
.vc-wish-modal .vc-input.is-invalid {
    border-color: #d9534f;
    background-image: none;
    box-shadow: 0 0 0 3px rgba(217, 83, 79, .12);
}
.vc-wish-modal .vc-textarea { resize: vertical; min-height: 104px; }
.vc-wish-modal .invalid-feedback {
    font: 500 12px/1.4 'Figtree', sans-serif;
    margin-top: 5px;
    color: #c0392b;
}

/* Action-Row */
.vc-wish-modal .vc-wish-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 22px;
}
.vc-wish-modal .vc-btn-ghost {
    background: transparent;
    border: 0;
    padding: 12px 16px;
    font: 500 14px/1 'Figtree', sans-serif;
    color: rgba(14, 14, 14, .55);
    cursor: pointer;
    border-radius: 10px;
    transition: color .15s ease, background-color .15s ease;
}
.vc-wish-modal .vc-btn-ghost:hover { color: var(--vc-ink); background: var(--vc-paper-2); }
.vc-wish-modal .vc-btn-solid {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(180deg, var(--vc-green) 0%, #79ad2c 100%);
    color: #fff;
    border: 0;
    border-radius: 10px;
    padding: 12px 20px;
    font: 500 14px/1 'Figtree', sans-serif;
    letter-spacing: -0.005em;
    cursor: pointer;
    position: relative;
    box-shadow:
        inset 0 1px 0 0 rgba(255, 255, 255, .25),
        inset 0 -1px 0 0 rgba(0, 0, 0, .08),
        0 6px 18px -4px rgba(132, 185, 51, .45);
    transition: background .18s ease, box-shadow .18s ease;
}
.vc-wish-modal .vc-btn-solid:hover {
    background: linear-gradient(180deg, #79ad2c 0%, var(--vc-green-dk) 100%);
    box-shadow:
        inset 0 1px 0 0 rgba(255, 255, 255, .20),
        0 10px 28px -6px rgba(132, 185, 51, .55);
}
.vc-wish-modal .vc-btn-solid:disabled { opacity: .65; cursor: wait; }
.vc-wish-modal .vc-btn-solid .vc-wish-submit-arrow { transition: transform .18s ease; }
.vc-wish-modal .vc-btn-solid:hover .vc-wish-submit-arrow { transform: translateX(3px); }

/* Global Error */
.vc-wish-modal .vc-wish-error {
    border: 1px solid rgba(192, 57, 43, .25);
    background: #fdf2f2;
    color: #7a1c1c;
    padding: 11px 14px;
    border-radius: 10px;
    font: 500 13px/1.4 'Figtree', sans-serif;
    margin-bottom: 0;
}

/* Success-State */
.vc-wish-modal .vc-wish-success {
    padding: 6px 0 4px;
    text-align: left;
}
.vc-wish-modal .vc-wish-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: #84b9331a;
    color: #84b933;
    margin-bottom: 18px;
}
.vc-wish-modal .vc-wish-check i {
    font-size: 30px;
    line-height: 1;
    color: #84b933;
    --fa-primary-color: #84b933;
    --fa-secondary-color: #84b933;
    --fa-secondary-opacity: .40;
}
.vc-wish-modal .vc-wish-success-title {
    font: 700 22px/1.25 'Figtree', sans-serif;
    letter-spacing: -0.022em;
    color: var(--vc-ink);
    margin: 0 0 8px;
    max-width: 420px;
}
.vc-wish-modal .vc-wish-success-text {
    font: 400 14px/1.55 'Figtree', sans-serif;
    color: rgba(14, 14, 14, .62);
    margin-bottom: 20px;
    max-width: 440px;
}

/* Honeypot: für Menschen unsichtbar, aber für Bots im DOM */
.vc-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ----- Util-Bereich (Login / Avatar) ----- */
.hdr .util { display: flex; align-items: center; gap: 6px; margin-left: auto; }

/* Login-Button (ausgeloggt) – standardmäßig versteckt, freischaltbar via
   URL ?login=1, Tastenkombi Strg+Shift+V, oder localStorage-Flag.
   Sichtbar wird er, sobald <html> die Klasse .show-login traegt.
   Inline style="display:none" vom portal.js (wenn eingeloggt) hat Vorrang. */
.hdr .header-login-btn { display: none; }
html.show-login .hdr .header-login-btn { display: inline-flex; }
.hdr .header-login-btn {
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 999px;
    background: var(--hdr-accent);
    color: #fff;
    font: 500 13px/1 'Figtree', system-ui, sans-serif;
    text-decoration: none;
    border: 1px solid var(--hdr-accent);
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease;
    letter-spacing: -0.005em;
}
.hdr .header-login-btn:hover {
    background-color: #fff;
    color: var(--hdr-accent);
    border-color: var(--hdr-accent);
}
.hdr .header-login-btn i { font-size: 12px; }

/* Avatar-Trigger */
.hdr .user-wrap { position: relative; }
.hdr .avatar-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid var(--hdr-line);
    border-radius: 999px;
    padding: 5px 14px 5px 5px;
    cursor: pointer;
    transition: all .15s ease;
    font-family: inherit;
}
.hdr .avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #84b933, #5a8420);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font: 700 12px 'Figtree', system-ui, sans-serif;
    flex-shrink: 0;
    position: relative;
    letter-spacing: -0.01em;
}
.hdr .avatar .live {
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--hdr-accent);
    border: 2px solid #fff;
}
.hdr .avatar-btn .name {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
    max-width: 160px;
}
.hdr .avatar-btn .name strong {
    font: 600 13px 'Figtree', system-ui, sans-serif;
    color: var(--hdr-ink);
    letter-spacing: -0.005em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}
.hdr .avatar-btn .chev {
    color: var(--hdr-ink-muted);
    margin-left: 2px;
    transition: transform .2s ease;
}
.hdr .avatar-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.hdr .avatar-btn[aria-expanded="true"] {
    border-color: rgba(132, 185, 51, .4);
    box-shadow: 0 0 0 4px rgba(132, 185, 51, .08);
}

/* ----- Dropdown ----- */
.hdr .dd {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 300px;
    background: #fff;
    border: 1px solid var(--hdr-line);
    border-radius: var(--hdr-radius);
    box-shadow:
        0 24px 60px -16px rgba(14, 14, 14, .22),
        0 0 0 1px rgba(14, 14, 14, .02);
    z-index: 60;
    overflow: hidden;
    display: none;
    transform-origin: top right;
}
.hdr .dd.on {
    display: block;
    animation: hdrDdIn .18s cubic-bezier(.2, .7, .2, 1);
}
@keyframes hdrDdIn {
    from { opacity: 0; transform: translateY(-6px) scale(.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.hdr .dd-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 18px 16px;
    background:
        radial-gradient(80% 100% at 100% 0%, rgba(132, 185, 51, .10), transparent 70%),
        #fff;
    border-bottom: 1px solid var(--hdr-line-soft);
}
.hdr .dd-head .avatar.lg {
    width: 42px;
    height: 42px;
    font: 700 14px 'Figtree', system-ui, sans-serif;
}
.hdr .dd-head .meta {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    flex: 1;
}
.hdr .dd-head .meta strong {
    font: 600 14px 'Figtree', system-ui, sans-serif;
    color: var(--hdr-ink);
    letter-spacing: -0.005em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.hdr .dd-head .meta > span {
    font: 400 12px 'Figtree', system-ui, sans-serif;
    color: var(--hdr-ink-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.hdr .dd-head .pill {
    align-self: flex-start;
    margin-top: 4px;
    font: 600 9px/1 'Figtree', system-ui, sans-serif;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--hdr-accent-2);
    background: var(--hdr-accent-soft);
    border: 1px solid rgba(132, 185, 51, .25);
    padding: 4px 8px;
    border-radius: 999px;
}

/* Tenant-Sektion (zwischen Head und Foot) */
.hdr .dd-section {
    padding: 12px 14px 8px;
    border-bottom: 1px solid var(--hdr-line-soft);
}
.hdr .dd-label {
    display: block;
    font: 600 9px/1 'Figtree', system-ui, sans-serif;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--hdr-ink-muted);
    margin: 0 4px 8px;
}

/* Tenant-Liste (light) */
.hdr .header-tenant-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    max-height: 240px;
    overflow-y: auto;
}
.hdr .header-tenant-item {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 8px 32px 8px 10px;
    border-radius: var(--hdr-radius-sm);
    cursor: pointer;
    transition: background .15s ease;
    color: var(--hdr-ink-soft);
    user-select: none;
}
.hdr .header-tenant-item:hover {
    background: rgba(14, 14, 14, .04);
    color: var(--hdr-ink);
}
.hdr .header-tenant-item:focus-visible {
    outline: 2px solid rgba(132, 185, 51, .5);
    outline-offset: -2px;
}
.hdr .header-tenant-item.is-active {
    background: var(--hdr-accent-soft);
    color: var(--hdr-ink);
}
.hdr .header-tenant-item.is-active .header-tenant-name { font-weight: 600; }
.hdr .header-tenant-name {
    font: 500 13px/1.25 'Figtree', system-ui, sans-serif;
    color: inherit;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.hdr .header-tenant-sub {
    font: 400 10px/1 'Figtree', system-ui, sans-serif;
    color: var(--hdr-ink-muted);
    letter-spacing: .02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.hdr .header-tenant-check {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    color: var(--hdr-accent-2);
    font-size: 11px;
    opacity: 0;
    transition: opacity .12s ease;
}
.hdr .header-tenant-item.is-active .header-tenant-check { opacity: 1; }

/* "Meine Apps" im Nav nur sichtbar wenn eingeloggt */
.hdr .nav .nav-logged-in { display: none; }
html.is-logged-in .hdr .nav .nav-logged-in { display: inline-flex; }

/* Card-Hide bei aktivem "Installiert oder lizenziert"-Filter */
.vc-app-card.is-hidden-installed { display: none !important; }

/* Tooltip — generisch, scoped auf .hdr */
.hdr .has-tip {
    position: relative;
}
.hdr .has-tip::after,
.hdr .has-tip::before {
    position: absolute;
    left: 50%;
    top: calc(100% + 10px);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -4px);
    transition: opacity .14s ease, transform .14s ease;
    z-index: 50;
}
.hdr .has-tip::after {
    content: attr(data-tip);
    white-space: nowrap;
    padding: 8px 12px;
    border-radius: 2px;
    background: #0e0e0e;
    color: #fff;
    font: 500 12px/1.2 'Figtree', system-ui, sans-serif;
    letter-spacing: .01em;
    box-shadow: 0 6px 18px rgba(14, 14, 14, .18);
}
.hdr .has-tip::before {
    content: "";
    top: calc(100% + 6px);
    width: 8px;
    height: 8px;
    background: #0e0e0e;
    transform: translate(-50%, -4px) rotate(45deg);
    border-radius: 1px;
}
.hdr .has-tip:hover::after,
.hdr .has-tip:focus-visible::after {
    opacity: 1;
    transform: translate(-50%, 0);
    transition-delay: .25s;
}
.hdr .has-tip:hover::before,
.hdr .has-tip:focus-visible::before {
    opacity: 1;
    transform: translate(-50%, 0) rotate(45deg);
    transition-delay: .25s;
}

/* Foot / Logout */
.hdr .dd-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding: 6px;
    background: #fafaf7;
}
.hdr .dd-foot a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: var(--hdr-radius-sm);
    font: 500 13px/1 'Figtree', system-ui, sans-serif;
    color: var(--hdr-ink-soft);
    text-decoration: none;
    cursor: pointer;
    transition: all .12s ease;
}
.hdr .dd-foot a svg { color: var(--hdr-ink-muted); flex-shrink: 0; }
.hdr .dd-foot .dd-foot-admin:hover {
    background: var(--hdr-accent-soft);
    color: var(--hdr-accent-2);
}
.hdr .dd-foot .dd-foot-admin:hover svg { color: var(--hdr-accent-2); }
.hdr .dd-foot .dd-foot-logout:hover {
    background: rgba(192, 57, 43, .06);
    color: #c0392b;
}
.hdr .dd-foot .dd-foot-logout:hover svg { color: #c0392b; }

/* ----- Responsive ----- */
@media (max-width: 1100px) {
    .hdr .avatar-btn .name { display: none; }
    .hdr .avatar-btn { padding: 5px; }
}
@media (max-width: 900px) {
    /* Burger sichtbar, ganz rechts am Rand; Nav wird zum Dropdown-Panel */
    .hdr .nav-toggle { display: inline-flex; order: 5; }
    .hdr .nav {
        position: absolute;
        top: calc(100% + 6px);
        left: 16px;
        right: 16px;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        margin-left: 0;
        padding: 8px;
        background: #fff;
        border: 1px solid var(--hdr-line);
        border-radius: var(--hdr-radius);
        box-shadow: 0 12px 32px -16px rgba(14, 14, 14, .25);
        display: none;
        z-index: 50;
    }
    .hdr .nav.is-open { display: flex; }
    /* alle Einträge im Panel zeigen (überschreibt das frühere Verstecken) */
    .hdr .nav a,
    .hdr .nav a:not(.active) { display: flex; }
    .hdr .nav a.active::after { display: none; }
    .hdr .nav .hdr-wish-pill { width: 100%; margin-left: 0; box-sizing: border-box; justify-content: flex-start; }
    .hdr .search { max-width: none; }
}
@media (max-width: 640px) {
    .hdr .hdr-row { padding: 0 16px; gap: 10px; }
    .hdr .brand-logo { height: 32px; }
}

.main-navigation a {
    font-weight: 500;
    padding: 1rem;
}

span.badge.bg-info.position-absolute.vc-app-badge {
    padding: 6px 11px 6px 11px;
    margin-bottom: 0rem;
    background-color: #8c2952 !important;
    font-weight: 500;
    border-radius: 50px;
    top: 27px;
    right: 25px;
    font-size: 0.7rem;
}

/* "Lizenz abgelaufen"-Badge — orange/warn statt blau/grün */
.vc-app-card .vc-app-badge--expired {
    position: absolute;
    padding: 6px 11px;
    background-color: #c87a16 !important;
    color: #fff !important;
    font-weight: 500;
    border-radius: 50px;
    top: 27px;
    right: 25px;
    font-size: 0.7rem;
}

/* ============================================================
   App-Filter Sidebar
   ============================================================ */

/* Sticky-Sidebar auf Desktop, ohne eigene Scrollbar — wächst mit dem Inhalt */
@media (min-width: 992px) {
    .vc-filter-aside {
        position: sticky;
        top: 100px;
        align-self: flex-start;
    }
}

.filter-box { width: 100%; }

/* --- Header --- */
.vc-filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    margin-bottom: 0.25rem;
    border-bottom: 1px solid #ececec;
}
.vc-filter-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #1f2937;
}
.vc-filter-active-count:empty { display: none; }
.vc-filter-active-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 11px;
    background-color: #84b933;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
}

/* --- Section-Block (Kategorien / Preis / Entwickler) --- */
.facet-block {
    padding: 1.25rem 0;
    border-bottom: 1px solid #f0f0f0;
}
.facet-block:last-of-type { border-bottom: none; }

.vc-facet-title {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #6b7280;
    margin: 0 0 0.875rem;
}

/* --- Checkbox-Liste --- */
.vc-facet-list {
    overflow-y: auto;
    padding-right: 4px;
    margin: 0;
}
.vc-facet-list li { margin: 0; }
.vc-facet-list label {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: #374151;
    padding: 0.4rem 0;
    margin: 0;
    user-select: none;
    transition: color 0.12s ease;
}
.vc-facet-list label:hover { color: #111827; }

/* Custom Checkbox in Brand-Grün */
.vc-facet-list input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    border: 1.5px solid #d1d5db;
    border-radius: 4px;
    background-color: #fff;
    cursor: pointer;
    position: relative;
    transition: border-color 0.12s ease, background-color 0.12s ease;
}
.vc-facet-list input[type="checkbox"]:hover { border-color: #84b933; }
.vc-facet-list input[type="checkbox"]:checked {
    background-color: #84b933;
    border-color: #84b933;
}
.vc-facet-list input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    top: 1px;
    left: 5px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.vc-facet-list input[type="checkbox"]:focus-visible {
    outline: 2px solid rgba(132, 185, 51, 0.4);
    outline-offset: 2px;
}

/* --- Footer mit Reset-Button --- */
.vc-filter-footer {
    padding-top: 1.25rem;
    margin-top: 0.5rem;
    border-top: 1px solid #ececec;
    display: none;
}
.has-active-filters .vc-filter-footer { display: block; }

.vc-price-range input[type="number"] { max-width: 90px; }

/* Dual-Range-Slider (Preis) */
.vc-price-slider { padding: 4px 8px 16px; }
.vc-price-slider-values {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #1f2937;
}
.vc-price-slider-sep { color: #cbd5e1; font-weight: 400; }
.vc-price-slider-track {
    position: relative;
    height: 5px;
    background: #e5e7eb;
    border-radius: 999px;
}
.vc-price-slider-range {
    position: absolute;
    top: 0;
    bottom: 0;
    background: #84b933;
    border-radius: 3px;
}
.vc-price-slider-input {
    position: absolute;
    top: -8px;
    left: 0;
    width: 100%;
    height: 20px;
    margin: 0;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
    z-index: 2;
}
.vc-price-slider-input::-webkit-slider-runnable-track {
    background: transparent;
    height: 20px;
}
.vc-price-slider-input::-moz-range-track {
    background: transparent;
    height: 20px;
    border: 0;
}
.vc-price-slider-input::-webkit-slider-thumb {
    pointer-events: auto;
    -webkit-appearance: none;
    appearance: none;
    height: 18px;
    width: 18px;
    background: #fff;
    border: 2px solid #84b933;
    border-radius: 50%;
    cursor: grab;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    margin-top: 0;
}
.vc-price-slider-input::-moz-range-thumb {
    pointer-events: auto;
    height: 18px;
    width: 18px;
    background: #fff;
    border: 2px solid #84b933;
    border-radius: 50%;
    cursor: grab;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}
.vc-price-slider-input:active::-webkit-slider-thumb { cursor: grabbing; }
.vc-price-slider-input:active::-moz-range-thumb     { cursor: grabbing; }
.vc-price-slider-input:focus { outline: none; }
.vc-filter-reset {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.875rem;
    background: transparent;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    color: #374151;
    font-size: 0.825rem;
    font-weight: 500;
    cursor: pointer;
    transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}
.vc-filter-reset:hover {
    border-color: #84b933;
    color: #84b933;
    background-color: rgba(132, 185, 51, 0.08);
}
.vc-filter-reset svg { flex-shrink: 0; }
.vc-apps-loading::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.6);
    pointer-events: none;
    z-index: 10;
}
.vc-apps-empty {
    border: 1px dashed #ddd;
    border-radius: 1rem;
    background: #fbfaf8;
}

/* App-Grid: deterministisch via CSS Grid (umgeht Bootstrap-Col-Konflikte) */
.vc-apps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
@media (min-width: 576px) {
    .vc-apps-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Ganze App-Card klickbar (inkl. Logo): der Titel-Link spannt sich per Overlay
   über die gesamte Card. Die Card hat bereits position-relative (Markup). */
.vc-app-card { cursor: pointer; }
.vc-app-card .vc-app-card-link::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}
/* "Mehr erfahren" bleibt eigenständig klick-/hoverbar (gleiche Ziel-URL). */
.vc-app-card .vc-app-link {
    position: relative;
    z-index: 2;
}

/* ============================================================
   Breadcrumb auf App-Detailseiten
   ============================================================ */
.vc-breadcrumb ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    line-height: 1.3;
    letter-spacing: -0.005em;
}
.vc-breadcrumb li {
    display: inline-flex;
    align-items: center;
}
.vc-breadcrumb li:not(:last-child)::after {
    content: "\203A";
    margin-left: 4px;
    color: rgba(0, 0, 0, 0.22);
    font-size: 12px;
    line-height: 1;
}
/* Specificity-Boost gegen das globale a:visited { color: #fff } in base.css */
.vc-breadcrumb a,
.vc-breadcrumb a:link,
.vc-breadcrumb a:visited {
    color: rgba(0, 0, 0, 0.42);
    text-decoration: none;
    transition: color 0.15s ease;
}
.vc-breadcrumb a:hover,
.vc-breadcrumb a:focus {
    color: #8C2952;
    text-decoration: none;
}
.vc-breadcrumb [aria-current="page"] {
    color: rgba(0, 0, 0, 0.55);
    font-weight: 400;
    /* Letzter Eintrag wird abgekürzt, wenn er sehr lang ist */
    max-width: 60ch;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ============================================================
   Sticky Site-Header (regulärer Frontend, nicht Coming-Soon)
   Glassmorphism wie auf vario-software.de: zentriert, blurred
   ============================================================ */
header#masthead {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: rgba(232, 229, 223, 0.85);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    transition:
        background .3s ease,
        box-shadow .3s ease,
        backdrop-filter .3s ease,
        -webkit-backdrop-filter .3s ease,
        transform .3s cubic-bezier(.4, 0, .2, 1);
}
/* Admin-Bar-Offset, damit der Header nicht unter der WP-Admin-Bar verschwindet */
.admin-bar header#masthead { top: 32px; }
@media screen and (max-width: 782px) {
    .admin-bar header#masthead { top: 46px; }
}

/* ============================================================
   Modernes Suchfeld (Apps durchsuchen)
   ============================================================ */
input.vc-apps-search {
    border: 1.5px solid transparent;
    border-radius: 10px;
    padding: 0.85rem 1rem 0.85rem 3rem;
    background-color: #f4f6f8;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235c5f62' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='7'/><line x1='21' y1='21' x2='16.65' y2='16.65'/></svg>");
    background-repeat: no-repeat;
    background-position: 1.05rem center;
    background-size: 20px 20px;
    font-size: 1rem;
    line-height: 1.5;
    color: #1f2937;
    box-shadow: none;
    transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
input.vc-apps-search::placeholder {
    color: #6d7175;
    opacity: 1;
}
input.vc-apps-search:hover {
    background-color: #ebeef1;
}
input.vc-apps-search:focus,
input.vc-apps-search:focus-visible {
    background-color: #fff;
    border-color: #84b933;
    box-shadow: 0 0 0 3px rgba(132, 185, 51, 0.18);
    outline: none;
}

/* Native Clear-Button (×) im type="search" — modern gestaltet */
input.vc-apps-search::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
    height: 18px;
    width: 18px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10'/><line x1='15' y1='9' x2='9' y2='15'/><line x1='9' y1='9' x2='15' y2='15'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 18px 18px;
    cursor: pointer;
    opacity: 0.55;
    transition: opacity 0.12s ease;
}
input.vc-apps-search::-webkit-search-cancel-button:hover {
    opacity: 1;
}

/* Sort-Dropdown: mehr vertikaler Raum, damit Umlaut-Punkte (Ä, Ö, Ü) nicht abgeschnitten werden */
#vc-apps-sort {
    line-height: 1.7;
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
}

/* Beliebte Apps auf der Startseite: 4 Spalten ab lg */
.vc-home-apps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
@media (min-width: 576px) {
    .vc-home-apps-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) {
    .vc-home-apps-grid { grid-template-columns: repeat(4, 1fr); }
}

/* App-Status-Badges (Beta / In Entwicklung / Geplant)
   Sitzen oben rechts — selber Slot wie der Lizenz/Installiert-Badge.
   Wenn beide vorhanden, ergänzt portal.js die Klasse --below-license,
   die den Status-Badge unter den Lizenz-Badge schiebt. */
.vc-app-card .vc-app-status-badge {
    padding: 6px 11px;
    margin: 0;
    font-weight: 500;
    border-radius: 50px;
    top: 27px;
    right: 25px;
    font-size: 0.7rem;
    line-height: 1.2;
    z-index: 2;
}
.vc-app-card .vc-app-status-badge--below-license {
    top: 60px;
}
.vc-app-status-badge--beta {
    background-color: rgba(84, 112, 198, .12) !important;
    color: #5470c6 !important;
    font-size: 0.7rem;
}
.vc-app-status-badge--coming_soon {
    background-color: rgba(140, 41, 82, .12) !important;
    color: #8c2952 !important;
    font-size: 0.7rem;
}
.vc-app-status-badge--new {
    background-color: rgba(132, 185, 51, .15) !important;
    color: #5a8420 !important;
    font-size: 0.7rem;
}

/* Coming-Soon Release-Datum-Anzeige (Detail-Sidebar) */
.vc-coming-soon-release {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 12px 14px;
    background: #fdf2f7;
    border: 1px solid rgba(140, 41, 82, .18);
    border-radius: 10px;
}
.vc-coming-soon-label {
    font: 600 11px/1 'Figtree', system-ui, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.10em;
    color: #8c2952;
}
.vc-coming-soon-date {
    font: 700 18px/1.2 'Figtree', system-ui, sans-serif;
    color: #0e0e0e;
    font-variant-numeric: tabular-nums;
}
/* Inline-Variante im Detail-Header: dezent, hinter dem Titel */
.headline-app .vc-app-status-badge { 
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.02em;
    border-radius: 999px;
    vertical-align: middle;
    position: relative;
    top: -3px;
    opacity: .85;
}

/* Footer */
.footer-bottom {
    background: #111;
    padding: 1.25rem 0;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-copyright {
    margin: 0;
    font-size: .8125rem;
    color: #ffffff80;
}

.footer-legal-menu li {
    margin: 0;
}
.footer-legal-menu a {
    font-size: .8125rem;
    color: #ffffff80;
}

.vario-footer a {
    color: #ffffffb3;
    text-decoration: none;
    transition: color .2s ease;
}

.footer-legal-menu {
    display: flex;
    gap: 1.5rem;
}

.footer-b2b-notice {
    margin: 0;
    font-size: .75rem;
    color: #fff6;
    padding: .25rem .75rem;
    background: #ffffff0d;
    border-radius: 4px;
}

.vario-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vario-footer {
    background: #1a1a1a;
    color: #ffffffd9;
    font-size: .9375rem;
}

.footer-bottom .container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (max-width: 767.98px) {
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

/* ===== Nav Wrapper ===== */
.vario-app-nav-wrapper a:hover{
	color: #84b933;
	text-decoration: none;
}

.vario-app-nav-wrapper a {
	color:#fff;
	text-decoration: none;
}

.vario-app-nav-wrapper  i.fa-duotone.fa-solid.fa-user {
	margin-left: 0.5rem;
	font-size:1rem;
}

.topbar a {
  text-decoration: none;
  transition: opacity 0.2s ease;
}


/* Developer-Account Link: keine gepunkteten Linien */
.vario-app-nav-wrapper .small a,
.vario-app-nav-wrapper .small a:hover,
.vario-app-nav-wrapper .small a:focus,
.vario-app-nav-wrapper .small a:active,
.vario-app-nav-wrapper .small a:visited {
  text-decoration: none !important;
  text-decoration-line: none !important;
  text-decoration-style: solid !important;
  border-bottom: 0 !important;
  outline: none;
}

/* Active / ausgewaehltes Element im Dropdown */
.wpgb-select .wpgb-select-option[aria-selected="true"],
.wpgb-select .wpgb-select-option:hover {
  background-color: #84b933 !important;
  color: #fff !important;
}

.wpgb-select-dropdown li.is-selected,
.wpgb-select-dropdown li:hover {
  background-color: #84b933 !important;
  color: #fff !important;
}

/* Vorausgewaehltes Element */
.wpgb-select-dropdown li[aria-selected="true"],
.wpgb-select-dropdown li.is-selected {
  background-color: #84b933 !important;
  color: #fff !important;
}


.badge-section{
  background: transparent;
  margin-bottom: 1rem;
}

.badge-wrapper{
  display:flex;
}

.badge-hero{
  background:#eef6dd;
  padding:10px 26px;
  border-radius:999px;
  display:flex;
  align-items:center;
  gap:10px;
}

.badge-text{
  color:#84b933;
  font-weight:500;
  font-size:0.875rem;
  white-space: nowrap;
  line-height: 1;
}

/* Text-Markierung global auf VARIO-Gruen */
::selection {
  background: #84b933;
  color: #fff;
}

::-moz-selection {
  background: #84b933;
  color: #fff;
}


 @media (max-width: 991px) {
  .filter-toggle{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #fff;
    font-weight: 600;
  }

  .filter-toggle img{
    width: 18px;
    height: 18px;
  }

  /* default: eingeklappt */
  #appstore-filters{
    display: none;
    margin-top: 12px;
    width: 100%;
  }

  /* offen */
  #appstore-filters.is-open{
    display: block;
  }
}

@media (min-width: 992px) {
  .filter-toggle{ display: none; }
  #appstore-filters{ display: block !important; }
}


/* ===== Hauptbild / Galerie ===== */
.main-image-wrapper{
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

/* Bild absolut zentriert */
.main-image-wrapper img{
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.main-image-wrapper{
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.main-image-column {
    width: 100%;
    aspect-ratio: 16 / 9;
}



.description-vs ul, ol {
    margin: 0 0 1.5em 1em;
}
.description-vs ul li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: .75rem;
    line-height: 1.6;
	 list-style: none;
}

.description-vs ul li:before {
    content: "";
    font-family: "Font Awesome 7 Duotone";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0;
    color: #84b933;
    font-size: 1.1em;
}


/* Bild selbst */
#mainGalleryImage{
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* verhindert Springen der rechten Seite */
.image-galerie{
  align-items: flex-start !important;
}

.thumbnails-right{
  flex-shrink: 0;
}



/* Desktop (Standard) */
.image-galerie{
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.thumbnails-right{
  width: 90px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Mobile */
@media (max-width: 768px){

  .image-galerie{
    flex-direction: column;
  }

  .thumbnails-right{
    width: 100%;
    flex-direction: row;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .thumbnails-right::-webkit-scrollbar{
    height: 6px;
  }

  .thumbnails-right::-webkit-scrollbar-thumb{
    background: #ccc;
    border-radius: 6px;
  }

  .thumbnail-btn{
    flex: 0 0 90px;
  }

}

.thumbnails-right{
  width: 90px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-shrink: 0;
}



@media (max-width: 768px){

  .image-galerie{
    flex-direction: column !important;
  }

  .thumbnails-right{
    width: 100% !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    gap: 12px !important;
    padding: 10px 0 !important;
  }

  .thumbnail-btn{
    flex: 0 0 90px !important;
  }
}


.gallery-modal-nav {
    position: absolute;
    top: 50%;
    z-index: 10;
    width: 48px;
	 height: 48px;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 20px;
    line-height: 1;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
	padding: 0;
}

.gallery-modal-nav-prev {
    left: 16px;
}

.gallery-modal-nav-next {
    right: 16px;
}

body.modal-open {
    padding-right: 0 !important;
}

body.modal-open .site-header,
body.modal-open header,
body.modal-open .navbar,
body.modal-open .vc-appstore-header {
    padding-right: 0 !important;
}
.modal-open .sticky-top,
.modal-open .fixed-top {
    padding-right: 0 !important;
}

.admin-bar header#masthead {
    top: 0;
}

.description-vs ul li:before {
    content: "";
    font-family: "Font Awesome 7 Duotone";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0;
    color: #84b933;
    font-size: 1.1em;
}