/*
Theme Name: xRechnungsHelfer
Theme URI: https://xrechnungshelfer.de/
Description: Eigenständiges WordPress-Theme für xRechnungsHelfer.de
Author: Codex
Version: 1.0.0
Text Domain: xrechnungshelfer-child
*/

/* ── Geist Sans (lokal, self-hosted, DSGVO-OK) ── */
@font-face {
    font-family: 'Geist';
    src: url('fonts/geist/geist-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Geist';
    src: url('fonts/geist/geist-500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Geist';
    src: url('fonts/geist/geist-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Geist';
    src: url('fonts/geist/geist-900.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* ── Geist Mono (für tabular numerals: IDs, Beträge, Daten) ── */
@font-face {
    font-family: 'Geist Mono';
    src: url('fonts/geist/geistmono-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Geist Mono';
    src: url('fonts/geist/geistmono-500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Geist Mono';
    src: url('fonts/geist/geistmono-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* =====================================================================
   DESIGN-SYSTEM — xrechnungshelfer.de
   Font: System-Stack (kein externes Google Fonts — DSGVO-sicher)
   ===================================================================== */

:root {
    /* Schrift: Geist (Vercel, open-source) — distinktive deutsche Engineering-Präzision */
    --font: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
            'Helvetica Neue', Arial, sans-serif;
    --font-mono: 'Geist Mono', ui-monospace, 'SF Mono', 'Cascadia Mono', 'Segoe UI Mono',
                 'Roboto Mono', 'JetBrains Mono', Consolas, monospace;
    /* Tabular Lining Numerals — für Beträge, IDs, Daten */
    --font-num: 'Geist Mono', ui-monospace, monospace;

    /* Brand-Farben (verfeinert v2) */
    --xh-navy:        #0a1b30;
    --xh-navy-2:      #0d2440;
    --xh-ink:         #0f1a26;
    --xh-ink-soft:    #2a3a4d;
    --xh-text:        #2b3a4d;
    --xh-muted:       #5d6b7e;
    --xh-muted-2:     #8b97a8;

    /* Primary Teal */
    --xh-teal:        #008580;
    --xh-teal-2:      #00a39d;
    --xh-teal-dark:   #00605d;
    --xh-teal-light:  #e7f5f3;
    --xh-teal-fog:    #f1f9f7;
    --xh-teal-glow:   rgba(0, 133, 128, 0.35);

    /* Accent */
    --xh-cyan:        #0ea5c9;
    --xh-cyan-light:  #e1f4fa;
    --xh-amber:       #c98a1a;
    --xh-amber-light: #fff5e3;
    --xh-amber-glow:  rgba(201, 138, 26, 0.30);
    --xh-rose:        #d94865;

    /* Neutrals (slightly warm) */
    --xh-surface:     #ffffff;
    --xh-surface-2:   #f6f8f7;
    --xh-surface-3:   #eef2f0;
    --xh-bg:          #f3f6f5;
    --xh-line:        #d8e1de;
    --xh-line-soft:   #e6ece9;

    /* Radius & Schatten */
    --xh-radius:      10px;
    --xh-radius-lg:   16px;
    --xh-radius-xl:   22px;
    --xh-shadow-xs:   0 1px 2px rgba(15, 26, 38, 0.04);
    --xh-shadow:      0 1px 3px rgba(15, 26, 38, 0.05), 0 4px 16px rgba(15, 26, 38, 0.06);
    --xh-shadow-md:   0 4px 14px rgba(15, 26, 38, 0.06), 0 12px 32px rgba(15, 26, 38, 0.09);
    --xh-shadow-lg:   0 8px 24px rgba(15, 26, 38, 0.08), 0 24px 56px rgba(15, 26, 38, 0.14);
    --xh-shadow-teal: 0 8px 28px rgba(0, 133, 128, 0.18);

    /* Gradients */
    --xh-grad-teal:   linear-gradient(135deg, var(--xh-teal) 0%, var(--xh-teal-2) 100%);
    --xh-grad-navy:   linear-gradient(135deg, var(--xh-navy) 0%, var(--xh-navy-2) 100%);
    --xh-grad-amber:  linear-gradient(135deg, var(--xh-amber) 0%, #e6a035 100%);
}

body {
    background:
        radial-gradient(at 92% 0%, rgba(0, 133, 128, 0.04) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(14, 165, 201, 0.03) 0px, transparent 40%),
        var(--xh-bg);
    background-attachment: fixed;
}

/* Dot-Grid Atmosphäre auf hellen Sections (1px Dots, 24px Grid, ~3.5% Opacity) */
.section[style*="#f7f9f8"] .section-bg,
.section[style*="#ffffff"] .section-bg {
    background-image: radial-gradient(circle, rgba(15, 26, 38, 0.045) 1px, transparent 1px);
    background-size: 22px 22px;
    background-position: 0 0;
}

/* Numerische Werte überall tabular monospace */
.xh-viewer-meta-item dd,
.xh-viewer-totals dd,
.xh-viewer-tax td.num,
.xh-viewer-items td.num,
.xh-viewer-payment dd,
.xh-stat-num,
.xh-hero-stat-num {
    font-feature-settings: 'tnum' 1, 'cv11' 1;
    font-variant-numeric: tabular-nums lining-nums;
}

/* IDs als Monospace im Viewer */
.xh-viewer-meta-item dd,
.xh-viewer-ref strong {
    font-family: var(--font-mono);
    font-weight: 500;
    letter-spacing: -0.01em;
}

/* =====================================================================
   BASE
   ===================================================================== */

*, *::before, *::after { box-sizing: border-box; }

body {
    background: var(--xh-bg);
    color: var(--xh-text);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--xh-ink);
    font-family: var(--font);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.018em;
}

a {
    color: var(--xh-teal);
    transition: color 0.12s ease;
}
a:hover, a:focus {
    color: var(--xh-teal-dark);
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

img { height: auto; max-width: 100%; }

/* =====================================================================
   LAYOUT
   ===================================================================== */

.xh-shell {
    margin: 0 auto;
    max-width: 1180px;
    padding: 0 24px;
}

.xh-shell-narrow { max-width: 860px; }
.xh-shell-wide   { max-width: 1280px; }

/* =====================================================================
   SKIP LINK
   ===================================================================== */

.xh-skip-link {
    background: var(--xh-ink);
    color: #fff;
    left: 12px;
    padding: 8px 14px;
    position: fixed;
    top: -60px;
    z-index: 9999;
    border-radius: 4px;
    font-family: var(--font);
    font-size: 0.9rem;
    text-decoration: none;
    transition: top 0.15s ease;
}
.xh-skip-link:focus { top: 12px; }

/* =====================================================================
   HEADER
   ===================================================================== */

/* Flatsome-Header ausblenden — wir nutzen custom header.php */
#top-bar,
.header-newsletter-item,
.header-social-icons,
.header-divider,
.header-main,
.header-bottom,
#header,
#masthead,
.element-error {
    display: none !important;
}

/* ── Utility Bar (über dem Header) ── */
.xh-utility-bar {
    background: linear-gradient(135deg, var(--xh-navy) 0%, var(--xh-navy-2) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--font);
    font-size: 0.84rem;
    position: relative;
    z-index: 9001;
}
.xh-utility-inner {
    align-items: center;
    display: flex;
    gap: 14px;
    min-height: 36px;
    padding-top: 7px;
    padding-bottom: 7px;
}
.xh-utility-pulse {
    background: #4fd1cb;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(79, 209, 203, 0.6);
    display: inline-block;
    flex-shrink: 0;
    height: 8px;
    width: 8px;
    animation: xh-pulse 2.4s ease-out infinite;
}
@keyframes xh-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(79, 209, 203, 0.6); }
    70%  { box-shadow: 0 0 0 9px rgba(79, 209, 203, 0); }
    100% { box-shadow: 0 0 0 0 rgba(79, 209, 203, 0); }
}
.xh-utility-text {
    flex: 1;
    letter-spacing: 0.01em;
}
.xh-utility-text strong {
    color: #ffffff;
    font-weight: 700;
}
.xh-utility-sep {
    color: rgba(255, 255, 255, 0.3);
    margin: 0 8px;
}
.xh-utility-link {
    color: #4fd1cb;
    flex-shrink: 0;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-decoration: none;
    transition: color 0.15s;
    white-space: nowrap;
}
.xh-utility-link:hover { color: #ffffff; }

/* ── Site Header (mit Gradient-Accent-Border unten, depotsieger-Style) ── */
.xh-site-header {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(90deg, var(--xh-teal), var(--xh-teal-2), var(--xh-cyan)) 1;
    box-shadow: 0 2px 16px rgba(15, 26, 38, 0.05);
    overflow: visible;
    position: sticky;
    top: 0;
    z-index: 9000;
}

.xh-header-inner {
    align-items: center;
    display: flex;
    gap: 36px;
    min-height: 72px;
    overflow: visible;
    position: relative;
}

/* ── Logo / Brand ── */

.xh-brand {
    align-items: center;
    color: var(--xh-ink);
    display: inline-flex;
    flex-shrink: 0;
    gap: 11px;
    text-decoration: none;
    transition: opacity 0.15s ease;
}
.xh-brand:hover { opacity: 0.8; color: var(--xh-ink); }

.xh-brand-mark {
    align-items: center;
    background: var(--xh-grad-teal);
    border-radius: 10px;
    box-shadow:
        0 4px 12px rgba(0, 133, 128, 0.30),
        inset 0 1px 0 rgba(255, 255, 255, 0.20);
    color: #ffffff;
    display: inline-flex;
    flex-shrink: 0;
    height: 42px;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    width: 42px;
}
.xh-brand:hover .xh-brand-mark {
    box-shadow:
        0 6px 16px rgba(0, 133, 128, 0.40),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transform: rotate(-3deg) scale(1.04);
}
.xh-brand-mark svg { display: block; }

.xh-brand-text strong,
.xh-brand-text small { display: block; }

.xh-brand-text strong {
    color: var(--xh-ink);
    font-family: var(--font);
    font-size: 1.12rem;
    font-weight: 900;
    letter-spacing: -0.022em;
    line-height: 1.1;
}

.xh-brand-x { color: var(--xh-teal); }

.xh-brand-text small {
    color: var(--xh-muted);
    font-family: var(--font);
    font-size: 0.71rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    margin-top: 1px;
}

/* ── Navigation ── */

.xh-main-nav {
    flex: 1;
    font-family: var(--font);
    overflow: visible;
}

.xh-nav-list {
    align-items: center;
    display: flex;
    gap: 2px;
    justify-content: flex-end;
    list-style: none;
    margin: 0;
    padding: 0;
}

.xh-nav-list > li { position: relative; }

.xh-nav-list > li > a {
    border-radius: 7px;
    color: var(--xh-ink-soft);
    display: block;
    font-family: var(--font);
    font-size: 0.92rem;
    font-weight: 700;
    padding: 9px 14px;
    position: relative;
    text-decoration: none;
    transition: color 0.18s ease;
    white-space: nowrap;
}
.xh-nav-list > li > a::after {
    background: var(--xh-grad-teal);
    border-radius: 999px;
    bottom: 2px;
    content: "";
    height: 2px;
    left: 50%;
    position: absolute;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    transition: transform 0.22s ease;
    width: calc(100% - 28px);
}

.xh-nav-list > li > a:hover,
.xh-nav-list > .current-menu-item > a,
.xh-nav-list > .current-menu-ancestor > a {
    background: transparent;
    color: var(--xh-teal);
}
.xh-nav-list > li > a:hover::after,
.xh-nav-list > .current-menu-item > a::after,
.xh-nav-list > .current-menu-ancestor > a::after {
    transform: translateX(-50%) scaleX(1);
}

/* Header-CTA (rechts in der Nav) */
.xh-header-cta {
    align-items: center;
    background: var(--xh-grad-teal);
    border-radius: 8px;
    box-shadow:
        0 2px 6px rgba(0, 133, 128, 0.20),
        0 8px 18px rgba(0, 133, 128, 0.18);
    color: #ffffff;
    display: inline-flex;
    flex-shrink: 0;
    font-family: var(--font);
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    margin-left: 14px;
    padding: 9px 18px;
    text-decoration: none;
    transition: box-shadow 0.18s ease, transform 0.18s ease;
}
.xh-header-cta:hover {
    box-shadow:
        0 3px 8px rgba(0, 133, 128, 0.28),
        0 12px 24px rgba(0, 133, 128, 0.30);
    color: #ffffff;
    transform: translateY(-1px);
}

.xh-nav-list > .menu-item-has-children > a::after {
    content: "▾";
    display: inline-block;
    font-size: 0.7rem;
    margin-left: 4px;
    opacity: 0.6;
    vertical-align: middle;
}

/* Dropdown */
/* Parent muss position:relative haben, sonst kein Anker fürs Submenu */
.xh-nav-list > .menu-item-has-children { position: relative; }

/* Hover-Bridge: deckt die 8px Lücke zwischen Parent-Link und Submenu mit unsichtbarem Padding */
.xh-nav-list > .menu-item-has-children > a { position: relative; }
.xh-nav-list > .menu-item-has-children > a::before {
    content: "";
    position: absolute;
    left: 0;
    right: -20px;
    top: 100%;
    height: 14px;
    background: transparent;
}

.xh-nav-list .sub-menu {
    background: #ffffff;
    border: 1px solid var(--xh-line);
    border-radius: 8px;
    box-shadow: 0 8px 28px rgba(17, 28, 39, 0.10);
    list-style: none;
    left: 0;
    margin: 0;
    min-width: 240px;
    padding: 6px;
    position: absolute;
    top: calc(100% + 8px);
    z-index: 9999;
    /* Statt display:none — fade out, damit Hover-Delay greift */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-4px);
    transition: opacity .14s ease, transform .14s ease, visibility 0s linear .14s;
}

.xh-nav-list > li:hover > .sub-menu,
.xh-nav-list > li:focus-within > .sub-menu,
.xh-nav-list .sub-menu:hover {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0s;
}

/* Submenu hat selbst noch Bridge nach oben (für Maus von Submenu zurück) */
.xh-nav-list .sub-menu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -10px;
    height: 10px;
    background: transparent;
}

/* Sub-sub-menu: nach rechts ausfahren */
.xh-nav-list .sub-menu .menu-item-has-children { position: relative; }
.xh-nav-list .sub-menu .sub-menu {
    top: -7px;
    left: 100%;
    margin-left: 4px;
}
.xh-nav-list .sub-menu .sub-menu::before {
    top: 0;
    left: -8px;
    right: auto;
    width: 8px;
    height: 100%;
}

.xh-nav-list .sub-menu li a {
    border-radius: 5px;
    color: var(--xh-text);
    display: block;
    font-family: var(--font);
    font-size: 0.88rem;
    font-weight: 500;
    padding: 9px 12px;
    text-decoration: none;
    transition: background 0.1s ease, color 0.1s ease;
}
.xh-nav-list .sub-menu li a:hover {
    background: var(--xh-surface-2);
    color: var(--xh-teal);
}

/* ── Mobile Burger ── */

/* =====================================================================
   BUTTONS
   ===================================================================== */

/* ── Buttons (depotsieger-Style: pill-shaped, Gradient, Glow) ── */
.button,
.wp-block-button__link,
.xh-site-body button,
.xh-site-body input[type="submit"] {
    background: linear-gradient(135deg, var(--xh-teal) 0%, var(--xh-teal-2) 100%);
    border: none;
    border-radius: 50px;
    box-shadow:
        0 1px 2px rgba(0, 133, 128, 0.20),
        0 6px 18px rgba(0, 133, 128, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
    color: #ffffff !important;
    cursor: pointer;
    display: inline-block;
    font-family: var(--font);
    font-size: 0.94rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    min-height: 48px;
    padding: 12px 28px;
    text-decoration: none;
    transition: box-shadow 0.18s ease, transform 0.12s ease;
}

.button > span,
.wp-block-button__link > span { color: #ffffff !important; }

.button:hover,
.wp-block-button__link:hover,
.xh-site-body button:hover,
.xh-site-body input[type="submit"]:hover {
    background: linear-gradient(135deg, #00a39d 0%, var(--xh-teal) 100%);
    box-shadow:
        0 2px 4px rgba(0, 127, 122, 0.25),
        0 12px 28px rgba(0, 127, 122, 0.40),
        inset 0 1px 0 rgba(255, 255, 255, 0.20);
    color: #ffffff;
    transform: translateY(-2px);
}

.button.is-large,
.wp-block-button__link.is-large { font-size: 1rem; min-height: 54px; padding: 14px 32px; }

/* Secondary / Outline DEFAULT: sichtbar auf HELLEM BG (dunkler Text + Border) */
.button.secondary,
.is-outline .button,
.button.is-outline {
    background: #ffffff !important;
    border: 2px solid var(--xh-ink, #16212b) !important;
    box-shadow: none;
    color: var(--xh-ink, #16212b) !important;
}
.button.secondary > span,
.is-outline .button > span,
.button.is-outline > span { color: var(--xh-ink, #16212b) !important; }

.button.secondary:hover,
.is-outline .button:hover,
.button.is-outline:hover {
    background: var(--xh-ink, #16212b) !important;
    border-color: var(--xh-ink, #16212b) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
}
.button.secondary:hover > span,
.is-outline .button:hover > span,
.button.is-outline:hover > span { color: #ffffff !important; }

/* Auf dark BG (z.B. ux-banner mit dunkler Farbe / dark Section): Override zu HELL */
.dark .button.secondary,
.dark .button.is-outline,
.is-light-text .button.secondary,
.is-light-text .button.is-outline,
[style*="background-color: rgb(11"] .button.secondary,
[style*="background-color: rgb(11"] .button.is-outline,
[style*="background-color:#0b1d33"] .button.secondary,
[style*="background-color:#0b1d33"] .button.is-outline,
.ux-banner.dark .button.secondary,
.ux-banner.dark .button.is-outline,
.section.dark .button.secondary,
.section.dark .button.is-outline {
    background: transparent !important;
    border-color: rgba(255, 255, 255, 0.32) !important;
    color: #ffffff !important;
}
.dark .button.secondary > span,
.dark .button.is-outline > span,
.is-light-text .button.secondary > span,
.is-light-text .button.is-outline > span,
.ux-banner.dark .button.secondary > span,
.ux-banner.dark .button.is-outline > span,
.section.dark .button.secondary > span,
.section.dark .button.is-outline > span { color: #ffffff !important; }

.dark .button.secondary:hover,
.dark .button.is-outline:hover,
.ux-banner.dark .button.secondary:hover,
.ux-banner.dark .button.is-outline:hover,
.section.dark .button.secondary:hover,
.section.dark .button.is-outline:hover {
    background: rgba(255, 255, 255, 0.10) !important;
    border-color: #ffffff !important;
}

/* =====================================================================
   HOMEPAGE — UX Builder Kompatibilität
   ===================================================================== */

/* Sections: full-width, kein extra border-radius */
.section,
.section-content {
    border-radius: 0 !important;
}

/* Homepage Wrapper */
.xh-home-main {
    overflow: clip;
    padding: 0;
    margin: 0;
}
.xh-home-main > .ux-banner,
.xh-home-main > .section {
    width: 100%;
}

/* Spalten-Gap */
.row .col {
    padding-left: 12px;
    padding-right: 12px;
}

/* Flatsome section columns: stretch */
.row-large .col-inner {
    height: 100%;
}

/* Featured Box */
.featured-box.icon-box {
    border-radius: var(--xh-radius);
}
.feature-box .box,
.featured-box.icon-box .box {
    background: var(--xh-surface);
    border: 1px solid var(--xh-line);
    border-radius: var(--xh-radius);
    box-shadow: var(--xh-shadow);
    padding: 24px 20px;
    transition: box-shadow 0.18s ease, transform 0.18s ease;
}
.feature-box .box:hover,
.featured-box.icon-box .box:hover {
    box-shadow: 0 8px 28px rgba(0, 127, 122, 0.12);
    transform: translateY(-2px);
}
.featured-box .icon-box-title {
    color: var(--xh-ink);
    font-family: var(--font);
    font-size: 1.05rem;
    font-weight: 700;
    margin: 12px 0 8px;
}
.featured-box .icon-box-content p {
    color: var(--xh-muted);
    font-size: 0.93rem;
    line-height: 1.65;
    margin: 0;
}

/* Title shortcode */
.section-title {
    color: var(--xh-ink);
    font-family: var(--font);
}
.section-title-sub { color: var(--xh-muted); }

/* Button-Transition in UX Sections */
.ux-banner .button,
[class*="bg_color"] .button {
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

/* Responsiv: section padding auf Mobile kleiner */
@media (max-width: 640px) {
    .section {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

/* =====================================================================
   INNERE SEITEN — Kicker / Breadcrumb / Hero
   ===================================================================== */

.xh-kicker {
    color: var(--xh-teal);
    font-family: var(--font);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin: 0 0 10px;
    text-transform: uppercase;
}

.xh-crumbs {
    align-items: center;
    color: var(--xh-muted);
    display: inline-flex;
    flex-wrap: wrap;
    font-size: 0.85rem;
    gap: 6px;
    margin-bottom: 14px;
}
.xh-crumbs a { color: var(--xh-muted); }
.xh-crumbs a:hover { color: var(--xh-teal); }

.xh-badge {
    background: var(--xh-surface-2);
    border: 1px solid var(--xh-line);
    border-radius: 4px;
    color: var(--xh-text);
    display: inline-block;
    font-family: var(--font);
    font-size: 0.82rem;
    padding: 4px 10px;
}

.xh-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

/* Seiten-Hero */
.xh-page-hero {
    background: var(--xh-surface);
    border-bottom: 1px solid var(--xh-line);
    border-top: 4px solid var(--xh-teal);
    padding: 44px 0 32px;
}
.xh-page-hero .xh-kicker { margin-bottom: 8px; }

.xh-page-title {
    color: var(--xh-ink);
    font-family: var(--font);
    font-size: clamp(1.8rem, 3.5vw, 2.7rem);
    font-weight: 900;
    letter-spacing: -0.022em;
    line-height: 1.1;
    margin: 0 0 12px;
    max-width: 820px;
}

.xh-page-lead {
    color: var(--xh-muted);
    font-size: 1.05rem;
    line-height: 1.75;
    margin: 0;
    max-width: 680px;
}

/* Artikel-Hero */
.xh-article-hero {
    background: var(--xh-surface);
    border-bottom: 1px solid var(--xh-line);
    border-top: 4px solid var(--xh-cyan);
    padding: 42px 0 30px;
}

.xh-article-meta {
    color: var(--xh-muted);
    display: flex;
    flex-wrap: wrap;
    font-family: var(--font);
    font-size: 0.88rem;
    gap: 16px;
    margin-top: 14px;
}
.xh-article-meta span::before { content: "· "; }
.xh-article-meta span:first-child::before { content: ""; }

/* =====================================================================
   SEITENINHALT — Entry
   ===================================================================== */

.xh-page-content { padding: 46px 0 72px; }

.xh-page-main,
.xh-article-main,
.xh-archive-main { overflow: clip; }

.xh-content-layout {
    align-items: start;
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 1fr) 290px;
}

.xh-entry-content {
    background: var(--xh-surface);
    border: 1px solid var(--xh-line);
    border-radius: var(--xh-radius);
    padding: 34px;
}

.xh-entry {
    color: var(--xh-text);
    font-family: var(--font);
    font-size: 1.02rem;
    line-height: 1.78;
}
.xh-entry > * + * { margin-top: 1.15em; }

.xh-entry h2 {
    font-size: clamp(1.3rem, 2.5vw, 1.75rem);
    font-weight: 700;
    margin-top: 2em;
    scroll-margin-top: 100px;
}
.xh-entry h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 1.6em;
    scroll-margin-top: 100px;
}
.xh-entry h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-top: 1.4em;
}

.xh-entry a {
    color: var(--xh-teal);
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 3px;
    transition: text-decoration-color 0.15s ease;
}
.xh-entry a:hover {
    color: var(--xh-teal-dark);
    text-decoration-color: currentColor;
}

.xh-entry ul,
.xh-entry ol { padding-left: 1.5em; }
.xh-entry li + li { margin-top: 0.45em; }

.xh-entry blockquote {
    background: var(--xh-surface-2);
    border-left: 4px solid var(--xh-teal);
    border-radius: 0 4px 4px 0;
    margin: 1.4em 0;
    padding: 16px 20px;
}
.xh-entry blockquote p {
    color: var(--xh-ink);
    font-style: italic;
    margin: 0;
}

.xh-entry table {
    border-collapse: collapse;
    font-size: 0.95rem;
    width: 100%;
}
.xh-entry th {
    background: var(--xh-ink);
    color: #fff;
    font-family: var(--font);
    font-size: 0.84rem;
    font-weight: 700;
    padding: 10px 14px;
    text-align: left;
    text-transform: uppercase;
}
.xh-entry td {
    border-bottom: 1px solid var(--xh-line);
    padding: 10px 14px;
    vertical-align: top;
}
.xh-entry tr:nth-child(even) td { background: var(--xh-surface-2); }

.xh-entry img {
    border-radius: var(--xh-radius);
    height: auto;
    max-width: 100%;
}

/* ── Side Rail (ToC) ── */
.xh-side-rail {
    background: var(--xh-surface);
    border: 1px solid var(--xh-line);
    border-radius: var(--xh-radius);
    box-shadow: var(--xh-shadow);
    padding: 18px;
    position: sticky;
    top: 88px;
}
.xh-side-rail h2 {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    margin: 0 0 10px;
    text-transform: uppercase;
}
.xh-side-rail a {
    border-top: 1px solid var(--xh-line);
    color: var(--xh-text);
    display: block;
    font-family: var(--font);
    font-size: 0.88rem;
    padding: 10px 0;
    text-decoration: none;
}
.xh-side-rail a:hover { color: var(--xh-teal); }

/* ── Content Boxes ── */
.xh-aff-note,
.xh-source-box,
.xh-cta-band,
.xh-aff-grid > .xh-aff-card,
.xh-table-wrap,
.xh-int-link-box {
    background: var(--xh-surface);
    border: 1px solid var(--xh-line);
    border-radius: var(--xh-radius);
    box-shadow: none;
}
.xh-aff-note,
.xh-source-box,
.xh-cta-band,
.xh-int-link-box { padding: 18px 20px; }

.xh-aff-note {
    border-left: 4px solid var(--xh-amber);
    color: var(--xh-ink-soft);
    font-size: 0.95rem;
}

.xh-table-wrap { overflow-x: auto; padding: 6px; }
.xh-compare { margin: 0; min-width: 760px; width: 100%; }

.xh-aff-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.xh-aff-card { padding: 20px; }
.xh-aff-card h3, .xh-aff-card h4 { margin-top: 0; }

.xh-cta-band {
    background: var(--xh-ink);
    border: none;
    color: #ffffff;
}
.xh-cta-band h2, .xh-cta-band h3, .xh-cta-band p { color: #ffffff; }

.xh-text-link {
    color: var(--xh-teal);
    display: inline-block;
    font-family: var(--font);
    font-weight: 700;
    margin-top: 12px;
    text-decoration: none;
    transition: color 0.12s ease;
}
.xh-text-link:hover { color: var(--xh-teal-dark); }

.xh-back-link {
    color: var(--xh-muted);
    font-family: var(--font);
    font-size: 0.9rem;
    text-decoration: none;
}

.xh-page-foot {
    border-top: 1px solid var(--xh-line);
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    margin-top: 48px;
    padding-top: 20px;
}

/* =====================================================================
   INDEX — Artikel-Übersicht
   ===================================================================== */

.xh-index-hero {
    background: var(--xh-surface);
    border-bottom: 1px solid var(--xh-line);
    padding: 52px 0 34px;
}
.xh-index-head { max-width: 840px; }

.xh-index-band,
.xh-index-section,
.xh-index-final,
.xh-page-wrap { padding: 46px 0; }

.xh-index-section-muted {
    background: rgba(255, 255, 255, 0.48);
    border-bottom: 1px solid var(--xh-line);
    border-top: 1px solid var(--xh-line);
}

.xh-index-grid {
    align-items: stretch;
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.75fr);
}

.xh-control-room,
.xh-deadline-panel,
.xh-cluster,
.xh-side-rail,
.xh-list-card {
    background: var(--xh-surface);
    border: 1px solid var(--xh-line);
    border-radius: var(--xh-radius);
    box-shadow: var(--xh-shadow);
}
.xh-control-room,
.xh-deadline-panel,
.xh-cluster,
.xh-list-card { padding: 24px; }

.xh-section-head h2 {
    font-size: clamp(1.65rem, 2.4vw, 2.35rem);
    margin: 0;
}
.xh-section-head p + h2 { margin-top: 8px; }

.xh-check-matrix {
    display: grid;
    gap: 1px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 24px;
}
.xh-check-matrix div {
    background: var(--xh-surface-2);
    min-height: 130px;
    padding: 18px;
}
.xh-check-matrix strong, .xh-check-matrix span { display: block; }
.xh-check-matrix strong {
    color: var(--xh-ink);
    font-family: var(--font);
    font-size: 1.08rem;
    font-weight: 700;
}
.xh-check-matrix span { color: var(--xh-muted); margin-top: 8px; }

.xh-deadline-panel { border-top: 5px solid var(--xh-amber); }
.xh-deadline-panel h2 { font-size: 1.7rem; margin: 0 0 12px; }

.xh-inline-cta {
    align-items: center;
    background: var(--xh-surface-2);
    border: 1px solid var(--xh-line);
    display: flex;
    gap: 18px;
    justify-content: space-between;
    margin-top: 18px;
    padding: 18px;
    border-radius: var(--xh-radius);
}
.xh-inline-cta p { margin: 0; }

.xh-software-table {
    border: 1px solid var(--xh-line);
    border-radius: var(--xh-radius);
    margin-top: 22px;
    overflow: hidden;
}
.xh-software-row {
    background: var(--xh-surface);
    display: grid;
    gap: 1px;
    grid-template-columns: 0.65fr 1fr 1.2fr;
}
.xh-software-row + .xh-software-row { border-top: 1px solid var(--xh-line); }
.xh-software-row > * { padding: 16px 18px; }
.xh-software-row-head {
    background: var(--xh-ink);
    color: #fff;
    font-family: var(--font);
    font-size: 0.84rem;
    font-weight: 800;
    text-transform: uppercase;
}
.xh-software-row strong {
    color: var(--xh-ink);
    font-family: var(--font);
    font-weight: 700;
}

.xh-cluster-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 22px;
}
.xh-cluster h3 { font-size: 1.25rem; margin: 0 0 14px; }
.xh-cluster a {
    border-top: 1px solid var(--xh-line);
    color: var(--xh-text);
    display: block;
    font-family: var(--font);
    font-weight: 600;
    padding: 10px 0;
    text-decoration: none;
}
.xh-cluster a:hover { color: var(--xh-teal); }

.xh-index-final {
    background: var(--xh-ink);
    color: #fff;
}
.xh-final-inner {
    align-items: center;
    display: flex;
    gap: 28px;
    justify-content: space-between;
}
.xh-final-inner h2, .xh-final-inner .xh-kicker { color: #fff; }
.xh-final-inner p {
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 0;
    max-width: 760px;
}

.xh-card-list { display: grid; gap: 16px; }
.xh-list-card h2 { margin: 0; }
.xh-list-card h2 a { color: var(--xh-ink); text-decoration: none; }
.xh-list-card h2 a:hover { color: var(--xh-teal); }

/* Navigator */
.xh-navigator {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 24px;
}
.xh-nav-tile {
    background: var(--xh-surface);
    border: 1px solid var(--xh-line);
    border-radius: var(--xh-radius);
    box-shadow: var(--xh-shadow);
    color: var(--xh-ink);
    display: block;
    min-height: 120px;
    padding: 20px;
    text-decoration: none;
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.xh-nav-tile:hover {
    background: var(--xh-surface-2);
    box-shadow: var(--xh-shadow-md);
    transform: translateY(-2px);
}
.xh-nav-tile span, .xh-nav-tile strong { display: block; }
.xh-nav-tile span { color: var(--xh-muted); font-size: 0.88rem; }
.xh-nav-tile strong {
    color: var(--xh-ink);
    font-family: var(--font);
    font-size: 1.18rem;
    font-weight: 700;
    line-height: 1.2;
    margin-top: 12px;
}

/* =====================================================================
   ARCHIVE
   ===================================================================== */

.xh-article-list { display: grid; gap: 12px; }

.xh-article-card {
    background: var(--xh-surface);
    border: 1px solid var(--xh-line);
    border-radius: var(--xh-radius);
    padding: 24px;
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.xh-article-card:hover {
    box-shadow: var(--xh-shadow-md);
    transform: translateY(-2px);
}

.xh-article-card-date {
    color: var(--xh-muted);
    display: block;
    font-family: var(--font);
    font-size: 0.82rem;
    margin-bottom: 8px;
}
.xh-article-card-title {
    font-size: 1.25rem;
    margin: 0 0 10px;
}
.xh-article-card-title a { color: var(--xh-ink); text-decoration: none; }
.xh-article-card-title a:hover { color: var(--xh-teal); }
.xh-article-card-excerpt p { color: var(--xh-muted); font-size: 0.95rem; margin: 0 0 12px; }

.xh-archive-nav { margin-top: 24px; text-align: center; }
.xh-archive-nav .nav-links {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}
.xh-archive-nav .page-numbers {
    border: 1px solid var(--xh-line);
    border-radius: 5px;
    color: var(--xh-text);
    display: inline-block;
    font-family: var(--font);
    font-size: 0.9rem;
    padding: 8px 14px;
    text-decoration: none;
}
.xh-archive-nav .page-numbers.current {
    background: var(--xh-teal);
    border-color: var(--xh-teal);
    color: #fff;
}

/* =====================================================================
   FOOTER
   ===================================================================== */

/* Flatsome-Footer ausblenden */
#footer,
.footer-widgets,
.absolute-footer { display: none !important; }

/* ── Site Footer (premium, 4-col, navy mit gradient accent) ── */
.xh-site-footer {
    background: var(--xh-navy);
    background-image:
        radial-gradient(at 12% 8%, rgba(0, 133, 128, 0.10) 0px, transparent 45%),
        radial-gradient(at 88% 92%, rgba(14, 165, 201, 0.06) 0px, transparent 50%),
        linear-gradient(180deg, var(--xh-navy) 0%, #07111e 100%);
    border-top: 3px solid transparent;
    border-image: linear-gradient(90deg, var(--xh-teal), var(--xh-teal-2), var(--xh-cyan)) 1;
    color: rgba(255, 255, 255, 0.65);
    font-family: var(--font);
    padding: 56px 0 24px;
    position: relative;
}

.xh-footer-grid {
    display: grid;
    gap: 36px;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
}

.xh-footer-col h2 {
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    margin: 0 0 18px;
    text-transform: uppercase;
}

.xh-footer-col ul { list-style: none; margin: 0; padding: 0; }
.xh-footer-col li { margin-bottom: 10px; }
.xh-footer-col a {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.15s, padding-left 0.15s;
}
.xh-footer-col a:hover {
    color: #4fd1cb;
    padding-left: 4px;
}

/* Brand-Col */
.xh-footer-brand-col { max-width: 360px; }
.xh-footer-brand {
    align-items: center;
    color: #ffffff;
    display: inline-flex;
    font-family: var(--font);
    font-size: 1.25rem;
    font-weight: 900;
    gap: 10px;
    letter-spacing: -0.022em;
    margin-bottom: 14px;
    text-decoration: none;
}
.xh-footer-brand:hover { color: #ffffff; padding-left: 0; }
.xh-footer-brand-mark {
    align-items: center;
    background: var(--xh-grad-teal);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 133, 128, 0.30);
    color: #ffffff;
    display: inline-flex;
    flex-shrink: 0;
    height: 36px;
    justify-content: center;
    width: 36px;
}
.xh-footer-brand-text {
    background: linear-gradient(135deg, #ffffff, #d8e4e0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.xh-footer-tag {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0 0 18px;
}

.xh-footer-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.xh-footer-badge {
    background: rgba(0, 133, 128, 0.14);
    border: 1px solid rgba(79, 209, 203, 0.22);
    border-radius: 999px;
    color: #6ee5df;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 5px 12px;
}

/* Disclaimer */
.xh-footer-disclaimer {
    align-items: flex-start;
    background: rgba(201, 138, 26, 0.06);
    border: 1px solid rgba(201, 138, 26, 0.18);
    border-radius: 10px;
    display: flex;
    gap: 14px;
    margin-top: 40px;
    padding: 18px 22px;
}
.xh-footer-disclaimer > span[aria-hidden] {
    flex-shrink: 0;
    font-size: 1.2rem;
    line-height: 1.4;
}
.xh-footer-disclaimer p {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.84rem;
    line-height: 1.65;
    margin: 0;
}
.xh-footer-disclaimer strong { color: rgba(255, 255, 255, 0.85); }

/* Footer Bottom */
.xh-footer-bottom {
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.42);
    display: flex;
    flex-wrap: wrap;
    font-size: 0.8rem;
    gap: 14px;
    justify-content: space-between;
    margin-top: 28px;
    padding-top: 20px;
}
.xh-footer-bottom a {
    color: rgba(255, 255, 255, 0.62);
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.25);
}
.xh-footer-bottom a:hover { color: #4fd1cb; }

/* Footer Responsive */
@media (max-width: 980px) {
    .xh-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .xh-footer-brand-col { grid-column: 1 / -1; max-width: 100%; }
}
@media (max-width: 549px) {
    .xh-site-footer { padding: 40px 0 22px; }
    .xh-footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .xh-footer-disclaimer { flex-direction: column; gap: 10px; padding: 16px; }
    .xh-footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
}

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

@media (max-width: 980px) {
    .xh-header-inner { min-height: 62px; }


    .xh-navigator,
    .xh-index-grid,
    .xh-cluster-grid,
    .xh-footer-grid,
    .xh-content-layout { grid-template-columns: 1fr; }

    .xh-software-row { grid-template-columns: 1fr; }
    .xh-inline-cta, .xh-final-inner, .xh-footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
    .xh-side-rail { position: static; }
}

@media (max-width: 640px) {
    .xh-shell { padding: 0 16px; }
    .xh-brand-text small { display: none; }

    .xh-page-hero,
    .xh-article-hero,
    .xh-index-hero { padding-top: 28px; }

    .xh-check-matrix { grid-template-columns: 1fr; }
    .xh-entry-content { padding: 20px 16px; }
    .xh-aff-grid { grid-template-columns: 1fr; }

    .xh-page-content { padding: 28px 0 48px; }
    .xh-article-card { padding: 18px; }
}

/* =====================================================================
   PAGE COMPONENTS v2 — Premium Visual Design
   ===================================================================== */

/* ── Hero mit Mesh-Gradient + SVG-Dot-Pattern (depotsieger-Style) ── */
.ux-banner[style*="0b1d33"],
.ux-banner[style*="#0b1d33"] {
    background-image:
        radial-gradient(at 18% 22%, rgba(14, 165, 201, 0.22) 0px, transparent 45%),
        radial-gradient(at 82% 18%, rgba(201, 138, 26, 0.14) 0px, transparent 50%),
        radial-gradient(at 55% 95%, rgba(0, 133, 128, 0.28) 0px, transparent 55%),
        linear-gradient(135deg, #06152a 0%, #0a1b30 50%, #0d2440 100%) !important;
    position: relative;
}
.ux-banner[style*="0b1d33"]::after,
.ux-banner[style*="#0b1d33"]::after {
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
    z-index: 0;
}
/* (alte position-Manipulation auf .text-box entfernt) */

/* Gradient-Highlight für ausgewählte Wörter im Hero-Titel */
.xh-hero-title .xh-hl,
.xh-hero-title strong {
    background: linear-gradient(135deg, var(--xh-teal-2), #4fd1cb);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
}

/* ── Hero-Stats (monospace-tabular, Hairline-Vertikalen) ── */
.xh-hero-stats {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0;
    justify-content: center;
    margin-top: 48px;
    padding: 0;
    position: relative;
}
.xh-hero-stat {
    padding: 0 32px;
    position: relative;
    text-align: center;
}
.xh-hero-stat + .xh-hero-stat::before {
    background: linear-gradient(180deg, transparent, rgba(79, 209, 203, 0.35), transparent);
    content: "";
    height: 42px;
    left: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
}
.xh-hero-stat-num {
    color: #ffffff;
    display: block;
    font-family: var(--font-num);
    font-feature-settings: 'tnum' 1, 'cv11' 1;
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 8px;
}
.xh-hero-stat-num em {
    color: #4fd1cb;
    font-style: normal;
}
.xh-hero-stat-label {
    color: rgba(255, 255, 255, 0.45);
    display: block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
@media (max-width: 600px) {
    .xh-hero-stats { gap: 0; margin-top: 32px; }
    .xh-hero-stat { padding: 0 18px; }
    .xh-hero-stat-num { font-size: 1.55rem; }
    .xh-hero-stat-label { font-size: 0.65rem; letter-spacing: 0.06em; }
}

/* ── Trust-Bar (editorial mit Hairline-Vertikalen — kein Standardcard-Pattern) ── */
.xh-trust-bar {
    background: #ffffff;
    border-bottom: 1px solid var(--xh-line);
    overflow: hidden;
    padding: 14px 0;
    position: relative;
}
.xh-trust-bar::before,
.xh-trust-bar::after {
    background: linear-gradient(90deg, #ffffff, transparent);
    bottom: 0;
    content: "";
    position: absolute;
    top: 0;
    width: 40px;
    z-index: 2;
    pointer-events: none;
}
.xh-trust-bar::before { left: 0; }
.xh-trust-bar::after { right: 0; background: linear-gradient(270deg, #ffffff, transparent); }

.xh-trust-inner {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    font-family: var(--font);
    gap: 0;
    justify-content: center;
    margin: 0 auto;
    max-width: 1180px;
    padding: 0 20px;
}
.xh-trust-item {
    align-items: center;
    color: var(--xh-ink-soft);
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 500;
    gap: 8px;
    letter-spacing: 0.005em;
    padding: 0 22px;
    position: relative;
}
.xh-trust-item + .xh-trust-item::before {
    background: var(--xh-line);
    content: "";
    height: 14px;
    left: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
}
.xh-trust-svg {
    color: var(--xh-teal);
    flex-shrink: 0;
}
@media (max-width: 980px) {
    .xh-trust-bar { padding: 12px 0; }
    .xh-trust-inner { gap: 0; }
    .xh-trust-item { padding: 4px 14px; font-size: 0.78rem; }
    .xh-trust-item + .xh-trust-item::before { display: none; }
}

/* ── Testsieger als Stamp (editorial, kein Plastik-Badge) ── */
.xh-sw-card--featured,
.xh-sw-card--editor {
    border-width: 2px;
    margin-top: 28px;
    overflow: visible;
    position: relative;
}
.xh-sw-card--featured { border-color: var(--xh-teal); }
.xh-sw-card--editor { border-color: var(--xh-amber); }

.xh-sw-card--featured::before,
.xh-sw-card--editor::before {
    background: #fffdf5;
    border: 1.5px dashed var(--xh-teal);
    border-radius: 6px;
    color: var(--xh-teal);
    content: "REDAKTIONELLE EMPFEHLUNG 2026";
    font-family: var(--font-mono);
    font-size: 0.66rem;
    font-weight: 700;
    left: 18px;
    letter-spacing: 0.16em;
    padding: 4px 11px;
    position: absolute;
    top: -14px;
    transform: rotate(-2.5deg);
    white-space: nowrap;
    z-index: 3;
    box-shadow: 1px 1px 0 rgba(0, 133, 128, 0.18);
}
.xh-sw-card--editor::before {
    background: #fff8e8;
    border-color: var(--xh-amber);
    color: var(--xh-amber);
    content: "EMPFOHLEN — PREIS-LEISTUNG";
    box-shadow: 1px 1px 0 rgba(201, 138, 26, 0.20);
    transform: rotate(-1.5deg);
}
.xh-sw-card--featured::after,
.xh-sw-card--editor::after {
    color: var(--xh-teal);
    content: "★★★★★";
    font-size: 0.62rem;
    left: 24px;
    letter-spacing: 0.06em;
    position: absolute;
    top: 12px;
    transform: rotate(-2.5deg);
    z-index: 3;
}
.xh-sw-card--editor::after {
    color: var(--xh-amber);
    content: "EDITOR'S CHOICE";
    font-family: var(--font-mono);
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    top: 14px;
    transform: rotate(-1.5deg);
}

/* ── "Stand"-Badge (Stand: dd.mm.yyyy) ── */
.xh-stand {
    align-items: center;
    background: var(--xh-surface-2);
    border: 1px solid var(--xh-line);
    border-radius: 999px;
    color: var(--xh-muted);
    display: inline-flex;
    font-family: var(--font);
    font-size: 0.78rem;
    font-weight: 600;
    gap: 6px;
    padding: 5px 14px;
}
.xh-stand::before {
    background: #10b981;
    border-radius: 50%;
    content: "";
    display: inline-block;
    height: 7px;
    width: 7px;
}

/* ── Hero Inhalt ── */
.xh-hero-wrap { font-family: var(--font); }

.xh-hero-crumbs {
    color: rgba(255, 255, 255, 0.55);
    display: inline-flex;
    flex-wrap: wrap;
    font-size: 0.82rem;
    gap: 8px;
    justify-content: center;
    margin-bottom: 22px;
}
.xh-hero-crumbs a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.15s;
}
.xh-hero-crumbs a:hover { color: #ffffff; }

.xh-hero-badge {
    background: linear-gradient(135deg, rgba(201, 138, 26, 0.22), rgba(240, 185, 85, 0.10));
    border: 1.5px solid rgba(240, 185, 85, 0.55);
    border-radius: 999px;
    box-shadow: 0 4px 20px rgba(201, 138, 26, 0.15);
    color: #ffd089;
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    margin-bottom: 26px;
    padding: 8px 22px;
    text-transform: uppercase;
}

.xh-hero-title {
    color: #ffffff;
    font-size: clamp(2.2rem, 5.2vw, 4rem);
    font-weight: 900;
    letter-spacing: -0.032em;
    line-height: 1.04;
    margin: 0 0 22px;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.25);
}

.xh-hero-lead {
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(1.05rem, 1.5vw, 1.2rem);
    font-weight: 400;
    line-height: 1.65;
    margin: 0 auto 8px;
    max-width: 640px;
}

/* ── Kicker (Sektion-Label mit Akzent-Linie) ── */
.xh-section-kicker {
    align-items: center;
    color: var(--xh-teal);
    display: inline-flex;
    font-family: var(--font);
    font-size: 0.76rem;
    font-weight: 800;
    gap: 10px;
    letter-spacing: 0.16em;
    margin-bottom: 14px;
    text-transform: uppercase;
}
.xh-section-kicker::before,
.xh-section-kicker::after {
    background: linear-gradient(90deg, transparent, var(--xh-teal), transparent);
    content: "";
    display: inline-block;
    height: 1px;
    width: 28px;
}

.xh-section-title {
    color: var(--xh-ink);
    font-family: var(--font);
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 900;
    letter-spacing: -0.028em;
    line-height: 1.14;
    margin: 0 0 16px;
}

.xh-section-sub {
    color: var(--xh-muted);
    font-family: var(--font);
    font-size: 1.08rem;
    line-height: 1.6;
    margin: 0 auto;
    max-width: 580px;
}

.xh-section-head {
    font-family: var(--font);
    margin-bottom: 48px;
    text-align: center;
}

/* ── Fact-Box (premium mit Gradient-Header + Soft-Shadow) ── */
.xh-fact-box {
    background: #ffffff;
    border: 1px solid var(--xh-line);
    border-radius: 16px;
    box-shadow:
        0 1px 2px rgba(17, 28, 39, 0.04),
        0 8px 28px rgba(17, 28, 39, 0.06);
    font-family: var(--font);
    overflow: hidden;
    padding: 0;
    position: relative;
}
.xh-fact-box h3 {
    background: linear-gradient(135deg, var(--xh-teal) 0%, #00a39d 100%);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    margin: 0;
    padding: 16px 24px;
    text-transform: uppercase;
}
.xh-fact-list {
    color: var(--xh-text);
    font-size: 0.95rem;
    list-style: none;
    margin: 0;
    padding: 8px 24px 20px;
}
.xh-fact-list li {
    align-items: flex-start;
    border-bottom: 1px solid #eef2f0;
    display: flex;
    gap: 12px;
    line-height: 1.55;
    padding: 13px 0;
}
.xh-fact-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.xh-fact-list li::before {
    align-items: center;
    background: var(--xh-teal-light);
    border-radius: 50%;
    color: var(--xh-teal);
    content: "✓";
    display: inline-flex;
    flex-shrink: 0;
    font-size: 0.78rem;
    font-weight: 900;
    height: 22px;
    justify-content: center;
    margin-top: 1px;
    width: 22px;
}

/* ── Prose (langer Text-Block) ── */
.xh-prose {
    color: var(--xh-text);
    font-family: var(--font);
    font-size: 1.03rem;
    line-height: 1.78;
}
.xh-prose h2 {
    color: var(--xh-ink);
    font-size: clamp(1.4rem, 2.2vw, 1.75rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    margin: 38px 0 16px;
}
.xh-prose h2:first-child { margin-top: 0; }
.xh-prose h3 {
    color: var(--xh-ink);
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin: 26px 0 10px;
}
.xh-prose p { margin: 0 0 14px; }
.xh-prose ul, .xh-prose ol { margin: 0 0 16px; padding-left: 1.4em; }
.xh-prose li { margin-bottom: 8px; }
.xh-prose li::marker { color: var(--xh-teal); }
.xh-prose strong { color: var(--xh-ink); font-weight: 700; }
.xh-prose a {
    color: var(--xh-teal);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(0, 127, 122, 0.3);
    text-underline-offset: 3px;
}
.xh-prose a:hover {
    color: var(--xh-teal-dark);
    text-decoration-color: currentColor;
}

/* ── Callout (Warnhinweis-Box) ── */
.xh-callout {
    background: #fff7e9;
    border: 1.5px solid #f0c976;
    border-left: 4px solid var(--xh-amber);
    border-radius: 10px;
    color: #5a3800;
    font-family: var(--font);
    font-size: 0.96rem;
    line-height: 1.6;
    margin: 22px 0;
    padding: 16px 20px;
}
.xh-callout strong { color: #7a4c00; }

.xh-callout--teal {
    background: var(--xh-teal-light);
    border-color: #b8dad6;
    border-left-color: var(--xh-teal);
    color: #034b48;
}
.xh-callout--teal strong { color: #023330; }

/* ── Comparison Table ── */
.xh-compare {
    background: #ffffff;
    border: 1.5px solid var(--xh-line);
    border-radius: 12px;
    font-family: var(--font);
    margin: 18px 0;
    overflow-x: auto;
}
.xh-compare table {
    border-collapse: collapse;
    min-width: 600px;
    width: 100%;
}
.xh-compare th {
    background: var(--xh-navy);
    color: #ffffff;
    font-size: 0.83rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 14px 16px;
    text-align: left;
    text-transform: uppercase;
}
.xh-compare td {
    border-bottom: 1px solid var(--xh-line);
    color: var(--xh-text);
    font-size: 0.94rem;
    line-height: 1.55;
    padding: 14px 16px;
    vertical-align: top;
}
.xh-compare tr:last-child td { border-bottom: 0; }
.xh-compare tr:nth-child(even) td { background: #fafcfb; }

/* ── Topic Card (premium, mit Gradient-Top, Soft-Shadow, Lift-Effect) ── */
.xh-topic-card {
    background: #ffffff;
    border: 1px solid var(--xh-line);
    border-radius: 16px;
    box-shadow:
        0 1px 2px rgba(17, 28, 39, 0.04),
        0 4px 16px rgba(17, 28, 39, 0.04);
    color: var(--xh-text);
    display: block;
    font-family: var(--font);
    height: 100%;
    overflow: hidden;
    padding: 32px 26px 28px;
    position: relative;
    text-align: center;
    text-decoration: none;
    transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.xh-topic-card::before {
    background: linear-gradient(90deg, var(--xh-teal), #4fd1cb);
    content: "";
    height: 4px;
    inset: 0 0 auto 0;
    position: absolute;
    transform-origin: left;
    transition: transform 0.3s ease;
}
.xh-topic-card:hover {
    border-color: rgba(0, 127, 122, 0.35);
    box-shadow:
        0 4px 12px rgba(0, 127, 122, 0.06),
        0 16px 40px rgba(0, 127, 122, 0.16);
    color: var(--xh-text);
    transform: translateY(-6px);
}
.xh-topic-card--cyan::before { background: linear-gradient(90deg, var(--xh-cyan), #6ec8e0); }
.xh-topic-card--amber::before { background: linear-gradient(90deg, var(--xh-amber), #f0b955); }
.xh-topic-card--cyan:hover { border-color: rgba(14, 165, 201, 0.35); box-shadow: 0 4px 12px rgba(14, 165, 201, 0.06), 0 16px 40px rgba(14, 165, 201, 0.16); }
.xh-topic-card--amber:hover { border-color: rgba(201, 138, 26, 0.35); box-shadow: 0 4px 12px rgba(201, 138, 26, 0.06), 0 16px 40px rgba(201, 138, 26, 0.16); }

.xh-topic-icon {
    align-items: center;
    background: linear-gradient(135deg, var(--xh-teal-light), #d9ece9);
    border-radius: 14px;
    box-shadow: inset 0 0 0 1px rgba(0, 127, 122, 0.10);
    color: var(--xh-teal);
    display: flex;
    height: 58px;
    justify-content: center;
    margin: 0 auto 20px;
    transition: transform 0.25s ease;
    width: 58px;
}
.xh-topic-card:hover .xh-topic-icon {
    transform: scale(1.06) rotate(-3deg);
}
.xh-topic-icon--cyan { background: linear-gradient(135deg, #e0f5fc, #c9eaf5); color: var(--xh-cyan); box-shadow: inset 0 0 0 1px rgba(14, 165, 201, 0.10); }
.xh-topic-icon--amber { background: linear-gradient(135deg, rgba(201, 138, 26, 0.13), rgba(201, 138, 26, 0.06)); color: var(--xh-amber); box-shadow: inset 0 0 0 1px rgba(201, 138, 26, 0.15); }
.xh-topic-icon--left { margin-left: 0; margin-right: auto; }
/* Topic-Icons via CSS-Mask — KSES-sicher (Inline-SVG im Content wird gestrippt),
   getönt über background-color:currentColor (= Kartenfarbe Teal/Cyan/Amber) */
.xh-topic-icon::before {
    content: "";
    display: block;
    width: 27px;
    height: 27px;
    background-color: currentColor;
    -webkit-mask: var(--xh-icon) center / contain no-repeat;
    mask: var(--xh-icon) center / contain no-repeat;
}
.xh-topic-icon {
    --xh-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Crect%20x%3D%278%27%20y%3D%272%27%20width%3D%278%27%20height%3D%274%27%20rx%3D%271%27%2F%3E%3Cpath%20d%3D%27M16%204h2a2%202%200%200%201%202%202v14a2%202%200%200%201-2%202H6a2%202%200%200%201-2-2V6a2%202%200%200%201%202-2h2%27%2F%3E%3Cpath%20d%3D%27m9%2014%202%202%204-4%27%2F%3E%3C%2Fsvg%3E");
}
.xh-topic-card--cyan .xh-topic-icon {
    --xh-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M2%2012s3-7%2010-7%2010%207%2010%207-3%207-10%207-10-7-10-7Z%27%2F%3E%3Ccircle%20cx%3D%2712%27%20cy%3D%2712%27%20r%3D%273%27%2F%3E%3C%2Fsvg%3E");
}
.xh-topic-card--amber .xh-topic-icon {
    --xh-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Ccircle%20cx%3D%2711%27%20cy%3D%2711%27%20r%3D%278%27%2F%3E%3Cpath%20d%3D%27m21%2021-4.3-4.3%27%2F%3E%3C%2Fsvg%3E");
}

.xh-topic-card h3 {
    color: var(--xh-ink);
    font-size: 1.12rem;
    font-weight: 800;
    letter-spacing: -0.018em;
    line-height: 1.25;
    margin: 0 0 10px;
}
.xh-topic-card p {
    color: var(--xh-muted);
    font-size: 0.94rem;
    line-height: 1.62;
    margin: 0 0 16px;
}
.xh-topic-arrow {
    color: var(--xh-teal);
    display: inline-flex;
    font-size: 0.86rem;
    font-weight: 800;
    gap: 5px;
    letter-spacing: 0.01em;
    transition: gap 0.2s ease;
}
.xh-topic-card:hover .xh-topic-arrow { gap: 9px; }
.xh-topic-card--cyan .xh-topic-arrow { color: var(--xh-cyan); }
.xh-topic-card--amber .xh-topic-arrow { color: var(--xh-amber); }

/* Variation: links-bündig, mehr Padding (für Zielgruppen-Cards) */
.xh-topic-card--wide {
    padding: 38px 30px 30px;
    text-align: left;
}
.xh-topic-card--wide .xh-topic-icon { margin: 0 0 20px; }

/* ── Stat-Grid (premium mit Gradients) ── */
.xh-stat-grid {
    display: grid;
    font-family: var(--font);
    gap: 16px;
    grid-template-columns: 1fr 1fr;
}
.xh-stat-tile {
    background: #ffffff;
    border: 1px solid var(--xh-line);
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(17, 28, 39, 0.04), 0 6px 20px rgba(17, 28, 39, 0.05);
    overflow: hidden;
    padding: 26px 16px 22px;
    position: relative;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.xh-stat-tile::before {
    background: linear-gradient(90deg, var(--xh-teal), #00a39d);
    content: "";
    height: 3px;
    inset: 0 0 auto 0;
    position: absolute;
}
.xh-stat-tile:hover {
    box-shadow: 0 4px 12px rgba(0, 127, 122, 0.08), 0 12px 32px rgba(0, 127, 122, 0.12);
    transform: translateY(-3px);
}
.xh-stat-tile--cyan::before { background: linear-gradient(90deg, var(--xh-cyan), #6ec8e0); }
.xh-stat-tile--amber::before { background: linear-gradient(90deg, var(--xh-amber), #f0b955); }
.xh-stat-tile--ink::before { background: linear-gradient(90deg, var(--xh-ink), #45627d); }

.xh-stat-num {
    background: linear-gradient(135deg, var(--xh-teal), #00a39d);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--xh-teal);
    display: block;
    font-family: var(--font);
    font-size: 2.6rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1;
}
.xh-stat-tile--cyan .xh-stat-num { background: linear-gradient(135deg, var(--xh-cyan), #06b6d4); -webkit-background-clip: text; background-clip: text; }
.xh-stat-tile--amber .xh-stat-num { background: linear-gradient(135deg, var(--xh-amber), #e6a035); -webkit-background-clip: text; background-clip: text; }
.xh-stat-tile--ink .xh-stat-num { background: linear-gradient(135deg, var(--xh-ink), #45627d); -webkit-background-clip: text; background-clip: text; }

.xh-stat-label {
    color: var(--xh-muted);
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    margin-top: 10px;
}

/* ── CTA Band ── */
.xh-ctaband {
    font-family: var(--font);
    text-align: center;
}
.xh-ctaband h2 {
    color: #ffffff;
    font-size: clamp(1.7rem, 2.8vw, 2.3rem);
    font-weight: 900;
    letter-spacing: -0.028em;
    line-height: 1.16;
    margin: 0 0 18px;
}
.xh-ctaband p {
    color: rgba(255, 255, 255, 0.80);
    font-size: 1.08rem;
    line-height: 1.65;
    margin: 0 auto 32px;
    max-width: 600px;
}
.xh-ctaband-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 36px;
}
.xh-ctaband-chip {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(79, 209, 203, 0.32);
    border-radius: 999px;
    color: #6ee5df;
    font-size: 0.86rem;
    font-weight: 600;
    padding: 9px 20px;
    transition: background 0.18s, border-color 0.18s, transform 0.18s;
}
.xh-ctaband-chip:hover {
    background: rgba(79, 209, 203, 0.12);
    border-color: rgba(79, 209, 203, 0.55);
    transform: translateY(-1px);
}

/* ── Related-Card (verwandte Seiten) ── */
.xh-related-card {
    background: #ffffff;
    border: 1px solid var(--xh-line);
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(17, 28, 39, 0.04), 0 6px 18px rgba(17, 28, 39, 0.04);
    color: var(--xh-text);
    display: block;
    font-family: var(--font);
    height: 100%;
    overflow: hidden;
    padding: 26px;
    position: relative;
    text-decoration: none;
    transition: box-shadow 0.22s, transform 0.22s, border-color 0.22s;
}
.xh-related-card::before {
    background: linear-gradient(180deg, var(--xh-teal), #00a39d);
    content: "";
    inset: 0 auto 0 0;
    position: absolute;
    transition: width 0.22s ease;
    width: 4px;
}
.xh-related-card:hover {
    border-color: rgba(0, 127, 122, 0.30);
    box-shadow: 0 4px 12px rgba(0, 127, 122, 0.06), 0 14px 36px rgba(0, 127, 122, 0.12);
    color: var(--xh-text);
    transform: translateY(-3px);
}
.xh-related-card:hover::before { width: 6px; }

.xh-related-kicker {
    color: var(--xh-teal);
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    margin-bottom: 10px;
    text-transform: uppercase;
}
.xh-related-card h3 {
    color: var(--xh-ink);
    font-size: 1.08rem;
    font-weight: 800;
    letter-spacing: -0.015em;
    line-height: 1.3;
    margin: 0 0 10px;
}
.xh-related-card p {
    color: var(--xh-muted);
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0 0 14px;
}
.xh-related-arrow {
    color: var(--xh-teal);
    display: inline-flex;
    font-size: 0.88rem;
    font-weight: 800;
    gap: 5px;
    transition: gap 0.2s ease;
}
.xh-related-card:hover .xh-related-arrow { gap: 9px; }

/* ── Quick-Facts Bar (schmaler Balken unter Hero) ── */
.xh-bar {
    color: #ffffff;
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin: 0;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}
.xh-bar a {
    color: #ffffff;
    font-weight: 800;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.55);
    text-underline-offset: 3px;
}
.xh-bar a:hover { text-decoration-color: #ffffff; }

/* Amber-Bar als Gradient für mehr Premium-Look */
.section[style*="#c98a1a"] .section-bg.fill,
[style*="background-color: #c98a1a"] {
    background-image: linear-gradient(90deg, #b87815 0%, #c98a1a 50%, #b87815 100%) !important;
}

/* =====================================================================
   XRECHNUNG VIEWER — Browser-only, kein Upload
   ===================================================================== */

.xh-viewer {
    font-family: var(--font);
    margin: 0 auto;
    max-width: 940px;
}

.xh-viewer-head { margin-bottom: 28px; text-align: center; }
.xh-viewer-head h2 {
    color: var(--xh-ink);
    font-size: clamp(1.7rem, 3vw, 2.2rem);
    font-weight: 900;
    letter-spacing: -0.028em;
    margin: 0 0 10px;
}
.xh-viewer-head p {
    color: var(--xh-muted);
    font-size: 1.04rem;
    margin: 0;
}

/* Disclaimer-Cards */
.xh-viewer-disclaim {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 28px;
}
.xh-viewer-disclaim-card {
    background: #ffffff;
    border: 1px solid var(--xh-line);
    border-radius: 10px;
    padding: 14px 16px;
    text-align: left;
}
.xh-viewer-disclaim-card strong {
    color: var(--xh-ink);
    display: block;
    font-size: 0.86rem;
    font-weight: 800;
    margin-bottom: 4px;
}
.xh-viewer-disclaim-card span {
    color: var(--xh-muted);
    font-size: 0.82rem;
    line-height: 1.5;
}
.xh-viewer-disclaim-card--lock { border-left: 3px solid var(--xh-teal); }
.xh-viewer-disclaim-card--privacy { border-left: 3px solid var(--xh-cyan); }
.xh-viewer-disclaim-card--legal { border-left: 3px solid var(--xh-amber); }
.xh-viewer-disclaim-card--format { border-left: 3px solid var(--xh-muted); }

/* Drop-Zone */
.xh-viewer-drop {
    background: var(--xh-surface-2);
    border: 2px dashed var(--xh-line);
    border-radius: 14px;
    padding: 44px 24px;
    text-align: center;
    transition: background 0.18s, border-color 0.18s;
}
.xh-viewer-drop:hover {
    background: var(--xh-teal-fog);
    border-color: var(--xh-teal);
}
.xh-viewer-drop.is-drag {
    background: var(--xh-teal-light);
    border-color: var(--xh-teal);
    border-style: solid;
}
.xh-viewer-drop-icon { color: var(--xh-teal); display: inline-flex; margin-bottom: 14px; }
.xh-viewer-drop-title {
    color: var(--xh-ink);
    font-size: 1.08rem;
    font-weight: 800;
    margin: 0 0 6px;
}
.xh-viewer-drop-sub {
    color: var(--xh-muted);
    font-size: 0.92rem;
    margin: 0 0 18px;
}
.xh-viewer-drop input[type=file] { display: none; }
.xh-viewer-actions {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.xh-viewer-btn {
    background: var(--xh-grad-teal);
    border: none;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0, 133, 128, 0.28);
    color: #ffffff !important;
    cursor: pointer;
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 700;
    padding: 10px 22px;
    transition: box-shadow 0.18s, transform 0.12s;
}
.xh-viewer-btn:hover {
    box-shadow: 0 6px 18px rgba(0, 133, 128, 0.38);
    transform: translateY(-1px);
}
.xh-viewer-btn--ghost {
    background: #ffffff;
    border: 1.5px solid var(--xh-line);
    box-shadow: none;
    color: var(--xh-ink) !important;
}
.xh-viewer-btn--ghost:hover {
    background: var(--xh-surface-2);
    border-color: var(--xh-teal);
    box-shadow: none;
    color: var(--xh-teal) !important;
}

/* Result-Block */
.xh-viewer-result {
    background: #ffffff;
    border: 1px solid var(--xh-line);
    border-radius: 16px;
    box-shadow: var(--xh-shadow);
    margin-top: 22px;
    overflow: hidden;
}
.xh-viewer-result-head {
    align-items: center;
    background: var(--xh-grad-navy);
    color: #ffffff;
    display: flex;
    flex-wrap: wrap;
    font-size: 0.86rem;
    gap: 10px;
    justify-content: space-between;
    padding: 14px 24px;
}
.xh-viewer-result-head strong { color: #4fd1cb; font-weight: 800; }
.xh-viewer-reset {
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    color: #ffffff;
    cursor: pointer;
    font-family: var(--font);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 5px 14px;
    transition: background 0.15s;
}
.xh-viewer-reset:hover { background: rgba(255, 255, 255, 0.18); }

.xh-viewer-meta {
    background: var(--xh-surface-2);
    border-bottom: 1px solid var(--xh-line);
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    padding: 20px 24px;
}
.xh-viewer-meta-item { font-size: 0.84rem; }
.xh-viewer-meta-item dt {
    color: var(--xh-muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 3px;
    text-transform: uppercase;
}
.xh-viewer-meta-item dd {
    color: var(--xh-ink);
    font-weight: 700;
    margin: 0;
}

.xh-viewer-parties {
    background: var(--xh-line);
    border-bottom: 1px solid var(--xh-line);
    display: grid;
    gap: 1px;
    grid-template-columns: 1fr 1fr;
}
.xh-viewer-party { background: #ffffff; padding: 20px 24px; }
.xh-viewer-party h3 {
    color: var(--xh-teal);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    margin: 0 0 10px;
    text-transform: uppercase;
}
.xh-viewer-party-name {
    color: var(--xh-ink);
    font-size: 1.02rem;
    font-weight: 800;
    margin: 0 0 6px;
}
.xh-viewer-party-address {
    color: var(--xh-text);
    font-size: 0.88rem;
    line-height: 1.55;
    margin: 0;
    white-space: pre-line;
}
.xh-viewer-party-id {
    color: var(--xh-muted);
    font-size: 0.78rem;
    margin-top: 8px;
}

.xh-viewer-items { overflow-x: auto; }
.xh-viewer-items table {
    border-collapse: collapse;
    font-size: 0.88rem;
    min-width: 520px;
    width: 100%;
}
.xh-viewer-items th {
    background: var(--xh-surface-2);
    border-bottom: 1px solid var(--xh-line);
    color: var(--xh-ink);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 12px 16px;
    text-align: left;
    text-transform: uppercase;
}
.xh-viewer-items td {
    border-bottom: 1px solid var(--xh-line-soft);
    color: var(--xh-text);
    padding: 12px 16px;
    vertical-align: top;
}
.xh-viewer-items tr:last-child td { border-bottom: none; }
.xh-viewer-items td.num {
    font-family: ui-monospace, monospace;
    text-align: right;
    white-space: nowrap;
}

.xh-viewer-totals {
    background: var(--xh-surface-2);
    border-top: 1px solid var(--xh-line);
    padding: 20px 24px;
}
.xh-viewer-totals dl {
    display: grid;
    gap: 6px;
    grid-template-columns: 1fr auto;
    margin: 0 0 0 auto;
    max-width: 380px;
}
.xh-viewer-totals dt {
    color: var(--xh-text);
    font-size: 0.9rem;
    margin: 0;
}
.xh-viewer-totals dd {
    color: var(--xh-ink);
    font-family: ui-monospace, monospace;
    font-weight: 700;
    margin: 0;
    text-align: right;
}
.xh-viewer-totals .grand dt,
.xh-viewer-totals .grand dd {
    border-top: 2px solid var(--xh-ink);
    color: var(--xh-teal);
    font-size: 1.1rem;
    font-weight: 900;
    margin-top: 6px;
    padding-top: 8px;
}

.xh-viewer-notes {
    border-top: 1px solid var(--xh-line);
    color: var(--xh-muted);
    font-size: 0.84rem;
    line-height: 1.6;
    padding: 16px 24px;
}
.xh-viewer-notes strong { color: var(--xh-ink); }

/* Tax-Breakdown Tabelle */
.xh-viewer-tax {
    border-top: 1px solid var(--xh-line);
    padding: 20px 24px;
}
.xh-viewer-tax h3 {
    color: var(--xh-ink);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    margin: 0 0 12px;
    text-transform: uppercase;
}
.xh-viewer-tax table {
    border-collapse: collapse;
    font-size: 0.88rem;
    width: 100%;
}
.xh-viewer-tax th {
    color: var(--xh-muted);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 8px 12px 8px 0;
    text-align: left;
    text-transform: uppercase;
}
.xh-viewer-tax th.num { text-align: right; }
.xh-viewer-tax td {
    border-top: 1px solid var(--xh-line-soft);
    color: var(--xh-text);
    padding: 10px 12px 10px 0;
}
.xh-viewer-tax td.num { font-family: ui-monospace, monospace; text-align: right; }

/* Payment-Block */
.xh-viewer-payment {
    background: var(--xh-teal-fog);
    border-top: 1px solid var(--xh-line);
    padding: 20px 24px;
}
.xh-viewer-payment h3 {
    color: var(--xh-teal);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    margin: 0 0 12px;
    text-transform: uppercase;
}
.xh-viewer-payment dl {
    display: grid;
    gap: 6px 14px;
    grid-template-columns: max-content 1fr;
    margin: 0;
}
.xh-viewer-payment dt {
    color: var(--xh-muted);
    font-size: 0.82rem;
    font-weight: 600;
    margin: 0;
}
.xh-viewer-payment dd {
    color: var(--xh-ink);
    font-family: ui-monospace, monospace;
    font-size: 0.88rem;
    font-weight: 700;
    margin: 0;
    word-break: break-all;
}
.xh-viewer-payment-terms {
    border-top: 1px dashed rgba(0,133,128,0.20);
    color: var(--xh-text);
    font-size: 0.86rem;
    font-style: italic;
    line-height: 1.5;
    margin: 14px 0 0;
    padding-top: 12px;
}

/* BillingReference */
.xh-viewer-ref {
    background: var(--xh-amber-light);
    border-top: 1px solid var(--xh-line);
    border-left: 4px solid var(--xh-amber);
    padding: 16px 24px;
}
.xh-viewer-ref h3 {
    color: #7a4c00;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    margin: 0 0 8px;
    text-transform: uppercase;
}
.xh-viewer-ref p {
    color: var(--xh-ink);
    font-size: 0.92rem;
    margin: 0;
}
.xh-viewer-ref strong {
    color: #7a4c00;
    font-family: ui-monospace, monospace;
}

/* XML-Notes */
.xh-viewer-xmlnotes {
    border-top: 1px solid var(--xh-line);
    padding: 16px 24px;
}
.xh-viewer-xmlnotes h3 {
    color: var(--xh-ink);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    margin: 0 0 10px;
    text-transform: uppercase;
}
.xh-viewer-xmlnotes ul {
    color: var(--xh-text);
    font-size: 0.88rem;
    line-height: 1.55;
    margin: 0;
    padding-left: 1.2em;
}
.xh-viewer-xmlnotes li { margin-bottom: 5px; }

/* =====================================================================
   VIEWER MODAL — full-screen overlay mit Multi-File-Support
   ===================================================================== */

/* Open-CTA */
.xh-viewer-cta {
    align-items: center;
    background: linear-gradient(135deg, var(--xh-navy) 0%, #122b48 100%);
    background-image:
        radial-gradient(at 18% 22%, rgba(14, 165, 201, 0.18) 0px, transparent 50%),
        radial-gradient(at 82% 78%, rgba(0, 133, 128, 0.18) 0px, transparent 50%),
        linear-gradient(135deg, var(--xh-navy) 0%, #122b48 100%);
    border: 1px solid rgba(79, 209, 203, 0.25);
    border-radius: 18px;
    box-shadow: 0 8px 28px rgba(11, 29, 51, 0.18);
    color: #ffffff;
    cursor: pointer;
    display: flex;
    flex-wrap: wrap;
    font-family: var(--font);
    gap: 24px;
    margin: 0 auto;
    max-width: 880px;
    overflow: hidden;
    padding: 32px;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}
.xh-viewer-cta::before {
    background-image: radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 22px 22px;
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
}
.xh-viewer-cta:hover {
    box-shadow: 0 12px 36px rgba(0, 133, 128, 0.28);
    transform: translateY(-2px);
}
.xh-viewer-cta > * { position: relative; z-index: 1; }
.xh-viewer-cta-icon {
    align-items: center;
    background: linear-gradient(135deg, var(--xh-teal-2), #4fd1cb);
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(0, 133, 128, 0.35);
    color: #ffffff;
    display: flex;
    flex-shrink: 0;
    height: 64px;
    justify-content: center;
    width: 64px;
}
.xh-viewer-cta-text { flex: 1; min-width: 220px; }
.xh-viewer-cta-text h3 {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: -0.022em;
    margin: 0 0 6px;
}
.xh-viewer-cta-text p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.96rem;
    line-height: 1.5;
    margin: 0;
}
.xh-viewer-cta-arrow {
    align-items: center;
    background: rgba(79, 209, 203, 0.16);
    border: 1.5px solid rgba(79, 209, 203, 0.4);
    border-radius: 999px;
    color: #4fd1cb;
    display: inline-flex;
    flex-shrink: 0;
    font-family: var(--font);
    font-size: 0.92rem;
    font-weight: 700;
    gap: 6px;
    padding: 10px 22px;
    transition: gap 0.2s;
}
.xh-viewer-cta:hover .xh-viewer-cta-arrow { gap: 12px; background: rgba(79, 209, 203, 0.24); }

/* ── Modal ────────────────────────────────────────────────────────── */
.xh-modal {
    align-items: flex-start;
    bottom: 0;
    display: none;
    font-family: var(--font);
    justify-content: center;
    left: 0;
    overflow-y: auto;
    padding: 24px;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 10000;
}
.xh-modal.is-open { display: flex; animation: xhModalFade 0.2s ease-out; }
@keyframes xhModalFade { from { opacity: 0; } to { opacity: 1; } }

.xh-modal-backdrop {
    background: rgba(6, 18, 36, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    inset: 0;
    position: fixed;
}

.xh-modal-content {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    max-width: 1100px;
    overflow: hidden;
    position: relative;
    width: 100%;
    z-index: 1;
    animation: xhModalSlide 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes xhModalSlide {
    from { transform: translateY(16px) scale(0.98); opacity: 0; }
    to   { transform: translateY(0) scale(1); opacity: 1; }
}

.xh-modal-header {
    align-items: center;
    background: var(--xh-grad-navy);
    color: #ffffff;
    display: flex;
    gap: 16px;
    padding: 18px 24px;
    position: relative;
}
.xh-modal-title {
    flex: 1;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 0;
}
.xh-modal-subtitle {
    color: rgba(255, 255, 255, 0.6);
    display: block;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    margin-top: 2px;
    text-transform: uppercase;
}
.xh-modal-close {
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    font-size: 1.4rem;
    font-weight: 300;
    height: 38px;
    justify-content: center;
    transition: background 0.15s, transform 0.15s;
    width: 38px;
}
.xh-modal-close:hover {
    background: rgba(255, 79, 79, 0.25);
    border-color: rgba(255, 79, 79, 0.6);
    transform: rotate(90deg);
}

.xh-modal-body {
    background: var(--xh-surface-2);
    display: grid;
    gap: 0;
    grid-template-columns: 280px 1fr;
    max-height: calc(100vh - 200px);
    min-height: 480px;
}
@media (max-width: 720px) {
    .xh-modal-body { grid-template-columns: 1fr; max-height: none; }
}

/* ── Sidebar mit Drop + File-Liste ─────────────────────────────────── */
.xh-modal-sidebar {
    background: #ffffff;
    border-right: 1px solid var(--xh-line);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding: 20px;
}
@media (max-width: 720px) {
    .xh-modal-sidebar { border-right: 0; border-bottom: 1px solid var(--xh-line); padding: 16px; }
}

.xh-drop {
    background: var(--xh-teal-fog);
    border: 2px dashed rgba(0, 133, 128, 0.35);
    border-radius: 12px;
    cursor: pointer;
    padding: 28px 16px;
    text-align: center;
    transition: background 0.18s, border-color 0.18s;
}
.xh-drop:hover {
    background: var(--xh-teal-light);
    border-color: var(--xh-teal);
}
.xh-drop.is-drag {
    background: var(--xh-teal-light);
    border-color: var(--xh-teal);
    border-style: solid;
    transform: scale(1.02);
}
.xh-drop.is-mini { padding: 18px 14px; }
.xh-drop input[type=file] { display: none; }
.xh-drop-icon { color: var(--xh-teal); display: inline-flex; margin-bottom: 10px; }
.xh-drop.is-mini .xh-drop-icon { display: none; }
.xh-drop-title {
    color: var(--xh-ink);
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 4px;
}
.xh-drop.is-mini .xh-drop-title { font-size: 0.86rem; }
.xh-drop-sub {
    color: var(--xh-muted);
    font-size: 0.82rem;
    margin: 0 0 12px;
}
.xh-drop.is-mini .xh-drop-sub { display: none; }
.xh-drop-actions {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}
.xh-drop-btn {
    background: var(--xh-grad-teal);
    border: none;
    border-radius: 999px;
    color: #ffffff;
    cursor: pointer;
    font-family: var(--font);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 7px 14px;
    transition: box-shadow 0.15s;
}
.xh-drop-btn:hover { box-shadow: 0 3px 10px rgba(0, 133, 128, 0.35); }
.xh-drop-btn--ghost {
    background: #ffffff;
    border: 1px solid var(--xh-line);
    color: var(--xh-ink);
}
.xh-drop-btn--ghost:hover { background: var(--xh-surface-2); border-color: var(--xh-teal); color: var(--xh-teal); }

.xh-file-list {
    display: none;
    flex-direction: column;
    gap: 6px;
    margin-top: 16px;
}
.xh-file-item {
    align-items: center;
    background: #ffffff;
    border: 1px solid var(--xh-line);
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    font-family: var(--font);
    gap: 8px;
    padding: 8px 10px;
    transition: background 0.15s, border-color 0.15s;
}
.xh-file-item:hover { background: var(--xh-teal-fog); border-color: rgba(0, 133, 128, 0.3); }
.xh-file-item.is-active {
    background: var(--xh-teal-light);
    border-color: var(--xh-teal);
}
.xh-file-item.is-error { border-color: #f5b5b1; background: #fef0ef; }
.xh-file-icon {
    background: var(--xh-navy);
    border-radius: 4px;
    color: #fff;
    flex-shrink: 0;
    font-family: var(--font-mono);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 3px 6px;
    text-transform: uppercase;
}
.xh-file-item.is-active .xh-file-icon { background: var(--xh-teal); }
.xh-file-item.is-error .xh-file-icon { background: transparent; font-size: 1rem; padding: 0; }
.xh-file-name {
    color: var(--xh-ink);
    flex: 1;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 500;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.xh-file-remove {
    align-items: center;
    background: transparent;
    border: none;
    border-radius: 50%;
    color: var(--xh-muted);
    cursor: pointer;
    display: flex;
    flex-shrink: 0;
    font-size: 1.1rem;
    height: 20px;
    justify-content: center;
    line-height: 1;
    transition: background 0.15s, color 0.15s;
    width: 20px;
}
.xh-file-remove:hover { background: #fef0ef; color: #c93a3a; }

/* ── Main Viewer Area ──────────────────────────────────────────────── */
.xh-modal-main {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding: 24px 28px 28px;
}
.xh-empty-state {
    align-items: center;
    color: var(--xh-muted);
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
}
.xh-empty-state svg { color: var(--xh-line); margin-bottom: 8px; }
.xh-empty-state h3 {
    color: var(--xh-ink);
    font-size: 1.15rem;
    font-weight: 800;
    margin: 0;
}
.xh-empty-state p { font-size: 0.92rem; max-width: 360px; margin: 0; }

/* Viewer-Result innerhalb Modal: kleinere Margins */
.xh-viewer-result--modal {
    border-radius: 12px;
    margin-top: 0;
}
.xh-viewer-result--modal .xh-viewer-result-head {
    background: var(--xh-surface-3);
    color: var(--xh-ink);
    padding: 10px 18px;
}
.xh-viewer-result--modal .xh-viewer-result-head strong { color: var(--xh-teal); }

/* ── Download-Bar ──────────────────────────────────────────────────── */
.xh-download-bar {
    align-items: center;
    background: #ffffff;
    border-top: 1px solid var(--xh-line);
    display: none;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
    margin: 20px -28px -28px;
    padding: 16px 28px;
}
.xh-download-info {
    color: var(--xh-muted);
    flex: 1;
    font-size: 0.82rem;
}
.xh-download-info strong { color: var(--xh-ink); }
.xh-download-buttons { display: flex; gap: 10px; }
.xh-dl-btn {
    align-items: center;
    background: #ffffff;
    border: 1.5px solid var(--xh-line);
    border-radius: 8px;
    color: var(--xh-ink);
    cursor: pointer;
    display: inline-flex;
    font-family: var(--font);
    font-size: 0.86rem;
    font-weight: 700;
    gap: 8px;
    padding: 9px 18px;
    transition: background 0.15s, border-color 0.15s, transform 0.1s;
}
.xh-dl-btn:hover {
    background: var(--xh-teal-fog);
    border-color: var(--xh-teal);
    color: var(--xh-teal);
    transform: translateY(-1px);
}
.xh-dl-btn--primary {
    background: var(--xh-grad-teal);
    border-color: transparent;
    box-shadow: 0 3px 10px rgba(0, 133, 128, 0.3);
    color: #ffffff;
}
.xh-dl-btn--primary:hover { background: var(--xh-grad-teal); color: #ffffff; border-color: transparent; box-shadow: 0 5px 14px rgba(0, 133, 128, 0.4); }
.xh-dl-icon { display: inline-flex; }

/* ── Email-Form (Gate vor Download) ─────────────────────────────────── */
.xh-email-form {
    background: linear-gradient(135deg, #f7f9f8 0%, #ffffff 100%);
    border: 1.5px solid rgba(0, 133, 128, 0.25);
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(15, 26, 38, 0.08);
    display: none;
    flex-direction: column;
    gap: 14px;
    margin: 18px 0 0;
    padding: 22px 24px;
}
.xh-email-head { display: flex; align-items: flex-start; gap: 12px; }
.xh-email-icon {
    align-items: center;
    background: linear-gradient(135deg, var(--xh-teal), var(--xh-teal-2));
    border-radius: 10px;
    color: #ffffff;
    display: flex;
    flex-shrink: 0;
    height: 44px;
    justify-content: center;
    width: 44px;
}
.xh-email-head-text { flex: 1; }
.xh-email-head h4 {
    color: var(--xh-ink);
    font-size: 1.02rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin: 0 0 4px;
}
.xh-email-head p {
    color: var(--xh-muted);
    font-size: 0.86rem;
    line-height: 1.5;
    margin: 0;
}
.xh-email-input-row {
    display: flex;
    gap: 8px;
}
.xh-email-input-row input[type=email] {
    background: #ffffff;
    border: 1.5px solid var(--xh-line);
    border-radius: 8px;
    color: var(--xh-ink);
    flex: 1;
    font-family: var(--font);
    font-size: 0.95rem;
    padding: 10px 14px;
    transition: border-color 0.15s;
}
.xh-email-input-row input[type=email]:focus {
    border-color: var(--xh-teal);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 133, 128, 0.15);
}
.xh-email-input-row button[type=submit] {
    background: var(--xh-grad-teal);
    border: none;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 133, 128, 0.3);
    color: #ffffff;
    cursor: pointer;
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 700;
    padding: 10px 22px;
    transition: box-shadow 0.15s, transform 0.1s;
    white-space: nowrap;
}
.xh-email-input-row button[type=submit]:hover { box-shadow: 0 5px 14px rgba(0, 133, 128, 0.4); transform: translateY(-1px); }
.xh-email-input-row button[type=submit]:disabled { opacity: 0.6; cursor: wait; transform: none; }
.xh-email-consent {
    align-items: flex-start;
    color: var(--xh-muted);
    display: flex;
    font-size: 0.78rem;
    gap: 8px;
    line-height: 1.5;
}
.xh-email-consent a { color: var(--xh-teal); text-decoration: underline; }
.xh-email-consent input[type=checkbox] {
    accent-color: var(--xh-teal);
    flex-shrink: 0;
    margin-top: 2px;
}
.xh-email-cancel {
    align-self: flex-end;
    background: transparent;
    border: none;
    color: var(--xh-muted);
    cursor: pointer;
    font-family: var(--font);
    font-size: 0.78rem;
    padding: 4px 8px;
    text-decoration: underline;
}
.xh-email-cancel:hover { color: var(--xh-ink); }

@media (max-width: 540px) {
    .xh-email-input-row { flex-direction: column; }
    .xh-email-input-row button[type=submit] { width: 100%; }
    .xh-modal { padding: 0; }
    .xh-modal-content { border-radius: 0; max-height: 100vh; min-height: 100vh; }
    .xh-modal-body { max-height: calc(100vh - 70px); }
    .xh-download-bar { flex-direction: column; align-items: stretch; }
    .xh-download-buttons { justify-content: center; }
    .xh-download-info { text-align: center; }
}

/* =====================================================================
   SOFTWARE-CARDS (für /beste-e-rechnung-software-kleinunternehmer/)
   ===================================================================== */

.xh-sw-card {
    background: #ffffff;
    border: 1px solid var(--xh-line);
    border-radius: 14px;
    box-shadow: var(--xh-shadow-xs);
    font-family: var(--font);
    height: 100%;
    margin-bottom: 16px;
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
}
.xh-sw-card:hover {
    box-shadow: var(--xh-shadow-md);
    transform: translateY(-2px);
}

.xh-sw-head {
    align-items: flex-start;
    background: var(--xh-grad-navy);
    color: #ffffff;
    display: flex;
    gap: 14px;
    padding: 18px 22px 16px;
    position: relative;
}
.xh-sw-head::after {
    background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 16px 16px;
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
}
.xh-sw-head > * { position: relative; z-index: 1; }

.xh-sw-logo {
    align-items: center;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25), inset 0 0 0 1px rgba(255,255,255,0.5);
    display: flex;
    flex-shrink: 0;
    height: 56px;
    justify-content: center;
    overflow: hidden;
    padding: 6px;
    width: 56px;
}
.xh-sw-logo-img {
    height: auto;
    max-height: 44px;
    max-width: 44px;
    object-fit: contain;
    width: auto;
}
.xh-sw-logo-tile {
    align-items: center;
    border-radius: 8px;
    color: #ffffff;
    display: flex;
    font-family: var(--font);
    font-size: 1.15rem;
    font-weight: 900;
    height: 100%;
    justify-content: center;
    letter-spacing: -0.025em;
    text-transform: lowercase;
    width: 100%;
}

.xh-sw-head-text { flex: 1; min-width: 0; padding-top: 2px; }
.xh-sw-head h3 {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 900;
    letter-spacing: -0.022em;
    margin: 0 0 4px;
}
.xh-sw-tagline {
    color: rgba(255, 255, 255, 0.75);
    display: block;
    font-size: 0.86rem;
    font-weight: 500;
}

.xh-sw-meta {
    background: var(--xh-surface-2);
    border-bottom: 1px solid var(--xh-line);
    color: var(--xh-text);
    display: grid;
    font-size: 0.84rem;
    gap: 8px;
    line-height: 1.5;
    padding: 14px 22px;
}
.xh-sw-meta strong {
    color: var(--xh-ink);
    display: inline-block;
    margin-right: 4px;
    min-width: 78px;
}

.xh-sw-grid {
    display: grid;
    gap: 1px;
    grid-template-columns: 1fr 1fr;
    background: var(--xh-line-soft);
}
.xh-sw-pros, .xh-sw-cons {
    background: #ffffff;
    padding: 16px 22px 18px;
}
.xh-sw-pros h4, .xh-sw-cons h4 {
    color: var(--xh-ink);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin: 0 0 10px;
    text-transform: uppercase;
}
.xh-sw-pros h4 { color: var(--xh-teal); }
.xh-sw-cons h4 { color: var(--xh-amber); }

.xh-sw-pros ul, .xh-sw-cons ul {
    color: var(--xh-text);
    font-size: 0.86rem;
    line-height: 1.5;
    list-style: none;
    margin: 0;
    padding: 0;
}
.xh-sw-pros li, .xh-sw-cons li {
    margin-bottom: 6px;
    padding-left: 16px;
    position: relative;
}
.xh-sw-pros li::before {
    color: var(--xh-teal);
    content: "✓";
    font-weight: 800;
    left: 0;
    position: absolute;
}
.xh-sw-cons li::before {
    color: var(--xh-amber);
    content: "−";
    font-weight: 800;
    left: 0;
    position: absolute;
}

@media (max-width: 540px) {
    .xh-sw-grid { grid-template-columns: 1fr; }
}

.xh-viewer-error {
    background: #fef0ef;
    border: 1.5px solid #f5b5b1;
    border-radius: 10px;
    color: #8a1a14;
    font-size: 0.95rem;
    line-height: 1.55;
    margin-top: 22px;
    padding: 16px 20px;
}
.xh-viewer-error strong { color: #4a0c08; }

@media (max-width: 768px) {
    .xh-viewer-disclaim { grid-template-columns: 1fr 1fr; }
    .xh-viewer-parties { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .xh-viewer-disclaim { grid-template-columns: 1fr; }
    .xh-viewer-drop { padding: 32px 18px; }
    .xh-viewer-meta { padding: 16px 18px; }
    .xh-viewer-party,
    .xh-viewer-totals,
    .xh-viewer-notes { padding: 16px 18px; }
    .xh-viewer-items th,
    .xh-viewer-items td { padding: 10px 12px; font-size: 0.82rem; }
}

/* =====================================================================
   MOBILE-FIRST RESPONSIVE — gezielte Anpassungen
   ===================================================================== */

/* ── Tablet (< 850px) ── */
@media (max-width: 849px) {
    /* Section-Paddings reduzieren */
    .section .section-content,
    .section { padding-top: 56px !important; padding-bottom: 56px !important; }

    /* Hero etwas kompakter */
    .xh-hero-title { font-size: clamp(1.9rem, 6vw, 2.6rem); }
    .xh-hero-lead { font-size: 1rem; }
    .xh-hero-badge { font-size: 0.72rem; margin-bottom: 20px; padding: 6px 16px; }

    /* Section-Head mehr Compact */
    .xh-section-head { margin-bottom: 36px; }
    .xh-section-title { font-size: clamp(1.5rem, 4.5vw, 2rem); }
    .xh-section-sub { font-size: 1rem; }

    /* Buttons auf Mobile etwas kompakter */
    .button.is-large,
    .wp-block-button__link.is-large { font-size: 0.95rem; min-height: 50px; padding: 12px 26px; }
}

/* ── Phone (< 549px) ── */
@media (max-width: 549px) {
    /* Section-Paddings noch weiter reduzieren */
    .section .section-content,
    .section { padding-top: 44px !important; padding-bottom: 44px !important; }

    /* Hero: deutlich kompakter */
    .ux-banner[style*="0b1d33"],
    .ux-banner[style*="#0b1d33"] {
        min-height: auto !important;
    }
    /* Force kleinere Hero-Höhe via padding-top reduction */
    [id^="banner-"] { padding-top: 380px !important; }
    .xh-hero-title { font-size: 1.85rem !important; line-height: 1.08; }
    .xh-hero-lead { font-size: 0.96rem; }
    .xh-hero-badge { font-size: 0.68rem; letter-spacing: 0.10em; margin-bottom: 16px; padding: 5px 14px; }
    .xh-hero-crumbs { font-size: 0.74rem; margin-bottom: 14px; }

    /* Hero-Buttons stacken untereinander mit voller Breite */
    .ux-banner[style*="0b1d33"] .text-box .button,
    .ux-banner[style*="#0b1d33"] .text-box .button {
        display: block;
        margin: 0 0 10px 0 !important;
        text-align: center;
        width: 100%;
    }

    /* Topic-Cards: Flatsome ignoriert span__xs — wir stacken via CSS */
    .row > .col.medium-3 { flex-basis: 100% !important; max-width: 100% !important; margin-bottom: 12px; }
    .row > .col.medium-3:last-child { margin-bottom: 0; }

    /* Zielgruppen-Cards (4-Spalter) komplett stacken */
    .row > .col.medium-4 { flex-basis: 100% !important; max-width: 100% !important; margin-bottom: 12px; }
    .row > .col.medium-4:last-child { margin-bottom: 0; }

    /* Stat-Grid bleibt 2x2 aber enger */
    .xh-stat-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .xh-stat-num { font-size: 1.8rem; }
    .xh-stat-tile { padding: 20px 10px 16px; }
    .xh-stat-label { font-size: 0.78rem; }

    /* Cards Padding reduzieren */
    .xh-topic-card { padding: 26px 22px 22px; }
    .xh-topic-card--wide { padding: 28px 22px 22px; }
    .xh-related-card { padding: 22px; }

    /* Fact-Box kompakter */
    .xh-fact-box h3 { padding: 14px 20px; font-size: 0.76rem; }
    .xh-fact-list { padding: 8px 20px 18px; font-size: 0.92rem; }
    .xh-fact-list li { padding: 11px 0; gap: 10px; }

    /* Prose Headings kleiner */
    .xh-prose h2 { font-size: 1.35rem; margin-top: 32px; }
    .xh-prose h3 { font-size: 1.05rem; margin-top: 22px; }
    .xh-prose ol > li { padding-left: 44px; }
    .xh-prose ol > li::before { height: 28px; width: 28px; font-size: 0.8rem; }

    /* Compare-Table kompakter */
    .xh-compare table { min-width: 360px; font-size: 0.84rem; }
    .xh-compare th { font-size: 0.72rem; padding: 10px 12px; }
    .xh-compare td { padding: 11px 12px; }

    /* CTA-Band kompakter */
    .xh-ctaband h2 { font-size: 1.5rem; }
    .xh-ctaband p { font-size: 0.98rem; }
    .xh-ctaband-chip { font-size: 0.8rem; padding: 7px 14px; }

    /* CTA-Band Buttons stacken */
    .section[style*="#0b1d33"] .button {
        display: block;
        margin: 0 0 10px 0 !important;
        text-align: center;
        width: 100%;
    }

    /* Amber-Bar Text kleiner */
    .xh-bar { font-size: 0.82rem; line-height: 1.5; }

    /* Section-Head padding-bottom reduzieren */
    .xh-section-head { margin-bottom: 30px; }
    .xh-section-title { font-size: 1.5rem; }
    .xh-section-sub { font-size: 0.95rem; }
    .xh-section-kicker { font-size: 0.7rem; }
    .xh-section-kicker::before,
    .xh-section-kicker::after { width: 20px; }

    /* Footer kompakter */
    .xh-site-footer { padding: 36px 0 22px; }
    .xh-footer-grid { gap: 24px; }
    .xh-footer-brand { font-size: 1.15rem; }
    .xh-footer-bottom { font-size: 0.8rem; margin-top: 24px; }

    /* Headers in Prose: scroll-margin fuer Anchor-Links */
    .xh-prose h2, .xh-prose h3 { scroll-margin-top: 76px; }
}

/* ── Extra-Small (<= 380px) ── */
@media (max-width: 380px) {
    .xh-shell { padding: 0 14px; }
    [id^="banner-"] { padding-top: 340px !important; }
    .xh-hero-title { font-size: 1.65rem !important; }
    .xh-stat-num { font-size: 1.6rem; }
}

/* ── Smooth Scrolling + Selection Color ── */
html { scroll-behavior: smooth; }
::selection {
    background: var(--xh-teal);
    color: #ffffff;
}

/* ── Section padding consistency (UX Builder overrides) ── */
.section { font-family: var(--font); }

/* Mehr Atemraum zwischen den 4 Topic-Cards und nächster Section auf Desktop */
@media (min-width: 850px) {
    .row.large-columns-4 .col,
    .row > .col.large-3 { padding-left: 10px; padding-right: 10px; }
}

/* ── Verbessertes Compare-Table für Mobile ── */
@media (max-width: 768px) {
    .xh-compare table { min-width: 480px; font-size: 0.88rem; }
    .xh-compare th, .xh-compare td { padding: 12px 14px; }
}

/* ── Prose: Premium-Touch (großzügigere Leseabstände) ── */
.xh-prose { max-width: 860px; margin: 0 auto; }
.xh-prose ul li::marker,
.xh-prose ol li::marker {
    color: var(--xh-teal);
    font-weight: 800;
}
.xh-prose ol {
    counter-reset: xh-counter;
    list-style: none;
    padding-left: 0;
}
.xh-prose ol > li {
    counter-increment: xh-counter;
    padding-left: 52px;
    position: relative;
}
.xh-prose ol > li::before {
    background: linear-gradient(135deg, var(--xh-teal), #00a39d);
    border-radius: 50%;
    color: #ffffff;
    content: counter(xh-counter);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 800;
    height: 32px;
    left: 0;
    position: absolute;
    top: 2px;
    width: 32px;
    box-shadow: 0 4px 12px rgba(0, 127, 122, 0.25);
}

/* ── Bessere Hero-Banner Override für Flatsome ── */
.ux-banner { font-family: var(--font); }
.banner-inner.fill, .banner.has-hover.dark .nav > li > a { color: #ffffff; }

/* Hero overrides verstärken (font-weights etc) */
.banner .text-box .text {
    font-family: var(--font) !important;
}

/* Image rendering verbessern */
img, svg { vertical-align: middle; }

/* Footer-Polish */
.xh-site-footer {
    background: linear-gradient(180deg, #0d1820 0%, #0a141a 100%);
    background-image:
        radial-gradient(at 12% 8%, rgba(0, 127, 122, 0.08) 0px, transparent 40%),
        linear-gradient(180deg, #0d1820 0%, #0a141a 100%);
}
.xh-footer-brand {
    background: linear-gradient(135deg, #ffffff, #b8c5c1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* =====================================================================
   AFFILIATE-COMPONENTS — Buttons + Banner + Disclosure
   ===================================================================== */

/* ── Affiliate-Button (mehrere Größen) ── */
.xh-aff-btn {
    align-items: center;
    background: linear-gradient(135deg, var(--xh-teal), var(--xh-teal-2));
    border: none;
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(0, 133, 128, 0.30);
    color: #ffffff !important;
    display: inline-flex;
    font-family: var(--font);
    font-size: 0.92rem;
    font-weight: 700;
    gap: 8px;
    letter-spacing: 0.01em;
    padding: 11px 22px;
    text-decoration: none;
    transition: box-shadow 0.18s, transform 0.12s;
    white-space: nowrap;
}
.xh-aff-btn:hover {
    box-shadow: 0 8px 22px rgba(0, 133, 128, 0.45);
    color: #ffffff;
    transform: translateY(-1px);
}
.xh-aff-btn-arrow { transition: transform 0.18s; }
.xh-aff-btn:hover .xh-aff-btn-arrow { transform: translateX(3px); }

.xh-aff-btn--large {
    font-size: 1rem;
    padding: 14px 28px;
    box-shadow: 0 6px 18px rgba(0, 133, 128, 0.32);
}

.xh-aff-btn--card {
    background: linear-gradient(135deg, var(--xh-amber), #e6a035);
    box-shadow: 0 4px 14px rgba(201, 138, 26, 0.32);
    width: 100%;
    justify-content: center;
}
.xh-aff-btn--card:hover {
    box-shadow: 0 8px 22px rgba(201, 138, 26, 0.48);
}

.xh-aff-disclosure {
    color: var(--xh-muted);
    display: block;
    font-family: var(--font);
    font-size: 0.7rem;
    font-style: italic;
    margin-top: 6px;
    text-align: center;
}

/* ── CTA-Zelle in Software-Card (in xh-sw-card) ── */
.xh-sw-cta {
    background: linear-gradient(180deg, #fffbf0 0%, #fff7e3 100%);
    border-bottom: 1px solid var(--xh-line);
    padding: 16px 22px 14px;
    text-align: center;
}
.xh-sw-card--featured .xh-sw-cta {
    background: linear-gradient(180deg, #e6f5f3 0%, #d3ede9 100%);
}
.xh-sw-card--featured .xh-aff-btn--card {
    background: linear-gradient(135deg, var(--xh-teal), var(--xh-teal-2));
    box-shadow: 0 4px 14px rgba(0, 133, 128, 0.35);
}
.xh-sw-card--featured .xh-aff-btn--card:hover {
    box-shadow: 0 8px 22px rgba(0, 133, 128, 0.50);
}

/* ── Empfehlungs-Banner (auf Guide-Pages) ── */
.xh-aff-banner {
    background: linear-gradient(135deg, #fdfbf0 0%, #fffefa 100%);
    border: 1.5px solid var(--xh-amber);
    border-radius: 14px;
    box-shadow: 0 6px 24px rgba(201, 138, 26, 0.10);
    font-family: var(--font);
    margin: 24px 0;
    overflow: hidden;
    padding: 22px 26px;
    position: relative;
}
.xh-aff-banner::before {
    background: linear-gradient(90deg, var(--xh-amber), #e6a035, var(--xh-amber));
    content: "";
    height: 4px;
    inset: 0 0 auto 0;
    position: absolute;
}
.xh-aff-banner-meta {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}
.xh-aff-banner-context {
    color: var(--xh-amber);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.xh-aff-banner-badge {
    background: var(--xh-amber);
    border-radius: 999px;
    color: #ffffff;
    font-family: var(--font-mono);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 3px 10px;
    text-transform: uppercase;
}
.xh-aff-banner-body {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}
.xh-aff-banner-logo {
    background: #ffffff;
    border: 1px solid var(--xh-line);
    border-radius: 12px;
    flex-shrink: 0;
    height: 64px;
    object-fit: contain;
    padding: 8px;
    width: 64px;
}
.xh-aff-banner-text { flex: 1; min-width: 200px; }
.xh-aff-banner-text h4 {
    color: var(--xh-ink);
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.018em;
    margin: 0 0 4px;
}
.xh-aff-banner-text p {
    color: var(--xh-text);
    font-size: 0.92rem;
    line-height: 1.5;
    margin: 0;
}
.xh-aff-banner-price {
    color: var(--xh-ink);
    font-family: var(--font-mono);
    font-feature-settings: 'tnum' 1;
    font-weight: 700;
}
.xh-aff-banner-disclosure {
    color: var(--xh-muted);
    font-size: 0.72rem;
    font-style: italic;
    margin: 12px 0 0;
    padding-top: 10px;
    border-top: 1px dashed rgba(201, 138, 26, 0.30);
}
@media (max-width: 600px) {
    .xh-aff-banner { padding: 18px 18px; }
    .xh-aff-banner-body { gap: 14px; }
    .xh-aff-banner-logo { height: 52px; width: 52px; }
    .xh-aff-btn--large { font-size: 0.9rem; padding: 11px 20px; width: 100%; justify-content: center; }
}

/* =====================================================================
   HEADER v3 — Logo + Right-Side Tool-Link + CTA
   ===================================================================== */
.xh-brand-mark {
    background: transparent;
    box-shadow: none;
    padding: 0;
    height: auto;
    width: auto;
    align-items: center;
    display: inline-flex;
    flex-shrink: 0;
}
.xh-brand-mark svg {
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(0, 133, 128, 0.25);
    display: block;
}
.xh-brand:hover .xh-brand-mark { transform: none; box-shadow: none; }
.xh-brand:hover .xh-brand-mark svg {
    box-shadow: 0 6px 18px rgba(0, 133, 128, 0.35);
    transform: rotate(-3deg) scale(1.04);
    transition: transform 0.2s, box-shadow 0.2s;
}

.xh-header-right {
    align-items: center;
    display: flex;
    flex-shrink: 0;
    gap: 8px;
    margin-left: auto;
}
.xh-header-tool {
    align-items: center;
    background: rgba(0, 133, 128, 0.08);
    border: 1px solid rgba(0, 133, 128, 0.20);
    border-radius: 999px;
    color: var(--xh-teal);
    display: inline-flex;
    font-family: var(--font);
    font-size: 0.82rem;
    font-weight: 700;
    gap: 6px;
    padding: 7px 12px;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s;
}
.xh-header-tool:hover {
    background: rgba(0, 133, 128, 0.14);
    border-color: rgba(0, 133, 128, 0.40);
    color: var(--xh-teal);
}

/* MOBILE-Fixes Header */
@media (max-width: 980px) {
    .xh-header-inner { gap: 14px; min-height: 64px; }
    .xh-brand-text small { display: none; }
    .xh-nav-button {
        margin-left: 0;
        order: 99;
    }
    .xh-header-right {
        margin-left: auto;
        order: 50;
        gap: 6px;
    }
    .xh-header-tool span { display: none; }
    .xh-header-tool { padding: 8px 10px; }
    .xh-header-cta { font-size: 0.8rem; padding: 8px 12px; }
    .xh-header-cta span:not(.xh-header-cta-arrow) { display: inline; }
}
@media (max-width: 540px) {
    .xh-header-inner { gap: 6px; }
    .xh-brand-mark svg { width: 32px; height: 32px; }
    .xh-brand-text strong { font-size: 0.95rem; }
    .xh-header-cta span:not(.xh-header-cta-arrow) { display: none; }
    .xh-header-cta { padding: 8px 10px; }
    .xh-header-cta-arrow { font-size: 1rem; }
}

/* =====================================================================
   FOOTER v3 — Brand-Col mit Logo + Badges
   ===================================================================== */
.xh-footer-brand {
    align-items: center;
    color: #ffffff;
    display: inline-flex;
    gap: 12px;
    margin-bottom: 14px;
    text-decoration: none;
}
.xh-footer-brand-mark { flex-shrink: 0; }

.xh-footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 14px 0 0;
    padding: 0;
}
.xh-footer-badges li {
    align-items: center;
    background: rgba(0, 133, 128, 0.10);
    border: 1px solid rgba(79, 209, 203, 0.20);
    border-radius: 999px;
    color: #6ee5df;
    display: inline-flex;
    font-family: var(--font);
    font-size: 0.76rem;
    font-weight: 600;
    gap: 5px;
    list-style: none;
    padding: 4px 10px;
}

.xh-footer-disclaimer strong { color: rgba(255, 255, 255, 0.92); }

@media (max-width: 980px) {
    .xh-footer-grid { grid-template-columns: 1fr 1fr; }
    .xh-footer-brand-col { grid-column: 1 / -1; max-width: 100%; }
}
@media (max-width: 560px) {
    .xh-footer-grid { grid-template-columns: 1fr; }
}

/* =====================================================================
   GENERAL MOBILE-FIXES (alle Pages)
   ===================================================================== */
@media (max-width: 600px) {
    /* Buttons in Reihen sollen full-width werden wenn allein */
    .xh-prose .button + .button { margin-top: 8px; }
    .xh-prose .button { display: block; width: 100%; text-align: center; }

    /* CTA-Bänder: zentriert + breitere Touch-Targets */
    .xh-ctaband-chip { padding: 9px 16px; font-size: 0.82rem; }

    /* Topic-Cards mehr Atmungsraum */
    .xh-topic-card { padding: 28px 22px; }

    /* Affiliate-Banner kompakter */
    .xh-aff-banner { padding: 18px 16px; }
    .xh-aff-banner-body { flex-direction: column; align-items: flex-start; text-align: left; }
    .xh-aff-btn--large { width: 100%; justify-content: center; }
}

/* ── Quick-Recommendation-Box auf Software-Vergleichs-Page ── */
.xh-quickrec {
    background: #ffffff;
    border: 1px solid #efe3c8;
    border-radius: 18px;
    padding: 32px 30px 26px;
    box-shadow: 0 10px 32px rgba(201,138,26,0.08);
}
.xh-quickrec-head { text-align: center; margin-bottom: 24px; }
.xh-quickrec-kicker {
    background: #c98a1a;
    color: #fff;
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.xh-quickrec h2 {
    margin: 12px 0 6px;
    font-size: 1.65rem;
    font-weight: 700;
    color: #0b1d33;
}
.xh-quickrec-head p { color: #4a5867; margin: 0; }

.xh-quickrec-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 18px;
}
@media (max-width: 768px) { .xh-quickrec-grid { grid-template-columns: 1fr; } }

.xh-quickrec-card {
    background: #f7f9f8;
    border: 1px solid #e3e7eb;
    border-radius: 14px;
    padding: 22px 20px 18px;
    text-align: center;
    position: relative;
    transition: transform 0.15s, box-shadow 0.15s;
}
.xh-quickrec-card:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(11,29,51,0.08); }
.xh-quickrec-card--gold {
    background: linear-gradient(140deg, #fff9ee, #fef4dc);
    border-color: #e8c87a;
}

.xh-quickrec-rank {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #4fd1cb;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    line-height: 32px;
    font-weight: 700;
    font-size: 0.95rem;
}
.xh-quickrec-card--gold .xh-quickrec-rank {
    background: linear-gradient(135deg, #c98a1a, #e6a035);
    box-shadow: 0 4px 10px rgba(201,138,26,0.4);
}

.xh-quickrec-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0b1d33;
    margin: 8px 0 6px;
}
.xh-quickrec-pros {
    font-size: 0.88rem;
    color: #4a5867;
    line-height: 1.45;
    margin-bottom: 14px;
    min-height: 56px;
}

.xh-quickrec-aff {
    text-align: center;
    color: #94a3b8;
    font-size: 0.78rem;
    margin: 18px 0 0;
}

.dt-author-avatar { border-radius: 50%; }


/* ── XR Header-Redesign 2026-05-27 ─────────────────────── */

/* Logo-Switching: Full auf Desktop, Icon auf Mobile/Sticky */
.xh-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.xh-brand-full { display: block; width: auto; max-height: 50px; max-width: 280px; }
.xh-brand-icon { display: none; width: 44px; height: 44px; }
@media (max-width: 900px) {
    .xh-brand-full { display: none; }
    .xh-brand-icon { display: block; }
}


@media (max-width: 480px) {
    .xh-header-cta { font-size: 0; width: 36px; height: 36px; padding: 0; border-radius: 50%; }
    .xh-header-cta::before { content: "→"; font-size: 1rem; }
}

/* Header-Inner: Layout-Stability */
.xh-header-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 70px;
    padding: 0 20px;
}
.xh-main-nav { flex: 1; }

/* Suche ganz raus (wie SSV) */
.xh-search-form, .xh-header-search, .header-search-form,
form[role="search"], .search-form, [class*="search-toggle"] {
    display: none !important;
}

/* ── XR Header Realignment 2026-05-27 (SSV-Pattern) ─────── */

/* Logo: Full Desktop, Icon Mobile/Sticky */
.xh-brand {
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
    text-decoration: none !important;
    overflow: visible !important;
    min-width: 240px;
}
.xh-brand-full {
    display: block !important;
    width: 240px !important;
    max-width: 100% !important;
    max-height: 56px !important;
    height: auto !important;
    object-fit: contain !important;
}
.xh-brand-icon {
    display: none !important;
    width: 44px !important;
    height: 44px !important;
}
@media (max-width: 900px) {
    .xh-brand { min-width: 44px; }
    .xh-brand-full { display: none !important; }
    .xh-brand-icon { display: block !important; }
}


/* Header-Inner: stabiler Flex-Layout */
.xh-header-inner {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    min-height: 70px !important;
    padding: 0 20px !important;
}
.xh-main-nav { flex: 1; }

/* Header sticky mit Shadow (wie SSV) */
.xh-site-header {
    background: #fff;
    border-bottom: 1px solid #e4e8ec;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: box-shadow 0.18s;
}
.xh-site-header:hover,
.xh-site-header.is-stuck {
    box-shadow: 0 4px 16px rgba(11,29,51,0.06);
}

/* Suche/WC/Cart komplett raus (analog SSV) */
.xh-search-form, .xh-header-search, .header-search-form,
form[role="search"], .search-form, [class*="search-toggle"],
.cart-icon, .nav-cart-icon-only, .icon-shopping-cart,
.header-newsletter-item, .header-social-icons, .social-icons,
li[class*="cart"], .wishlist-icon, .account-icon, .icon-user {
    display: none !important;
}

/* =====================================================================
   XR HOMEPAGE v2 — Hintergrund-Pattern, Buttons zentriert, Lesbarkeit
   ===================================================================== */

/* Subtle Pattern-Background für die ganze Site */
body.xh-site-body {
    background-color: #f6f7f9;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(11,29,51,0.06) 1px, transparent 0),
        linear-gradient(135deg, rgba(0,133,128,0.025) 0%, rgba(255,255,255,0) 60%);
    background-size: 22px 22px, 100% 100%;
    background-attachment: fixed;
}

/* Subtle softer geometric pattern für Hero-Banner-Section */
.ux-banner[style*="0b1d33"],
.ux-banner[style*="background-color: rgb(11, 29, 51)"],
.ux-banner[style*="background-color:#0b1d33"],
section.section[style*="background-color: rgb(11, 29, 51)"],
.xh-hero-wrap {
    position: relative;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(0,133,128,0.18) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(0,200,180,0.12) 0%, transparent 50%),
        linear-gradient(135deg, #0b1d33 0%, #143657 100%) !important;
}
.ux-banner[style*="0b1d33"]::after,
.ux-banner[style*="background-color: rgb(11, 29, 51)"]::after,
section.section[style*="background-color: rgb(11, 29, 51)"]::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        repeating-linear-gradient(45deg, transparent 0, transparent 18px, rgba(255,255,255,0.018) 18px, rgba(255,255,255,0.018) 19px);
    z-index: 0;
}
/* (alte position:relative / text-align Overrides auf .text-box komplett entfernt —
   Flatsome's eigene absolute-Positionierung darf greifen, sonst rutscht der Hero-Title raus) */
.xh-hero-wrap + p,
.col-inner > a.button {
    display: inline-flex;
    margin-left: 6px;
    margin-right: 6px;
    vertical-align: middle;
}
/* (alte Flex-Column / margin-auto Regel entfernt — Flatsome's eigenes absolute-Positioning
   auf .text-box war kaputt gegangen) */

/* xh-utility-bar oben: prominenter machen, aber kompakt */
.xh-utility-bar {
    background: linear-gradient(90deg, #16212b 0%, #0b1d33 100%) !important;
    color: #fff !important;
    padding: 9px 0 !important;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    position: relative;
    overflow: hidden;
}
.xh-utility-bar::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(135deg, transparent 0, transparent 28px, rgba(255,255,255,0.03) 28px, rgba(255,255,255,0.03) 29px);
    pointer-events: none;
}
.xh-utility-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 14px !important;
    font-size: 0.88rem;
    position: relative;
    z-index: 1;
    max-width: 1180px;
    margin: 0 auto !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
    box-sizing: border-box;
}
.xh-utility-text strong { color: #ffd54a !important; }
.xh-utility-link {
    color: #fff !important;
    text-decoration: none;
    font-weight: 700;
    background: rgba(255,255,255,0.10);
    padding: 4px 12px;
    border-radius: 6px;
    transition: background .15s;
}
.xh-utility-link:hover {
    background: rgba(255,255,255,0.20) !important;
    color: #ffd54a !important;
}
.xh-utility-pulse {
    width: 8px;
    height: 8px;
    background: #2af598;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(42,245,152,0.7);
    animation: xh-pulse 2s infinite;
    display: inline-block;
}
@keyframes xh-pulse {
    0% { box-shadow: 0 0 0 0 rgba(42,245,152,0.7); }
    70% { box-shadow: 0 0 0 10px rgba(42,245,152,0); }
    100% { box-shadow: 0 0 0 0 rgba(42,245,152,0); }
}
@media (max-width: 720px) {
    .xh-utility-inner { flex-wrap: wrap; gap: 6px 12px; font-size: 0.78rem; padding-left: 16px !important; padding-right: 16px !important; }
    .xh-utility-link { padding: 3px 9px; }
}


/* =====================================================================
   XR HOMEPAGE EXTRAS — Timeline, Format-Vergleich, Targets, FAQ, Final-CTA
   ===================================================================== */

.xh-home-extras {
    background: linear-gradient(180deg, #fff 0%, #f6f7f9 100%);
    padding: 32px 0 64px;
}
.xh-home-extras .xh-section {
    margin-bottom: 56px;
}
.xh-home-extras .xh-section:last-child { margin-bottom: 0; }
.xh-home-extras .xh-section-kicker {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 800;
    color: #008580;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}
.xh-home-extras .xh-section-title {
    margin: 0 0 12px;
    font-size: clamp(1.4rem, 3vw, 2rem);
    color: #0b1d33;
    font-weight: 800;
}
.xh-home-extras .xh-section-lead {
    margin: 0 0 24px;
    color: #4a5867;
    font-size: 1.02rem;
    max-width: 700px;
    line-height: 1.6;
}

/* Timeline */
.xh-timeline {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    position: relative;
    padding-left: 36px;
}
.xh-timeline::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(180deg, #008580 0%, #c98a1a 60%, #c98a1a 100%);
    border-radius: 1px;
}
.xh-timeline-item {
    position: relative;
    padding: 14px 18px 14px 26px;
    background: #fff;
    border: 1px solid #e4e8ec;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(11,29,51,0.04);
    transition: transform .15s, box-shadow .15s;
}
.xh-timeline-item:hover { transform: translateX(4px); box-shadow: 0 6px 14px rgba(11,29,51,0.08); }
.xh-timeline-item::before {
    content: "";
    position: absolute;
    left: -28px;
    top: 18px;
    width: 12px;
    height: 12px;
    background: #fff;
    border: 3px solid #008580;
    border-radius: 50%;
    z-index: 1;
}
.xh-timeline-item.is-active::before {
    background: #008580;
    box-shadow: 0 0 0 4px rgba(0,133,128,0.18);
}
.xh-timeline-date {
    font-size: 0.78rem;
    font-weight: 800;
    color: #008580;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 4px;
}
.xh-timeline-item.is-active .xh-timeline-date { color: #c98a1a; }
.xh-timeline-body strong {
    display: block;
    font-size: 1.05rem;
    font-weight: 800;
    color: #0b1d33;
    margin-bottom: 4px;
}
.xh-timeline-body p {
    margin: 0;
    color: #4a5867;
    font-size: 0.94rem;
    line-height: 1.5;
}

/* Format-Vergleich Grid */
.xh-format-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.xh-format-card {
    background: #fff;
    border: 1px solid #e4e8ec;
    border-radius: 16px;
    padding: 26px;
    box-shadow: 0 6px 16px rgba(11,29,51,0.05);
    transition: transform .15s, box-shadow .15s;
    display: flex;
    flex-direction: column;
}
.xh-format-card:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(11,29,51,0.10); }
.xh-format-icon { font-size: 2.4rem; margin-bottom: 6px; }
.xh-format-card h3 {
    margin: 0 0 8px;
    font-size: 1.5rem;
    font-weight: 800;
    color: #0b1d33;
}
.xh-format-lead {
    color: #4a5867;
    font-size: 0.96rem;
    line-height: 1.55;
    margin: 0 0 14px;
}
.xh-format-points {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
    display: grid;
    gap: 8px;
    flex-grow: 1;
}
.xh-format-points li {
    padding: 8px 12px;
    background: #f7f9fb;
    border-radius: 6px;
    font-size: 0.9rem;
    color: #4a5867;
}
.xh-format-points li strong { color: #0b1d33; font-weight: 700; }
.xh-format-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    background: #008580;
    color: #fff !important;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none !important;
    transition: background .15s, transform .1s;
}
.xh-format-cta:hover { background: #0b1d33; transform: translateY(-1px); }
@media (max-width: 720px) { .xh-format-grid { grid-template-columns: 1fr; } }

/* Target-Cards */
.xh-target-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.xh-target-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e4e8ec;
    border-top: 4px solid #c98a1a;
    border-radius: 12px;
    padding: 22px 20px;
    text-decoration: none !important;
    color: inherit;
    transition: transform .15s, box-shadow .15s, border-color .15s;
}
.xh-target-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(11,29,51,0.10);
    border-top-color: #008580;
}
.xh-target-icon { font-size: 2rem; margin-bottom: 8px; }
.xh-target-card strong {
    display: block;
    font-size: 1.15rem;
    font-weight: 800;
    color: #0b1d33;
    margin-bottom: 6px;
}
.xh-target-card p {
    margin: 0 0 12px;
    color: #4a5867;
    font-size: 0.92rem;
    line-height: 1.5;
    flex-grow: 1;
}
.xh-target-link {
    display: inline-block;
    color: #008580;
    font-weight: 700;
    font-size: 0.9rem;
}
@media (max-width: 720px) { .xh-target-grid { grid-template-columns: 1fr; } }

/* FAQ */
.xh-faq-list {
    display: grid;
    gap: 10px;
    max-width: 880px;
}
.xh-faq-item {
    background: #fff;
    border: 1px solid #e4e8ec;
    border-radius: 12px;
    padding: 18px 22px;
    transition: box-shadow .15s, border-color .15s;
}
.xh-faq-item:hover { border-color: #008580; box-shadow: 0 4px 12px rgba(11,29,51,0.06); }
.xh-faq-item[open] { border-color: #008580; box-shadow: 0 4px 12px rgba(11,29,51,0.06); }
.xh-faq-item summary {
    list-style: none;
    cursor: pointer;
    font-weight: 800;
    color: #0b1d33;
    font-size: 1.05rem;
    position: relative;
    padding-right: 30px;
}
.xh-faq-item summary::-webkit-details-marker { display: none; }
.xh-faq-item summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #008580;
    font-size: 1.4rem;
    font-weight: 700;
    transition: transform .15s;
}
.xh-faq-item[open] summary::after {
    content: "−";
}
.xh-faq-item p {
    margin: 14px 0 0;
    color: #4a5867;
    font-size: 0.96rem;
    line-height: 1.6;
}
.xh-faq-item a { color: #008580; }

/* Final CTA */
.xh-cta-final {
    text-align: center;
    background: linear-gradient(135deg, #0b1d33 0%, #143657 100%);
    color: #fff;
    border-radius: 18px;
    padding: 38px 28px;
}
.xh-cta-final h2 { color: #fff !important; font-size: 1.8rem !important; }
.xh-cta-final > p { color: rgba(255,255,255,0.85); margin: 0 auto 24px; max-width: 540px; }
.xh-final-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    max-width: 900px;
    margin: 0 auto;
}
.xh-final-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 12px;
    padding: 22px 18px;
    text-decoration: none !important;
    color: #fff !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: background .15s, transform .15s, border-color .15s;
}
.xh-final-card:hover {
    background: rgba(255,255,255,0.14);
    border-color: rgba(255,255,255,0.30);
    transform: translateY(-2px);
}
.xh-final-card .xh-final-icon { font-size: 2rem; margin-bottom: 6px; }
.xh-final-card strong { display: block; font-size: 1.05rem; margin-bottom: 6px; }
.xh-final-card p { margin: 0; font-size: 0.85rem; color: rgba(255,255,255,0.75); }
@media (max-width: 720px) {
    .xh-final-row { grid-template-columns: 1fr; }
}

/* Mobile-Optimierung */
@media (hover: none) and (pointer: coarse) {
    .xh-target-card, .xh-format-card, .xh-final-card, .xh-faq-item summary {
        min-height: 44px;
    }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}


/* =====================================================================
   SINGLE-POST: Reading-Progress-Bar + Floating TOC (depotsieger-Stil)
   ===================================================================== */
.xh-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    width: 0%;
    background: linear-gradient(90deg, #008580, #0b1d33);
    z-index: 100000;
    box-shadow: 0 0 10px rgba(0,133,128,0.5);
    transition: width 0.08s linear;
}

.xh-article-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}
.xh-article-layout.has-toc {
    grid-template-columns: 240px 1fr;
}
.xh-article-side {
    position: relative;
}
.xh-toc-float {
    position: sticky;
    top: 96px;
    background: linear-gradient(135deg, #f0fdfa 0%, #f7f9fb 100%);
    border: 1px solid #c6e7e2;
    border-left: 4px solid #008580;
    border-radius: 12px;
    padding: 18px 20px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    font-size: 0.88rem;
    box-shadow: 0 4px 12px rgba(11,29,51,0.05);
}
.xh-toc-float-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 800;
    color: #0b1d33;
    cursor: pointer;
    user-select: none;
    margin-bottom: 12px;
    font-size: 0.94rem;
}
.xh-toc-float-toggle {
    background: none;
    border: none;
    font-size: 0.78rem;
    color: #4a5867;
    cursor: pointer;
    transition: transform 0.2s;
}
.xh-toc-float-list {
    margin: 0;
    padding-left: 20px;
    list-style: decimal;
}
.xh-toc-float-list li { margin: 4px 0; }
.xh-toc-float-list a {
    display: block;
    padding: 6px 10px;
    border-radius: 8px;
    color: #4a5867;
    font-weight: 500;
    text-decoration: none;
    line-height: 1.4;
    transition: background 0.15s, color 0.15s, transform 0.15s;
}
.xh-toc-float-list a:hover {
    color: #008580;
    background: rgba(0,133,128,0.08);
}
.xh-toc-float-list a.is-active {
    background: linear-gradient(135deg, rgba(0,133,128,0.14), rgba(11,29,51,0.10));
    color: #008580;
    font-weight: 700;
    transform: translateX(2px);
}
.xh-toc-float.closed .xh-toc-float-list { display: none; }
.xh-toc-float.closed .xh-toc-float-toggle { transform: rotate(-90deg); }

@media (max-width: 1024px) { /* TOC ab Tablet stapeln -> Text volle Breite (Thomas 2026-06-11) */
    .xh-article-layout.has-toc { grid-template-columns: 1fr; }
    .xh-toc-float { position: static; max-height: none; }
}

.xh-article-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 0.92rem;
    margin-top: 14px;
}

/* WooCommerce-Tooltips + Element-Errors WEG */
.tooltip, .tipsy, .wishlist-fragment,
.woocommerce .woocommerce-info, .woocommerce .woocommerce-message,
.woocommerce-store-notice, .cart-item-error, .element-error,
.nav-cart-popup, [class*="woocommerce-tooltip"], .wc-tooltip, .ux-tooltip {
    display: none !important;
}

/* =====================================================================
   XR PAGES MASS-CONTENT — Overview, Checklist, Glossar, Related, Final-CTA
   ===================================================================== */

.xh-overview-box {
    background: linear-gradient(135deg, #f0fdfa 0%, #f7f9fb 100%);
    border: 1px solid #c6e7e2;
    border-left: 4px solid #008580;
    border-radius: 12px;
    padding: 22px 24px;
    margin: 22px 0 28px;
    box-shadow: 0 4px 12px rgba(11,29,51,0.05);
}
.xh-overview-head { margin-bottom: 16px; }
.xh-overview-kicker {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    color: #008580;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
}
.xh-overview-head strong {
    display: block;
    font-size: 1.15rem;
    font-weight: 800;
    color: #0b1d33;
}
.xh-overview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.xh-overview-tile {
    background: #fff;
    border: 1px solid #c6e7e2;
    border-radius: 10px;
    padding: 14px 16px;
}
.xh-overview-date {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    color: #c98a1a;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 4px;
}
.xh-overview-tile strong {
    display: block;
    font-size: 0.98rem;
    font-weight: 800;
    color: #0b1d33;
    margin-bottom: 4px;
}
.xh-overview-tile p {
    margin: 0;
    font-size: 0.86rem;
    color: #4a5867;
    line-height: 1.45;
}
@media (max-width: 720px) { .xh-overview-grid { grid-template-columns: 1fr; } }

.xh-checklist {
    list-style: none;
    padding: 0;
    margin: 16px 0 28px;
    display: grid;
    gap: 10px;
}
.xh-checklist li {
    background: #fff;
    border: 1px solid #e4e8ec;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #0b1d33;
    transition: border-color .15s, box-shadow .15s;
}
.xh-checklist li:hover { border-color: #008580; box-shadow: 0 2px 8px rgba(0,133,128,0.08); }

.xh-glossary {
    display: grid;
    gap: 4px;
    border: 1px solid #e4e8ec;
    border-radius: 12px;
    overflow: hidden;
    margin: 18px 0 28px;
    background: #fff;
}
.xh-glossary-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    border-bottom: 1px solid #e4e8ec;
}
.xh-glossary-item:last-child { border-bottom: none; }
.xh-glossary-item dt {
    background: rgba(0,133,128,0.06);
    padding: 14px 18px;
    font-weight: 800;
    color: #0b1d33;
    border-right: 1px solid #e4e8ec;
}
.xh-glossary-item dd {
    padding: 14px 18px;
    margin: 0;
    color: #4a5867;
    font-size: 0.94rem;
    line-height: 1.55;
}
@media (max-width: 720px) {
    .xh-glossary-item { grid-template-columns: 1fr; }
    .xh-glossary-item dt { border-right: none; border-bottom: 1px solid #e4e8ec; }
}

.xh-related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 18px 0 28px;
}
.xh-related-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: #fff;
    border: 1px solid #e4e8ec;
    border-left: 3px solid #008580;
    border-radius: 10px;
    text-decoration: none !important;
    color: #0b1d33 !important;
    transition: transform .15s, box-shadow .15s, border-left-color .15s;
}
.xh-related-card:hover {
    transform: translateX(3px);
    box-shadow: 0 6px 16px rgba(11,29,51,0.08);
    border-left-color: #c98a1a;
}
.xh-related-card strong { font-size: 0.96rem; font-weight: 700; line-height: 1.4; }
.xh-related-arrow {
    color: #008580;
    font-size: 1.2rem;
    font-weight: 800;
    margin-left: 12px;
    flex-shrink: 0;
}
@media (max-width: 720px) { .xh-related-grid { grid-template-columns: 1fr; } }

/* TOC-Overlay für UX-Builder-Pages (floating right-side) */
.xh-toc-overlay-wrap {
    position: fixed;
    top: 96px;
    right: 18px;
    z-index: 89;
    width: 280px;
    max-height: calc(100vh - 120px);
    pointer-events: none;
}
.xh-toc-overlay {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    border: 1px solid #c6e7e2;
    border-left: 4px solid #008580;
    border-radius: 12px;
    padding: 16px 18px;
    box-shadow: 0 10px 30px rgba(11,29,51,0.12);
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    pointer-events: auto;
    font-size: 0.86rem;
}
.xh-toc-overlay .xh-toc-float-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 800;
    color: #0b1d33;
    cursor: pointer;
    user-select: none;
    margin-bottom: 10px;
    font-size: 0.92rem;
}
.xh-toc-overlay .xh-toc-float-toggle {
    background: none;
    border: none;
    color: #4a5867;
    cursor: pointer;
    font-size: 0.75rem;
    transition: transform 0.2s;
    padding: 2px 6px;
}
.xh-toc-overlay .xh-toc-float-list {
    margin: 0;
    padding-left: 20px;
    list-style: decimal;
}
.xh-toc-overlay .xh-toc-float-list li { margin: 3px 0; }
.xh-toc-overlay .xh-toc-float-list a {
    display: block;
    padding: 5px 8px;
    border-radius: 6px;
    color: #4a5867;
    text-decoration: none;
    line-height: 1.35;
    transition: background .15s, color .15s, transform .15s;
}
.xh-toc-overlay .xh-toc-float-list a:hover {
    color: #008580;
    background: rgba(0,133,128,0.08);
}
.xh-toc-overlay .xh-toc-float-list a.is-active {
    background: linear-gradient(135deg, rgba(0,133,128,0.14), rgba(11,29,51,0.10));
    color: #008580;
    font-weight: 700;
    transform: translateX(2px);
}
.xh-toc-overlay.closed .xh-toc-float-list { display: none; }
.xh-toc-overlay.closed .xh-toc-float-toggle { transform: rotate(-90deg); }
@media (max-width: 1280px) {
    .xh-toc-overlay-wrap { display: none; }
}

/* =====================================================================
   XR HEADER LOGO — größer + Body Background komplett (full-coverage)
   ===================================================================== */
.xh-brand-full {
    max-height: 72px !important;
    max-width: 340px !important;
    width: auto !important;
    height: auto !important;
}
.xh-brand-icon {
    width: 56px !important;
    height: 56px !important;
}
@media (max-width: 900px) {
    .xh-brand-full { display: none !important; }
    .xh-brand-icon { display: block !important; }
}
.xh-header-inner {
    min-height: 88px !important;
    gap: 20px !important;
}

/* Body Background: full-coverage, fixed attachment damit es überall reicht */
html, body.xh-site-body {
    background-color: #f6f7f9 !important;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(11,29,51,0.06) 1px, transparent 0),
        radial-gradient(at 92% 0%, rgba(0, 133, 128, 0.06) 0px, transparent 40%),
        radial-gradient(at 8% 100%, rgba(14, 165, 201, 0.04) 0px, transparent 35%) !important;
    background-size: 22px 22px, 100% 100%, 100% 100% !important;
    background-attachment: fixed !important;
    background-repeat: repeat, no-repeat, no-repeat !important;
    min-height: 100vh;
}
/* Damit kein Container den BG überdeckt */
.xh-page-main, .xh-home-main, main#main {
    background: transparent !important;
}
.xh-page-content, .xh-page-wrap, .xh-home-extras {
    background: transparent !important;
}


/* =====================================================================

   XR HERO — KOMPLETT NEU v3 (auf .text-box-content statt .text-box,
   da .text-box von Flatsome absolut positioniert ist und unsere
   custom-properties zu Konflikten führten)
   ===================================================================== */

/* Hero-Banner Container */
.banner.has-hover {
    position: relative !important;
    overflow: hidden !important;
}

/* BG: dunkler Mesh + Pattern auf der banner-bg Schicht */
.banner.has-hover .banner-bg {
    background:
        radial-gradient(circle at 20% 20%, rgba(14, 165, 201, 0.30) 0px, transparent 45%),
        radial-gradient(circle at 80% 25%, rgba(201, 138, 26, 0.18) 0px, transparent 50%),
        radial-gradient(circle at 50% 95%, rgba(0, 133, 128, 0.32) 0px, transparent 55%),
        linear-gradient(135deg, #06152a 0%, #0a1b30 50%, #0d2440 100%) !important;
    background-color: #06152a !important;
}

/* Hero-Text-Wrap: WHITE-Farben einfach via .text-inner Vererbung */
.banner.has-hover .text-inner,
.banner.has-hover .text-box-content,
.banner.has-hover .xh-hero-wrap {
    color: #ffffff;
}

.xh-hero-badge {
    display: inline-block;
    background: rgba(255, 213, 74, 0.18);
    color: #ffd54a !important;
    border: 1px solid rgba(255, 213, 74, 0.32);
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 0.86rem;
    font-weight: 700;
    margin-bottom: 18px;
    letter-spacing: 0.02em;
}
.xh-hero-title {
    color: #ffffff !important;
    font-size: clamp(2.6rem, 6.2vw, 4.2rem) !important;
    font-weight: 900 !important;
    line-height: 1.06 !important;
    margin: 0 0 20px !important;
    letter-spacing: -0.025em !important;
}
.xh-hero-title .xh-hl {
    background: linear-gradient(135deg, #2af598 0%, #4fd1cb 60%, #009efd 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.xh-hero-lead {
    color: rgba(255, 255, 255, 0.86) !important;
    font-size: clamp(1rem, 1.8vw, 1.16rem) !important;
    line-height: 1.65 !important;
    margin: 0 auto 24px !important;
    max-width: 640px !important;
}

/* Buttons im Hero */
.banner.has-hover .button.primary {
    background: #2af598 !important;
    color: #06152a !important;
    border-color: #2af598 !important;
    font-weight: 800 !important;
}
.banner.has-hover .button.primary:hover { background: #fff !important; }
.banner.has-hover .button.primary > span { color: #06152a !important; }
.banner.has-hover .button.secondary,
.banner.has-hover .button.is-outline {
    background: transparent !important;
    border: 2px solid rgba(255, 255, 255, 0.40) !important;
}
.banner.has-hover .button.secondary > span,
.banner.has-hover .button.is-outline > span { color: #fff !important; }

/* =====================================================================
   XR MOBILE BURGER + STICKY HEADER FIX v3
   ===================================================================== */
/* Burger-Button: auf Mobile sichtbar, auf Desktop versteckt */
@media (max-width: 900px) {
    .xh-nav-button {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 44px !important;
        height: 44px !important;
        border: 1.5px solid #c3c4c7 !important;
        border-radius: 10px !important;
        background: #fff !important;
        cursor: pointer !important;
        padding: 0 !important;
        margin-left: auto !important;
        order: 99 !important;
        flex-shrink: 0 !important;
        z-index: 10000 !important;
        position: relative !important;
    }
    .xh-brand { flex-shrink: 0 !important; }
    .xh-header-inner { flex-wrap: nowrap !important; gap: 12px !important; }
    /* Desktop nav hide menu when below 900px */
    .xh-header-right { display: none !important; }
}
@media (min-width: 901px) {
    .xh-nav-button { display: none !important; }
}

/* Sticky-Header — auf Mobile UND Desktop */
.xh-site-header {
    background: #ffffff !important;
    border-bottom: 1px solid #e4e8ec !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 9999 !important;
    transition: box-shadow 0.18s !important;
    width: 100% !important;
}
/* Wenn admin-bar sichtbar, sticky-Header darunter */
.admin-bar .xh-site-header { top: 32px !important; }
@media (max-width: 782px) {
    .admin-bar .xh-site-header { top: 46px !important; }
}

/* =====================================================================
   XR HERO — KORREKTUR: BG nur auf .banner-bg, NICHT auf .xh-hero-wrap
   ===================================================================== */
.xh-hero-wrap {
    background: transparent !important;
    background-image: none !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

/* Banner-BG: voll mesh-gradient mit pattern overlay (wiederherstellen) */
.banner.has-hover .banner-bg {
    background:
        radial-gradient(circle at 18% 22%, rgba(14, 165, 201, 0.32) 0px, transparent 42%),
        radial-gradient(circle at 82% 18%, rgba(201, 138, 26, 0.20) 0px, transparent 48%),
        radial-gradient(circle at 55% 95%, rgba(0, 133, 128, 0.35) 0px, transparent 52%),
        linear-gradient(135deg, #06152a 0%, #0a1b30 50%, #0d2440 100%) !important;
    background-color: #06152a !important;
    position: relative !important;
}
.banner.has-hover .banner-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: repeat;
}

/* =====================================================================
   XR BRAND/LOGO — FINAL OVERRIDE (depotsieger-style einfache Logik)
   ===================================================================== */

/* Header-Inner: stabiles Layout */
.xh-site-header .xh-header-inner,
.xh-header-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    min-height: 88px !important;
    padding: 8px 20px !important;
    flex-wrap: nowrap !important;
}

/* Brand-Link: immer sichtbar, kein min-width-Limit */
.xh-brand {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    text-decoration: none !important;
    flex: 0 0 auto !important;
    min-width: auto !important;
    overflow: visible !important;
}

/* Desktop: full-logo sichtbar, icon hidden */
.xh-brand-full {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: auto !important;
    height: auto !important;
    max-height: 80px !important;
    max-width: 360px !important;
    object-fit: contain !important;
}
.xh-brand-icon {
    display: none !important;
}

/* Mobile <900px: icon sichtbar, full hidden */
@media (max-width: 900px) {
    .xh-brand-full { display: none !important; }
    .xh-brand-icon {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 56px !important;
        height: 56px !important;
        max-height: 56px !important;
        max-width: 56px !important;
    }
    .xh-header-inner { min-height: 72px !important; padding: 6px 14px !important; }
}

/* Sticky-Header bleibt sticky + sichtbar */
.xh-site-header {
    background: #ffffff !important;
    border-bottom: 1px solid #e4e8ec !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 9999 !important;
    width: 100% !important;
    box-shadow: 0 2px 8px rgba(11,29,51,0.04);
}


/* Neues Logo (460x90 aspect): explizite max-Größe für klare Renderung */
.xh-brand-full {
    max-height: 64px !important;
    max-width: 360px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
}
/* xh-hero-wrap soll keine background haben */
.xh-hero-wrap {
    background: transparent !important;
    background-image: none !important;
    background-color: transparent !important;
}

/* Mobile Sticky-Header FORCE — auch bei admin-bar etc. */
@media (max-width: 900px) {
    .xh-site-header,
    body .xh-site-header,
    html body .xh-site-header {
        position: -webkit-sticky !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 9999 !important;
        background: #ffffff !important;
        width: 100% !important;
        border-bottom: 1px solid #e4e8ec !important;
        will-change: transform;
    }
    /* Utility-Bar above sticky-header darf scrollen weg */
    .xh-utility-bar { position: relative !important; }
    /* HTML/Body kein overflow:hidden was sticky blockieren würde */
    html, body { overflow-x: hidden; overflow-y: auto !important; }
}

/* =====================================================================
   FIX: Flatsome's [data-animate] setzt opacity:0 — JS triggered Animation
   nicht zuverlässig → forciere Sichtbarkeit. Animation darf ausfallen.
   ===================================================================== */
[data-animate],
[data-animate="fadeInUp"],
.banner [data-animate] {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
    animation: none !important;
    transition: none !important;
}

/* =====================================================================
   XR HERO BANNER — Höhe garantieren damit text-box komplett INSIDE bleibt
   ===================================================================== */
.banner.has-hover,
.banner.has-hover .banner-bg,
.banner.has-hover .banner-inner {
    min-height: 700px !important;
}
@media (max-width: 549px) {
    .banner.has-hover,
    .banner.has-hover .banner-bg,
    .banner.has-hover .banner-inner {
        min-height: 600px !important;
    }
}

/* Banner-Layers / Inner MÜSSEN den banner-Container füllen (absolute + fill) */
.banner.has-hover .banner-inner.fill,
.banner.has-hover .banner-inner {
    position: absolute !important;
    inset: 0 !important;
    height: 100% !important;
}
.banner.has-hover .banner-bg.fill,
.banner.has-hover .banner-bg {
    position: absolute !important;
    inset: 0 !important;
    height: 100% !important;
}
.banner.has-hover .banner-layers {
    position: relative !important;
    height: 100% !important;
    width: 100% !important;
    z-index: 2 !important;
}
/* Text-box: garantiert mittig im Banner */
.banner.has-hover .text-box.x50.y50,
.banner.has-hover .text-box {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    max-width: 800px !important;
    width: auto !important;
    z-index: 3 !important;
}

/* =====================================================================
   HEADER force sichtbar (irgendwas hat #header auf display:none gesetzt)
   ===================================================================== */
html body #header,
html body header#header,
html body .header,
html body .header-main,
html body .header-inner,
html body .header-wrapper {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
}
html body .header-inner,
html body .header-main {
    display: flex !important;
    min-height: 90px !important;
}

/* Hero-Buttons: nebeneinander statt untereinander */
.banner.has-hover .text-box-content,
.banner.has-hover .text-inner {
    text-align: center !important;
}
.banner.has-hover a.button.is-large,
.banner.has-hover a.button.primary,
.banner.has-hover a.button.secondary {
    display: inline-flex !important;
    margin: 8px 6px !important;
    vertical-align: middle !important;
}
/* Sicherstellen dass Buttons NICHT auf eigene Zeile gehen */
.banner.has-hover .text-inner a.button + a.button {
    margin-left: 6px !important;
}

/* =====================================================================
   XR REDESIGN 2026-05-28  —  Tom-Fixes
   1. Hover-Banner DEUTLICH kompakter (war 700px → jetzt depotsieger-Niveau)
   2. Text-Box folgt natürlichem Layout (kein 50/50-absolute mehr)
   3. Buttons nebeneinander (Flex-Row mit Wrap)
   4. Mobile-Burger-Menu funktionsfähig (Open-State JS-getoggelt)
   5. Submenüs auf Touch tap-to-open
   ===================================================================== */

/* --- BANNER: Höhe halbieren (war 700/600) ----------------------------- */
.banner.has-hover,
.banner.has-hover .banner-bg,
.banner.has-hover .banner-inner {
    min-height: 360px !important;
}
@media (max-width: 549px) {
    .banner.has-hover,
    .banner.has-hover .banner-bg,
    .banner.has-hover .banner-inner {
        min-height: 280px !important;
    }
}

/* UX-Builder schreibt inline padding-top: 340-560px pro Banner — global überschreiben */
.banner.has-hover[id^="banner-"] {
    padding-top: 64px !important;
    padding-bottom: 64px !important;
}
@media (max-width: 549px) {
    .banner.has-hover[id^="banner-"] {
        padding-top: 48px !important;
        padding-bottom: 48px !important;
    }
}

/* Text-Box folgt jetzt natürlichem Flow statt absolute-center */
.banner.has-hover .text-box.x50.y50,
.banner.has-hover .text-box {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    margin: 0 auto !important;
    max-width: 880px !important;
    width: 92% !important;
    padding: 0 !important;
}

/* Banner-Inner darf wieder relative sein (sonst überlappt text-box den BG) */
.banner.has-hover .banner-inner.fill,
.banner.has-hover .banner-inner {
    position: relative !important;
    inset: auto !important;
    height: auto !important;
    min-height: 360px !important;
}
@media (max-width: 549px) {
    .banner.has-hover .banner-inner.fill,
    .banner.has-hover .banner-inner { min-height: 280px !important; }
}

/* Banner-BG bleibt absolute hinter dem Content */
.banner.has-hover .banner-bg.fill,
.banner.has-hover .banner-bg {
    position: absolute !important;
    inset: 0 !important;
    height: 100% !important;
    z-index: 1 !important;
}
.banner.has-hover .banner-layers {
    position: relative !important;
    z-index: 2 !important;
    height: auto !important;
    width: 100% !important;
    padding: 24px 0 !important;
}

/* --- TEXT-BOX-CONTENT: nebeneinander, kompakt ------------------------- */
.banner.has-hover .text-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 14px !important;
    text-align: center !important;
}
.banner.has-hover .text-inner > a.button {
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 4px !important;
    vertical-align: middle !important;
}
/* Letzte 2-3 button-Elemente in einer Flex-Row gruppieren */
.banner.has-hover .text-inner > a.button + a.button {
    margin-left: 8px !important;
}

/* Hero-Wrap: weniger Vertikal-Padding, weniger Margin um die einzelnen Elemente */
.banner.has-hover .xh-hero-wrap {
    padding: 0 !important;
    margin: 0 !important;
}
.banner.has-hover .xh-hero-title {
    font-size: clamp(2.5rem, 5.8vw, 3.9rem) !important;
    font-weight: 900 !important;
    margin: 6px 0 14px !important;
    line-height: 1.07 !important;
    letter-spacing: -0.025em !important;
}
.banner.has-hover .xh-hero-lead {
    font-size: clamp(1rem, 1.9vw, 1.18rem) !important;
    margin: 0 auto 18px !important;
    max-width: 620px !important;
    line-height: 1.6 !important;
    text-align: left !important;
}
.banner.has-hover .xh-hero-badge {
    margin-bottom: 8px !important;
}

/* Overview-Box im Hero: kompakter (3-Tile-Grid bleibt nebeneinander) */
.banner.has-hover .xh-overview-box {
    margin: 14px 0 0 !important;
    padding: 16px 18px !important;
}
.banner.has-hover .xh-overview-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 10px !important;
}
@media (max-width: 720px) {
    .banner.has-hover .xh-overview-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 6px !important;
    }
    .banner.has-hover .xh-overview-tile {
        padding: 10px 8px !important;
    }
    .banner.has-hover .xh-overview-tile p { font-size: 0.78rem !important; }
}
@media (max-width: 480px) {
    .banner.has-hover .xh-overview-grid {
        grid-template-columns: 1fr !important;
    }
}

/* --- MOBILE MENU: Open-State Drawer ---------------------------------- */
@media (max-width: 980px) {
    .xh-main-nav {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        height: 100vh !important;
        width: min(82vw, 360px) !important;
        background: #ffffff !important;
        box-shadow: -10px 0 30px rgba(15, 26, 38, 0.18);
        transform: translateX(100%);
        transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 10001 !important;
        overflow-y: auto !important;
        padding: 78px 22px 32px !important;
        flex: 0 0 auto !important;
    }
    .xh-main-nav.is-open {
        transform: translateX(0);
    }
    .xh-main-nav .xh-nav-list {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 4px !important;
    }
    .xh-main-nav .xh-nav-list > li > a {
        font-size: 1.05rem !important;
        padding: 12px 14px !important;
        text-align: left !important;
        border-bottom: 1px solid var(--xh-line-soft, #e6ece9);
        border-radius: 0 !important;
        white-space: normal !important;
    }
    /* Submenüs auf Mobile inline-stacked, geschlossen by default */
    .xh-main-nav .xh-nav-list .sub-menu {
        position: static !important;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: none !important;
        max-height: 0;
        overflow: hidden;
        box-shadow: none !important;
        border: none !important;
        background: var(--xh-surface-2, #f6f8f7) !important;
        padding: 0 8px !important;
        margin: 0 !important;
        transition: max-height 0.25s ease, opacity 0.2s ease;
    }
    .xh-main-nav .xh-nav-list > li.xh-sub-open > .sub-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        max-height: 700px;
        padding: 6px 8px !important;
    }
    .xh-main-nav .xh-nav-list .sub-menu li a {
        padding: 9px 14px !important;
        font-size: 0.96rem !important;
    }
    /* Burger zu X animieren */
    .xh-nav-button .xh-burger {
        position: relative;
        display: inline-block;
        width: 22px;
        height: 2px;
        background: var(--xh-ink, #0f1a26);
        transition: background 0.1s ease;
    }
    .xh-nav-button .xh-burger::before,
    .xh-nav-button .xh-burger::after {
        content: "";
        position: absolute;
        left: 0;
        width: 22px;
        height: 2px;
        background: var(--xh-ink, #0f1a26);
        transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1), top 0.22s ease;
    }
    .xh-nav-button .xh-burger::before { top: -7px; }
    .xh-nav-button .xh-burger::after  { top:  7px; }
    .xh-nav-button.is-open .xh-burger { background: transparent; }
    .xh-nav-button.is-open .xh-burger::before { top: 0; transform: rotate(45deg); }
    .xh-nav-button.is-open .xh-burger::after  { top: 0; transform: rotate(-45deg); }

    .xh-nav-button { z-index: 10002 !important; }

    /* Body-Scroll-Lock bei offenem Drawer */
    body.xh-nav-locked { overflow: hidden !important; }
}

/* Desktop bleibt unverändert (xh-nav-list inline-flex) */
@media (min-width: 981px) {
    .xh-main-nav {
        position: static !important;
        transform: none !important;
        background: transparent !important;
        height: auto !important;
        width: auto !important;
        padding: 0 !important;
        flex: 1 !important;
        box-shadow: none !important;
    }
}

/* --- Cleanup: alte Flatsome-Header-Reste verstecken ------------------- */
.element-error,
li.header-divider,
.html_topbar_left,
.html_topbar_right,
.html_topbar_center { display: none !important; }

/* =====================================================================
   XR REDESIGN 2026-05-28 (Iteration 2) — Tom-Fixes Runde 2
   1. Hero-Buttons NEBENEINANDER (war flex column → jetzt block + inline buttons)
   2. News-Listing: Card-Grid analog SSV/depotsieger
   3. Post/Single Hero: kompakt + links-aligned (war wahrscheinlich center-aligned)
   ===================================================================== */

/* --- 1. HERO TEXT-INNER: Hero-Wrap oben, Buttons darunter NEBENEINANDER */
.banner.has-hover .text-inner {
    display: block !important;       /* NICHT mehr flex column */
    text-align: center !important;
    max-width: 880px !important;
    margin: 0 auto !important;
}
.banner.has-hover .text-inner > .xh-hero-wrap {
    display: block !important;
    margin-bottom: 18px !important;
}
.banner.has-hover .text-inner > a.button {
    display: inline-flex !important;
    align-items: center !important;
    margin: 6px 5px !important;
    vertical-align: middle !important;
}
/* Auf MOBILE bei sehr schmalen Schirmen: trotzdem nebeneinander mit kleinerer Padding */
@media (max-width: 480px) {
    .banner.has-hover .text-inner > a.button {
        font-size: 0.86rem !important;
        padding: 9px 16px !important;
        margin: 4px 3px !important;
    }
    .banner.has-hover .text-inner > a.button > span { padding: 0 !important; }
}

/* --- 2. POST/SINGLE-HERO: Kompakt, klar LINKS-aligned ----------------- */
.xh-article-hero {
    padding: 32px 0 28px !important;            /* kleiner als pages (vorher 42px) */
    border-top: 3px solid var(--xh-cyan) !important;
}
.xh-article-hero .xh-shell {
    max-width: 920px !important;
    text-align: left !important;
}
.xh-article-hero .xh-crumbs,
.xh-article-hero .xh-kicker,
.xh-article-hero .xh-page-title,
.xh-article-hero .xh-page-lead,
.xh-article-hero .xh-article-meta {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: auto !important;
}
.xh-article-hero .xh-page-title {
    font-size: clamp(1.5rem, 3vw, 2.1rem) !important;
    margin: 4px 0 8px !important;
    max-width: 760px !important;
}
.xh-article-hero .xh-article-meta {
    margin-top: 10px !important;
    font-size: 0.84rem !important;
    gap: 10px !important;
}
.xh-article-hero .xh-kicker { margin-bottom: 4px !important; }

/* Auch xh-page-hero bei /software/<broker>/ — Subseiten-Pattern */
.single .xh-article-hero {
    background: linear-gradient(180deg, #fbfdfc 0%, #ffffff 100%) !important;
}
/* /news/ Listing-Hero: nutzt jetzt die IDENTISCHE .banner.has-hover-Struktur wie alle
   anderen Seiten (siehe home.php) → erbt 1:1 die body:not(.home) .banner.has-hover-CSS.
   Keine eigenen Hero-Overrides mehr nötig. */

/* --- 3. NEWS-CARD-GRID (xh-posts-grid) — analog SSV ------------------ */
.xh-news-main .xh-page-content { padding: 36px 0 64px !important; }

.xh-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 28px 0;
}
.xh-post-card {
    background: #fff;
    border: 1px solid var(--xh-line);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
    box-shadow: 0 2px 8px rgba(11, 29, 51, 0.04);
}
.xh-post-card:hover {
    transform: translateY(-4px);
    border-color: var(--xh-teal);
    box-shadow: 0 14px 28px rgba(0, 133, 128, 0.12);
}
.xh-post-card-imglink {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, var(--xh-navy) 0%, var(--xh-teal-dark) 100%);
    position: relative;
}
.xh-post-card-imglink img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}
.xh-post-card:hover .xh-post-card-imglink img { transform: scale(1.04); }
.xh-post-card-noimg {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background:
        radial-gradient(circle at 80% 10%, rgba(14, 165, 201, 0.30) 0%, transparent 50%),
        linear-gradient(135deg, var(--xh-navy) 0%, var(--xh-teal-dark) 100%);
}
.xh-post-card-body {
    padding: 18px 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}
.xh-post-cat {
    display: inline-block;
    align-self: flex-start;
    background: rgba(0, 133, 128, 0.10);
    color: var(--xh-teal);
    font-weight: 800;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 10px;
    border-radius: 999px;
}
.xh-post-title {
    margin: 6px 0 0 !important;
    font-size: 1.12rem !important;
    line-height: 1.32 !important;
    font-weight: 800 !important;
    color: var(--xh-ink) !important;
}
.xh-post-title a {
    color: inherit !important;
    text-decoration: none;
    transition: color 0.15s;
}
.xh-post-title a:hover { color: var(--xh-teal) !important; }
.xh-post-excerpt {
    margin: 0 !important;
    color: var(--xh-text);
    font-size: 0.93rem;
    line-height: 1.55;
    flex: 1;
}
.xh-post-meta {
    color: var(--xh-muted);
    font-size: 0.82rem;
    padding-top: 8px;
    border-top: 1px solid var(--xh-line-soft);
    margin-top: 4px;
    font-variant-numeric: tabular-nums;
}

/* Pagination */
.xh-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 36px 0 8px;
    flex-wrap: wrap;
}
.xh-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    background: #fff;
    border: 1px solid var(--xh-line);
    border-radius: 8px;
    color: var(--xh-ink);
    text-decoration: none;
    font-weight: 700;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.xh-pagination .page-numbers:hover {
    background: var(--xh-teal);
    border-color: var(--xh-teal);
    color: #fff;
}
.xh-pagination .page-numbers.current {
    background: var(--xh-teal);
    border-color: var(--xh-teal);
    color: #fff;
}
.xh-empty-state {
    text-align: center;
    padding: 40px;
    color: var(--xh-muted);
}

@media (max-width: 900px) {
    .xh-posts-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}
@media (max-width: 600px) {
    .xh-posts-grid { grid-template-columns: 1fr; gap: 16px; }
    .xh-post-card-imglink { aspect-ratio: 16 / 9; }
}

/* =====================================================================
   XR REDESIGN 2026-05-28 (Iteration 3) — Container-Fix für orphan content
   PROBLEM: H2 + FAQ + Glossar + Checkliste + Related-Grid + CTA-Final
   werden bei UX-Builder-Pages als direkte Kinder von <main> gerendert,
   außerhalb jeder [section]/[row]/[col] — laufen edge-to-edge.
   FIX: Direkte Kinder von .xh-page-main die KEINE .section sind bekommen
   max-width + auto-margin + horizontal Padding (depotsieger-Pattern).
   ===================================================================== */

.xh-page-main > h2,
.xh-page-main > h3,
.xh-page-main > h4,
.xh-page-main > p,
.xh-page-main > ul,
.xh-page-main > ol,
.xh-page-main > div:not(.section):not(.banner):not(.row):not(.ux-banner):not(.banner-bg):not(.banner-inner):not(.text-box) {
    max-width: 1080px;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
}

/* H2-Sektionsüberschriften in orphan content — sauberer Spacing */
.xh-page-main > h2 {
    font-family: var(--font);
    font-size: clamp(1.4rem, 2.6vw, 1.85rem) !important;
    font-weight: 800 !important;
    color: var(--xh-ink) !important;
    margin-top: 56px !important;
    margin-bottom: 12px !important;
    letter-spacing: -0.018em !important;
    scroll-margin-top: 100px;
}
.xh-page-main > h3 {
    font-size: 1.2rem !important;
    margin-top: 28px !important;
    margin-bottom: 8px !important;
    color: var(--xh-ink) !important;
}
.xh-page-main > p {
    font-family: var(--font);
    font-size: 1rem !important;
    line-height: 1.72 !important;
    color: var(--xh-text) !important;
    margin-bottom: 14px !important;
}

/* xh-cta-final spezial: braucht KEIN doppelter padding-x, hat sein eigenes */
.xh-page-main > .xh-cta-final {
    padding-left: 28px !important;
    padding-right: 28px !important;
    padding-top: 38px !important;
    padding-bottom: 38px !important;
    margin-top: 48px !important;
    margin-bottom: 48px !important;
}

/* xh-faq-list: braucht keinen extra padding-x weil items haben eigenen */
.xh-page-main > .xh-faq-list {
    padding-left: 24px !important;
    padding-right: 24px !important;
    margin-top: 18px !important;
    margin-bottom: 18px !important;
}

/* Andere block-elements brauchen lesbares Spacing */
.xh-page-main > .xh-glossary,
.xh-page-main > .xh-related-grid,
.xh-page-main > .xh-checklist,
.xh-page-main > .xh-compare,
.xh-page-main > .xh-callout {
    margin-top: 18px !important;
    margin-bottom: 26px !important;
}

/* Mobile: weniger Padding */
@media (max-width: 600px) {
    .xh-page-main > h2,
    .xh-page-main > h3,
    .xh-page-main > p,
    .xh-page-main > .xh-faq-list,
    .xh-page-main > .xh-glossary,
    .xh-page-main > .xh-related-grid,
    .xh-page-main > .xh-checklist,
    .xh-page-main > .xh-cta-final {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}

/* FAQ-Item bei orphan-Anwendung: lesbarer */
.xh-faq-item summary {
    line-height: 1.4 !important;
}
.xh-faq-list { max-width: 880px !important; }
.xh-glossary {
    max-width: 1080px !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
}
.xh-glossary-item {
    background: var(--xh-surface) !important;
    border: 1px solid var(--xh-line) !important;
    border-radius: 10px !important;
    padding: 14px 16px !important;
}
.xh-glossary-item dt {
    font-weight: 800 !important;
    color: var(--xh-teal) !important;
    margin-bottom: 4px !important;
    font-size: 0.96rem !important;
}
.xh-glossary-item dd {
    margin: 0 !important;
    color: var(--xh-text) !important;
    font-size: 0.92rem !important;
    line-height: 1.55 !important;
}
@media (max-width: 720px) {
    .xh-glossary { grid-template-columns: 1fr !important; }
}

/* xh-related-grid: 2-Spalter, schön Container */
.xh-related-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    max-width: 1080px !important;
}
@media (max-width: 720px) {
    .xh-related-grid { grid-template-columns: 1fr !important; }
}

/* TOC-Overlay vollständig entfernen falls von altem Code übrig */
.xh-page-main .xh-toc-overlay-wrap,
.xh-page-main .xh-toc-overlay,
.xh-page-main #xh-progress,
.xh-page-main > #xh-progress { display: none !important; }

/* =====================================================================
   XR SCHNELLVERGLEICH — depotsieger-Card-Style (Iteration 4)
   Container .xh-quickrec bleibt (Tom-Wunsch); innere Cards bekommen
   den dt-broker-card-Look: weisse Cards, Testsieger-Ribbon, Highlight-
   Box mit border-left, prominenter Gradient-CTA-Button.
   ===================================================================== */

.xh-quickrec {
    background: linear-gradient(180deg, #ffffff 0%, #fbfdfc 100%) !important;
    border: 1px solid var(--xh-line) !important;
    border-radius: 18px !important;
    padding: 38px 30px 32px !important;
    box-shadow: 0 4px 20px rgba(11, 29, 51, 0.05) !important;
    margin: 28px 0 !important;
}

.xh-quickrec-head {
    text-align: center !important;
    margin-bottom: 4px !important;
}
.xh-quickrec-kicker {
    background: var(--xh-teal) !important;
    color: #fff !important;
    display: inline-block !important;
    padding: 5px 14px !important;
    border-radius: 999px !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
}
.xh-quickrec h2 {
    font-size: clamp(1.45rem, 2.5vw, 1.9rem) !important;
    margin: 14px 0 6px !important;
    color: var(--xh-ink) !important;
    font-weight: 800 !important;
    letter-spacing: -0.015em !important;
}
.xh-quickrec-head p {
    color: var(--xh-muted) !important;
    margin: 0 !important;
    font-size: 0.96rem !important;
    line-height: 1.6 !important;
}

.xh-quickrec-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
    margin-top: 32px !important;
}

/* Cards: depotsieger-Look */
.xh-quickrec-card {
    background: #ffffff !important;
    border: 1px solid var(--xh-line) !important;
    border-radius: 14px !important;
    box-shadow: 0 1px 3px rgba(11, 29, 51, 0.04), 0 6px 18px rgba(11, 29, 51, 0.06) !important;
    padding: 28px 22px 22px !important;
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease !important;
    text-align: left !important;
}
.xh-quickrec-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 4px 12px rgba(11, 29, 51, 0.06), 0 18px 36px rgba(11, 29, 51, 0.14) !important;
    border-color: var(--xh-teal) !important;
}

/* Featured Card (#1 = Testsieger) */
.xh-quickrec-card--gold {
    background: linear-gradient(180deg, #ffffff 0%, #f1f9f7 100%) !important;
    border: 2px solid var(--xh-teal) !important;
    box-shadow: 0 4px 12px rgba(0, 133, 128, 0.08), 0 16px 36px rgba(0, 133, 128, 0.18) !important;
}
.xh-quickrec-card--gold::before {
    content: "★ EMPFEHLUNG" !important;
    position: absolute !important;
    top: -14px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    background: linear-gradient(135deg, var(--xh-teal), var(--xh-teal-2)) !important;
    color: #fff !important;
    font-size: 0.7rem !important;
    font-weight: 800 !important;
    padding: 5px 16px !important;
    border-radius: 14px !important;
    letter-spacing: 0.08em !important;
    box-shadow: 0 4px 12px rgba(0, 133, 128, 0.40) !important;
    white-space: nowrap !important;
    z-index: 2 !important;
}

/* Rank-Badge: kompakt oben-rechts (statt round-on-top) */
.xh-quickrec-rank {
    position: absolute !important;
    top: 18px !important;
    right: 18px !important;
    left: auto !important;
    transform: none !important;
    background: var(--xh-surface-2) !important;
    color: var(--xh-muted) !important;
    width: 28px !important;
    height: 28px !important;
    line-height: 28px !important;
    border-radius: 50% !important;
    font-size: 0.82rem !important;
    font-weight: 800 !important;
    text-align: center !important;
    box-shadow: none !important;
    font-family: var(--font-num, var(--font)) !important;
}
.xh-quickrec-card--gold .xh-quickrec-rank {
    background: var(--xh-teal) !important;
    color: #fff !important;
    box-shadow: 0 2px 6px rgba(0, 133, 128, 0.30) !important;
}

/* Name als grosse h3-Überschrift */
.xh-quickrec-name {
    font-family: var(--font) !important;
    font-size: 1.4rem !important;
    font-weight: 800 !important;
    color: var(--xh-ink) !important;
    line-height: 1.15 !important;
    letter-spacing: -0.01em !important;
    margin: 10px 0 14px !important;
    padding-right: 40px !important;     /* macht Platz für Rank-Badge */
    text-align: left !important;
}

/* Pros als Highlight-Box mit Teal border-left (analog dt-card-highlight) */
.xh-quickrec-pros {
    font-family: var(--font) !important;
    font-size: 0.88rem !important;
    line-height: 1.55 !important;
    color: var(--xh-teal-dark) !important;
    font-weight: 600 !important;
    background: rgba(0, 133, 128, 0.07) !important;
    border-left: 3px solid var(--xh-teal) !important;
    padding: 10px 14px !important;
    border-radius: 0 8px 8px 0 !important;
    margin: 0 0 20px !important;
    min-height: auto !important;
    flex: 1 !important;
    text-align: left !important;
}

/* CTA-Button: prominent Gradient, full-width am Card-Boden */
.xh-quickrec-card .xh-aff-btn--card {
    background: linear-gradient(135deg, var(--xh-teal), var(--xh-teal-2)) !important;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(0, 133, 128, 0.30) !important;
    width: 100% !important;
    justify-content: center !important;
    margin-top: auto !important;
    border-radius: 10px !important;
    padding: 13px 18px !important;
    font-size: 0.93rem !important;
    font-weight: 700 !important;
}
.xh-quickrec-card .xh-aff-btn--card:hover {
    box-shadow: 0 8px 22px rgba(0, 133, 128, 0.45) !important;
    transform: translateY(-1px) !important;
}
/* Testsieger-Card bekommt Amber-Button (Akzent-Kontrast) */
.xh-quickrec-card--gold .xh-aff-btn--card {
    background: linear-gradient(135deg, var(--xh-amber), #e6a035) !important;
    box-shadow: 0 4px 14px rgba(201, 138, 26, 0.34) !important;
}
.xh-quickrec-card--gold .xh-aff-btn--card:hover {
    box-shadow: 0 8px 22px rgba(201, 138, 26, 0.48) !important;
}

/* Affiliate-Hinweis */
.xh-quickrec-aff {
    text-align: center !important;
    font-size: 0.76rem !important;
    color: var(--xh-muted) !important;
    margin: 22px 0 0 !important;
}

/* Mobile: 1-Spalter mit grossem Gap (Ribbon braucht Luft) */
@media (max-width: 900px) {
    .xh-quickrec-grid { grid-template-columns: 1fr !important; gap: 28px !important; }
    .xh-quickrec { padding: 30px 18px 24px !important; }
    .xh-quickrec-card { padding: 24px 18px 20px !important; }
    .xh-quickrec-name { font-size: 1.3rem !important; }
}

/* =====================================================================
   XR REDESIGN 2026-05-28 (Iteration 5)
   1. .xh-overview-box ÜBERALL weg (3-Tile-Grid im Hero)
   2. Home-Banner bleibt zentriert (groß)
   3. Alle anderen Pages: Banner KOMPAKTER + Content LINKS-aligned
      (analog depotsieger dt-review-header Pattern)
   ===================================================================== */

/* 1. Overview-Box global verstecken */
.xh-overview-box,
.xh-overview-grid,
.xh-overview-head,
.xh-overview-tile {
    display: none !important;
}

/* 2./3. Non-Home Pages: Banner kleiner + links-aligned --------------- */
body:not(.home) .banner.has-hover,
body:not(.home) .banner.has-hover .banner-bg,
body:not(.home) .banner.has-hover .banner-inner {
    min-height: 240px !important;
}
@media (max-width: 549px) {
    body:not(.home) .banner.has-hover,
    body:not(.home) .banner.has-hover .banner-bg,
    body:not(.home) .banner.has-hover .banner-inner {
        min-height: 200px !important;
    }
}

/* Banner-Padding kleiner als Home (Home behält 64/48px) */
body:not(.home) .banner.has-hover[id^="banner-"] {
    padding-top: 40px !important;
    padding-bottom: 36px !important;
}
@media (max-width: 549px) {
    body:not(.home) .banner.has-hover[id^="banner-"] {
        padding-top: 30px !important;
        padding-bottom: 26px !important;
    }
}

/* Text-Box: text-align LEFT, voll-breite des Containers */
body:not(.home) .banner.has-hover .text-box,
body:not(.home) .banner.has-hover .text-box.x50.y50 {
    text-align: left !important;
    max-width: 1080px !important;
    width: 96% !important;
    margin: 0 auto !important;
}

/* text-inner: nicht mehr flex column; klassischer Block-Flow links */
body:not(.home) .banner.has-hover .text-inner {
    display: block !important;
    text-align: left !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}
body:not(.home) .banner.has-hover .text-inner.text-center {
    text-align: left !important;        /* überschreibe Flatsome's text-center */
}

/* Alle direkten Kinder + Hero-Wrap-Inhalte links-aligned */
body:not(.home) .banner.has-hover .xh-hero-wrap,
body:not(.home) .banner.has-hover .xh-hero-wrap *,
body:not(.home) .banner.has-hover .xh-hero-title,
body:not(.home) .banner.has-hover .xh-hero-lead,
body:not(.home) .banner.has-hover .xh-hero-badge,
body:not(.home) .banner.has-hover .xh-hero-crumbs {
    text-align: left !important;
    margin-left: 0 !important;
}

/* Crumbs: kompakt am Anfang, klar links */
body:not(.home) .banner.has-hover .xh-hero-crumbs {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 6px !important;
    margin: 0 0 12px !important;
    padding-left: 0 !important;
    font-size: 0.84rem !important;
    text-align: left !important;
}
body:not(.home) .banner.has-hover .xh-hero-crumbs > * {
    text-align: left !important;
    margin-left: 0 !important;
}

/* Hero-Badge: nicht mehr zentriert, sitzt links */
body:not(.home) .banner.has-hover .xh-hero-badge {
    margin-bottom: 12px !important;
    margin-right: 0 !important;
    display: inline-flex !important;
}

/* Hero-Title: kleiner als Home, max-width für lesbare Zeilen */
body:not(.home) .banner.has-hover .xh-hero-title {
    font-size: clamp(1.5rem, 3.4vw, 2.3rem) !important;
    margin: 4px 0 10px !important;
    line-height: 1.15 !important;
    max-width: 820px !important;
    letter-spacing: -0.018em !important;
}

/* Hero-Lead: kleiner, max-width */
body:not(.home) .banner.has-hover .xh-hero-lead {
    font-size: clamp(0.92rem, 1.6vw, 1.04rem) !important;
    margin: 0 0 14px !important;
    line-height: 1.6 !important;
    max-width: 680px !important;
}

/* Buttons: bleiben kompakt aber jetzt links sitzend */
body:not(.home) .banner.has-hover .text-inner > a.button {
    margin: 8px 8px 0 0 !important;
}

/* Banner-Layers padding angleichen (kein extra vertical) */
body:not(.home) .banner.has-hover .banner-layers {
    padding: 8px 0 !important;
}

/* =====================================================================
   XR REDESIGN 2026-05-28 (Iteration 6)
   1. Trust-Bar auf Mobile komplett ausblenden (cleaner)
   2. Burger-Drawer Stacking-Fix (Header z-index hochziehen bei is-open)
   3. Body::before overlay ist bereits entfernt — Drawer jetzt clean sichtbar
   ===================================================================== */

/* 1. Trust-Bar nur auf Desktop sichtbar (≥720px). Mobile = clean */
@media (max-width: 720px) {
    .xh-trust-bar { display: none !important; }
}

/* 2. Bei offenem Drawer Header über alles ziehen (Stacking-Fix) */
body.xh-nav-locked .xh-site-header {
    z-index: 10010 !important;
}
/* Damit das Drawer nicht unter sticky-Header verschwindet */
body.xh-nav-locked .xh-main-nav {
    z-index: 10011 !important;
}
body.xh-nav-locked .xh-nav-button {
    z-index: 10012 !important;
}

/* =====================================================================
   XR REDESIGN 2026-05-28 (Iteration 7)
   1. Breadcrumb (xh-hero-crumbs) explizit links auf non-home banner
      (war oben gefixt — hier nur Polish)
   2. Related-Card "Diese Themen könnten dich interessieren" upgraden
      auf news-card-Niveau: prominenter Hover, schöne Kicker-Pill,
      klar gegliederte Karten analog dt-hub-card / xh-post-card
   ===================================================================== */

/* Related-Card: schöneres Bild, mehr Tiefe */
.xh-related-card {
    background: linear-gradient(180deg, #ffffff 0%, #fbfdfc 100%) !important;
    border: 1px solid var(--xh-line) !important;
    border-radius: 16px !important;
    box-shadow: 0 1px 2px rgba(17, 28, 39, 0.04), 0 6px 22px rgba(17, 28, 39, 0.06) !important;
    color: var(--xh-text) !important;
    display: flex !important;
    flex-direction: column !important;
    font-family: var(--font) !important;
    height: 100% !important;
    overflow: hidden !important;
    padding: 26px 24px 22px !important;
    position: relative !important;
    text-decoration: none !important;
    transition: box-shadow 0.22s, transform 0.22s, border-color 0.22s !important;
}
.xh-related-card::before {
    background: linear-gradient(180deg, var(--xh-teal), var(--xh-teal-2)) !important;
    content: "" !important;
    inset: 0 auto 0 0 !important;
    position: absolute !important;
    transition: width 0.22s ease !important;
    width: 4px !important;
}
.xh-related-card:hover {
    border-color: var(--xh-teal) !important;
    box-shadow: 0 4px 12px rgba(0, 133, 128, 0.08), 0 16px 36px rgba(0, 133, 128, 0.16) !important;
    color: var(--xh-text) !important;
    transform: translateY(-5px) !important;
}
.xh-related-card:hover::before { width: 6px !important; }

/* Kicker als Pill statt nur Caps-Text */
.xh-related-kicker {
    align-self: flex-start !important;
    background: rgba(0, 133, 128, 0.10) !important;
    border-radius: 999px !important;
    color: var(--xh-teal) !important;
    display: inline-block !important;
    font-size: 0.7rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.08em !important;
    margin-bottom: 14px !important;
    padding: 4px 12px !important;
    text-transform: uppercase !important;
}

/* Titel grösser, bolder */
.xh-related-card h3 {
    color: var(--xh-ink) !important;
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.015em !important;
    line-height: 1.3 !important;
    margin: 0 0 10px !important;
}

/* Description */
.xh-related-card p {
    color: var(--xh-muted) !important;
    font-size: 0.93rem !important;
    line-height: 1.6 !important;
    margin: 0 0 18px !important;
    flex: 1 !important;
}

/* Arrow-CTA jetzt prominent unten */
.xh-related-arrow {
    align-items: center !important;
    color: var(--xh-teal) !important;
    display: inline-flex !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    gap: 6px !important;
    margin-top: auto !important;
    transition: gap 0.2s ease, color 0.2s ease !important;
}
.xh-related-card:hover .xh-related-arrow {
    gap: 11px !important;
    color: var(--xh-teal-dark) !important;
}

/* Pattern B (orphan-Grid mit nur <strong>+<arrow>): kompakt-Variante */
.xh-related-grid .xh-related-card {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 18px 22px 18px 26px !important;
    gap: 14px !important;
}
.xh-related-grid .xh-related-card strong {
    color: var(--xh-ink) !important;
    font-size: 1rem !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
    flex: 1 !important;
}
.xh-related-grid .xh-related-card .xh-related-arrow {
    margin-top: 0 !important;
    flex-shrink: 0 !important;
    font-size: 1.2rem !important;
}

/* Mobile: Padding etwas reduziert */
@media (max-width: 600px) {
    .xh-related-card {
        padding: 22px 18px 18px !important;
        border-radius: 12px !important;
    }
    .xh-related-grid .xh-related-card { padding: 16px 18px 16px 22px !important; }
}

/* =====================================================================
   XR REDESIGN 2026-05-28 (Iteration 8) — Banner-BG-Fix
   PROBLEM: banner-bg deckt nicht den kompletten .banner.has-hover ab,
   weil banner-inner als position:relative-Container der bg-Positionierung
   limitiert (BG nur in banner-inner-Box → padding-Area bleibt unkoloriert).
   FIX: BG-Gradient direkt auf .banner.has-hover legen + banner-bg
   transparent machen damit es als zusätzlicher Pattern-Overlay dient.
   ===================================================================== */

.banner.has-hover {
    position: relative !important;
    overflow: hidden !important;
    /* Gradient + Pattern + Solid-BG direkt auf den Banner */
    background:
        radial-gradient(circle at 18% 22%, rgba(14, 165, 201, 0.32) 0px, transparent 42%),
        radial-gradient(circle at 82% 18%, rgba(201, 138, 26, 0.20) 0px, transparent 48%),
        radial-gradient(circle at 55% 95%, rgba(0, 133, 128, 0.35) 0px, transparent 52%),
        linear-gradient(135deg, #06152a 0%, #0a1b30 50%, #0d2440 100%) !important;
    background-color: #06152a !important;
}

/* Subtle Pattern-Overlay direkt auf banner (deckt vollständig ab) */
.banner.has-hover::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: repeat;
}

/* banner-bg jetzt transparent (Pattern bleibt nur als Overlay falls genutzt) */
.banner.has-hover .banner-bg,
.banner.has-hover .banner-bg.fill {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
}
.banner.has-hover .banner-bg::after {
    display: none !important;
}

/* Per-Banner Inline-BG-Color (UX Builder schreibt #banner-XXX { background-color: ... })
   bleibt sichtbar weil wir nur banner-bg leeren, nicht banner.has-hover selbst */

/* Banner-Inner soll keinen Positioning-Context machen → BG bleibt komplett */
.banner.has-hover .banner-inner.fill,
.banner.has-hover .banner-inner {
    position: relative !important;       /* relativ damit Inhalt richtig fließt */
    z-index: 1 !important;
    background: transparent !important;
    inset: auto !important;
}

/* Banner-Layers über BG + Pattern */
.banner.has-hover .banner-layers {
    position: relative !important;
    z-index: 2 !important;
}

/* Banner-Link (das transparente Fill-Link-Overlay) hinter Content lassen */
.banner.has-hover .banner-link {
    z-index: 1 !important;
}

/* =====================================================================
   XR REDESIGN 2026-05-28 (Iteration 9) — Mobile-Banner-Audit-Fix
   Alle .banner.has-hover auf Mobile (≤549px) clean und kompakt.
   Goal: Banner-Höhe = Content-Höhe + minimal Padding. Keine leeren
   Bereiche, keine zu großen Schriften, Buttons sauber gewrappt.
   ===================================================================== */

@media (max-width: 549px) {

    /* === HOME-Banner (zentriert) auf Mobile === */
    body.home .banner.has-hover,
    body.home .banner.has-hover .banner-bg,
    body.home .banner.has-hover .banner-inner {
        min-height: 0 !important;
    }
    body.home .banner.has-hover[id^="banner-"] {
        padding-top: 36px !important;
        padding-bottom: 36px !important;
    }
    body.home .banner.has-hover .text-box,
    body.home .banner.has-hover .text-box.x50.y50 {
        width: 94% !important;
        max-width: 100% !important;
        padding: 0 !important;
    }
    body.home .banner.has-hover .xh-hero-badge {
        font-size: 0.68rem !important;
        padding: 4px 11px !important;
        margin-bottom: 10px !important;
        letter-spacing: 0.06em !important;
    }
    body.home .banner.has-hover .xh-hero-title {
        font-size: clamp(2rem, 8.5vw, 2.7rem) !important;
        line-height: 1.1 !important;
        margin: 4px 0 12px !important;
        letter-spacing: -0.02em !important;
    }
    body.home .banner.has-hover .xh-hero-lead {
        font-size: 0.96rem !important;
        line-height: 1.58 !important;
        margin: 0 0 14px !important;
        text-align: left !important;
    }
    body.home .banner.has-hover .text-inner > a.button {
        font-size: 0.86rem !important;
        padding: 10px 16px !important;
        margin: 4px 4px !important;
    }

    /* === NON-HOME Page-Banner (links-aligned) auf Mobile === */
    body:not(.home) .banner.has-hover,
    body:not(.home) .banner.has-hover .banner-bg,
    body:not(.home) .banner.has-hover .banner-inner {
        min-height: 0 !important;
    }
    body:not(.home) .banner.has-hover[id^="banner-"] {
        padding-top: 24px !important;
        padding-bottom: 24px !important;
    }
    body:not(.home) .banner.has-hover .text-box,
    body:not(.home) .banner.has-hover .text-box.x50.y50 {
        width: calc(100% - 28px) !important;
        max-width: 100% !important;
        margin: 0 14px !important;
        padding: 0 !important;
    }
    body:not(.home) .banner.has-hover .xh-hero-crumbs {
        font-size: 0.74rem !important;
        gap: 4px !important;
        margin: 0 0 8px !important;
    }
    body:not(.home) .banner.has-hover .xh-hero-badge {
        font-size: 0.66rem !important;
        padding: 3px 10px !important;
        margin-bottom: 8px !important;
        letter-spacing: 0.05em !important;
    }
    body:not(.home) .banner.has-hover .xh-hero-title {
        font-size: clamp(1.3rem, 5.4vw, 1.7rem) !important;
        margin: 2px 0 8px !important;
        line-height: 1.18 !important;
        letter-spacing: -0.018em !important;
        max-width: 100% !important;
    }
    body:not(.home) .banner.has-hover .xh-hero-lead {
        font-size: 0.88rem !important;
        line-height: 1.52 !important;
        margin: 0 0 4px !important;
        max-width: 100% !important;
    }

    /* === Banner-Layers padding sauber für alle Pages === */
    .banner.has-hover .banner-layers {
        padding: 0 !important;
    }
}

/* Tablet 550-768px: dazwischen-Werte */
@media (min-width: 550px) and (max-width: 768px) {
    body.home .banner.has-hover[id^="banner-"] {
        padding-top: 48px !important;
        padding-bottom: 48px !important;
    }
    body.home .banner.has-hover,
    body.home .banner.has-hover .banner-bg,
    body.home .banner.has-hover .banner-inner {
        min-height: 0 !important;
    }
    body:not(.home) .banner.has-hover[id^="banner-"] {
        padding-top: 32px !important;
        padding-bottom: 30px !important;
    }
    body:not(.home) .banner.has-hover,
    body:not(.home) .banner.has-hover .banner-bg,
    body:not(.home) .banner.has-hover .banner-inner {
        min-height: 0 !important;
    }
}

/* =====================================================================
   XR REDESIGN 2026-05-28 (Iteration 10) — News-Posts Mobile-Polish
   single.php → xh-article-main-wrap mit Hero + Layout + TOC + Content
   Mobile-Ziele: kompakter Hero, kollabierter TOC, sauberes Content-
   Padding, lesbare Typografie, Tables scrollen statt overflow.
   ===================================================================== */

@media (max-width: 900px) {
    /* === Article-Hero kompakt (nur noch Single-Posts; News nutzt jetzt .banner.has-hover) === */
    .single .xh-article-hero {
        padding: 22px 0 18px !important;
    }
    .single .xh-article-hero .xh-page-title {
        font-size: clamp(1.35rem, 5.2vw, 1.75rem) !important;
        line-height: 1.2 !important;
        margin: 6px 0 8px !important;
    }
    .single .xh-article-hero .xh-kicker {
        font-size: 0.68rem !important;
        margin-bottom: 4px !important;
    }
    .single .xh-article-hero .xh-crumbs {
        font-size: 0.76rem !important;
        margin-bottom: 8px !important;
    }
    .single .xh-article-hero .xh-article-meta {
        font-size: 0.78rem !important;
        gap: 6px !important;
        margin-top: 8px !important;
    }
    .single .xh-article-hero .xh-shell {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    /* === TOC: collapsed-by-default + clean inline-style === */
    .xh-article-layout.has-toc {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }
    .xh-article-side {
        margin: 0 14px !important;
    }
    .xh-toc-float {
        position: static !important;
        max-height: none !important;
        padding: 12px 14px !important;
        border-radius: 10px !important;
        font-size: 0.86rem !important;
    }
    .xh-toc-float-title {
        font-size: 0.9rem !important;
        margin-bottom: 0 !important;
        padding: 2px 0 !important;
    }
    .xh-toc-float.closed .xh-toc-float-title {
        margin-bottom: 0 !important;
    }
    /* Wenn offen: list bekommt Margin-Top */
    .xh-toc-float:not(.closed) .xh-toc-float-title {
        margin-bottom: 10px !important;
    }
    .xh-toc-float-list { padding-left: 16px !important; }
    .xh-toc-float-list a {
        padding: 5px 8px !important;
        font-size: 0.86rem !important;
    }

    /* === Article-Main: lesbares Mobile-Padding === */
    .xh-article-main-wrap .xh-shell,
    .xh-article-layout {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }
    .xh-entry,
    .xh-article-main {
        font-size: 1rem !important;
        line-height: 1.72 !important;
    }
    .xh-entry h2 {
        font-size: clamp(1.25rem, 4.5vw, 1.55rem) !important;
        margin-top: 1.6em !important;
        line-height: 1.2 !important;
    }
    .xh-entry h3 {
        font-size: 1.08rem !important;
        margin-top: 1.4em !important;
        line-height: 1.25 !important;
    }
    .xh-entry h4 {
        font-size: 0.98rem !important;
        margin-top: 1.2em !important;
    }
    .xh-entry p { margin-bottom: 14px !important; }
    .xh-entry ul, .xh-entry ol {
        padding-left: 1.25em !important;
    }

    /* === Tables auf Mobile horizontal scrollen === */
    .xh-entry table,
    .xh-article-main table {
        display: block !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        max-width: 100% !important;
        font-size: 0.86rem !important;
        white-space: normal !important;
    }
    .xh-entry table th,
    .xh-entry table td {
        padding: 8px 10px !important;
        min-width: 100px !important;
    }

    /* === Blockquote kompakter === */
    .xh-entry blockquote {
        padding: 12px 16px !important;
        margin: 1.2em 0 !important;
    }

    /* === Bilder Edge-to-Edge mit etwas Margin === */
    .xh-entry img {
        max-width: 100% !important;
        height: auto !important;
        border-radius: 8px !important;
    }

    /* === Progress-Bar bleibt fix oben, dünner === */
    .xh-progress {
        height: 3px !important;
    }

    /* === Page-Foot Links kompakter === */
    .xh-page-foot {
        padding: 16px 14px 24px !important;
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 14px !important;
        font-size: 0.88rem !important;
    }
}

/* Sehr schmale Phones: TOC + Hero noch tighter */
@media (max-width: 480px) {
    .single .xh-article-hero { padding: 18px 0 14px !important; }
    .single .xh-article-hero .xh-page-title {
        font-size: clamp(1.2rem, 5.6vw, 1.5rem) !important;
    }
    .xh-toc-float { margin: 0 !important; }
    .xh-article-side { margin: 0 !important; }
    .xh-article-main-wrap .xh-shell { padding-left: 12px !important; padding-right: 12px !important; }
}

/* =====================================================================
   XR REDESIGN 2026-05-28 (Iteration 11) — Software-Test-Pages
   /software/<tool>/ Layout: bisher waren xh-test-hero, xh-test-hero-meta,
   xh-quickfacts, xh-test-cta-band, xh-test-alts UNGESTYLT (kein CSS).
   Aufbau analog depotsieger Broker-Review-Pattern.
   ===================================================================== */

/* === TEST-HERO: Logo links + Body rechts (Flex) === */
.xh-test-hero {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    text-align: left;
    margin: 12px 0 0;
}
.xh-test-hero-logo {
    flex: 0 0 auto;
    width: 110px;
    height: 110px;
    background: #ffffff;
    border-radius: 18px;
    padding: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
}
.xh-test-hero-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.xh-test-hero-body {
    flex: 1;
    min-width: 0;
    color: #ffffff;
    text-align: left;
}
.xh-test-hero-body .xh-hero-badge {
    color: #ffffff;
    text-align: left;
    display: inline-flex;
    margin-bottom: 10px;
}
.xh-test-hero-body .xh-hero-title {
    color: #ffffff !important;
    text-align: left !important;
    font-size: clamp(1.7rem, 3.6vw, 2.4rem) !important;
    line-height: 1.12 !important;
    margin: 6px 0 8px !important;
    letter-spacing: -0.018em !important;
}
.xh-test-hero-body .xh-hero-lead {
    color: rgba(255, 255, 255, 0.86) !important;
    text-align: left !important;
    font-size: 1.04rem !important;
    line-height: 1.55 !important;
    margin: 0 0 14px !important;
    max-width: 640px;
}

/* === TEST-HERO-META: Sterne + Rating + Preis-Pille === */
.xh-test-hero-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin: 12px 0 18px;
    color: rgba(255, 255, 255, 0.85);
}
.xh-test-stars {
    color: #f3b53a;
    font-size: 1.2rem;
    letter-spacing: 1px;
    line-height: 1;
}
.xh-test-rating {
    color: #ffffff;
    font-weight: 800;
    font-size: 0.98rem;
    font-variant-numeric: tabular-nums;
}
.xh-test-price {
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}
.xh-test-hero-body .xh-aff-btn--large {
    margin-top: 6px;
}

/* === QUICK-FACTS (4-tile Grid: Preis ab / Gratis-Test / Bewertung / Ideal für) === */
.xh-quickfacts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 0 0 28px;
    max-width: 980px;
}
.xh-qf-item {
    background: #ffffff;
    border: 1px solid var(--xh-line);
    border-left: 4px solid var(--xh-teal);
    border-radius: 10px;
    padding: 14px 16px;
}
.xh-qf-item--wide {
    grid-column: span 3;
    border-left-color: var(--xh-amber);
}
.xh-qf-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--xh-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 4px;
}
.xh-qf-item strong {
    color: var(--xh-ink);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.35;
}

/* === TEST-CTA-BAND (CTA-Insel in der Post-Mitte) === */
.xh-test-cta-band {
    background: linear-gradient(135deg, var(--xh-teal) 0%, var(--xh-teal-dark) 100%);
    color: #ffffff;
    border-radius: 18px;
    padding: 38px 30px 32px;
    text-align: center;
    margin: 32px auto;
    max-width: 880px;
    box-shadow: 0 14px 40px rgba(0, 133, 128, 0.22);
    position: relative;
    overflow: hidden;
}
.xh-test-cta-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.14) 0%, transparent 40%),
        radial-gradient(circle at 10% 90%, rgba(14, 165, 201, 0.18) 0%, transparent 50%);
    pointer-events: none;
}
.xh-test-cta-band > * { position: relative; z-index: 1; }
.xh-test-cta-band h2 {
    color: #ffffff !important;
    font-size: clamp(1.4rem, 2.4vw, 1.85rem) !important;
    font-weight: 800 !important;
    margin: 0 0 8px !important;
    letter-spacing: -0.015em !important;
}
.xh-test-cta-band > p {
    color: rgba(255, 255, 255, 0.92);
    margin: 0 auto 20px;
    max-width: 580px;
    font-size: 1rem;
    line-height: 1.55;
}
.xh-test-cta-band .xh-aff-btn,
.xh-test-cta-band .xh-aff-btn--large {
    background: #ffffff !important;
    color: var(--xh-teal-dark) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18) !important;
}
.xh-test-cta-band .xh-aff-btn:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.26) !important;
    color: var(--xh-teal-dark) !important;
}
.xh-cta-disc {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.74rem;
    font-style: italic;
    margin: 16px 0 0;
}

/* === ALTERNATIVEN-CARDS am Ende === */
.xh-test-alts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 18px 0 32px;
}
.xh-test-alt-card {
    background: #ffffff;
    border: 1px solid var(--xh-line);
    border-radius: 12px;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    color: var(--xh-ink) !important;
    text-decoration: none !important;
    transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
}
.xh-test-alt-card:hover {
    border-color: var(--xh-teal);
    box-shadow: 0 10px 24px rgba(0, 133, 128, 0.12);
    transform: translateY(-2px);
}
.xh-test-alt-card strong {
    color: var(--xh-ink);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.3;
}
.xh-test-alt-card span {
    color: var(--xh-teal);
    font-size: 0.86rem;
    font-weight: 700;
    flex-shrink: 0;
    white-space: nowrap;
}

/* === Test-Hero auf Mobile: Stack === */
@media (max-width: 720px) {
    .xh-test-hero {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
    .xh-test-hero-logo {
        width: 76px;
        height: 76px;
        padding: 10px;
        border-radius: 14px;
    }
    .xh-test-hero-body .xh-hero-title {
        font-size: clamp(1.35rem, 5.4vw, 1.75rem) !important;
    }
    .xh-test-hero-body .xh-hero-lead {
        font-size: 0.94rem !important;
    }
    .xh-test-hero-meta { gap: 8px; margin: 8px 0 14px; }
    .xh-test-stars { font-size: 1.05rem; }
    .xh-test-rating { font-size: 0.9rem; }
    .xh-test-price { font-size: 0.78rem; padding: 4px 11px; }

    .xh-quickfacts { grid-template-columns: 1fr 1fr; gap: 10px; }
    .xh-qf-item--wide { grid-column: span 2; }
    .xh-qf-item { padding: 12px 14px; }

    .xh-test-cta-band {
        padding: 26px 18px 22px;
        margin: 24px 14px;
        border-radius: 14px;
    }
    .xh-test-cta-band h2 { font-size: 1.3rem !important; }
    .xh-test-cta-band > p { font-size: 0.92rem; }

    .xh-test-alts { grid-template-columns: 1fr; gap: 8px; }
    .xh-test-alt-card { padding: 14px 18px; }
}
@media (max-width: 480px) {
    .xh-quickfacts { grid-template-columns: 1fr; }
    .xh-qf-item--wide { grid-column: span 1; }
    .xh-test-hero-logo { width: 64px; height: 64px; padding: 8px; }
}

/* =====================================================================
   XR REDESIGN 2026-05-28 (Iteration 12) — Software-Vergleich List + Filter
   /beste-e-rechnung-software-kleinunternehmer/
   Rebuild: Hero + Top-3 (xh-quickrec) + Filterbar + 12 Tools als List-Items
   Pattern analog depotsieger dt-list-item / dt-filterbar
   ===================================================================== */

/* === FILTERBAR === */
.xh-filterbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    padding: 14px 16px;
    background: #ffffff;
    border: 1px solid var(--xh-line);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(11, 29, 51, 0.04);
}
.xh-filter-lbl {
    color: var(--xh-muted);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-right: 4px;
    flex-shrink: 0;
}
.xh-fbtn {
    background: var(--xh-surface-2);
    border: 1px solid transparent;
    border-radius: 999px;
    color: var(--xh-ink);
    cursor: pointer;
    font-family: var(--font);
    font-size: 0.84rem;
    font-weight: 700;
    padding: 7px 14px;
    transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.12s;
    line-height: 1.2;
}
.xh-fbtn:hover {
    background: var(--xh-teal-light);
    color: var(--xh-teal-dark);
    transform: translateY(-1px);
}
.xh-fbtn.is-active {
    background: var(--xh-teal);
    color: #ffffff !important;
    border-color: var(--xh-teal);
    box-shadow: 0 2px 8px rgba(0, 133, 128, 0.30);
}
.xh-filter-count {
    display: inline-block;
    color: var(--xh-muted);
    font-size: 0.84rem;
    font-style: italic;
    margin: 0 0 18px;
    font-variant-numeric: tabular-nums;
}

/* === TOOLS LIST CONTAINER === */
.xh-tools-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0 0 32px;
}

/* === LIST-ITEM (depotsieger dt-list-item Pattern) === */
.xh-list-item {
    background: #ffffff;
    border: 1px solid var(--xh-line);
    border-radius: 14px;
    display: grid;
    grid-template-columns: 56px 1fr 220px;
    gap: 22px;
    padding: 22px 24px;
    box-shadow: 0 1px 3px rgba(11, 29, 51, 0.04), 0 6px 18px rgba(11, 29, 51, 0.05);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.xh-list-item:hover {
    transform: translateY(-3px);
    border-color: var(--xh-teal);
    box-shadow: 0 4px 12px rgba(0, 133, 128, 0.06), 0 16px 36px rgba(0, 133, 128, 0.12);
}

/* Testsieger-Variant */
.xh-list-item.xh-list-top {
    border: 2px solid var(--xh-teal);
    background: linear-gradient(180deg, #ffffff 0%, #f1f9f7 100%);
    box-shadow: 0 4px 12px rgba(0, 133, 128, 0.08), 0 16px 36px rgba(0, 133, 128, 0.16);
}

/* RANK */
.xh-list-rank {
    align-self: start;
    background: var(--xh-surface-2);
    color: var(--xh-muted);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.95rem;
    font-family: var(--font-num, var(--font));
}
.xh-list-item.xh-list-top .xh-list-rank {
    background: var(--xh-teal);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 133, 128, 0.30);
}

/* MAIN content (head + specs) */
.xh-list-main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.xh-list-head {
    display: flex;
    align-items: center;
    gap: 16px;
}
.xh-list-logo {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    object-fit: contain;
    background: #ffffff;
    border: 1px solid var(--xh-line);
    border-radius: 10px;
    padding: 6px;
}
.xh-list-head-text { flex: 1; min-width: 0; }
.xh-list-name-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}
.xh-list-name {
    color: var(--xh-ink);
    font-size: 1.15rem;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: -0.01em;
    transition: color 0.15s;
}
.xh-list-name:hover { color: var(--xh-teal); }
.xh-list-badge {
    background: linear-gradient(135deg, var(--xh-teal), var(--xh-teal-2));
    color: #ffffff;
    font-size: 0.66rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 999px;
    letter-spacing: 0.06em;
    box-shadow: 0 2px 6px rgba(0, 133, 128, 0.30);
}
.xh-list-tag {
    color: var(--xh-muted);
    font-size: 0.92rem;
    line-height: 1.45;
}

/* SPECS Grid */
.xh-list-specs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}
.xh-spec {
    background: var(--xh-surface-2);
    border-radius: 8px;
    padding: 9px 12px;
    min-width: 0;
}
.xh-spec-k {
    display: block;
    font-size: 0.66rem;
    color: var(--xh-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}
.xh-spec-v {
    display: block;
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--xh-ink);
    line-height: 1.3;
}
.xh-spec-v.xh-spec-good { color: var(--xh-teal-dark); }

/* CTA Column rechts */
.xh-list-cta {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 8px;
    text-align: center;
    border-left: 1px solid var(--xh-line-soft);
    padding-left: 20px;
}
.xh-list-score {
    color: var(--xh-ink);
    font-size: 1.6rem;
    font-weight: 900;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    margin-bottom: 6px;
}
.xh-list-score small {
    font-size: 0.65rem;
    color: var(--xh-muted);
    font-weight: 700;
    margin-left: 2px;
}
.xh-list-aff-btn {
    background: linear-gradient(135deg, var(--xh-amber), #e6a035) !important;
    box-shadow: 0 4px 14px rgba(201, 138, 26, 0.30) !important;
    width: 100% !important;
    justify-content: center !important;
    padding: 11px 14px !important;
    font-size: 0.88rem !important;
}
.xh-list-item.xh-list-top .xh-list-aff-btn {
    background: linear-gradient(135deg, var(--xh-teal), var(--xh-teal-2)) !important;
    box-shadow: 0 4px 14px rgba(0, 133, 128, 0.32) !important;
}
.xh-list-review {
    display: inline-block;
    color: var(--xh-teal);
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 6px;
    transition: background 0.15s, color 0.15s;
}
.xh-list-review:hover {
    background: var(--xh-teal-light);
    color: var(--xh-teal-dark);
}
.xh-list-affnote {
    color: var(--xh-muted-2);
    font-size: 0.66rem;
    font-style: italic;
    margin-top: 2px;
}

/* Filter Hide State */
.xh-list-item.is-hidden { display: none !important; }

/* === Mobile: List-Item kollabiert auf 1-Spalter Stack === */
@media (max-width: 900px) {
    .xh-list-item {
        grid-template-columns: 44px 1fr;
        grid-template-rows: auto auto;
        gap: 14px 16px;
        padding: 18px 18px;
    }
    .xh-list-rank { width: 36px; height: 36px; font-size: 0.85rem; }
    .xh-list-cta {
        grid-column: 1 / -1;
        border-left: none;
        border-top: 1px solid var(--xh-line-soft);
        padding-left: 0;
        padding-top: 14px;
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .xh-list-score {
        margin-bottom: 0;
        flex: 0 0 auto;
    }
    .xh-list-aff-btn {
        flex: 1 1 auto;
        width: auto !important;
        min-width: 160px;
    }
    .xh-list-review {
        flex: 0 0 auto;
        order: 3;
    }
    .xh-list-affnote {
        flex: 1 0 100%;
        text-align: center;
        margin-top: 4px;
    }
    .xh-list-specs { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 549px) {
    .xh-list-item {
        padding: 16px 14px;
        gap: 12px;
        border-radius: 12px;
    }
    .xh-list-logo { flex: 0 0 44px; width: 44px; height: 44px; padding: 4px; }
    .xh-list-name { font-size: 1.05rem; }
    .xh-list-tag { font-size: 0.86rem; }
    .xh-list-specs { grid-template-columns: 1fr 1fr; gap: 8px; }
    .xh-spec { padding: 7px 10px; }
    .xh-list-score { font-size: 1.4rem; }
    .xh-list-cta { flex-direction: column; align-items: stretch; gap: 6px; }
    .xh-list-aff-btn { width: 100% !important; min-width: 0; }
    .xh-list-review { text-align: center; order: 0; }

    .xh-filterbar { padding: 12px; gap: 6px; }
    .xh-fbtn { font-size: 0.78rem; padding: 6px 11px; }
    .xh-filter-lbl { font-size: 0.74rem; }
}

/* =====================================================================
   XR REDESIGN 2026-05-28 (Iteration 13) — Mobile: FULL-Logo statt Icon
   Vorher: ≤900px wurde .xh-brand-full hidden, .xh-brand-icon shown
   Jetzt: .xh-brand-full immer sichtbar (auch Mobile), .xh-brand-icon weg
   ===================================================================== */

.xh-brand-full {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: auto !important;
    height: auto !important;
}
.xh-brand-icon {
    display: none !important;
}

/* Mobile: Full-Logo kompakter aber sichtbar */
@media (max-width: 900px) {
    .xh-brand-full {
        display: block !important;
        max-height: 52px !important;
        max-width: 220px !important;
    }
    .xh-brand-icon { display: none !important; }
}
@media (max-width: 549px) {
    .xh-brand-full {
        max-height: 44px !important;
        max-width: 180px !important;
    }
    .xh-brand-icon { display: none !important; }
}

/* =====================================================================
   XR REDESIGN 2026-05-29 (Iteration 14)
   1. Text-Initial-Logo (für tools ohne brauchbares Bild-Logo)
   2. Filterbar im depotsieger/SSV-Stil (dark navy + white-pills)
   ===================================================================== */

/* === 1. TEXT-LOGO PLACEHOLDER (sage, holvi, moco, billomat) === */
.xh-list-logo-text {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    border-radius: 10px;
    border: 1px solid var(--xh-line);
    background: linear-gradient(135deg, var(--xh-navy) 0%, var(--xh-teal-dark) 100%);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font);
    font-weight: 900;
    font-size: 1.15rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0;
}
.xh-list-item.xh-list-top .xh-list-logo-text {
    background: linear-gradient(135deg, var(--xh-teal) 0%, var(--xh-teal-2) 100%);
}

/* Mobile-Anpassung */
@media (max-width: 549px) {
    .xh-list-logo-text {
        flex: 0 0 44px;
        width: 44px;
        height: 44px;
        font-size: 0.95rem;
        border-radius: 8px;
    }
}

/* === 2. FILTERBAR im depotsieger / SSV-Stil ===
   Dark navy Container + white-on-translucent Pills + active=solid white  */
.xh-filterbar {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 0 12px !important;
    padding: 14px 18px !important;
    background: linear-gradient(135deg, var(--xh-navy) 0%, var(--xh-navy-2) 100%) !important;
    border: none !important;
    border-radius: 14px !important;
    box-shadow: 0 8px 24px rgba(11, 29, 51, 0.18) !important;
    overflow-x: auto !important;
    overscroll-behavior-x: contain !important;
    scrollbar-width: thin !important;
    scrollbar-color: rgba(255,255,255,.35) rgba(255,255,255,.08) !important;
}
.xh-filterbar::-webkit-scrollbar { height: 8px; }
.xh-filterbar::-webkit-scrollbar-track { background: rgba(255,255,255,0.08); border-radius: 999px; }
.xh-filterbar::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.35); border-radius: 999px; }
/* Rechter Fade-Hinweis: signalisiert Scrollbarkeit, bleibt beim Scrollen am rechten Rand fixiert
   (generierter Inhalt wird im flex-Container automatisch zum Flex-Item; position:sticky hält ihn
   während des horizontalen Scrollens am sichtbaren rechten Rand). */
.xh-filterbar::after {
    content: "";
    position: sticky;
    top: 0;
    right: 0;
    bottom: 0;
    flex: 0 0 34px;
    width: 34px;
    margin-left: -34px;
    pointer-events: none;
    background: linear-gradient(to right, rgba(13, 36, 64, 0), var(--xh-navy-2) 70%);
    z-index: 2;
}

.xh-filter-lbl {
    color: rgba(255, 255, 255, 0.62) !important;
    font-size: 0.73rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    white-space: nowrap !important;
    flex: 0 0 auto !important;
    margin-right: 4px !important;
}

.xh-filterbar .xh-fbtn {
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    color: rgba(255, 255, 255, 0.92) !important;
    border-radius: 999px !important;
    padding: 7px 14px !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    cursor: pointer;
    text-decoration: none !important;
    white-space: nowrap !important;
    line-height: 1.4 !important;
    flex: 0 0 auto !important;
    transition: background 0.15s, color 0.15s, border-color 0.15s !important;
    font-family: inherit !important;
    transform: none !important;
    box-shadow: none !important;
}
.xh-filterbar .xh-fbtn:hover {
    background: rgba(255, 255, 255, 0.22) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.30) !important;
    transform: none !important;
}
.xh-filterbar .xh-fbtn.is-active,
.xh-filterbar .xh-fbtn[aria-current="page"] {
    background: #ffffff !important;
    color: var(--xh-navy) !important;
    border-color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(0, 133, 128, 0.20) !important;
}

.xh-filter-count {
    color: var(--xh-muted) !important;
    font-size: 0.82rem !important;
    font-style: italic !important;
    display: block !important;
    margin: 6px 0 16px !important;
    font-variant-numeric: tabular-nums;
}

/* Mobile: kleinerer Padding */
@media (max-width: 549px) {
    .xh-filterbar { padding: 12px 14px !important; gap: 6px !important; border-radius: 12px !important; }
    .xh-filterbar .xh-fbtn { font-size: 0.76rem !important; padding: 6px 12px !important; }
    .xh-filter-lbl { font-size: 0.68rem !important; }
}


/* =====================================================================
   XR REDESIGN 2026-05-30 (Iteration 15) — Images + Inline-Tool-Cards
   Heros / Inline-Figures / depotsieger-style Tool-Tipp-Karten
   ===================================================================== */

/* Hero-Image groß unter dem Top-Content */
.xh-page-main .xh-page-hero-img {
    max-width: 1080px !important;
    margin: 28px auto !important;
    padding: 0 24px !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    box-shadow: 0 16px 40px rgba(11, 29, 51, 0.14) !important;
}
.xh-page-main .xh-page-hero-img img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
    border-radius: 14px;
}

/* Inline-Figures mit Caption */
.xh-page-main .xh-inline-img {
    max-width: 1080px !important;
    margin: 24px auto !important;
    padding: 0 24px !important;
    border-radius: 14px;
    overflow: hidden;
}
.xh-page-main .xh-inline-img img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/10;
    object-fit: cover;
    display: block;
    border-radius: 14px 14px 0 0;
    box-shadow: 0 8px 24px rgba(11, 29, 51, 0.10);
}
.xh-page-main .xh-inline-img figcaption {
    background: var(--xh-surface-2);
    color: var(--xh-muted);
    font-size: 0.84rem;
    font-style: italic;
    padding: 10px 16px;
    line-height: 1.5;
    border-radius: 0 0 14px 14px;
    border-top: 1px solid var(--xh-line);
    margin-top: -4px;
}

/* Inline-Tool-Card (depotsieger-Autopost-Pattern) */
.xh-page-main .xh-inline-tool {
    max-width: 1080px !important;
    margin: 28px auto !important;
    padding: 24px 28px;
    background: linear-gradient(135deg, var(--xh-navy) 0%, var(--xh-teal-dark) 100%);
    color: #fff;
    border-radius: 16px;
    box-shadow: 0 14px 32px rgba(11, 29, 51, 0.20);
    display: grid !important;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 24px;
    position: relative;
    overflow: hidden;
}
.xh-page-main .xh-inline-tool::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 90% 12%, rgba(14, 165, 201, 0.18), transparent 55%),
        radial-gradient(circle at 12% 88%, rgba(0, 133, 128, 0.18), transparent 55%);
    pointer-events: none;
}
.xh-page-main .xh-inline-tool > * { position: relative; z-index: 1; }

.xh-page-main .xh-inline-tool-body {
    min-width: 0;
}
.xh-page-main .xh-inline-tool-kicker {
    display: inline-block;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: rgba(255, 255, 255, 0.90);
    padding: 3px 11px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-right: 6px;
}
.xh-page-main .xh-inline-tool-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--xh-amber), #e6a035);
    color: #fff;
    padding: 3px 11px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    margin-right: 6px;
    box-shadow: 0 2px 6px rgba(201, 138, 26, 0.30);
}
.xh-page-main .xh-inline-tool h3 {
    color: #fff !important;
    font-size: 1.3rem !important;
    margin: 10px 0 6px !important;
    font-weight: 800 !important;
    letter-spacing: -0.015em !important;
}
.xh-page-main .xh-inline-tool p {
    color: rgba(255, 255, 255, 0.88) !important;
    font-size: 0.94rem !important;
    line-height: 1.55 !important;
    margin: 0 !important;
    max-width: 540px;
}

.xh-page-main .xh-inline-tool-ctas {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
    min-width: 180px;
}
.xh-page-main .xh-inline-tool-cta {
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #fff !important;
    text-decoration: none !important;
    padding: 10px 18px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.88rem;
    text-align: center;
    transition: all 0.18s;
    white-space: nowrap;
}
.xh-page-main .xh-inline-tool-cta:hover {
    background: rgba(255, 255, 255, 0.20);
    border-color: rgba(255, 255, 255, 0.40);
    transform: translateY(-1px);
}
.xh-page-main .xh-inline-tool-cta--primary {
    background: linear-gradient(135deg, var(--xh-amber), #e6a035) !important;
    border-color: transparent !important;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(201, 138, 26, 0.34);
}
.xh-page-main .xh-inline-tool-cta--primary:hover {
    box-shadow: 0 8px 22px rgba(201, 138, 26, 0.48);
}

@media (max-width: 720px) {
    .xh-page-main .xh-inline-tool {
        grid-template-columns: 1fr;
        padding: 22px 20px;
        gap: 16px;
    }
    .xh-page-main .xh-inline-tool-ctas {
        min-width: 0;
    }
    .xh-page-main .xh-inline-tool h3 {
        font-size: 1.15rem !important;
    }
}
@media (max-width: 549px) {
    .xh-page-main .xh-page-hero-img,
    .xh-page-main .xh-inline-img,
    .xh-page-main .xh-inline-tool {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }
    .xh-page-main .xh-inline-tool {
        padding: 20px 18px !important;
        margin-left: 14px !important;
        margin-right: 14px !important;
    }
}

/* =====================================================================
   XR REDESIGN 2026-05-30 (Iteration 16) — Heading-Unification
   Referenz: /e-rechnung-kleinunternehmer/
   ALLE H2/H3 auf Non-Home-Pages bekommen den .xh-section-title-Look:
   - größer (clamp 1.7-2.4rem)
   - font-weight 900
   - Teal-Akzent-Line vor dem Text als Section-Marker (::before)
   - Tighter letter-spacing
   ===================================================================== */

/* Kicker-Style: Teal-Line + UPPERCASE-Label — kommt automatisch VOR jedem H2 */
body:not(.home) .xh-page-main h2,
body:not(.home) .xh-article-main h2,
body:not(.home) .xh-page-main .xh-prose h2,
body:not(.home) .xh-page-main .xh-entry h2,
body:not(.home) .xh-page-main > h2 {
    color: var(--xh-ink) !important;
    font-family: var(--font) !important;
    font-size: clamp(1.55rem, 2.8vw, 2.1rem) !important;
    font-weight: 900 !important;
    letter-spacing: -0.022em !important;
    line-height: 1.18 !important;
    margin-top: 40px !important;
    margin-bottom: 16px !important;
    padding-top: 0 !important;
    position: relative;
}

/* (Teal-Section-Marker entfernt — auf Wunsch von Tom 2026-05-30,
   weil bei .xh-test-hero-Logo und Quickfacts-Grid zu viele Marker
   zu nah aneinander auftraten. Nur Typografie bleibt einheitlich.) */
body:not(.home) .xh-page-main h2::before,
body:not(.home) .xh-article-main h2::before,
body:not(.home) .xh-page-main .xh-prose h2::before,
body:not(.home) .xh-page-main .xh-entry h2::before,
body:not(.home) .xh-page-main > h2::before {
    content: none !important;
    display: none !important;
}

/* xh-section-title behält seine zentrierte centered-Variante  */
body:not(.home) .xh-page-main .xh-section-head h2.xh-section-title,
body:not(.home) .xh-page-main .xh-section-head .xh-section-title {
    text-align: center !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
}
body:not(.home) .xh-page-main .xh-section-head h2.xh-section-title::before,
body:not(.home) .xh-page-main .xh-section-head .xh-section-title::before {
    display: none !important;
}

/* Banner/CTA-Bands: deren H2 nicht überschreiben (haben eigenen weißen Style) */
body:not(.home) .banner.has-hover h2,
body:not(.home) .xh-cta-band h2,
body:not(.home) .xh-cta-final h2,
body:not(.home) .xh-ctaband h2,
body:not(.home) .xh-quickrec h2,
body:not(.home) .xh-newsletter-strip h2,
body:not(.home) .xh-test-cta-band h2,
body:not(.home) .xh-inline-tool h2,
body:not(.home) .xh-list-item h2 {
    padding-top: 0 !important;
    margin-top: 0 !important;
}
body:not(.home) .banner.has-hover h2::before,
body:not(.home) .xh-cta-band h2::before,
body:not(.home) .xh-cta-final h2::before,
body:not(.home) .xh-ctaband h2::before,
body:not(.home) .xh-quickrec h2::before,
body:not(.home) .xh-newsletter-strip h2::before,
body:not(.home) .xh-test-cta-band h2::before,
body:not(.home) .xh-inline-tool h2::before,
body:not(.home) .xh-list-item h2::before,
body:not(.home) .xh-related-card h2::before,
body:not(.home) .xh-post-card h2::before,
body:not(.home) .xh-auto-related h2::before {
    display: none !important;
}

/* Erste H2 auf einer Seite kein riesiger Top-Margin */
body:not(.home) .xh-page-main h2:first-of-type,
body:not(.home) .xh-page-main .xh-prose h2:first-child {
    margin-top: 24px !important;
}

/* === H3-Variante: gleicher Stil, kleiner === */
body:not(.home) .xh-page-main h3,
body:not(.home) .xh-article-main h3,
body:not(.home) .xh-page-main .xh-prose h3,
body:not(.home) .xh-page-main .xh-entry h3 {
    color: var(--xh-ink) !important;
    font-family: var(--font) !important;
    font-size: clamp(1.1rem, 1.7vw, 1.25rem) !important;
    font-weight: 800 !important;
    letter-spacing: -0.01em !important;
    line-height: 1.3 !important;
    margin-top: 22px !important;
    margin-bottom: 8px !important;
}
/* H3 nach <p> (FAQ-Pattern: Question→Answer→Question→Answer): kompakter */
body:not(.home) .xh-page-main p + h3,
body:not(.home) .xh-page-main .xh-prose p + h3,
body:not(.home) .xh-article-main p + h3 {
    margin-top: 18px !important;
}

/* Banner/CTA/Inline-Cards H3 bleibt unverändert */
body:not(.home) .banner.has-hover h3,
body:not(.home) .xh-cta-band h3,
body:not(.home) .xh-related-card h3,
body:not(.home) .xh-list-item h3,
body:not(.home) .xh-quickrec h3,
body:not(.home) .xh-final-card h3,
body:not(.home) .xh-related-card h3,
body:not(.home) .xh-test-alt-card h3,
body:not(.home) .xh-inline-tool h3,
body:not(.home) .xh-pkg-grid h3,
body:not(.home) .xh-newsletter-strip h3,
body:not(.home) .xh-post-card h3,
body:not(.home) .xh-faq-item h3 {
    margin-top: 0 !important;
}

/* Mobile-Anpassung */
@media (max-width: 549px) {
    body:not(.home) .xh-page-main h2,
    body:not(.home) .xh-article-main h2,
    body:not(.home) .xh-page-main > h2,
    body:not(.home) .xh-page-main .xh-prose h2,
    body:not(.home) .xh-page-main .xh-entry h2 {
        font-size: clamp(1.35rem, 5.2vw, 1.7rem) !important;
        margin-top: 36px !important;
        padding-top: 14px !important;
    }
    body:not(.home) .xh-page-main h2::before,
    body:not(.home) .xh-article-main h2::before,
    body:not(.home) .xh-page-main > h2::before {
        width: 44px;
        height: 3px;
    }
    body:not(.home) .xh-page-main h3,
    body:not(.home) .xh-article-main h3 {
        font-size: 1.08rem !important;
        margin-top: 26px !important;
    }
}

/* =====================================================================
   XR REDESIGN 2026-05-31 (Iteration 17) — Software-Test-Page H1 Fix
   Tom: "kien title übershcift" auf /software/<slug>/
   Sicherstellen dass der H1 ".xh-hero-title" garantiert sichtbar
   und prominent ist auf den Software-Test-Pages.
   ===================================================================== */

/* Force H1 sichtbar + prominent in test-hero */
.xh-test-hero-body .xh-hero-title,
.xh-test-hero .xh-hero-title {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #ffffff !important;
    font-family: var(--font) !important;
    font-size: clamp(1.8rem, 4vw, 2.6rem) !important;
    font-weight: 900 !important;
    line-height: 1.1 !important;
    margin: 8px 0 12px !important;
    letter-spacing: -0.022em !important;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
    max-width: 100%;
    overflow: visible !important;
    position: static !important;
    clip: auto !important;
    text-align: left !important;
}

/* Auch dem Test-Hero-Container ein bisschen mehr Garantie geben */
.xh-test-hero {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}
.xh-test-hero-body {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    color: #ffffff !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Section-Background-Color (UX Builder setzt #0b1d33 inline) sicherstellen */
section.section[id^="section_"] .xh-test-hero {
    color: #ffffff !important;
}

/* Mobile: H1 bleibt prominent */
@media (max-width: 549px) {
    .xh-test-hero-body .xh-hero-title,
    .xh-test-hero .xh-hero-title {
        font-size: clamp(1.5rem, 6vw, 1.95rem) !important;
        margin: 6px 0 10px !important;
    }
}

/* =====================================================================
   XR REDESIGN 2026-05-31 (Iteration 18) — ROOT-CAUSE H1-Fix
   Flatsome .x50.y50 setzt transform: translate(-50%,-50%)
   In Banner-Context (mit position:absolute) korrekt.
   In Section-Context ohne Absolute-Positioning verschiebt es das
   Text-Box OFF-SCREEN — der H1 ist deshalb unsichtbar.
   FIX: transform/left/top neutralisieren wenn text-box.x50.y50 in
   .section-content liegt (nicht in .banner-layers)
   ===================================================================== */
.section-content > .text-box.banner-layer,
.section-content > .text-box.banner-layer.x50,
.section-content > .text-box.banner-layer.y50,
.section-content > .text-box.banner-layer.x50.y50,
.section-content > .text-box.x50,
.section-content > .text-box.y50,
.section-content > .text-box.x50.y50,
section.section .text-box.banner-layer:not(.banner-layers .text-box) {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
    margin: 0 auto !important;
    max-width: 100% !important;
    width: auto !important;
}

/* Ergänzend: text-box-content innerhalb section-content normalisieren */
.section-content .text-box.banner-layer .text-box-content {
    position: relative !important;
    transform: none !important;
}

/* =====================================================================
   XR REDESIGN 2026-05-31 (Iteration 19) — Software-Test-Hero BG-Glamour
   Statt flach #0b1d33 → mesh-gradient mit Teal/Cyan/Amber-Light-Overlays
   + subtiler SVG-Pattern für Tiefe (analog .banner.has-hover Iteration 8)
   ===================================================================== */

/* Section die .xh-test-hero enthält (UX Builder Inline-BG überschreiben) */
section.section:has(.xh-test-hero) {
    background:
        radial-gradient(circle at 18% 22%, rgba(14, 165, 201, 0.32) 0px, transparent 42%),
        radial-gradient(circle at 82% 18%, rgba(201, 138, 26, 0.20) 0px, transparent 48%),
        radial-gradient(circle at 55% 95%, rgba(0, 133, 128, 0.35) 0px, transparent 52%),
        linear-gradient(135deg, #06152a 0%, #0a1b30 50%, #0d2440 100%) !important;
    background-color: #06152a !important;
    position: relative;
    overflow: hidden;
}

/* SVG-Pattern-Overlay für Tiefe */
section.section:has(.xh-test-hero)::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: repeat;
}

/* Content über dem Overlay */
section.section:has(.xh-test-hero) > * {
    position: relative;
    z-index: 1;
}

/* Inline #section_XXX background-color (UX Builder) noch sicherer überschreiben */
section.section[id^="section_"]:has(.xh-test-hero) {
    background-color: #06152a !important;
}

/* Fallback für ältere Browser ohne :has() — wir markieren das Theme-Stylesheet
   alternativ über body.page-id-… aber :has() ist 2025+ Standard */

/* =====================================================================
   XR REDESIGN 2026-05-31 (Iteration 20) — Software-Test Left-Align
   Tom: "centering ist mist für bread, title etc"
   Flatsome's .text-inner.text-center auf den Software-Test-Sections
   wird komplett auf links erzwungen — Breadcrumbs + alle Hero-Elemente
   ===================================================================== */

/* Section mit .xh-test-hero: alle Inhalte links-ausgerichtet */
section.section:has(.xh-test-hero) .text-inner,
section.section:has(.xh-test-hero) .text-inner.text-center,
section.section:has(.xh-test-hero) .text-box-content {
    text-align: left !important;
}

/* Breadcrumbs: links + Inline-Flex */
section.section:has(.xh-test-hero) .xh-hero-crumbs {
    text-align: left !important;
    justify-content: flex-start !important;
    display: inline-flex !important;
    margin: 0 0 16px !important;
}
section.section:has(.xh-test-hero) .xh-hero-crumbs a,
section.section:has(.xh-test-hero) .xh-hero-crumbs span {
    text-align: left !important;
}

/* xh-test-hero: flex row, alle Children + Inhalt links */
section.section:has(.xh-test-hero) .xh-test-hero {
    text-align: left !important;
    justify-content: flex-start !important;
}
section.section:has(.xh-test-hero) .xh-test-hero-body,
section.section:has(.xh-test-hero) .xh-test-hero-body * {
    text-align: left !important;
}

/* Badge: nicht inline-blocked-zentriert, sondern links sitzend */
section.section:has(.xh-test-hero) .xh-hero-badge {
    align-self: flex-start !important;
    margin-right: 0 !important;
}

/* Meta-Row: links + flex-start */
section.section:has(.xh-test-hero) .xh-test-hero-meta {
    justify-content: flex-start !important;
    text-align: left !important;
}

/* CTA-Button: nicht zentriert */
section.section:has(.xh-test-hero) .xh-aff-btn,
section.section:has(.xh-test-hero) .xh-aff-btn--large {
    margin-left: 0 !important;
    margin-right: auto !important;
    align-self: flex-start !important;
}

/* Mobile: Logo + Body stacken, alles bleibt links */
@media (max-width: 720px) {
    section.section:has(.xh-test-hero) .xh-test-hero {
        align-items: flex-start !important;
    }
}

/* =====================================================================
   XR 2026-05-31 — Software-Test Polish (Tibber-Pattern auf XR)
   Sticky Sidebar-TOC + xh-test-hero Dark-Mesh + Pros/Cons + FAQ-Accordion
   ===================================================================== */

/* === xh-test-hero im Dark-Mesh-Treatment (polished) ===
   Wenn der Hero in einer dunklen UXB-[section] sitzt: kein eigener BG/Border —
   sonst Container-im-Container. Hero erbt die Section-Optik und liefert nur
   das Layout (Grid, Spacing der Teile) plus Mesh-Gradient nur AUF der Section. */
.xh-section-with-hero {
    background:
        radial-gradient(circle at 18% 22%, rgba(14, 165, 201, 0.32) 0px, transparent 42%),
        radial-gradient(circle at 82% 18%, rgba(212, 236, 95, 0.18) 0px, transparent 48%),
        radial-gradient(circle at 55% 95%, rgba(244, 173, 80, 0.28) 0px, transparent 52%),
        linear-gradient(135deg, #0a1828 0%, #102339 50%, #143055 100%) !important;
    color: #f5f8fb !important;
    position: relative !important;
    overflow: hidden !important;
}
/* Hero selbst: NUR Layout, KEIN eigener Container — bricht sonst die Section auf */
.xh-test-hero.xh-test-hero--polished {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    color: #f5f8fb !important;
    display: grid !important;
    grid-template-columns: 130px 1fr !important;
    gap: 32px !important;
    align-items: start !important;
    width: 100% !important;
    max-width: none !important;
}
.xh-test-hero.xh-test-hero--polished .xh-test-hero-body {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    text-align: left !important;
}
@media (max-width: 720px) {
    .xh-test-hero.xh-test-hero--polished {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }
}
/* Flatsome banner-layer Hack: x50 y50 setzt position:absolute mit
   transform: translate(-50%, -50%). Das pushed die text-box außerhalb der
   Section, weil die Section kein fixes Height hat → H1 landet weit rechts.
   Wir neutralisieren das: relative Position, keine Transform. */
.xh-section-with-hero .text-box.banner-layer,
.xh-section-with-hero .text-box[class*="x50"],
.xh-section-with-hero .text-box[class*="y50"],
.xh-section-with-hero div[id^="text-box-"] {
    position: relative !important;
    transform: none !important;
    left: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    max-width: 1100px !important;
    margin: 0 auto !important;
}
.xh-section-with-hero .text-box,
.xh-section-with-hero .text-box-content {
    width: 100% !important;
    max-width: 1100px !important;
    margin: 0 auto !important;
    text-align: left !important;
}
.xh-section-with-hero .ux_html-inner,
.xh-section-with-hero .ux_html {
    max-width: 1100px;
    margin: 0 auto;
}
/* Breadcrumbs im polished Hero linksbündig + dezente Farbe */
.xh-section-with-hero .xh-hero-crumbs {
    text-align: left !important;
    margin-bottom: 18px !important;
    color: rgba(245, 248, 251, 0.72) !important;
}
.xh-section-with-hero .xh-hero-crumbs a {
    color: rgba(245, 248, 251, 0.85) !important;
    text-decoration: none !important;
}
.xh-section-with-hero .xh-hero-crumbs a:hover {
    color: #d4ec5f !important;
}
/* Die Section selbst: Padding angemessen ohne Container-Optik */
.xh-section-with-hero {
    padding: 56px 24px !important;
}
@media (max-width: 720px) {
    .xh-section-with-hero {
        padding: 36px 18px !important;
    }
}
/* Flatsome Section ist display:flex (Default); section-content kollabiert
   sonst auf Intrinsic-Width. block + width:100% zwingt es auf volle Shell. */
.xh-section-with-hero {
    display: block !important;
}
.xh-section-with-hero .section-content {
    flex: 1 1 auto !important;
    width: 100% !important;
    max-width: 1180px !important;
    margin: 0 auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.xh-test-hero.xh-test-hero--polished .xh-test-hero-logo {
    background: #fff !important;
    border-radius: 22px !important;
    padding: 14px !important;
    width: 110px !important;
    height: 110px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.45) !important;
}
.xh-test-hero.xh-test-hero--polished .xh-test-hero-logo img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    display: block !important;
}
.xh-test-hero.xh-test-hero--polished .xh-hero-title,
.xh-test-hero.xh-test-hero--polished .xh-test-hero-body h1 {
    color: #fff !important;
    font-weight: 900 !important;
    font-size: clamp(1.65rem, 2.4vw, 2.4rem) !important;
    letter-spacing: -0.01em !important;
    margin: 6px 0 8px !important;
}
.xh-test-hero.xh-test-hero--polished .xh-hero-lead {
    color: rgba(245, 248, 251, 0.82) !important;
    font-size: 1.02rem !important;
}
.xh-test-hero.xh-test-hero--polished .xh-hero-badge {
    background: #d4ec5f !important;
    color: #0d2440 !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    padding: 6px 12px !important;
    border-radius: 999px !important;
    font-size: 0.78rem !important;
}
.xh-test-hero.xh-test-hero--polished .xh-test-hero-meta {
    border-top: 1px solid rgba(212, 236, 95, 0.22) !important;
    border-bottom: 1px solid rgba(212, 236, 95, 0.22) !important;
    padding: 12px 0 !important;
    margin-top: 14px !important;
    color: rgba(245,248,251,0.92) !important;
}
.xh-test-hero.xh-test-hero--polished .xh-test-stars { color: #d4ec5f !important; font-size: 1.05rem !important; }
.xh-test-hero.xh-test-hero--polished .xh-test-rating,
.xh-test-hero.xh-test-hero--polished .xh-test-price { color: #fff !important; font-weight: 800 !important; }
.xh-test-hero.xh-test-hero--polished .xh-aff-btn {
    background: linear-gradient(135deg, #f4ad50, #d4882c) !important;
    color: #fff !important;
    font-weight: 800 !important;
    border-radius: 999px !important;
    padding: 14px 26px !important;
    box-shadow: 0 12px 28px -10px rgba(244,173,80,0.55), 0 0 0 1px rgba(255,255,255,0.05) inset !important;
    transition: transform .15s ease, box-shadow .15s ease !important;
}
.xh-test-hero.xh-test-hero--polished .xh-aff-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 34px -8px rgba(244,173,80,0.65) !important;
}
.xh-test-hero.xh-test-hero--polished .xh-overview-box {
    background: rgba(255,255,255,0.06) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    border-radius: 14px !important;
    padding: 16px 18px !important;
    margin: 14px 0 !important;
}
.xh-test-hero.xh-test-hero--polished .xh-overview-tile {
    background: rgba(255,255,255,0.04) !important;
    color: #f5f8fb !important;
    border-radius: 10px !important;
}
.xh-test-hero.xh-test-hero--polished .xh-overview-kicker,
.xh-test-hero.xh-test-hero--polished .xh-overview-date {
    color: #d4ec5f !important;
}
.xh-test-hero.xh-test-hero--polished .xh-hero-crumbs,
.xh-test-hero.xh-test-hero--polished .xh-hero-crumbs a {
    color: rgba(245, 248, 251, 0.72) !important;
}
.xh-test-hero.xh-test-hero--polished .xh-hero-crumbs a:hover { color: #d4ec5f !important; }

/* === Content-Section mit Sidebar-TOC: echtes 2-Spalter-Grid wie SSV ===
   Statt floating-fixed wird die Flatsome-Row in ein CSS-Grid umgewandelt.
   Erste Spalte = bestehender col (Content), zweite Spalte = neu eingefügter TOC. */
.xh-section-with-toc .row.xh-row-with-toc {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 280px !important;
    column-gap: 36px !important;
    align-items: start !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    width: 100% !important;
}
.xh-section-with-toc .row.xh-row-with-toc > .xh-col-with-toc-content {
    max-width: 100% !important;
    flex: unset !important;
    width: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.xh-section-with-toc .row.xh-row-with-toc > .xh-col-with-toc-content > .col-inner {
    padding: 0 !important;
}
/* TOC-Card im Sidebar-Modus */
.xh-toc-card.xh-toc-card--sidebar {
    position: sticky;
    top: 100px;
    width: 100%;
    max-height: calc(100vh - 130px);
    overflow: auto;
    background: #ffffff;
    border: 1px solid #e5ece8;
    border-radius: 16px;
    padding: 18px 16px 16px;
    box-shadow:
        0 1px 0 rgba(11, 29, 51, .03),
        0 18px 40px -28px rgba(11, 29, 51, .25);
    font-family: inherit;
    align-self: start;
    margin: 0 !important;
}
/* Mobile: TOC unter den Content, nicht sticky */
@media (max-width: 900px) {
    .xh-section-with-toc .row.xh-row-with-toc {
        grid-template-columns: 1fr !important;
    }
    .xh-toc-card.xh-toc-card--sidebar {
        position: static;
        max-height: none;
        order: 2;
        margin-top: 24px !important;
    }
}
/* Legacy: alter floating-Container (falls noch irgendwo gerendert) */
.xh-toc-card:not(.xh-toc-card--sidebar) {
    display: none !important;
}
.xh-toc-card-head {
    padding: 0 0 12px;
    margin: 0 0 10px;
    border-bottom: 1px solid #eef3ef;
    display: flex;
    align-items: center;
    gap: 10px;
}
.xh-toc-card-head::before {
    content: '';
    width: 6px;
    height: 22px;
    border-radius: 4px;
    background: linear-gradient(180deg, #f4ad50, #d4882c);
    flex: 0 0 auto;
}
.xh-toc-card-kicker {
    color: #10231f;
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.2;
}
.xh-toc-card-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.xh-toc-card-list li { margin: 0; padding: 0; list-style: none; }
.xh-toc-card-list li::before { content: none !important; }
.xh-toc-card-list a {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 10px 8px 12px;
    border-radius: 8px;
    color: #4a5867;
    font-size: 0.86rem;
    line-height: 1.35;
    font-weight: 500;
    text-decoration: none;
    transition: background .18s ease, color .18s ease, padding .18s ease;
}
.xh-toc-card-list a::before {
    content: '';
    flex: 0 0 auto;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #c4cfd6;
    margin-top: 8px;
    transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.xh-toc-card-list a:hover {
    background: #fff7eb;
    color: #10231f;
}
.xh-toc-card-list a:hover::before { background: #f4ad50; }
.xh-toc-card-list a.is-active {
    background: linear-gradient(90deg, rgba(244,173,80,.16), rgba(244,173,80,.03));
    color: #804a1a;
    font-weight: 700;
    padding-left: 14px;
}
.xh-toc-card-list a.is-active::before {
    background: #f4ad50;
    transform: scale(1.45);
    box-shadow: 0 0 0 3px rgba(244,173,80,.18);
}
.xh-toc-card::-webkit-scrollbar { width: 6px; }
.xh-toc-card::-webkit-scrollbar-thumb { background: #d6e0db; border-radius: 999px; }
.xh-toc-card::-webkit-scrollbar-thumb:hover { background: #f4ad50; }

/* === Pros/Cons 2-Spalter (Stärken / Schwächen) === */
.xh-pros-cons-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin: 22px 0 28px;
}
.xh-pros-cons-col {
    border-radius: 14px;
    padding: 18px 20px 16px;
    border: 1px solid;
}
.xh-pros-cons-col--good {
    background: #ECFDF5;
    border-color: #BBF7D0;
    color: #064E3B;
}
.xh-pros-cons-col--bad {
    background: #FEF2F2;
    border-color: #FECACA;
    color: #7F1D1D;
}
.xh-pros-cons-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid currentColor;
    opacity: 1;
}
.xh-pros-cons-head h2 {
    margin: 0 !important;
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
}
.xh-pros-cons-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
}
.xh-pros-cons-col--good .xh-pros-cons-icon {
    background: #BBF7D0; color: #064E3B;
}
.xh-pros-cons-col--bad .xh-pros-cons-icon {
    background: #FECACA; color: #7F1D1D;
}
.xh-pros-cons-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.xh-pros-cons-col li {
    padding: 6px 0 6px 22px;
    position: relative;
    line-height: 1.4;
    font-size: 0.94rem;
}
.xh-pros-cons-col--good li::before {
    content: '✓';
    position: absolute; left: 0; top: 6px;
    color: #059669; font-weight: 800;
}
.xh-pros-cons-col--bad li::before {
    content: '⚠';
    position: absolute; left: 0; top: 6px;
    color: #DC2626; font-weight: 800;
}
@media (max-width: 720px) {
    .xh-pros-cons-wrap { grid-template-columns: 1fr; }
}

/* === FAQ-Accordion === */
.xh-faq-item {
    border: 1px solid #e5ece8;
    border-radius: 12px;
    padding: 0;
    margin: 10px 0;
    background: #fff;
    overflow: hidden;
    transition: border-color .15s ease;
}
.xh-faq-item h3,
.xh-faq-item h4 {
    margin: 0 !important;
    padding: 16px 48px 16px 18px !important;
    cursor: pointer !important;
    position: relative !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: #10231f !important;
    line-height: 1.35 !important;
    user-select: none;
}
.xh-faq-item h3::after,
.xh-faq-item h4::after {
    content: '+';
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4rem;
    color: #f4ad50;
    font-weight: 800;
    line-height: 1;
    transition: transform .2s ease;
}
.xh-faq-item.xh-faq-open h3::after,
.xh-faq-item.xh-faq-open h4::after {
    content: '−';
    transform: translateY(-50%) rotate(180deg);
}
.xh-faq-item p,
.xh-faq-item ul,
.xh-faq-item ol {
    display: none !important;
    padding: 0 18px 16px !important;
    margin: 0 !important;
    color: #4a5867 !important;
    line-height: 1.55 !important;
}
.xh-faq-item.xh-faq-open p,
.xh-faq-item.xh-faq-open ul,
.xh-faq-item.xh-faq-open ol {
    display: block !important;
}
.xh-faq-item:hover { border-color: #f4ad50; }

/* =====================================================================
   XR 2026-05-31 (Iteration 4.5) — SSV-Klassen-Aliase für Software-Tests
   Die neuen Software-Test-Posts verwenden ssv-* Klassen aus dem Tibber-
   Template (money-intro, test-verdict, faq-item, reco-box, table).
   Hier gemapped auf das XR-Look-and-Feel, damit alles styled rüberkommt.
   ===================================================================== */

/* === Money-Intro-Box: helle Karte mit Akzentkante === */
.xh-prose .ssv-money-intro {
    background: #fffdf6;
    border: 1px solid #f3e6c2;
    border-left: 5px solid #f4ad50;
    border-radius: 14px;
    padding: 22px 24px;
    margin: 24px 0 28px;
    box-shadow: 0 8px 24px -16px rgba(244, 173, 80, 0.35);
}
.xh-prose .ssv-money-intro .ssv-kicker {
    color: #804a1a;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0 0 8px;
    display: block;
}
.xh-prose .ssv-money-intro h2 {
    color: #10231f !important;
    font-weight: 800 !important;
    margin: 0 0 12px !important;
    font-size: 1.4rem !important;
    line-height: 1.3 !important;
}
.xh-prose .ssv-money-intro p {
    margin: 0 0 14px;
    color: #2a3340;
}
.xh-prose .ssv-money-intro p:last-child {
    margin-bottom: 0;
}

/* === Test-Verdict-Box: hellgrüne Highlight-Karte === */
.xh-prose .ssv-test-verdict {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-left: 5px solid #059669;
    border-radius: 14px;
    padding: 22px 24px;
    margin: 28px 0;
    box-shadow: 0 8px 24px -16px rgba(5, 150, 105, 0.3);
}
.xh-prose .ssv-test-verdict .ssv-kicker {
    color: #047857;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0 0 8px;
    display: block;
}
.xh-prose .ssv-test-verdict h2 {
    color: #064e3b !important;
    font-weight: 800 !important;
    margin: 0 0 12px !important;
    font-size: 1.4rem !important;
    line-height: 1.3 !important;
}
.xh-prose .ssv-test-verdict p {
    margin: 0;
    color: #064e3b;
    line-height: 1.55;
}

/* === Reco-Box: CTA-Block am Ende === */
.xh-prose .ssv-reco-box {
    background: linear-gradient(135deg, #0a1828, #143055);
    color: #f5f8fb;
    border-radius: 18px;
    padding: 26px 28px;
    margin: 32px 0;
    box-shadow: 0 14px 36px -18px rgba(11, 29, 51, 0.55);
}
.xh-prose .ssv-reco-box p {
    color: rgba(245, 248, 251, 0.92);
    margin: 0 0 16px;
    line-height: 1.55;
}
.xh-prose .ssv-reco-box a:not(.button) {
    color: #d4ec5f;
    text-decoration: underline;
}
.xh-prose .ssv-reco-box a.button,
.xh-prose .ssv-reco-box a.ssv-affiliate-button {
    background: linear-gradient(135deg, #f4ad50, #d4882c) !important;
    color: #fff !important;
    border-radius: 999px !important;
    padding: 12px 24px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    box-shadow: 0 12px 28px -10px rgba(244,173,80,0.55) !important;
}

/* === SSV-Tabelle: zebra-Style passend zu XR === */
.xh-prose .ssv-table {
    display: table;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 18px 0 24px;
    border: 1px solid #e5ece8;
    border-radius: 12px;
    overflow: hidden;
}
.xh-prose .ssv-table .ssv-row {
    display: table-row;
}
.xh-prose .ssv-table .ssv-row-head {
    background: #10231f;
    color: #fff;
    font-weight: 800;
}
.xh-prose .ssv-table .ssv-row > span,
.xh-prose .ssv-table .ssv-row > strong {
    display: table-cell;
    padding: 10px 14px;
    vertical-align: top;
    border-top: 1px solid #eef3ef;
    font-size: 0.92rem;
    line-height: 1.4;
}
.xh-prose .ssv-table .ssv-row-head > span {
    border-top: 0;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.xh-prose .ssv-table .ssv-row:nth-child(even) {
    background: #f8fafc;
}
.xh-prose .ssv-table .ssv-row > strong {
    color: #10231f;
    font-weight: 700;
}

/* === FAQ-Liste (ssv-faq-item) — 2026-07-08: DEAKTIVIERT, ersetzt durch FAQ-FIX v2 (siehe .ssv-faq-item h3::before/::after weiter unten).
   Diese alte orange +/- -Version kollidierte mit dem neuen teal ?-Badge/Chevron (höhere Spezifität + !important gewann trotz späterer Quellreihenfolge).
   Block bewusst als Referenz auskommentiert statt gelöscht. */
/*
.xh-prose .ssv-faq-list { margin: 18px 0 24px; display: flex; flex-direction: column; gap: 10px; }
.xh-prose .ssv-faq-item { border: 1px solid #e5ece8; border-radius: 12px; background: #fff; overflow: hidden; transition: border-color .15s ease; }
.xh-prose .ssv-faq-item h3 { margin: 0 !important; padding: 16px 48px 16px 18px !important; cursor: pointer !important; position: relative !important; font-size: 1rem !important; font-weight: 700 !important; color: #10231f !important; line-height: 1.35 !important; user-select: none; }
.xh-prose .ssv-faq-item h3::after { content: '+'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: #f4ad50; font-weight: 800; line-height: 1; transition: transform .2s ease; }
.xh-prose .ssv-faq-item.xh-faq-open h3::after { content: '\2212'; transform: translateY(-50%) rotate(180deg); }
.xh-prose .ssv-faq-item p, .xh-prose .ssv-faq-item ul { display: none !important; padding: 0 18px 16px !important; margin: 0 !important; color: #4a5867 !important; line-height: 1.55 !important; }
.xh-prose .ssv-faq-item.xh-faq-open p, .xh-prose .ssv-faq-item.xh-faq-open ul { display: block !important; }
.xh-prose .ssv-faq-item:hover { border-color: #f4ad50; }
*/

/* === H2 generell im xh-prose: konsistente Hierarchie === */
.xh-prose h2 {
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    margin: 32px 0 12px !important;
    color: #10231f !important;
    line-height: 1.3 !important;
    letter-spacing: -0.005em !important;
}
.xh-prose h2:first-child {
    margin-top: 0 !important;
}

/* === Affiliate-Button im xh-prose (SSV-Style) === */
.xh-prose a.ssv-affiliate-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #f4ad50, #d4882c);
    color: #fff !important;
    text-decoration: none;
    font-weight: 800;
    padding: 12px 22px;
    border-radius: 999px;
    box-shadow: 0 10px 24px -10px rgba(244,173,80,0.55);
    transition: transform .15s ease;
}
.xh-prose a.ssv-affiliate-button:hover {
    transform: translateY(-1px);
}
.xh-prose a.button.secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: #10231f !important;
    border: 1px solid #d6e0db;
    text-decoration: none;
    font-weight: 700;
    padding: 12px 22px;
    border-radius: 999px;
    margin-left: 8px;
    transition: background .15s ease;
}
.xh-prose a.button.secondary:hover {
    background: #f3faf6;
}

/* === Link-Cloud (Alternativen) — passend zu XR === */
.xh-prose .ssv-link-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 16px 0 24px;
}
.xh-prose .ssv-link-cloud a {
    display: inline-flex;
    align-items: center;
    background: #f3faf6;
    color: #10231f;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid #d6e0db;
    font-size: 0.88rem;
    transition: background .15s ease, border-color .15s ease;
}
.xh-prose .ssv-link-cloud a:hover {
    background: #f4ad50;
    color: #fff;
    border-color: #d4882c;
}

/* ===================================================================
   v6.0 POLISH LAYER — editorial typography + hairline rules
   Scoped to existing classes, additive only. No restructuring.
   =================================================================== */
/* Redaktionelle Serifenschrift: lokaler System-Stack, ohne zusätzliche Fontdatei. */

:root {
    --xh-signal: #FF7A3D;
    --xh-signal-dim: rgba(255,122,61,0.16);
    --xh-gold: #E0B65A;
    --xh-rule: rgba(244,241,232,0.13);
    --xh-rule-strong: rgba(244,241,232,0.30);
}

/* ---- Hero polish (Fraunces title + refined logo card) ---- */
.xh-test-hero .xh-hero-title {
    font-family: Georgia, 'Times New Roman', serif !important;
    font-weight: 380 !important;
    letter-spacing: -0.02em !important;
    font-variation-settings: 'opsz' 144, 'SOFT' 25 !important;
    line-height: 1.08 !important;
}
.xh-test-hero .xh-hero-title em,
.xh-test-hero .xh-hero-title strong {
    font-style: italic !important;
    color: var(--xh-signal) !important;
    font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 1 !important;
    font-weight: 400 !important;
}
.xh-test-hero .xh-hero-lead {
    font-family: Georgia, 'Times New Roman', serif !important;
    font-style: italic !important;
    font-weight: 320 !important;
    font-variation-settings: 'opsz' 72, 'SOFT' 80, 'WONK' 1 !important;
    line-height: 1.42 !important;
}
.xh-test-hero .xh-hero-badge {
    font-family: 'Geist Mono', ui-monospace, monospace !important;
    letter-spacing: 0.22em !important;
    border-radius: 100px !important;
    background: var(--xh-signal) !important;
    color: #0B1D33 !important;
    font-weight: 600 !important;
    border: 1.5px solid var(--xh-signal) !important;
    box-shadow: 0 0 24px rgba(255,122,61,0.25) !important;
}
.xh-test-hero-logo {
    border-radius: 0 !important;
    border: 1.5px solid #F4F1E8 !important;
    box-shadow: 10px 10px 0 rgba(0,0,0,0.45), 0 0 0 1px rgba(244,241,232,0.05) !important;
    transition: transform .3s cubic-bezier(.4,0,0,1), box-shadow .3s !important;
}
.xh-test-hero-logo:hover {
    transform: translate(-3px,-3px) !important;
    box-shadow: 13px 13px 0 rgba(0,0,0,0.55), 0 0 0 1px rgba(244,241,232,0.05) !important;
}
.xh-test-hero-meta {
    font-family: 'Geist Mono', ui-monospace, monospace !important;
    letter-spacing: 0.06em !important;
}
.xh-test-hero-meta .xh-test-stars { color: var(--xh-gold) !important; text-shadow: 0 0 16px rgba(224,182,90,0.35); }
.xh-test-hero-meta .xh-test-rating { color: var(--xh-gold) !important; font-weight: 600; }
.xh-test-hero-meta .xh-test-price {
    background: rgba(255,122,61,0.10) !important;
    border: 1px solid rgba(255,122,61,0.4) !important;
    color: var(--xh-signal) !important;
    font-weight: 600;
}

/* ---- Overview-Box "Was du wissen musst" — hairline timeline polish ---- */
.xh-overview-box {
    background: linear-gradient(180deg, rgba(244,241,232,0.05), rgba(244,241,232,0.015)) !important;
    border: 1px solid var(--xh-rule-strong) !important;
    border-radius: 0 !important;
    position: relative !important;
    padding: 36px 40px !important;
    margin-top: 36px !important;
}
.xh-overview-box::before {
    content: ''; position: absolute; top: -1px; left: 0; width: 88px; height: 3px;
    background: var(--xh-signal);
}
.xh-overview-head {
    display: flex !important; flex-direction: column; gap: 8px;
    padding-bottom: 26px !important; margin-bottom: 28px !important;
    border-bottom: 1px solid var(--xh-rule) !important;
}
.xh-overview-kicker {
    font-family: 'Geist Mono', ui-monospace, monospace !important;
    font-size: 10.5px !important;
    letter-spacing: 0.26em !important;
    text-transform: uppercase !important;
    color: var(--xh-signal) !important;
    background: none !important; padding: 0 !important; border: 0 !important;
}
.xh-overview-head > strong {
    font-family: Georgia, 'Times New Roman', serif !important;
    font-weight: 400 !important;
    font-size: clamp(22px, 2vw, 28px) !important;
    color: #F4F1E8 !important;
    letter-spacing: -0.01em !important;
    line-height: 1.18;
    font-variation-settings: 'opsz' 144, 'SOFT' 30;
}
.xh-overview-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0 !important;
    position: relative !important;
}
.xh-overview-grid::before {
    content: ''; position: absolute; left: 0; right: 0; top: 28px; height: 1px;
    background-image: linear-gradient(90deg, var(--xh-rule-strong) 50%, transparent 50%);
    background-size: 8px 1px;
    pointer-events: none;
}
.xh-overview-tile {
    background: none !important;
    border: none !important; border-right: 1px solid var(--xh-rule) !important;
    padding: 0 28px !important;
    position: relative !important;
}
.xh-overview-tile:first-child { padding-left: 0 !important; }
.xh-overview-tile:last-child { padding-right: 0 !important; border-right: none !important; }
.xh-overview-tile::before {
    content: ''; display: block;
    width: 12px; height: 12px; border-radius: 50%;
    background: #0B1D33; border: 2px solid var(--xh-signal);
    box-shadow: 0 0 0 6px #0B1D33;
    margin-bottom: 22px;
    position: relative; z-index: 2;
}
.xh-overview-tile:first-child::before { background: var(--xh-signal); }
.xh-overview-date {
    display: inline-block !important;
    padding: 5px 10px !important; margin-bottom: 14px !important;
    background: var(--xh-signal-dim) !important;
    border: 1px solid rgba(255,122,61,0.4) !important;
    color: var(--xh-signal) !important;
    border-radius: 4px !important;
    font-family: 'Geist Mono', ui-monospace, monospace !important;
    font-size: 10.5px !important;
    letter-spacing: 0.18em !important;
    text-transform: uppercase !important;
    font-weight: 600 !important;
}
.xh-overview-tile > strong {
    font-family: Georgia, 'Times New Roman', serif !important;
    font-weight: 450 !important;
    font-size: 21px !important;
    color: #F4F1E8 !important;
    letter-spacing: -0.005em !important;
    line-height: 1.2 !important;
    margin-bottom: 10px !important;
    font-variation-settings: 'opsz' 144, 'SOFT' 30;
    display: block;
}
.xh-overview-tile > p {
    font-family: 'Geist', system-ui, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
    color: rgba(244,241,232,0.85) !important;
}

/* ---- Pros / Cons cards polish ---- */
.xh-pros-cons-wrap {
    gap: 24px !important;
    margin: 22px 0 !important;
}
.xh-pros-cons-col {
    background: rgba(244,241,232,0.035) !important;
    border: 1px solid var(--xh-rule-strong) !important;
    border-radius: 0 !important;
    padding: 28px 28px 24px !important;
    position: relative;
}
.xh-pros-cons-col--good { border-top: 3px solid #6CC07A !important; }
.xh-pros-cons-col--bad  { border-top: 3px solid #E2604D !important; }
.xh-pros-cons-head {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    padding-bottom: 18px !important;
    margin-bottom: 18px !important;
    border-bottom: 1px solid var(--xh-rule) !important;
}
.xh-pros-cons-icon {
    width: 40px !important; height: 40px !important;
    border-radius: 50% !important;
    display: grid !important; place-items: center !important;
    flex-shrink: 0 !important;
}
.xh-pros-cons-col--good .xh-pros-cons-icon { background: rgba(108,192,122,0.15) !important; color: #6CC07A !important; }
.xh-pros-cons-col--bad  .xh-pros-cons-icon { background: rgba(226,96,77,0.15) !important; color: #E2604D !important; }
.xh-pros-cons-head h2 {
    font-family: Georgia, 'Times New Roman', serif !important;
    font-weight: 400 !important;
    font-size: 24px !important;
    color: #F4F1E8 !important;
    margin: 0 !important;
    letter-spacing: -0.01em !important;
    font-variation-settings: 'opsz' 144, 'SOFT' 30;
}
.xh-pros-cons-col ul {
    list-style: none !important;
    margin: 0 !important; padding: 0 !important;
}
.xh-pros-cons-col ul li {
    padding: 12px 0 12px 30px !important;
    border-bottom: 1px dashed var(--xh-rule) !important;
    position: relative !important;
    font-size: 14.5px !important;
    line-height: 1.55 !important;
    color: rgba(244,241,232,0.88) !important;
    font-family: 'Geist', system-ui, sans-serif !important;
}
.xh-pros-cons-col ul li:last-child { border-bottom: none !important; }
.xh-pros-cons-col ul li::before {
    content: ''; display: none !important;
}
.xh-pros-cons-col--good ul li {
    background-image: none !important;
}
.xh-pros-cons-col--good ul li::after,
.xh-pros-cons-col--bad ul li::after {
    position: absolute !important; left: 0 !important; top: 11px !important;
    font-family: 'Geist Mono', ui-monospace, monospace !important;
    font-size: 15px !important; font-weight: 600 !important; line-height: 1 !important;
}
.xh-pros-cons-col--good ul li::after { content: '✓' !important; color: #6CC07A !important; }
.xh-pros-cons-col--bad  ul li::after { content: '✕' !important; color: #E2604D !important; }

/* ---- FAQ-Accordion polish (nur noch xh-faq-item — dunkle Serif-Variante; .ssv-faq-item 2026-07-08 entkoppelt,
   läuft jetzt exklusiv über FAQ-FIX v2 weiter unten, sonst Kollision mit dem teal ?-Badge/Chevron) ---- */
.xh-faq-list {
    border-top: 1px solid var(--xh-rule-strong) !important;
    margin: 24px 0 !important;
}
.xh-faq-item {
    border: none !important;
    border-bottom: 1px solid var(--xh-rule) !important;
    border-radius: 0 !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    transition: background .2s ease !important;
}
.xh-faq-item.xh-faq-open,
.xh-faq-item:hover {
    background: rgba(244,241,232,0.035) !important;
    border-color: var(--xh-rule) !important;
    box-shadow: none !important;
}
.xh-faq-item h3,
.xh-faq-item h4 {
    font-family: Georgia, 'Times New Roman', serif !important;
    font-weight: 400 !important;
    font-size: 19px !important;
    color: #F4F1E8 !important;
    letter-spacing: -0.005em !important;
    line-height: 1.32 !important;
    padding: 20px 56px 20px 24px !important;
    margin: 0 !important;
    position: relative !important;
    cursor: pointer !important;
    transition: padding-left .25s ease !important;
    font-variation-settings: 'opsz' 144, 'SOFT' 30;
}
.xh-faq-item h3:hover { padding-left: 32px !important; }
.xh-faq-item h3::before {
    content: ''; position: absolute; left: 0; top: 24px;
    width: 16px; height: 1px; background: var(--xh-signal);
    transition: width .25s ease;
}
.xh-faq-item h3:hover::before,
.xh-faq-item.xh-faq-open h3::before {
    width: 24px !important;
}
.xh-faq-item h3::after {
    content: '+' !important;
    position: absolute !important; right: 24px !important;
    top: 50% !important; transform: translateY(-50%) !important;
    font-family: Georgia, 'Times New Roman', serif !important;
    font-weight: 300 !important;
    font-size: 30px !important;
    color: var(--xh-signal) !important;
    line-height: 1 !important;
    transition: transform .25s ease !important;
    font-variation-settings: 'opsz' 144;
}
.xh-faq-item.xh-faq-open h3::after {
    content: '−' !important;
}
.xh-faq-item p {
    padding: 0 56px 22px 24px !important;
    font-size: 15px !important;
    color: rgba(244,241,232,0.85) !important;
    line-height: 1.6 !important;
    font-family: 'Geist', system-ui, sans-serif !important;
}

/* ---- TOC sidebar polish ---- */
.xh-toc-card {
    background: rgba(244,241,232,0.035) !important;
    border: 1px solid var(--xh-rule-strong) !important;
    border-radius: 0 !important;
    padding: 28px 24px !important;
}
.xh-toc-card-kicker {
    font-family: 'Geist Mono', ui-monospace, monospace !important;
    font-size: 10px !important;
    letter-spacing: 0.24em !important;
    text-transform: uppercase !important;
    color: var(--xh-signal) !important;
    margin-bottom: 16px !important;
    display: flex; align-items: center; gap: 8px;
}
.xh-toc-card-kicker::before {
    content: ''; width: 14px; height: 1px; background: var(--xh-signal);
}
.xh-toc-card-list {
    list-style: none !important;
    counter-reset: xhtoc !important;
    margin: 0 !important; padding: 0 !important;
}
.xh-toc-card-list li {
    counter-increment: xhtoc !important;
    padding: 8px 0 8px 26px !important;
    border-bottom: 1px dashed var(--xh-rule) !important;
    position: relative !important;
    font-size: 13px !important; line-height: 1.4 !important;
    font-family: 'Geist', system-ui, sans-serif !important;
}
.xh-toc-card-list li:last-child { border-bottom: none !important; }
.xh-toc-card-list li::before {
    content: counter(xhtoc, decimal-leading-zero) !important;
    position: absolute !important; left: 0 !important; top: 9px !important;
    font-family: 'Geist Mono', ui-monospace, monospace !important;
    font-size: 9.5px !important; letter-spacing: 0.1em !important;
    color: rgba(244,241,232,0.55) !important; font-weight: 500 !important;
}
.xh-toc-card-list a {
    color: rgba(244,241,232,0.82) !important;
    text-decoration: none !important;
    transition: color .15s ease !important;
}
.xh-toc-card-list a:hover, .xh-toc-card-list a.is-active {
    color: var(--xh-signal) !important;
}

/* ---- Section H2 — Fraunces editorial uplift ---- */
.xh-prose h2 {
    font-family: Georgia, 'Times New Roman', serif !important;
    font-weight: 380 !important;
    letter-spacing: -0.015em !important;
    font-variation-settings: 'opsz' 144, 'SOFT' 25;
    line-height: 1.15 !important;
}
.xh-prose h2 em {
    color: var(--xh-signal);
    font-style: italic;
    font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 1;
}

/* ---- Mobile ---- */
@media (max-width: 768px) {
    .xh-overview-box { padding: 24px 20px !important; }
    .xh-overview-grid { grid-template-columns: 1fr !important; }
    .xh-overview-grid::before { display: none !important; }
    .xh-overview-tile {
        padding: 22px 0 !important;
        border-right: none !important;
        border-bottom: 1px solid var(--xh-rule) !important;
    }
    .xh-overview-tile:last-child { border-bottom: none !important; padding-bottom: 0 !important; }
    .xh-pros-cons-wrap { grid-template-columns: 1fr !important; }
    .xh-pros-cons-col { padding: 22px !important; }
    .xh-faq-item h3, .ssv-faq-item h3 {
        font-size: 17px !important;
        padding: 18px 48px 18px 18px !important;
    }
    .xh-faq-item p, .ssv-faq-item p { padding: 0 48px 18px 18px !important; }
}
/* === end v6.0 polish layer === */

/* === v6.0.1 — Light-bg context fix ===
   FAQ / Pros-Cons / TOC liegen auf weißem Page-BG (nicht Hero-Navy).
   Cream-Text-Overrides aus v6.0 zurücknehmen, Card-BG hellen, Rules dunkler. */

/* TOC sidebar — auf hellem BG */
.xh-toc-card {
    background: #FFFFFF !important;
    border: 1px solid #E8E2D4 !important;
}
.xh-toc-card-list li {
    border-bottom: 1px dashed #E8E2D4 !important;
}
.xh-toc-card-list li::before { color: rgba(11,29,51,0.45) !important; }
.xh-toc-card-list a { color: rgba(11,29,51,0.78) !important; }
.xh-toc-card-list a:hover, .xh-toc-card-list a.is-active { color: var(--xh-signal) !important; }

/* FAQ — auf hellem BG */
.xh-faq-list, .ssv-faq-list { border-top-color: #E8E2D4 !important; }
.xh-faq-item, .ssv-faq-item { border-bottom-color: #E8E2D4 !important; background: #FFFFFF !important; }
.xh-faq-item:hover, .ssv-faq-item:hover,
.xh-faq-item.xh-faq-open, .ssv-faq-item.xh-faq-open {
    background: #FAF7F0 !important;
}
.xh-faq-item h3, .ssv-faq-item h3,
.xh-faq-item h4, .ssv-faq-item h4 {
    color: #0B1D33 !important;
}
.xh-faq-item p, .ssv-faq-item p {
    color: #41526B !important;
}

/* Pros / Cons — auf hellem BG */
.xh-pros-cons-col {
    background: #FFFFFF !important;
    border: 1px solid #E8E2D4 !important;
}
.xh-pros-cons-col--good { border-top: 3px solid #2E9F49 !important; }
.xh-pros-cons-col--bad  { border-top: 3px solid #D54A37 !important; }
.xh-pros-cons-col--good .xh-pros-cons-icon { background: rgba(46,159,73,0.12) !important; color: #2E9F49 !important; }
.xh-pros-cons-col--bad  .xh-pros-cons-icon { background: rgba(213,74,55,0.12) !important; color: #D54A37 !important; }
.xh-pros-cons-head { border-bottom-color: #E8E2D4 !important; }
.xh-pros-cons-head h2 { color: #0B1D33 !important; }
.xh-pros-cons-col ul li {
    color: #41526B !important;
    border-bottom-color: #E8E2D4 !important;
}
.xh-pros-cons-col--good ul li::after { color: #2E9F49 !important; }
.xh-pros-cons-col--bad  ul li::after { color: #D54A37 !important; }

/* Section H2 Fraunces — dunkler bei light bg */
.xh-prose h2 { color: #0B1D33 !important; }
/* === end v6.0.1 corrective fix === */

/* ── Tool-Icons: KSES-sichere CSS-Mask-Icons (ersetzen die von WP-KSES gestripten Inline-SVGs auf /xrechnung-oeffnen/) ── */
.xh-viewer-cta-icon::before,.xh-drop-icon::before,.xh-email-icon::before,.xh-dl-icon::before{content:"";display:inline-block;background:currentColor;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center;-webkit-mask-size:contain;mask-size:contain}
.xh-viewer-cta-icon::before{width:34px;height:34px;-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Ccircle%20cx='11'%20cy='11'%20r='7'/%3E%3Cpath%20d='M21%2021l-4.35-4.35'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Ccircle%20cx='11'%20cy='11'%20r='7'/%3E%3Cpath%20d='M21%2021l-4.35-4.35'/%3E%3C/svg%3E")}
.xh-drop-icon::before{width:30px;height:30px;-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M12%2015V3'/%3E%3Cpath%20d='M7%208l5-5%205%205'/%3E%3Cpath%20d='M5%2017v2a2%202%200%200%200%202%202h10a2%202%200%200%200%202-2v-2'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M12%2015V3'/%3E%3Cpath%20d='M7%208l5-5%205%205'/%3E%3Cpath%20d='M5%2017v2a2%202%200%200%200%202%202h10a2%202%200%200%200%202-2v-2'/%3E%3C/svg%3E")}
.xh-email-icon::before{width:24px;height:24px;-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Crect%20x='3'%20y='5'%20width='18'%20height='14'%20rx='2'/%3E%3Cpath%20d='M3.5%207l8.5%206%208.5-6'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Crect%20x='3'%20y='5'%20width='18'%20height='14'%20rx='2'/%3E%3Cpath%20d='M3.5%207l8.5%206%208.5-6'/%3E%3C/svg%3E")}
.xh-dl-icon::before{width:17px;height:17px;margin-right:6px;-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M12%203v12'/%3E%3Cpath%20d='M7%2010l5%205%205-5'/%3E%3Cpath%20d='M5%2019h14'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M12%203v12'/%3E%3Cpath%20d='M7%2010l5%205%205-5'/%3E%3Cpath%20d='M5%2019h14'/%3E%3C/svg%3E")}

/* ═══════════ MOTION-PASS 2026-07 — Reveals, Hero-FX, Timeline-Draw (v6.1.0) ═══════════
   Prinzip wie DepotSieger: Bewegung mit Bedeutung, alles transform/opacity,
   reduced-motion-gated, kein Inhalt hinter JS versteckt. */

/* Hero: Gradient-Text raus (Taste-Regel: kein Verlaufs-Text auf großen Headern)
   → solides helles Teal + sich zeichnender Unterstrich */
.xh-hero-title .xh-hl {
    background: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    -webkit-text-fill-color: #4fd1cb !important;
    color: #4fd1cb !important;
    position: relative;
}
@media (prefers-reduced-motion: no-preference) {
    .xh-hero-title .xh-hl {
        background-image: linear-gradient(90deg, #2af598, #009efd) !important;
        background-repeat: no-repeat !important;
        background-position: 0 96% !important;
        background-size: 0% 3px !important;
        animation: xhUnderline .9s 1s cubic-bezier(.65,0,.2,1) forwards;
    }
    @keyframes xhUnderline { to { background-size: 100% 3px !important; } }

    /* Hero-Stagger: Badge → Titel → Lead → Buttons */
    .xh-hero-wrap > * { animation: xhUp .65s cubic-bezier(.2,.7,.2,1) both; }
    .xh-hero-wrap > *:nth-child(2) { animation-delay: .1s; }
    .xh-hero-wrap > *:nth-child(3) { animation-delay: .2s; }
    .home .ux-banner .button { animation: xhUp .65s .32s cubic-bezier(.2,.7,.2,1) both; }
    @keyframes xhUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

    /* Badge: EIN dezenter Licht-Sweep (einzige Endlos-Bewegung im Hero) */
    .xh-hero-badge { position: relative; overflow: hidden; }
    .xh-hero-badge::after {
        content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
        transform: skewX(-20deg);
        background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent);
        animation: xhSweep 9s 3s ease-in-out infinite;
    }
    @keyframes xhSweep { 0%, 78% { left: -60%; } 100% { left: 130%; } }
}

/* Hero-Atmosphäre: zwei weiche Licht-Orbs (CSS-only, kein Markup nötig) */
.home .ux-banner { overflow: hidden; }
.xh-hero-wrap { position: relative; }
.xh-hero-wrap::before, .xh-hero-wrap::after {
    content: ""; position: absolute; border-radius: 50%; filter: blur(70px);
    opacity: .3; pointer-events: none; z-index: -1;
}
.xh-hero-wrap::before { width: 380px; height: 380px; top: -160px; left: -180px;
    background: radial-gradient(circle, rgba(0,163,157,.6), transparent 70%); }
.xh-hero-wrap::after { width: 320px; height: 320px; bottom: -160px; right: -140px;
    background: radial-gradient(circle, rgba(0,158,253,.4), transparent 70%); }
@media (prefers-reduced-motion: no-preference) {
    .xh-hero-wrap::before { animation: xhOrbA 28s ease-in-out infinite alternate; }
    .xh-hero-wrap::after  { animation: xhOrbB 36s ease-in-out infinite alternate; }
    @keyframes xhOrbA { to { transform: translate(60px, 30px) scale(1.1); } }
    @keyframes xhOrbB { to { transform: translate(-50px, -24px) scale(1.06); } }
}

/* Scroll-Reveals (JS setzt .xh-rv + .xh-in — ohne JS bleibt alles sichtbar) */
@media (prefers-reduced-motion: no-preference) {
    .xh-rv { opacity: 0; transform: translateY(20px);
        transition: opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1); }
    /* Die abschließenden Arbeitswege müssen auch ohne ausgelösten
       IntersectionObserver sofort sichtbar und klickbar bleiben. */
    .xh-cta-final--tools .xh-final-card.xh-rv { opacity: 1; transform: none; }
    .xh-rv.xh-in { opacity: 1; transform: none; }
    /* Karten-Stagger je Grid */
    .xh-topic-card:nth-child(2), .xh-target-card:nth-child(2),
    .xh-format-card:nth-child(2), .xh-final-card:nth-child(2),
    .xh-stat-tile:nth-child(2) { transition-delay: .08s; }
    .xh-topic-card:nth-child(3), .xh-target-card:nth-child(3),
    .xh-final-card:nth-child(3), .xh-stat-tile:nth-child(3) { transition-delay: .16s; }
    .xh-stat-tile:nth-child(4) { transition-delay: .24s; }
    /* Timeline: Einträge nacheinander, Linie zeichnet sich von oben */
    .xh-timeline-item:nth-child(2) { transition-delay: .12s; }
    .xh-timeline-item:nth-child(3) { transition-delay: .24s; }
    .xh-timeline-item:nth-child(4) { transition-delay: .36s; }
    .xh-timeline-item:nth-child(5) { transition-delay: .48s; }
    .xh-timeline::before { transform: scaleY(0); transform-origin: top;
        transition: transform 1.3s .1s cubic-bezier(.65,0,.2,1); }
    .xh-timeline.xh-in::before { transform: scaleY(1); }
}

/* Sektions-Titel: Teal-Linie zeichnet sich nach dem Reveal */
.xh-section-head .xh-section-title, .xh-home-extras .xh-section-title { position: relative; padding-bottom: 10px; }
.xh-section-head .xh-section-title::after, .xh-home-extras .xh-section-title::after {
    content: ""; position: absolute; left: 50%; transform: translateX(-50%); bottom: 0;
    height: 3px; width: 0; border-radius: 2px;
    background: linear-gradient(90deg, var(--xh-teal, #008580), #c98a1a);
    transition: width .7s .25s cubic-bezier(.65,0,.2,1);
}
.xh-section-head.xh-in .xh-section-title::after,
.xh-section-title.xh-in::after { width: 52px; }
@media (prefers-reduced-motion: reduce) {
    .xh-section-head .xh-section-title::after, .xh-home-extras .xh-section-title::after { width: 52px; }
}

/* Karten-Hover: einheitliches, taktiles Feedback */
.xh-topic-card, .xh-target-card, .xh-format-card, .xh-final-card, .xh-stat-tile {
    transition: transform .18s cubic-bezier(.2,.7,.2,1), box-shadow .18s, border-color .18s;
}
.xh-topic-card:hover, .xh-target-card:hover, .xh-format-card:hover, .xh-final-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(10,27,48,.12);
}
.xh-stat-tile:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(10,27,48,.10); }
.xh-topic-arrow { display: inline-block; transition: transform .22s cubic-bezier(.2,.7,.2,1); }
.xh-topic-card:hover .xh-topic-arrow { transform: translateX(5px); }

/* Linksbündige Titel (home-extras): Unterstrich links statt zentriert */
.xh-home-extras .xh-section-title::after { left: 0; transform: none; }

/* ═══════════ HOME v2 (2026-07) — EIN Sektions-System statt UX-Builder+mu-plugin-Mix ═══════════
   front-page.php rendert jetzt alles; einheitliches Spacing, klarer Rhythmus:
   navy Hero → weiß → soft → weiß → soft → weiß → soft → navy Band. */

.xh-home-v2 .xh-sec { padding: clamp(56px, 7vw, 92px) 0; }
.xh-home-v2 .xh-sec-alt { background: var(--xh-bg, #f3f6f5); }
.xh-home-v2 .xh-sec-head { text-align: center; max-width: 760px; margin: 0 auto 44px; }
.xh-home-v2 .xh-sec-head .xh-section-title { margin: 0 0 10px; }
.xh-home-v2 .xh-sec-head .xh-section-lead { margin: 0 auto; max-width: 640px; }
/* Titel-Unterstrich in v2 immer zentriert */
.xh-home-v2 .xh-sec-head .xh-section-title::after { left: 50%; transform: translateX(-50%); }
.xh-home-v2 .xh-sec-head.xh-in .xh-section-title::after { width: 52px; }

/* Hero als eigene Sektion (ersetzt ux_banner) */
.xh-home-v2 .xh-sec-hero {
    background: radial-gradient(1100px 460px at 50% -15%, #10294a, #0b1d33);
    padding: clamp(72px, 9vw, 120px) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.xh-home-v2 .xh-hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.xh-home-v2 .xh-hero-btns .button { margin: 0; }
.xh-btn-ghost { background: rgba(255,255,255,.08) !important; color: #fff !important; border: 1.6px solid rgba(255,255,255,.4) !important; }
.xh-btn-ghost:hover { background: rgba(255,255,255,.18) !important; border-color: #fff !important; }

/* Drei-Wege-Grid (ersetzt UX-Builder-Row) */
.xh-topic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .xh-topic-grid { grid-template-columns: 1fr; } }

/* Wissen-Split: Prose links, Fristen-Kacheln rechts */
.xh-know-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (max-width: 900px) { .xh-know-split { grid-template-columns: 1fr; } }
.xh-know-btn { margin: 10px 0 0; }

/* Timeline mittig begrenzen (volle Shell-Breite wirkte verloren) */
.xh-timeline-center { max-width: 860px; margin-left: auto; margin-right: auto; }

/* SVG-Icon-Tints (ersetzen Emoji in Format-/Ziel-/Final-Karten) */
.xh-svg-teal  { color: var(--xh-teal, #008580); }
.xh-svg-cyan  { color: var(--xh-cyan, #0ea5c9); }
.xh-svg-amber { color: var(--xh-amber, #c98a1a); }
.xh-format-icon svg, .xh-target-icon svg, .xh-final-icon svg { display: block; }
.xh-format-icon, .xh-target-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 52px; height: 52px; border-radius: 14px; background: #fff;
    border: 1px solid var(--xh-line-soft, #e6ece9);
    box-shadow: 0 2px 8px rgba(10,27,48,.06);
}
.xh-final-icon { display: inline-flex; align-items: center; justify-content: center;
    width: 52px; height: 52px; border-radius: 14px;
    background: rgba(255,255,255,.08); color: #7fe0d8; }

/* Abschluss-Band: Chips + Test-Link-Zeile */
.xh-home-v2 .xh-cta-final { text-align: center; }
.xh-home-v2 .xh-cta-final .xh-ctaband-chips { justify-content: center; margin-top: 30px; }
.xh-final-tests { margin: 22px auto 0; font-size: .88rem; color: rgba(226,238,248,.65); }
.xh-final-tests a { color: rgba(226,238,248,.9); text-decoration: underline; text-underline-offset: 3px; }
.xh-final-tests a:hover { color: #fff; }

/* v2: mu-plugin-Abstände neutralisieren, falls Klassen wiederverwendet werden */
.xh-home-v2 .xh-timeline { margin-top: 0; }
@media (prefers-reduced-motion: no-preference) {
    .xh-faq-item:nth-child(2) { transition-delay: .05s; }
    .xh-faq-item:nth-child(3) { transition-delay: .10s; }
    .xh-faq-item:nth-child(4) { transition-delay: .15s; }
    .xh-faq-item:nth-child(5) { transition-delay: .20s; }
    .xh-faq-item:nth-child(6) { transition-delay: .25s; }
}

/* Zielgruppen-Toplines passend zur Icon-Farbe (statt 3x amber) */
.xh-home-v2 .xh-target-grid .xh-target-card:nth-child(1) { border-top-color: var(--xh-teal, #008580); }
.xh-home-v2 .xh-target-grid .xh-target-card:nth-child(2) { border-top-color: var(--xh-cyan, #0ea5c9); }
.xh-home-v2 .xh-target-grid .xh-target-card:nth-child(3) { border-top-color: var(--xh-amber, #c98a1a); }

/* ═══ UNTERSEITEN-PASS (2026-07): Sektions-Übergänge straffen ═══
   UX-Builder-Sektionen bringen individuelle Inline-Paddings mit (48-110px) —
   an Sektionsgrenzen addieren sich bottom+top+Margins zu Riesen-Lücken.
   !important schlägt die Inline-<style>-Blöcke (die haben keins). */
body.page:not(.home) main .section { padding-top: clamp(36px, 4.5vw, 60px) !important;
                                     padding-bottom: clamp(36px, 4.5vw, 60px) !important; }
/* Erste Sektion nach dem Seiten-Hero etwas mehr Luft nach oben */
body.page:not(.home) main .section:first-of-type { padding-top: clamp(44px, 5vw, 68px) !important; }

/* Unterseiten-Tool-Karten (xh-page-extras Final-CTA): SVG-Chip wie auf der Startseite */
body.page .xh-final-icon svg { display: block; }

/* ═══ KONTRAST-RETTUNG (2026-07): Text in dunklen Bändern IMMER hell ═══
   Die Unterseiten-Typo-Regel (body:not(.home) .xh-entry h2 → ink !important,
   Spezifität 0-3-1) überschrieb das weiße H2 der Bänder (0-1-1) → schwarz
   auf Navy. Diese Regeln stehen am Datei-Ende und gewinnen mit 0-4-1. */
body:not(.home) .xh-page-main :is(.xh-ctaband, .xh-cta-final, .xh-cta-band, .xh-test-cta-band, .xh-inline-tool) :is(h2, h3),
body:not(.home) :is(.xh-ctaband, .xh-cta-final, .xh-cta-band, .xh-test-cta-band, .xh-inline-tool) :is(h2, h3),
.xh-home-v2 .xh-cta-final h2 {
    color: #fff !important;
}
body:not(.home) .xh-page-main :is(.xh-ctaband, .xh-cta-final, .xh-cta-band, .xh-test-cta-band, .xh-inline-tool) :is(p, li),
body:not(.home) :is(.xh-ctaband, .xh-cta-final, .xh-cta-band, .xh-test-cta-band, .xh-inline-tool) :is(p, li),
.xh-home-v2 .xh-cta-final > p {
    color: rgba(255, 255, 255, 0.85) !important;
}
body:not(.home) :is(.xh-ctaband, .xh-cta-final, .xh-cta-band, .xh-test-cta-band, .xh-inline-tool) strong {
    color: #fff !important;
}
/* Links in dunklen Bändern hell + unterstrichen */
body:not(.home) :is(.xh-ctaband, .xh-cta-final, .xh-cta-band, .xh-test-cta-band, .xh-inline-tool) p a {
    color: #9beee7 !important;
}

/* ═══ Leichte Animationen für Unterseiten-Bausteine ═══ */
.xh-overview-tile, .xh-glossary-item, .xh-related-card, .xh-quickrec {
    transition: transform .18s cubic-bezier(.2,.7,.2,1), box-shadow .18s, border-color .18s;
}
.xh-related-card:hover, .xh-overview-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(10,27,48,.10);
}
@media (prefers-reduced-motion: no-preference) {
    .xh-rv.xh-overview-tile, .xh-rv.xh-glossary-item, .xh-rv.xh-related-card, .xh-rv.xh-quickrec,
    .xh-rv.xh-checklist {
        transition: transform .6s cubic-bezier(.2,.7,.2,1), box-shadow .18s,
                    opacity .6s cubic-bezier(.2,.7,.2,1);
    }
    .xh-overview-tile:nth-child(2), .xh-related-card:nth-child(2), .xh-glossary-item:nth-child(2) { transition-delay: .08s; }
    .xh-overview-tile:nth-child(3), .xh-related-card:nth-child(3), .xh-glossary-item:nth-child(3) { transition-delay: .16s; }
    .xh-glossary-item:nth-child(4) { transition-delay: .24s; }
}

/* ═══ HERO-AURORA (2026-07): bewegter Titel-Hintergrund auf der Startseite ═══
   Zwei weiche Farb-Layer driften gegenläufig hinter dem Hero-Inhalt —
   ruhig, blurry, reduced-motion-gated. */
.xh-home-v2 .xh-sec-hero::before,
.xh-home-v2 .xh-sec-hero::after {
    content: ""; position: absolute; inset: -22%;
    pointer-events: none; z-index: 0;
    filter: blur(52px);
}
.xh-home-v2 .xh-sec-hero::before {
    background:
        radial-gradient(620px 420px at 28% 38%, rgba(0, 190, 182, .62), transparent 60%),
        radial-gradient(540px 400px at 74% 60%, rgba(0, 158, 253, .52), transparent 60%);
    opacity: .85;
}
.xh-home-v2 .xh-sec-hero::after {
    background:
        radial-gradient(480px 340px at 66% 26%, rgba(42, 245, 152, .34), transparent 58%),
        radial-gradient(420px 320px at 18% 75%, rgba(14, 165, 201, .38), transparent 58%);
    opacity: .8;
}
.xh-home-v2 .xh-sec-hero .xh-shell { position: relative; z-index: 1; }
@media (prefers-reduced-motion: no-preference) {
    .xh-home-v2 .xh-sec-hero::before { animation: xhAuroraA 26s ease-in-out infinite alternate; }
    .xh-home-v2 .xh-sec-hero::after  { animation: xhAuroraB 34s ease-in-out infinite alternate; }
    @keyframes xhAuroraA { to { transform: translate(9%, 6%) rotate(10deg) scale(1.14); } }
    @keyframes xhAuroraB { to { transform: translate(-8%, -6%) rotate(-9deg) scale(1.18); } }
}

/* ═══════════ VIEWER-SEITE v2 (2026-07): Tool inline statt Modal ═══════════ */
/* Das Modal-Markup läuft als statische Karte — viewer.js bleibt unangetastet. */
.xh-viewer-inline.xh-modal {
    display: block !important;
    position: static !important;
    inset: auto !important;
    padding: 0 !important;
    background: none !important;
    z-index: auto !important;
    animation: none !important;
}
.xh-viewer-inline .xh-modal-backdrop, .xh-viewer-inline .xh-modal-close { display: none !important; }
.xh-viewer-inline .xh-modal-content {
    position: static !important;
    max-width: none !important;
    width: 100% !important;
    max-height: none !important;
    margin: 0 !important;
    box-shadow: 0 24px 64px rgba(10, 27, 48, .16);
    border: 1px solid var(--xh-line-soft, #e6ece9);
}
.xh-viewer-inline .xh-modal-body { max-height: none !important; min-height: 420px; }
@media (max-width: 860px) { .xh-viewer-inline .xh-modal-body { grid-template-columns: 1fr; min-height: 0; } }

/* Hero der Viewer-Seite */
.xh-viewer-hero {
    background: radial-gradient(1000px 420px at 50% -15%, #10294a, #0b1d33);
    padding: clamp(48px, 6vw, 84px) 0;
    text-align: center;
}
.xh-viewer-hero .xh-crumbs { justify-content: center; display: flex; gap: 6px; color: rgba(255,255,255,.55); font-size: .82rem; margin-bottom: 14px; }
.xh-viewer-hero .xh-crumbs a { color: rgba(255,255,255,.75); }
.xh-viewer-hero h1 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.6rem); margin: 0 0 12px; letter-spacing: -.02em; }
.xh-viewer-lead { color: rgba(224, 238, 248, .85); max-width: 640px; margin: 0 auto 20px; font-size: 1.05rem; line-height: 1.65; }
.xh-viewer-chips { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* Tool-Sektion überlappt den Hero leicht (Tool = Star der Seite) */
.xh-viewer-toolsec { padding: 0 0 clamp(48px, 6vw, 72px); margin-top: -28px; }

/* Sektionsrhythmus der Viewer-Seite */
.xh-sec-v { padding: clamp(48px, 6vw, 80px) 0; }
.xh-sec-v-alt { background: var(--xh-bg, #f3f6f5); }
.xh-viewer-page .xh-sec-head { text-align: center; max-width: 740px; margin: 0 auto 38px; }
.xh-viewer-page .xh-sec-head .xh-section-title::after { left: 50%; transform: translateX(-50%); }
.xh-viewer-page .xh-sec-head.xh-in .xh-section-title::after { width: 52px; }

/* 3 Schritte */
.xh-vsteps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 860px) { .xh-vsteps { grid-template-columns: 1fr; } }
.xh-vstep {
    background: #fff; border: 1px solid var(--xh-line-soft, #e6ece9);
    border-radius: 14px; padding: 26px 24px;
    box-shadow: 0 2px 10px rgba(10, 27, 48, .05);
    transition: transform .18s cubic-bezier(.2,.7,.2,1), box-shadow .18s;
}
.xh-vstep:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(10,27,48,.10); }
.xh-vstep-num {
    display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center;
    background: var(--xh-teal, #008580); color: #fff; border-radius: 10px;
    font-weight: 800; font-size: 1.05rem; margin-bottom: 12px;
}
.xh-vstep strong { display: block; font-size: 1.05rem; margin-bottom: 6px; }
.xh-vstep p { color: var(--xh-muted, #5d6b7e); margin: 0; line-height: 1.65; font-size: .95rem; }

/* Abschluss-Band (Kontrast garantiert: nutzt .xh-ctaband → Rettungs-Regeln greifen) */
.xh-viewer-band { background: radial-gradient(900px 400px at 50% -20%, #10294a, #0b1d33); text-align: center; }
.xh-viewer-band .xh-ctaband h2 { color: #fff !important; }
.xh-viewer-band .xh-ctaband p { color: rgba(255,255,255,.85) !important; max-width: 680px; margin: 0 auto 24px; }
.xh-viewer-band .button { margin: 0 6px; }
/* Inline-Viewer: Trigger-Button existiert nur für viewer.js-Init — nie anzeigen */
.xh-viewer-page #xhOpenViewer { display: none !important; }

/* ═══ FAQ-FIX (2026-07, v2): Software-Test-FAQs (ssv-faq-*) formatieren + klappbar ═══
   Markup ist h3+p (kein <details>) — Akkordeon via .xh-faq-open aus xh-test-polish.
   Angeglichen an globales FAQ-v2-Design (?-Badge + Chevron), siehe details.xh-faq-item weiter unten. */
.ssv-faq-list { display: grid; gap: 12px; margin: 18px 0 8px; }
.ssv-faq-item {
    background: #ffffff;
    border: 1px solid rgba(11, 29, 51, 0.09);
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(6, 21, 42, 0.05);
    padding: 0;
    overflow: hidden;
    transition: border-color .18s, box-shadow .18s;
}
.ssv-faq-item:hover, .ssv-faq-item.xh-faq-open { border-color: rgba(0, 133, 128, 0.5); box-shadow: 0 14px 34px rgba(6, 21, 42, 0.10); }
.ssv-faq-item h3, .ssv-faq-item h4 {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin: 0 !important;
    padding: 16px 54px 16px 16px !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    line-height: 1.45;
    cursor: pointer;
    color: #0b1d33 !important;
    font-family: var(--font) !important;
}
.ssv-faq-item.xh-faq-open h3, .ssv-faq-item.xh-faq-open h4 {
    background: linear-gradient(180deg, rgba(0, 133, 128, 0.06), rgba(0, 133, 128, 0.02));
    border-bottom: 1px solid rgba(0, 133, 128, 0.15);
}
.ssv-faq-item h3::before, .ssv-faq-item h4::before {
    content: "?";
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 30px; height: 30px;
    background: linear-gradient(135deg, #008580, #0e7490);
    border-radius: 10px;
    color: #ffffff;
    font-family: "Aptos", "Segoe UI", system-ui, sans-serif;
    font-size: 0.95rem;
    font-weight: 800;
}
.ssv-faq-item h3::after, .ssv-faq-item h4::after {
    content: "";
    position: absolute; right: 22px; top: 24px;
    width: 9px; height: 9px;
    border: solid #0e7490;
    border-width: 0 2.5px 2.5px 0;
    background: none;
    transform: rotate(45deg);
    transition: transform .2s ease, top .2s ease;
}
.ssv-faq-item.xh-faq-open h3::after, .ssv-faq-item.xh-faq-open h4::after {
    transform: rotate(225deg); top: 28px;
}
.ssv-faq-item > p, .ssv-faq-item > ul {
    display: none;
    margin: 0 !important;
    padding: 14px 20px 18px 60px !important;
    color: #33475c;
    line-height: 1.7;
}
.ssv-faq-item.xh-faq-open > p, .ssv-faq-item.xh-faq-open > ul { display: block; }
@media (max-width: 550px) {
    .ssv-faq-item h3, .ssv-faq-item h4 { padding: 14px 44px 14px 13px !important; }
    .ssv-faq-item h3::before, .ssv-faq-item h4::before { height: 26px; width: 26px; font-size: 0.85rem; border-radius: 8px; }
    .ssv-faq-item h3::after, .ssv-faq-item h4::after { right: 17px; }
    .ssv-faq-item > p, .ssv-faq-item > ul { padding: 12px 16px 16px 76px !important; }
}

/* ═══ VIEWER-HERO im Banner-Stil + EINFACHE AURORA auf allen dunklen Heros (2026-07) ═══ */
/* Viewer-Hero nutzt jetzt die Banner-Hero-Klassen (crumbs/badge/title/lead) —
   eigene h1/lead-Sonderstyles werden neutralisiert, Sektion liefert nur BG+Padding. */
.xh-viewer-hero { text-align: center; }
.xh-viewer-hero .xh-hero-lead { margin-bottom: 20px; }
.xh-viewer-hero h1.xh-hero-title { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }

/* Einfache Aurora: ein driftender Doppel-Farb-Layer, dezenter als die Startseite */
body:not(.home) .banner .banner-layers::after,
.xh-test-hero::after,
.xh-viewer-hero::after {
    content: ""; position: absolute; inset: -18%;
    pointer-events: none; z-index: 1;
    background:
        radial-gradient(520px 340px at 24% 34%, rgba(0, 190, 182, .34), transparent 60%),
        radial-gradient(460px 320px at 76% 64%, rgba(0, 158, 253, .26), transparent 60%);
    filter: blur(46px);
    opacity: .6;
}
body:not(.home) .banner .banner-layers { overflow: hidden; }
body:not(.home) .banner .banner-layers > .text-box { z-index: 2; }
.xh-test-hero { position: relative; overflow: hidden; }
.xh-test-hero > * { position: relative; z-index: 2; }
.xh-viewer-hero { position: relative; overflow: hidden; }
.xh-viewer-hero .xh-shell { position: relative; z-index: 2; }
@media (prefers-reduced-motion: no-preference) {
    body:not(.home) .banner .banner-layers::after,
    .xh-test-hero::after,
    .xh-viewer-hero::after { animation: xhAuroraSimple 30s ease-in-out infinite alternate; }
    @keyframes xhAuroraSimple { to { transform: translate(7%, 5%) rotate(6deg) scale(1.1); } }
}

/* ═══ Viewer-Hero: EXAKT der Unterseiten-Banner-Hintergrund (2026-07, Tom) ═══
   Gleicher Mesh-Gradient + gleiches Plus-Pattern wie .banner.has-hover — einheitlich. */
.xh-viewer-hero {
    background:
        radial-gradient(circle at 20% 20%, rgba(14, 165, 201, 0.30) 0px, transparent 45%),
        radial-gradient(circle at 80% 25%, rgba(201, 138, 26, 0.18) 0px, transparent 50%),
        radial-gradient(circle at 50% 95%, rgba(0, 133, 128, 0.32) 0px, transparent 55%),
        linear-gradient(135deg, #06152a 0%, #0a1b30 50%, #0d2440 100%);
    background-color: #06152a;
}
.xh-viewer-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* ═══════════ v6.7.0 — 2026-07-04: FAQ-[open]-Fix · Band-Typografie (Fraunces) · Parallel-Winkel-Kanten · Inline-Tool-Guard ═══════════ */

/* 1) Native <details>-FAQ: Der Legacy-Accordion-Block (.xh-faq-item p{display:none!important},
   nur .xh-faq-open zeigt) kennt kein [open] → Antworten blieben unsichtbar. [open]-Parallele: */
details.xh-faq-item[open] > p,
details.xh-faq-item[open] > ul,
details.xh-faq-item[open] > ol,
details.xh-faq-item[open] > div p,
details.xh-faq-item[open] > div ul,
details.xh-faq-item[open] > div ol {
    display: block !important;
}
details.xh-faq-item[open] {
    background: #FAF7F0 !important;
}

/* 2) Dunkle CTA-Bänder: Headline in Fraunces wie alle anderen Section-Titel der Site
   (vorher fette Grotesk = Stilbruch), Lead lesbarer, sauberer Rhythmus */
body:not(.home) :is(.xh-ctaband, .xh-cta-final, .xh-cta-band, .xh-test-cta-band) :is(h2, h3) {
    font-family: Georgia, 'Times New Roman', serif !important;
    font-weight: 430 !important;
    letter-spacing: -0.015em !important;
    font-variation-settings: 'opsz' 144, 'SOFT' 25;
    line-height: 1.18 !important;
}
body:not(.home) .xh-ctaband h2 {
    font-size: clamp(1.75rem, 3.4vw, 2.5rem) !important;
    margin-bottom: 14px !important;
}
body:not(.home) .xh-ctaband p {
    font-size: 1.08rem !important;
    line-height: 1.68 !important;
    max-width: 620px;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Section-H2 auf Unterseiten (heller Kontext) ebenfalls Fraunces — einheitlich mit
   Test-Seiten (.xh-prose h2) und Heroes; ersetzt die generische Bold-Grotesk */
body:not(.home) .xh-page-main > h2,
body:not(.home) .xh-page-main .entry-content > h2,
body:not(.home) .xh-page-main .entry-content .col-inner > h2,
body:not(.home) .xh-page-main .xh-entry > h2 {
    font-family: Georgia, 'Times New Roman', serif !important;
    font-weight: 420 !important;
    letter-spacing: -0.015em !important;
    font-variation-settings: 'opsz' 144, 'SOFT' 25;
    line-height: 1.18 !important;
}

/* 3) Fluide Übergänge: parallele Winkel-Kanten oben+unten an den dunklen
   Voll-Breite-Bändern (UXB-Sections mit .xh-ctaband) */
body:not(.home) .section:has(.xh-ctaband) {
    --xh-cut: clamp(16px, 2.4vw, 36px);
    clip-path: polygon(0 0, 100% var(--xh-cut), 100% 100%, 0 calc(100% - var(--xh-cut)));
    padding-top: calc(clamp(44px, 5vw, 68px) + var(--xh-cut)) !important;
    padding-bottom: calc(clamp(44px, 5vw, 68px) + var(--xh-cut)) !important;
}

/* 4) Inline-Tool-Kacheln: Text-Farben final absichern (immer hell auf dunklem Teal) */
body:not(.home) .xh-inline-tool :is(h2, h3, h4),
body:not(.home) .xh-page-main .xh-inline-tool :is(h2, h3, h4) {
    color: #ffffff !important;
}
body:not(.home) .xh-inline-tool :is(p, li),
body:not(.home) .xh-page-main .xh-inline-tool :is(p, li) {
    color: rgba(255,255,255,0.92) !important;
}
body:not(.home) .xh-inline-tool .xh-inline-tool-kicker {
    color: #7fe7df !important;
}
/* ═══════════ end v6.7.0 ═══════════ */

/* ═══════════ v6.7.3 — 2026-07-04: Hero-Topline (Crumbs+Badge eine Zeile) · Viewer-Hero kompakter · einheitliche Hero-Größe ═══════════ */

/* Viewer-Hero: kompakter (Tom: „Größe des Backgrounds bisschen kleiner"),
   Titel-Größe = Banner-Unterseiten (clamp 1.5–2.3rem) → überall einheitlich */
.xh-viewer-hero {
    padding: clamp(34px, 4.2vw, 54px) 0 !important;
}
.xh-viewer-hero .xh-hero-topline {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin: 0 0 18px;
}
.xh-viewer-hero .xh-hero-topline .xh-hero-crumbs,
.xh-viewer-hero .xh-hero-topline .xh-hero-badge {
    margin: 0 !important;
    order: 0 !important;
}
.xh-viewer-hero h1.xh-hero-title {
    font-size: clamp(1.5rem, 3.4vw, 2.3rem) !important;
    margin: 0 0 10px !important;
    line-height: 1.15 !important;
}
.xh-viewer-hero .xh-hero-lead {
    font-size: 1rem !important;
    max-width: 640px;
    margin: 0 auto 16px !important;
    line-height: 1.6 !important;
}
.xh-viewer-hero .xh-viewer-chips { gap: 8px; }

/* Banner-Unterseiten (Guides etc.): Crumbs + Badge in EINER Zeile, links */
body:not(.home) .banner.has-hover .xh-hero-crumbs {
    display: inline-flex !important;
    vertical-align: middle;
    margin: 0 14px 12px 0 !important;
}
body:not(.home) .banner.has-hover .xh-hero-badge {
    display: inline-flex !important;
    vertical-align: middle;
    margin: 0 0 12px !important;
}

/* Software-Test-Heroes: gleiche Topline-Behandlung */
section.section:has(.xh-test-hero) .xh-hero-crumbs,
.xh-test-hero-body .xh-hero-crumbs {
    display: inline-flex !important;
    vertical-align: middle;
    margin: 0 14px 12px 0 !important;
}
.xh-test-hero-body .xh-hero-badge {
    display: inline-flex !important;
    vertical-align: middle;
    margin: 0 0 12px !important;
}
/* ═══════════ end v6.7.3 ═══════════ */

/* ═══════════ v6.7.4 — 2026-07-04: Unterseiten-Heroes ZENTRIERT wie Viewer-Seite (Tom) ═══════════
   Banner-Box ist x50/y50 + .text-center — die früheren Links-Force-Regeln (Iteration 6/7)
   werden hier am Datei-Ende mit gleicher Spezifität wieder auf zentriert gedreht. */
body:not(.home) .banner.has-hover .text-inner,
body:not(.home) .banner.has-hover .text-box {
    text-align: center !important;
}
body:not(.home) .banner.has-hover .xh-hero-crumbs {
    display: inline-flex !important;
    justify-content: center !important;
    text-align: center !important;
    vertical-align: middle;
    margin: 0 14px 12px 0 !important;
}
body:not(.home) .banner.has-hover .xh-hero-badge {
    display: inline-flex !important;
    vertical-align: middle;
    text-align: center !important;
    margin: 0 0 12px !important;
}
body:not(.home) .banner.has-hover .xh-hero-title {
    text-align: center !important;
    margin: 4px auto 10px !important;
}
body:not(.home) .banner.has-hover .xh-hero-lead {
    text-align: center !important;
    margin: 0 auto 14px !important;
    max-width: 680px !important;
}
body:not(.home) .banner.has-hover .text-inner > a.button {
    margin: 8px 4px 0 !important;
}
@media (max-width: 550px) {
    body:not(.home) .banner.has-hover .xh-hero-crumbs { margin: 0 10px 8px 0 !important; }
    body:not(.home) .banner.has-hover .xh-hero-badge { margin: 0 0 8px !important; }
}
/* ═══════════ end v6.7.4 ═══════════ */

/* v6.7.4b: .xh-hero-wrap selbst war noch text-align:left (Regel ~6199) —
   Position der inline-flex Crumbs/Badge kommt vom PARENT-text-align → zentrieren */
body:not(.home) .banner.has-hover .xh-hero-wrap {
    text-align: center !important;
}

/* ═══════════ v6.7.5 — 2026-07-04: Viewer-Look für ALLE Seiten — Overlap-Effekt + zentrierte Test-Heroes (Tom) ═══════════ */

/* 1) Banner-Unterseiten: weißes Content-Sheet ragt in den Hero (wie Viewer-Tool-Karte)
   (bewusst OHNE .xh-page-main — News-Archiv-Banner liegt außerhalb davon) */
body:not(.home) .banner.has-hover { position: relative; }
body:not(.home) .banner.has-hover::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -1px;
    width: min(1150px, calc(100% - 44px));
    height: 42px;
    background: #ffffff;
    border-radius: 22px 22px 0 0;
    box-shadow: 0 -18px 46px rgba(6, 21, 42, 0.32);
    z-index: 3;
    pointer-events: none;
}

/* 2) Software-Test-Heroes: zentriert wie Viewer (Logo oben, alles mittig) */
section.section:has(.xh-test-hero) .xh-hero-crumbs {
    display: flex !important;
    justify-content: center !important;
    text-align: center !important;
    margin: 0 auto 16px !important;
}
.xh-test-hero {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 20px !important;
}
.xh-test-hero .xh-test-hero-body {
    text-align: center !important;
}
.xh-test-hero .xh-test-hero-body .xh-hero-lead {
    margin-left: auto !important;
    margin-right: auto !important;
}
.xh-test-hero .xh-test-hero-meta {
    justify-content: center !important;
}

/* 3) Test-Seiten: Quickfacts-Karten überlappen den dunklen Hero (wie Viewer) */
.xh-prose .xh-quickfacts {
    position: relative;
    z-index: 5;
    margin-top: -92px !important;
}
.xh-quickfacts .xh-qf-item {
    box-shadow: 0 18px 44px -18px rgba(6, 21, 42, 0.45);
}
/* ═══════════ end v6.7.5 ═══════════ */

/* v6.7.5b: Test-Hero-Zentrierung mit Spezifität ÜBER den Links-Force-Regeln (~Z.7965ff)
   und dem polished-Grid (~Z.8041) — Logo oben, alles mittig, wie Viewer */
section.section:has(.xh-test-hero) .xh-test-hero,
.xh-test-hero.xh-test-hero--polished {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 20px !important;
}
section.section:has(.xh-test-hero) .xh-test-hero-body,
section.section:has(.xh-test-hero) .xh-test-hero-body * {
    text-align: center !important;
}
section.section:has(.xh-test-hero) .xh-hero-badge {
    align-self: center !important;
}
section.section:has(.xh-test-hero) .xh-test-hero-meta {
    justify-content: center !important;
    text-align: center !important;
}
section.section:has(.xh-test-hero) .xh-aff-btn,
section.section:has(.xh-test-hero) .xh-aff-btn--large {
    margin-left: auto !important;
    margin-right: auto !important;
    align-self: center !important;
}
section.section:has(.xh-test-hero) .xh-hero-crumbs {
    display: flex !important;
    justify-content: center !important;
    text-align: center !important;
    margin: 0 auto 16px !important;
}
section.section:has(.xh-test-hero) .xh-hero-lead {
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 660px !important;
}

/* ═══════════ v6.7.6 — 2026-07-04: Aurora-Fix (Container-in-Container weg) + kräftigere Bewegung überall ═══════════
   Ursache: Aurora lag auf .banner-layers::after — .banner-layers ist der max-width-CONTAINER
   mit overflow:hidden → der Blur-Glow wurde an den Container-Kanten abgeschnitten und
   erschien als transparente Gradient-Box im Hero. Jetzt voll-breit auf .banner-inner. */
body:not(.home) .banner .banner-layers::after { content: none !important; }
body:not(.home) .banner { overflow: hidden !important; }
body:not(.home) .banner .banner-inner::after {
    content: "";
    position: absolute;
    inset: -20%;
    pointer-events: none;
    z-index: 1;
    background:
        radial-gradient(640px 420px at 22% 30%, rgba(0, 190, 182, .42), transparent 62%),
        radial-gradient(560px 380px at 78% 66%, rgba(0, 158, 253, .32), transparent 62%),
        radial-gradient(420px 300px at 55% 12%, rgba(201, 138, 26, .15), transparent 60%);
    filter: blur(48px);
    opacity: .75;
}
body:not(.home) .banner .banner-layers { position: relative; z-index: 2; }

/* Bewegung: sichtbares Driften auf ALLEN Hero-Typen (Banner, Test, Viewer) */
@media (prefers-reduced-motion: no-preference) {
    body:not(.home) .banner .banner-inner::after {
        animation: xhAuroraDrift 22s ease-in-out infinite alternate;
    }
    .xh-test-hero::after,
    .xh-viewer-hero::after {
        animation: xhAuroraDrift 26s ease-in-out infinite alternate !important;
        opacity: .7;
    }
    @keyframes xhAuroraDrift {
        0%   { transform: translate(-4%, -2%) rotate(-2deg) scale(1); }
        100% { transform: translate(6%, 4%) rotate(7deg) scale(1.18); }
    }
}
/* ═══════════ end v6.7.6 ═══════════ */

/* ═══════════ v6.8.0 — 2026-07-04 (Tom): Box-in-Box-Orbs weg · Sheet mit Border+Tint · Aurora v2 (lila, expandierend, x-Drift) · Section-Hero-Vereinheitlichung (/software/) · cta-final-Winkel · Button-Zentrierung · Fraunces auf Test-h2 ═══════════ */

/* 1) BOX-IN-BOX-URSACHE #2: alte Orb-Glows auf .xh-hero-wrap (blur 70px, im
   Container geclippt = sichtbares Rechteck). Auf allen Unterseiten töten. */
body:not(.home) .xh-hero-wrap::before,
body:not(.home) .xh-hero-wrap::after {
    content: none !important;
}

/* 2) BOX-IN-BOX-URSACHE #3 (Test-Seiten): Aurora lag auf dem INNEREN .xh-test-hero
   (container-breit, overflow:hidden) → Glow-Rechteck in der dunklen Voll-Breite-Section.
   Aurora auf die SECTION verlegen. */
.xh-test-hero::after { content: none !important; }
section.section:has(.xh-test-hero) { position: relative; overflow: hidden; }
section.section:has(.xh-test-hero)::after {
    content: "";
    position: absolute;
    inset: -20%;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(620px 400px at 20% 30%, rgba(0, 190, 182, .34), transparent 62%),
        radial-gradient(540px 370px at 78% 60%, rgba(59, 130, 246, .26), transparent 62%),
        radial-gradient(460px 320px at 55% 15%, rgba(139, 92, 246, .22), transparent 60%);
    filter: blur(50px);
    opacity: .7;
}
section.section:has(.xh-test-hero) .section-content { position: relative; z-index: 2; }

/* 3) Overlap-Sheet v2: leichte Tönung (= Content-Grundton) + Border → wirkt gewollt */
body:not(.home) .banner.has-hover::after {
    background: #F7F9F8;
    border: 1px solid rgba(11, 29, 51, 0.12);
    border-bottom: none;
    height: 46px;
    box-shadow: 0 -20px 48px rgba(6, 21, 42, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* 4) Aurora v2 — mehr Farbvielfalt (Lila + Grün-/Blautöne), dehnt sich aus,
   driftet links↔rechts (alternate). Gilt für Banner-Unterseiten. */
body:not(.home) .banner .banner-inner::after {
    background:
        radial-gradient(620px 400px at 18% 32%, rgba(0, 190, 182, .38), transparent 62%),
        radial-gradient(560px 380px at 80% 60%, rgba(59, 130, 246, .30), transparent 62%),
        radial-gradient(500px 350px at 58% 16%, rgba(139, 92, 246, .26), transparent 60%),
        radial-gradient(430px 300px at 32% 82%, rgba(16, 185, 129, .22), transparent 60%);
}
@media (prefers-reduced-motion: no-preference) {
    @keyframes xhAuroraDrift {
        0%   { transform: translate(-8%, -2%) rotate(-2deg) scale(1); }
        50%  { transform: translate(3%, 2%) rotate(3deg) scale(1.24); }
        100% { transform: translate(9%, 5%) rotate(7deg) scale(1.06); }
    }
}

/* Home-Hero-Aurora: gleiche Farbwelt (Teal/Blau/Lila/Grün), stärkere Bewegung */
.xh-home-v2 .xh-sec-hero::before {
    background:
        radial-gradient(640px 420px at 20% 30%, rgba(0, 190, 182, .40), transparent 62%),
        radial-gradient(520px 360px at 62% 14%, rgba(139, 92, 246, .28), transparent 60%) !important;
    filter: blur(52px) !important;
}
.xh-home-v2 .xh-sec-hero::after {
    background:
        radial-gradient(580px 390px at 78% 64%, rgba(59, 130, 246, .32), transparent 62%),
        radial-gradient(460px 320px at 36% 78%, rgba(16, 185, 129, .24), transparent 60%) !important;
    filter: blur(52px) !important;
}
@media (prefers-reduced-motion: no-preference) {
    @keyframes xhAuroraA {
        0%   { transform: translate(-9%, -3%) rotate(-3deg) scale(1); }
        55%  { transform: translate(4%, 3%) rotate(4deg) scale(1.22); }
        100% { transform: translate(10%, 6%) rotate(9deg) scale(1.08); }
    }
    @keyframes xhAuroraB {
        0%   { transform: translate(8%, 4%) rotate(4deg) scale(1.04); }
        50%  { transform: translate(-3%, -2%) rotate(-3deg) scale(1.26); }
        100% { transform: translate(-9%, -6%) rotate(-8deg) scale(1); }
    }
}

/* 5) /software/ & Co: Section-Heroes (h1.xh-hero-title in UXB-Section, kein Test-Hero)
   bekommen den einheitlichen Look: Mesh-Gradient + Plus-Pattern + Aurora + Sheet */
body:not(.home) section.section:has(.text-box .xh-hero-title):not(:has(.xh-test-hero)) {
    background:
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),
        radial-gradient(circle at 20% 20%, rgba(14, 165, 201, 0.30) 0px, transparent 45%),
        radial-gradient(circle at 80% 25%, rgba(139, 92, 246, 0.20) 0px, transparent 50%),
        radial-gradient(circle at 50% 95%, rgba(0, 133, 128, 0.32) 0px, transparent 55%),
        linear-gradient(135deg, #06152a 0%, #0a1b30 50%, #0d2440 100%) !important;
    background-color: #06152a !important;
    position: relative !important;
    overflow: hidden !important;
}
body:not(.home) section.section:has(.text-box .xh-hero-title):not(:has(.xh-test-hero))::before {
    content: "";
    position: absolute;
    inset: -20%;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(620px 400px at 18% 32%, rgba(0, 190, 182, .38), transparent 62%),
        radial-gradient(560px 380px at 80% 60%, rgba(59, 130, 246, .30), transparent 62%),
        radial-gradient(500px 350px at 58% 16%, rgba(139, 92, 246, .26), transparent 60%);
    filter: blur(50px);
    opacity: .7;
}
body:not(.home) section.section:has(.text-box .xh-hero-title):not(:has(.xh-test-hero))::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -1px;
    width: min(1150px, calc(100% - 44px));
    height: 46px;
    background: #F7F9F8;
    border: 1px solid rgba(11, 29, 51, 0.12);
    border-bottom: none;
    border-radius: 22px 22px 0 0;
    box-shadow: 0 -20px 48px rgba(6, 21, 42, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    z-index: 3;
    pointer-events: none;
}
body:not(.home) section.section:has(.text-box .xh-hero-title):not(:has(.xh-test-hero)) .section-content {
    position: relative;
    z-index: 2;
}
@media (prefers-reduced-motion: no-preference) {
    body:not(.home) section.section:has(.text-box .xh-hero-title):not(:has(.xh-test-hero))::before,
    section.section:has(.xh-test-hero)::after {
        animation: xhAuroraDrift 24s ease-in-out infinite alternate;
    }
}

/* 6) „Jetzt konkret loslegen"-Karten (.xh-cta-final): parallele Winkel statt runder Karte */
body:not(.home) .xh-cta-final {
    --xh-cut2: clamp(14px, 2vw, 28px);
    border-radius: 0 !important;
    clip-path: polygon(0 0, 100% var(--xh-cut2), 100% 100%, 0 calc(100% - var(--xh-cut2)));
    padding-top: calc(clamp(40px, 5vw, 60px) + var(--xh-cut2)) !important;
    padding-bottom: calc(clamp(40px, 5vw, 60px) + var(--xh-cut2)) !important;
}

/* 7) CTA-Band-Buttons (ZUM SOFTWARE-VERGLEICH etc.): zentrieren */
body:not(.home) .section:has(.xh-ctaband) .col-inner {
    text-align: center !important;
}
body:not(.home) .section:has(.xh-ctaband) .col-inner > a.button {
    margin-left: auto !important;
    margin-right: auto !important;
    float: none !important;
}

/* 8) Test-Seiten-Typo: .xh-prose h2 endlich wirklich Fraunces
   (wurde von body:not(.home) .xh-page-main h2 @0-2-2 geschlagen) */
body:not(.home) .xh-page-main .xh-prose h2 {
    font-family: Georgia, 'Times New Roman', serif !important;
    font-weight: 400 !important;
    letter-spacing: -0.015em !important;
    font-variation-settings: 'opsz' 144, 'SOFT' 25;
    line-height: 1.18 !important;
}
/* ═══════════ end v6.8.0 ═══════════ */

/* ═══════════ v6.8.1 — 2026-07-04: Mobile-Artikel-Fix (Overflow durch Tabellen-min-content) ═══════════ */
@media (max-width: 768px) {
    .xh-article-layout,
    .xh-article-layout.has-toc {
        grid-template-columns: minmax(0, 1fr) !important;
    }
    .xh-article-main, .xh-entry, .xh-article-side, .xh-page-main {
        min-width: 0 !important;
        max-width: 100% !important;
    }
    .xh-entry table, .xh-article-main table, .xh-page-main table, .xh-prose table {
        display: block !important;
        width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        max-width: 100% !important;
    }
    .xh-table-wrap { max-width: 100%; }
    .xh-article-main-wrap, .xh-article-main { overflow-x: clip !important; }
}

/* ═══════════ v6.8.1b — Overlap-Sheet v3: EXAKTE Content-Farben (pixel-gesampelt pro Seite),
   randlos, breiter, tiefer weicher Schatten — nahtloser Übergang Content→Hero ═══════════ */
body:not(.home) .banner.has-hover::after,
body:not(.home) section.section:has(.text-box .xh-hero-title):not(:has(.xh-test-hero))::after {
    background: #FFFFFF;
    border: none;
    width: min(1240px, calc(100% - 40px));
    height: 56px;
    border-radius: 26px 26px 0 0;
    box-shadow: 0 -28px 64px -14px rgba(6, 21, 42, 0.5);
}
/* gemessene Content-Farben je Seite (2026-07-04): */
body.page-id-75 .banner.has-hover::after,
body.page-id-77 .banner.has-hover::after {
    background: #F7F9F8; /* vs-zugferd, erstellen */
}
body.page-id-81 .banner.has-hover::after {
    background: #FFF9EE; /* Software-Vergleich (Cream-Sektion) */
}
body.blog .banner.has-hover::after,
body.archive .banner.has-hover::after {
    background: #F6F7F9; /* News */
}
body.page-id-121 section.section:has(.text-box .xh-hero-title):not(:has(.xh-test-hero))::after {
    background: #F6F7F9; /* /software/ Archiv */
}
@media (max-width: 550px) {
    body:not(.home) .banner.has-hover::after,
    body:not(.home) section.section:has(.text-box .xh-hero-title):not(:has(.xh-test-hero))::after {
        width: calc(100% - 24px);
        height: 36px;
        border-radius: 18px 18px 0 0;
    }
}
/* ═══════════ end v6.8.1 ═══════════ */

/* ═══════════ v6.8.2 — 2026-07-05 (Site-Audit): Header-Overflow, News-Hero-Standard, Karten-Badge, Announcement mobil ═══════════ */

/* 1) Header lief bei 1440px rechts über (Inhalt ~1374px > Shell 1180px) */
.xh-header-inner { max-width: 1380px !important; }
@media (max-width: 1460px) {
    .xh-nav-list > li > a { padding-left: 9px !important; padding-right: 9px !important; font-size: .92rem !important; }
    .xh-header-tool span { display: none !important; }   /* Viewer-Pill nur Icon */
    .xh-header-tool { padding: 8px 10px !important; }
}
@media (max-width: 1240px) {
    .xh-header-tool { display: none !important; }
}

/* 2) News-Artikel-Hero: dunkler Mesh-Standard wie alle anderen Seiten + Sheet */
.single-post .xh-article-hero {
    background:
        radial-gradient(circle at 20% 20%, rgba(14, 165, 201, 0.30) 0px, transparent 45%),
        radial-gradient(circle at 80% 25%, rgba(139, 92, 246, 0.20) 0px, transparent 50%),
        radial-gradient(circle at 50% 95%, rgba(0, 133, 128, 0.32) 0px, transparent 55%),
        linear-gradient(135deg, #06152a 0%, #0a1b30 50%, #0d2440 100%) !important;
    background-color: #06152a !important;
    position: relative !important;
    overflow: hidden !important;
    padding: clamp(34px, 4.5vw, 58px) 0 clamp(56px, 6vw, 76px) !important;
    text-align: center !important;
}
.single-post .xh-article-hero::before {
    content: "";
    position: absolute; inset: -20%;
    pointer-events: none; z-index: 0;
    background:
        radial-gradient(620px 400px at 18% 32%, rgba(0, 190, 182, .34), transparent 62%),
        radial-gradient(540px 360px at 80% 60%, rgba(59, 130, 246, .26), transparent 62%),
        radial-gradient(460px 320px at 58% 14%, rgba(139, 92, 246, .22), transparent 60%);
    filter: blur(50px); opacity: .7;
}
.single-post .xh-article-hero::after {
    content: "";
    position: absolute; left: 50%; transform: translateX(-50%);
    bottom: -1px;
    width: min(1240px, calc(100% - 40px));
    height: 46px;
    background: #F7F9F8;
    border-radius: 26px 26px 0 0;
    box-shadow: 0 -28px 64px -14px rgba(6, 21, 42, 0.5);
    z-index: 3; pointer-events: none;
}
.single-post .xh-article-hero .xh-shell { position: relative; z-index: 2; }
.single-post .xh-article-hero :is(h1, .xh-page-title) {
    color: #fff !important;
    font-size: clamp(1.5rem, 3.2vw, 2.25rem) !important;
    max-width: 900px;
    margin-left: auto !important; margin-right: auto !important;
}
.single-post .xh-article-hero :is(.xh-article-meta, .xh-hero-crumbs, .xh-crumbs, p) {
    color: rgba(224, 238, 248, .82) !important;
    justify-content: center !important;
}
.single-post .xh-article-hero a { color: rgba(255,255,255,.92) !important; }
@media (prefers-reduced-motion: no-preference) {
    .single-post .xh-article-hero::before { animation: xhAuroraDrift 24s ease-in-out infinite alternate; }
}

/* 3) News-Karten: Thumbnail-Wasserzeichen (im Bild rechts) nicht mehr abschneiden */
.xh-post-card .xh-post-card-imglink img {
    object-position: 100% 50% !important;
}

/* 4) Announcement-Bar mobil: Zweittext weg statt hässlichem 3-Zeilen-Umbruch */
@media (max-width: 600px) {
    .xh-utility-text .xh-utility-sep,
    .xh-utility-text > span:last-child { display: none !important; }
    .xh-utility-inner { flex-wrap: nowrap !important; gap: 10px !important; }
    .xh-utility-text strong { white-space: nowrap; font-size: .78rem; }
}
/* ═══════════ end v6.8.2 ═══════════ */

/* v6.8.2b: TOC-Toggle überlappte den Titel */
.xh-toc-float { position: relative; }
.xh-toc-float-toggle {
    position: absolute !important;
    right: 12px !important;
    top: 12px !important;
    width: 34px !important;
    height: 34px !important;
    min-width: 0 !important;
}
.xh-toc-float-title { padding-right: 52px !important; }

/* ═══════════ v6.8.3 — 2026-07-06: Seiten-Hero (.xh-page-hero, z.B. /ueber-uns/, Rechtsseiten)
   auf den dunklen Site-Standard gebracht — letzte helle Ausreißer-Heroes ═══════════ */
body:not(.home) .xh-page-hero:not(.xh-article-hero) {
    background:
        radial-gradient(circle at 20% 20%, rgba(14, 165, 201, 0.30) 0px, transparent 45%),
        radial-gradient(circle at 80% 25%, rgba(139, 92, 246, 0.20) 0px, transparent 50%),
        radial-gradient(circle at 50% 95%, rgba(0, 133, 128, 0.32) 0px, transparent 55%),
        linear-gradient(135deg, #06152a 0%, #0a1b30 50%, #0d2440 100%) !important;
    background-color: #06152a !important;
    position: relative !important;
    overflow: hidden !important;
    padding: clamp(30px, 4vw, 50px) 0 clamp(52px, 5.5vw, 70px) !important;
    text-align: center !important;
}
body:not(.home) .xh-page-hero:not(.xh-article-hero)::before {
    content: "";
    position: absolute; inset: -20%;
    pointer-events: none; z-index: 0;
    background:
        radial-gradient(620px 400px at 18% 32%, rgba(0, 190, 182, .34), transparent 62%),
        radial-gradient(540px 360px at 80% 60%, rgba(59, 130, 246, .26), transparent 62%),
        radial-gradient(460px 320px at 58% 14%, rgba(139, 92, 246, .22), transparent 60%);
    filter: blur(50px); opacity: .7;
}
body:not(.home) .xh-page-hero:not(.xh-article-hero)::after {
    content: "";
    position: absolute; left: 50%; transform: translateX(-50%);
    bottom: -1px;
    width: min(1240px, calc(100% - 40px));
    height: 42px;
    background: #FFFFFF;
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -26px 60px -14px rgba(6, 21, 42, 0.5);
    z-index: 3; pointer-events: none;
}
body:not(.home) .xh-page-hero:not(.xh-article-hero) .xh-shell { position: relative; z-index: 2; }
body:not(.home) .xh-page-hero:not(.xh-article-hero) :is(h1, .xh-page-title) {
    color: #fff !important;
    margin-left: auto !important; margin-right: auto !important;
}
body:not(.home) .xh-page-hero:not(.xh-article-hero) :is(p, .xh-page-lead, .xh-crumbs, .xh-hero-crumbs, .xh-article-meta) {
    color: rgba(224, 238, 248, .82) !important;
    justify-content: center !important;
}
body:not(.home) .xh-page-hero:not(.xh-article-hero) a { color: rgba(255,255,255,.92) !important; }
@media (prefers-reduced-motion: no-preference) {
    body:not(.home) .xh-page-hero:not(.xh-article-hero)::before {
        animation: xhAuroraDrift 24s ease-in-out infinite alternate;
    }
}
/* ═══════════ end v6.8.3 ═══════════ */

/* ═══════════ v6.9.0 — 2026-07-06 (Tom): Aurora-Flicker-Fix + Sheet v4 „natürlich" ═══════════
   1) filter:blur auf animierten Aurora-Layern verursachte Flicker (Re-Raster bei
      jedem Frame der scale/rotate-Animation). Blur raus, will-change:transform →
      Compositor-only. Radial-Gradients sind ohne Blur weich genug.
   2) Sheet-Überlappung: volle Breite + große Rundung statt „Pille" — die
      Content-Fläche wächst natürlich in den Hero. Farben pro Seite bleiben. */

/* 1) Aurora-Layer: Blur weg, Compositor-Animation */
body:not(.home) .banner .banner-inner::after,
section.section:has(.xh-test-hero)::after,
body:not(.home) section.section:has(.text-box .xh-hero-title):not(:has(.xh-test-hero))::before,
.single-post .xh-article-hero::before,
body:not(.home) .xh-page-hero:not(.xh-article-hero)::before,
.xh-viewer-hero::after,
.xh-home-v2 .xh-sec-hero::before,
.xh-home-v2 .xh-sec-hero::after {
    filter: none !important;
    will-change: transform;
}

/* 2) Sheet v4: voll-breit, natürliche große Rundung */
body:not(.home) .banner.has-hover::after,
body:not(.home) section.section:has(.text-box .xh-hero-title):not(:has(.xh-test-hero))::after,
.single-post .xh-article-hero::after,
body:not(.home) .xh-page-hero:not(.xh-article-hero)::after {
    border-radius: clamp(26px, 3.5vw, 48px) clamp(26px, 3.5vw, 48px) 0 0;
    left: 0;
    transform: none;
    width: 100%;
}
@media (max-width: 550px) {
    body:not(.home) .banner.has-hover::after,
    body:not(.home) section.section:has(.text-box .xh-hero-title):not(:has(.xh-test-hero))::after,
    .single-post .xh-article-hero::after,
    body:not(.home) .xh-page-hero:not(.xh-article-hero)::after {
        border-radius: 20px 20px 0 0;
        width: 100%;
    }
}
/* ═══════════ end v6.9.0 ═══════════ */

/* ═══════════ v6.9.1 — 2026-07-06 (Tom): Home wie SSV — EINE durchgehende
   Hintergrund-Fläche (Sektionen waren „sehr gleiches Weiß") + erste Sektion
   nach dem dunklen Hero mit großer Rundung als Sheet ═══════════ */
.xh-home-v2 {
    background:
        radial-gradient(60rem 44rem at 108% 26%, rgba(0, 190, 182, 0.10), transparent 72%),
        radial-gradient(56rem 42rem at -12% 48%, rgba(59, 130, 246, 0.08), transparent 72%),
        radial-gradient(50rem 38rem at 108% 76%, rgba(139, 92, 246, 0.07), transparent 70%),
        linear-gradient(180deg, #ffffff 0%, #ffffff 28%, #eef4f7 52%, #ebf1f0 74%, #f5f3ec 100%);
}
.xh-home-v2 .xh-sec-alt { background: transparent; }

/* Sheet: erste helle Sektion wächst mit Rundung in den dunklen Hero */
.xh-home-v2 .xh-sec-hero { padding-bottom: calc(clamp(56px, 7vw, 92px) + 46px); }
.xh-home-v2 .xh-sec-hero + .xh-sec {
    background: #ffffff;
    border-radius: clamp(26px, 3.5vw, 48px) clamp(26px, 3.5vw, 48px) 0 0;
    box-shadow: 0 -28px 64px -14px rgba(6, 21, 42, 0.5);
    margin-top: -46px;
    position: relative;
    z-index: 2;
}
@media (max-width: 550px) {
    .xh-home-v2 .xh-sec-hero + .xh-sec { border-radius: 20px 20px 0 0; margin-top: -34px; }
    .xh-home-v2 .xh-sec-hero { padding-bottom: calc(clamp(56px, 7vw, 92px) + 34px); }
}
/* ═══════════ end v6.9.1 ═══════════ */

/* ═══════════ v6.9.2 — 2026-07-06 (Tom): Home-Sektionen als Content-Pills,
   cta-final nur oben rund, FAQ-Redesign global ═══════════ */

/* 1) Home: helle Sektionen = weiße Pills mit Luft ringsum, Aurora-Fläche dahinter */
.xh-home-v2 .xh-sec:not(.xh-sec-hero):not(.xh-cta-final) {
    background: #ffffff;
    border-radius: clamp(24px, 3vw, 40px);
    box-shadow: 0 18px 50px rgba(6, 21, 42, 0.08);
    margin: clamp(22px, 2.8vw, 40px) auto;
    padding: clamp(44px, 5vw, 68px) clamp(20px, 4vw, 60px);
    width: min(1280px, calc(100% - clamp(24px, 4vw, 56px)));
}
/* Erste Pill wächst in den dunklen Hero (Overlap bleibt) */
.xh-home-v2 .xh-sec-hero + .xh-sec:not(.xh-cta-final) {
    box-shadow: 0 -24px 60px -14px rgba(6, 21, 42, 0.45), 0 18px 50px rgba(6, 21, 42, 0.08);
    margin-top: -52px;
    position: relative;
    z-index: 2;
}

/* 2) Finales dunkles Band: NUR oben abgerundet, unten bündig zum Footer */
.xh-home-v2 .xh-cta-final {
    border-radius: clamp(24px, 3vw, 40px) clamp(24px, 3vw, 40px) 0 0;
    margin: clamp(22px, 2.8vw, 40px) auto 0;
    width: 100%;
}

/* 3) FAQ v2 — global: Karten mit ?-Badge, Chevron, getöntem Open-State */
details.xh-faq-item {
    background: #ffffff;
    border: 1px solid rgba(11, 29, 51, 0.09) !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 22px rgba(6, 21, 42, 0.05);
    margin: 0 0 12px !important;
    overflow: hidden;
    padding: 0 !important;
}
details.xh-faq-item:hover { border-color: rgba(0, 133, 128, 0.45) !important; box-shadow: 0 10px 26px rgba(6, 21, 42, 0.09); }
details.xh-faq-item[open] { border-color: rgba(0, 133, 128, 0.5) !important; box-shadow: 0 14px 34px rgba(6, 21, 42, 0.10); }
details.xh-faq-item > summary {
    align-items: flex-start;
    color: #0b1d33 !important;
    cursor: pointer;
    display: flex !important;
    font-weight: 700 !important;
    gap: 14px;
    line-height: 1.45;
    list-style: none;
    padding: 16px 54px 16px 16px !important;
    position: relative;
}
details.xh-faq-item > summary::-webkit-details-marker { display: none; }
details.xh-faq-item > summary::before {
    align-items: center;
    background: linear-gradient(135deg, #008580, #0e7490);
    border-radius: 10px;
    color: #ffffff;
    content: "?";
    display: inline-flex;
    flex-shrink: 0;
    font-family: "Aptos", "Segoe UI", system-ui, sans-serif;
    font-size: 0.95rem;
    font-weight: 800;
    height: 30px;
    justify-content: center;
    width: 30px;
}
details.xh-faq-item > summary::after {
    border: solid #0e7490 !important;
    border-width: 0 2.5px 2.5px 0 !important;
    background: none !important;
    content: "" !important;
    font-size: 0 !important;
    height: 9px !important;
    line-height: 0 !important;
    position: absolute !important;
    right: 22px !important;
    top: 24px !important;
    transform: rotate(45deg);
    transition: transform 0.2s ease, top 0.2s ease;
    width: 9px !important;
}
details.xh-faq-item[open] > summary::after { transform: rotate(225deg); top: 28px !important; }
details.xh-faq-item[open] > summary {
    background: linear-gradient(180deg, rgba(0, 133, 128, 0.06), rgba(0, 133, 128, 0.02));
    border-bottom: 1px solid rgba(0, 133, 128, 0.15);
}
details.xh-faq-item > p,
details.xh-faq-item > ul,
details.xh-faq-item > ol {
    color: #33475c;
    margin: 0 !important;
    padding: 14px 20px 18px 60px !important;
}
details.xh-faq-item > p + p,
details.xh-faq-item > ul + p,
details.xh-faq-item > p + ul { padding-top: 0 !important; }
@media (max-width: 550px) {
    details.xh-faq-item > summary { padding: 14px 44px 14px 13px !important; }
    details.xh-faq-item > summary::before { height: 26px; width: 26px; font-size: 0.85rem; border-radius: 8px; }
    details.xh-faq-item > summary::after { right: 17px !important; }
    details.xh-faq-item > p,
    details.xh-faq-item > ul,
    details.xh-faq-item > ol { padding: 12px 16px 16px 16px !important; }
}
/* ═══════════ end v6.9.2 ═══════════ */

/* v6.9.3 — Tom: erste Sektion nach dem Hero wieder VOLL-BREIT (oben+unten),
   Rundung nur oben (Sheet-Look), Rest bleibt Pills */
.xh-home-v2 .xh-sec-hero + .xh-sec:not(.xh-cta-final) {
    border-radius: clamp(26px, 3.5vw, 48px);
    margin: -52px 0 0;
    width: 100%;
}
@media (max-width: 550px) {
    .xh-home-v2 .xh-sec-hero + .xh-sec:not(.xh-cta-final) {
        border-radius: 20px;
        margin-top: -34px;
    }
}

/* v7.0 — kompakter Werkzeug-Wegweiser */
.xh-cta-final--tools,
.xh-home-v2 .xh-cta-final--tools {
    background: #14383d;
    border: 1px solid #0e292d;
    border-radius: clamp(22px, 3vw, 34px);
    box-shadow: 12px 12px 0 #c9f246;
    color: #f7f2e8;
    overflow: hidden;
    padding: clamp(30px, 5vw, 58px) !important;
    position: relative;
    text-align: left;
}
.xh-cta-final--tools::before {
    background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
    background-size: 34px 34px;
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
}
.xh-cta-final--tools > * { position: relative; z-index: 1; }
.xh-final-heading {
    align-items: end;
    display: grid;
    gap: 8px clamp(28px, 6vw, 90px);
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr);
    margin: 0 0 32px;
}
.xh-final-kicker {
    color: #c9f246;
    font-size: .7rem;
    font-weight: 800;
    grid-column: 1 / -1;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.xh-cta-final--tools .xh-final-heading h2 {
    color: #fff !important;
    font-size: clamp(2.1rem, 4vw, 4rem) !important;
    letter-spacing: -.045em;
    line-height: .98;
    margin: 0 !important;
}
.xh-cta-final--tools .xh-final-heading p {
    color: rgba(247,242,232,.76);
    font-size: .98rem;
    line-height: 1.55;
    margin: 0;
}
.xh-cta-final--tools .xh-final-row {
    gap: 10px;
    margin: 0;
    max-width: none;
}
.xh-cta-final--tools .xh-final-card {
    align-items: stretch;
    background: #f7f2e8;
    border: 1px solid #0e292d;
    border-radius: 14px;
    color: #14383d !important;
    min-height: 245px;
    padding: 20px;
    text-align: left;
}
.xh-cta-final--tools .xh-final-card::before {
    color: #6d7e7f;
    content: attr(data-kicker);
    font-size: .6rem;
    font-weight: 800;
    letter-spacing: .09em;
    margin-bottom: 27px;
}
.xh-cta-final--tools .xh-final-card::after {
    border-top: 1px solid rgba(20,56,61,.22);
    content: attr(data-action);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .05em;
    margin-top: auto;
    padding-top: 15px;
    text-transform: uppercase;
}
.xh-cta-final--tools .xh-final-card .xh-final-icon {
    align-items: center;
    background: #c9f246;
    border: 1px solid #14383d;
    color: #14383d;
    display: inline-flex;
    height: 48px;
    justify-content: center;
    margin: 0 0 20px;
    width: 48px;
}
body .xh-cta-final--tools .xh-final-card strong {
    color: #14383d !important;
    font-size: clamp(1.15rem, 1.8vw, 1.45rem);
    line-height: 1.12;
    margin-bottom: 10px;
}
body .xh-cta-final--tools .xh-final-card p {
    color: #53696b !important;
    font-size: .88rem;
    line-height: 1.5;
    margin: 0 0 22px;
}
.xh-cta-final--tools .xh-final-card:hover {
    background: #eaf7b9;
    border-color: #0e292d;
    box-shadow: 0 12px 30px rgba(0,0,0,.16);
    transform: translateY(-5px);
}
.xh-cta-final--tools .xh-final-card:focus-visible {
    outline: 3px solid #c9f246;
    outline-offset: 4px;
}
@media (max-width: 720px) {
    .xh-cta-final--tools,
    .xh-home-v2 .xh-cta-final--tools {
        border-radius: 20px;
        box-shadow: 7px 7px 0 #c9f246;
        padding: 28px 18px !important;
    }
    .xh-final-heading { display: block; margin-bottom: 24px; }
    .xh-final-kicker { display: block; margin-bottom: 10px; }
    .xh-cta-final--tools .xh-final-heading p { margin-top: 14px; }
    .xh-cta-final--tools .xh-final-card { min-height: 220px; }
}
/* Der Viewer liest XML nur aus; die fachliche Validierungsgrenze muss sichtbar bleiben. */
.xh-viewer-validation-note {
  margin: 18px 0 0;
  padding: 14px 16px;
  border: 1px solid #b8c5d1;
  border-radius: 10px;
  background: #f5f8fa;
  color: #263746;
  font-size: .9rem;
  line-height: 1.55;
}
.xh-drop:focus-visible,
.xh-file-item:focus-visible {
  outline: 3px solid #0b7f7b;
  outline-offset: 3px;
}

/* v7.1 — redaktioneller Testaufbau mit ruhiger Inhaltsleiste */
html:has(body.xh-review-sidebar-page),
body.xh-review-sidebar-page {
  /* overflow:hidden am Dokument macht die lange Flatsome-Seite zum
     Sticky-Container. clip verhindert Querueberstand ohne diesen Effekt. */
  overflow-x: clip !important;
  overflow-y: visible !important;
}
.xh-review-layout {
  align-items: start;
  display: grid;
  gap: clamp(34px, 4vw, 58px);
  grid-template-columns: minmax(200px, 228px) minmax(0, 954px);
  justify-content: center;
  margin-left: calc((100% - min(1240px, calc(100vw - 48px))) / 2);
  max-width: none;
  width: min(1240px, calc(100vw - 48px));
}
.xh-review-layout > .xh-prose,
.xh-review-layout > .xr-builder-content--test {
  margin: 0;
  max-width: none;
  min-width: 0;
}
.xh-review-sidebar {
  align-self: start;
  min-width: 0;
  position: sticky;
  top: 92px;
}
.xh-review-layout--generated > .xh-review-sidebar {
  /* Die automatisch erzeugte Navigation beginnt erst mit dem redaktionellen
     Textblock nach dem Test-Hero. JS setzt den exakten, responsiven Abstand. */
  margin-top: var(--xh-review-sidebar-start, 0px);
}
/* Die aelteren Software-Tests liegen komplett im automatisch erzeugten
   Inhaltsraster. Ihr Hero soll trotzdem dieselbe volle Buehne wie der
   redaktionelle WISO-Test erhalten. Der Inhalt und die Navigation bleiben im
   ruhigen 228/954-Raster; nur die Hero-Section wird bis an den Viewportrand
   erweitert. Dadurch wird auch ihre Aurora nicht an der Textspalte geclippt. */
@media (max-width: 980px) {
  .xh-review-layout--generated > .xr-builder-content--test > section.section:has(.xh-test-hero) {
    margin-left: -24px !important;
    max-width: none !important;
    width: 100vw !important;
  }
}
@media (min-width: 981px) {
  .xh-review-layout--generated > .xr-builder-content--test > section.section:has(.xh-test-hero) {
    margin-left: calc(-1 * (max(24px, calc((100vw - 1240px) / 2)) + 228px + clamp(34px, 4vw, 58px))) !important;
    max-width: none !important;
    width: 100vw !important;
  }
}
.xh-review-sidebar-inner {
  background: #f7f2e8;
  border: 1px solid #14383d;
  box-shadow: 7px 7px 0 #c9f246;
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 116px);
  max-height: calc(100dvh - 116px);
  min-height: 0;
  overflow: hidden;
  padding: 20px 18px;
}
.xh-review-sidebar-kicker {
  color: #06746f;
  display: block;
  font-size: .65rem;
  font-weight: 850;
  letter-spacing: .12em;
  margin-bottom: 9px;
  text-transform: uppercase;
}
.xh-review-sidebar h2 {
  color: #14383d !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 1.42rem !important;
  margin: 0 0 13px !important;
}
.xh-review-sidebar nav {
  counter-reset: review-nav;
  display: grid;
  min-height: 0;
  overscroll-behavior: contain;
  overflow-y: auto;
  padding-right: 5px;
  scrollbar-color: #06746f transparent;
  scrollbar-width: thin;
}
.xh-review-sidebar nav a {
  border-top: 1px solid rgba(20, 56, 61, .18);
  color: #53696b;
  counter-increment: review-nav;
  display: grid;
  font-size: .74rem;
  font-weight: 700;
  gap: 9px;
  grid-template-columns: 23px minmax(0, 1fr);
  line-height: 1.3;
  padding: 9px 0;
  text-decoration: none;
}
.xh-review-sidebar nav a::before {
  color: #06746f;
  content: counter(review-nav, decimal-leading-zero);
  font-size: .62rem;
  letter-spacing: .05em;
}
.xh-review-sidebar nav a:hover,
.xh-review-sidebar nav a.is-active {
  color: #0b1d33;
}
.xh-review-sidebar nav a.is-active {
  background: rgba(201, 242, 70, .3);
  box-shadow: inset 3px 0 0 #06746f;
  font-weight: 850;
  margin-left: 0;
  padding-left: 3px;
  padding-right: 7px;
}
.xh-review-sidebar nav a.is-active::before {
  color: #0b1d33;
  font-weight: 900;
}
.xh-review-sidebar-note {
  border-top: 1px solid rgba(20, 56, 61, .18);
  color: #526363;
  font-size: .67rem;
  line-height: 1.45;
  margin: 12px 0 0;
  padding-top: 13px;
}
.xh-test-scorecard {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 30px 0 40px;
  overflow: hidden;
  background: #14383d;
  border: 1px solid #14383d;
}
.xh-test-scorecard > div {
  background: #f7f2e8;
  min-height: 172px;
  padding: 22px;
}
.xh-test-scorecard > div > span {
  color: #06746f;
  display: block;
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .1em;
  margin-bottom: 22px;
}
.xh-test-scorecard strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 7px;
}
.xh-test-scorecard p {
  color: #53696b;
  font-size: .86rem;
  line-height: 1.55;
  margin: 0;
}
.xh-test-protocol {
  counter-reset: protocol;
  display: grid;
  gap: 0;
  list-style: none;
  margin: 24px 0 34px !important;
  padding: 0 !important;
}
.xh-test-protocol > li {
  border-top: 1px solid #d6ded9;
  counter-increment: protocol;
  display: grid;
  gap: 6px 16px;
  grid-template-columns: 38px minmax(0, 1fr);
  margin: 0 !important;
  padding: 15px 0 !important;
}
.xh-test-protocol > li::before {
  align-items: center;
  background: #c9f246 !important;
  border: 1px solid #14383d;
  color: #14383d !important;
  content: counter(protocol, decimal-leading-zero) !important;
  display: inline-flex;
  font-size: .65rem;
  font-weight: 850;
  grid-row: 1 / 3;
  height: 30px !important;
  justify-content: center;
  position: static !important;
  width: 30px !important;
}
.xh-test-alts {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.xh-test-alt-card {
  align-items: flex-start;
  flex-direction: column;
  min-height: 184px;
  padding: 18px;
}
.xh-test-alt-card img {
  background: #f7f8f5;
  border: 1px solid #dce4df;
  display: block;
  height: 58px;
  margin: 0 0 24px;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
  padding: 10px 12px;
  width: 100%;
}
.xh-test-alt-card span {
  margin-top: auto;
}
@media (min-width: 981px) {
  body.xh-review-sidebar-page .xr-test-toc { display: none; }
}
@media (max-width: 980px) {
  .xh-review-layout { display: block; }
  .xh-review-sidebar { display: none; }
}
@media (max-width: 640px) {
  .xh-test-scorecard { grid-template-columns: 1fr; }
  .xh-test-scorecard > div { min-height: 0; }
  .xh-test-alts { grid-template-columns: 1fr; }
  .xh-test-alt-card { min-height: 150px; }
}
/* Editorial news hub: same industrial test-lab language, with calmer reading density. */
.xr-news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:32px}
.xr-news-card{background:#fff;border:1px solid #d8e1de;border-radius:14px;display:flex;flex-direction:column;min-height:290px;padding:25px;position:relative;transition:border-color .18s,box-shadow .18s,transform .18s}
.xr-news-card:hover{border-color:#008580;box-shadow:0 16px 35px rgba(0,96,93,.1);transform:translateY(-3px)}
.xr-news-card::before{background:linear-gradient(90deg,#008580,#e69a3a);content:"";height:4px;left:24px;position:absolute;right:24px;top:0}
.xr-news-card-meta{color:#64736f;display:flex;font-size:.73rem;font-weight:750;justify-content:space-between;letter-spacing:.04em;margin:9px 0 22px;text-transform:uppercase}
.xr-news-card h2{font-size:1.28rem;line-height:1.22;margin:0 0 14px}.xr-news-card h2 a{color:#102b30;text-decoration:none}.xr-news-card p{color:#546561;line-height:1.65;margin:0 0 22px}.xr-news-card .xr-test-card-review{margin-top:auto}
.xr-news-pagination{display:flex;gap:8px;justify-content:center;margin-top:38px}.xr-news-pagination .page-numbers{border:1px solid #d8e1de;border-radius:8px;padding:9px 13px}.xr-news-pagination .current{background:#14383d;color:#fff}
@media(max-width:900px){.xr-news-grid{grid-template-columns:1fr}.xr-news-card{min-height:0}}
