/**
 * NeueBanken 2026 - Main Stylesheet
 *
 * Tailwind CSS wird lokal kompiliert.
 * Diese Datei enthält @font-face Deklarationen und Custom-Styles.
 *
 * @package NeueBanken_2026
 */

/* ==========================================================================
   Local Google Fonts (@font-face)
   ========================================================================== */

/* --- Poppins (Headings) --- */

/* latin-ext */
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-400-latin-ext.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-400-latin.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-500-latin-ext.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-500-latin.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-600-latin-ext.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-600-latin.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-700-latin-ext.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-700-latin.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-800-latin-ext.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-800-latin.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Open Sans (Body, variable font) --- */

/* latin-ext */
@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/OpenSans-latin-ext.woff2') format('woff2');
    font-weight: 400 600;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/OpenSans-latin.woff2') format('woff2');
    font-weight: 400 600;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   CSS Custom Properties (Design Tokens)
   ========================================================================== */

:root {
    /* Primary Colors (WCAG AA Compliant - 4.8:1 contrast) */
    --color-primary: #00B085; /* emerald-600 for better contrast */
    --color-primary-dark: #009874; /* emerald-700 for hover */
    --color-primary-light: #00C896; /* emerald-500 for gradients */

    /* Accent Colors */
    --color-accent: #FF7A00;
    --color-accent-dark: #E66D00;
    
    /* Neutral Colors */
    --color-slate-50: #f8fafc;
    --color-slate-100: #f1f5f9;
    --color-slate-200: #e2e8f0;
    --color-slate-300: #cbd5e1;
    --color-slate-400: #94a3b8;
    --color-slate-500: #64748b;
    --color-slate-600: #475569;
    --color-slate-700: #334155;
    --color-slate-800: #1e293b;
    --color-slate-900: #0f172a;
    
    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    
    /* Spacing */
    --container-max: 1280px;
    --container-padding: 1rem;
    
    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

    /* Colored Shadows */
    --shadow-emerald-sm: 0 1px 2px 0 rgba(0, 200, 150, 0.15);
    --shadow-emerald-md: 0 4px 6px -1px rgba(0, 200, 150, 0.2);
    --shadow-emerald-lg: 0 10px 15px -3px rgba(0, 200, 150, 0.25);
    --shadow-emerald-xl: 0 20px 25px -5px rgba(0, 200, 150, 0.3);
    --shadow-orange-lg: 0 10px 15px -3px rgba(255, 122, 0, 0.25);
}

/* ==========================================================================
   Base Styles
   ========================================================================== */

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* No global overflow-x: clip/hidden on html, body or #page!
   Any overflow restriction on ancestors of fixed-position elements
   breaks position:fixed on iOS Safari during toolbar animation.
   Individual elements (tables, code blocks) handle their own overflow. */

/* ==========================================================================
   Header & Logo Styles
   ========================================================================== */

/* Logo Container */
.custom-logo-link {
    display: inline-block;
    max-width: 200px;
    height: auto;
    transition: opacity 0.2s ease;
}

.custom-logo-link:hover {
    opacity: 0.9;
}

/* Logo Image */
.custom-logo {
    display: block;
    width: auto;
    height: 40px;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.2s ease;
}

@media (min-width: 768px) {
    .custom-logo {
        height: 48px;
    }
}

.custom-logo-link:hover .custom-logo {
    transform: scale(1.02);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    /* Verhindere dass lange Headlines überlaufen */
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* Alle Bilder responsive */
img {
    max-width: 100%;
    height: auto;
}

/* Alle iFrames responsive */
iframe {
    max-width: 100%;
}

/* ==========================================================================
   WordPress Core Styles
   ========================================================================== */

/* Alignments */
.alignleft {
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 1rem;
}

.alignright {
    float: right;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;
}

.alignwide {
    margin-left: -2rem;
    margin-right: -2rem;
    max-width: calc(100% + 4rem);
}

.alignfull {
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    max-width: 100vw;
    width: 100vw;
}

/* Captions */
.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 0.875rem;
    color: var(--color-slate-500);
    text-align: center;
    margin-top: 0.5rem;
}

/* Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.gallery-item {
    margin: 0;
}

.gallery-icon img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
}

/* ==========================================================================
   Alpine.js Cloak
   ========================================================================== */

[x-cloak] {
    display: none !important;
}

/* ==========================================================================
   Component Styles
   ========================================================================== */

/* Star Rating */
.neuebanken-stars {
    display: inline-flex;
    gap: 0.125rem;
}

.neuebanken-stars svg {
    flex-shrink: 0;
}

/* Provider Card */
.neuebanken-provider-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.neuebanken-provider-card:hover {
    transform: translateY(-2px);
}

/* Table of Contents */
.neuebanken-toc {
    background: var(--color-slate-50);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.neuebanken-toc-title {
    font-weight: 600;
    color: var(--color-slate-800);
    margin-bottom: 1rem;
}

.neuebanken-toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.neuebanken-toc-list li {
    margin-bottom: 0.5rem;
}

.neuebanken-toc-list a {
    color: var(--color-slate-600);
    text-decoration: none;
    transition: color 0.2s ease;
}

.neuebanken-toc-list a:hover {
    color: var(--color-primary);
}

/* Breadcrumbs */
.neuebanken-breadcrumbs {
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.neuebanken-breadcrumbs a {
    color: inherit;
    opacity: 0.7;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.neuebanken-breadcrumbs a:hover {
    opacity: 1;
}

.neuebanken-breadcrumbs .separator {
    margin: 0 0.5rem;
    opacity: 0.5;
}

/* ==========================================================================
   Quiz Styles
   ========================================================================== */

.neuebanken-bank-finder-quiz [x-cloak] {
    display: none !important;
}

/* ==========================================================================
   Prose Overrides (Article Content)
   ========================================================================== */

.prose {
    /* Verhindere horizontales Überlaufen */
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}

/* H2 Headings im Content (wie in der Ankerbox) */
.prose :where(h2):not(:where(.not-prose, .not-prose *)) {
    font-size: 1.5rem;
    line-height: 1.3;
    font-weight: 700;
    color: var(--color-slate-800);
    margin-bottom: 1.5rem;
    margin-top: 2.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--color-primary);
}

@media (min-width: 768px) {
    .prose :where(h2):not(:where(.not-prose, .not-prose *)) {
        font-size: 1.875rem;
    }
}

/* H3 Headings im Content */
.prose :where(h3):not(:where(.not-prose, .not-prose *)) {
    font-size: 1.25rem;
    line-height: 1.4;
    font-weight: 600;
    margin-bottom: 1rem;
    margin-top: .8rem;
}

@media (min-width: 768px) {
    .prose :where(h3):not(:where(.not-prose, .not-prose *)) {
        font-size: 1.5rem;
    }
}

/* Erster Heading hat keinen oberen Margin */
.prose > :where(h2:first-child):not(:where(.not-prose, .not-prose *)),
.prose > :where(h3:first-child):not(:where(.not-prose, .not-prose *)) {
    margin-top: 0;
}

.prose :where(img):not(:where(.not-prose, .not-prose *)) {
    border-radius: var(--radius-lg);
    max-width: 100%;
    height: auto;
}


.prose :where(blockquote):not(:where(.not-prose, .not-prose *)) {
    border-left-color: var(--color-primary);
    background: var(--color-slate-50);
    padding: 1rem 1.5rem;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

/* Tabellen: Scrollbar-Container */
.prose :where(table):not(:where(.not-prose, .not-prose *)) {
    border-radius: var(--radius-md);
    display: block;
    overflow-x: auto;
    max-width: 100%;
    /* KEIN width: 100% - das würde die Tabelle expandieren! */
    white-space: nowrap;
}

.prose :where(thead):not(:where(.not-prose, .not-prose *)) {
    background: var(--color-slate-50);
}

.prose :where(th):not(:where(.not-prose, .not-prose *)),
.prose :where(td):not(:where(.not-prose, .not-prose *)) {
    padding: 0.75rem 1rem;
}

/* Tabellen-Wrapper für zusätzliche Sicherheit */
.prose > :where(table):not(:where(.not-prose, .not-prose *)),
.prose :where(table):not(:where(.not-prose, .not-prose *)) {
    /* Verhindere dass Tabellen den Container sprengen */
    table-layout: auto;
    min-width: 0;
}

/* Tabellen-Zellen: Text darf umbrechen wenn nötig */
.prose :where(td):not(:where(.not-prose, .not-prose *)),
.prose :where(th):not(:where(.not-prose, .not-prose *)) {
    overflow-wrap: break-word;
    word-break: break-word;
}

.prose :where(pre):not(:where(.not-prose, .not-prose *)) {
    overflow-x: auto;
    max-width: 100%;
}

.prose :where(code):not(:where(.not-prose, .not-prose *)) {
    overflow-wrap: break-word;
    word-break: break-word;
}

/* iFrames responsive */
.prose :where(iframe):not(:where(.not-prose, .not-prose *)) {
    max-width: 100%;
    aspect-ratio: 16 / 9;
}

/* Videos responsive */
.prose :where(video):not(:where(.not-prose, .not-prose *)) {
    max-width: 100%;
    height: auto;
}

/* ==========================================================================
   Container
   ========================================================================== */

.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding-left: 2rem;
        padding-right: 2rem;
        max-width: 1280px;
    }
}

/* ==========================================================================
   Animations
   ========================================================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.3s ease-out;
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-slide-in-left {
    animation: slideInLeft 0.6s ease-out forwards;
}

.animate-slide-in-right {
    animation: slideInRight 0.6s ease-out forwards;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Text Gradient Clip */
.bg-clip-text {
    -webkit-background-clip: text;
    background-clip: text;
}

.text-transparent {
    color: transparent;
}

/* Backdrop Blur */
.backdrop-blur-sm {
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.backdrop-blur-md {
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.backdrop-blur-lg {
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

/* Mix Blend Mode */
.mix-blend-overlay {
    mix-blend-mode: overlay;
}

/* Scroll Margin for Anchors */
[id] {
    scroll-margin-top: 6rem;
}

/* Colored Shadow Utilities */
.shadow-emerald-sm {
    box-shadow: var(--shadow-emerald-sm);
}

.shadow-emerald-md {
    box-shadow: var(--shadow-emerald-md);
}

.shadow-emerald-lg {
    box-shadow: var(--shadow-emerald-lg);
}

.shadow-emerald-xl {
    box-shadow: var(--shadow-emerald-xl);
}

.shadow-orange-lg {
    box-shadow: var(--shadow-orange-lg);
}

/* ==========================================================================
   Advertising (.thisisanad) — Analog zu bravekin Theme
   ========================================================================== */

.thisisanad {
    position: relative;
}

/* Anzeige-Label via :before Pseudo-Element */
.advertising.thisisanad:before {
    content: 'Anzeige';
    display: block;
    font-size: 11px;
    line-height: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(148, 163, 184, 0.8);
    padding: 8px 12px 4px;
}

/* AdSense: Elternelement hat bereits Padding */
.advertising.thisisanad.adsense:before {
    padding: 0 0 8px;
}

/* Topbar: Kein Anzeige-Label (eigener Banner-Text) */
.neuebanken-ad-topbar.thisisanad:before,
.neuebanken-ad-topbar-mobile.thisisanad:before {
    display: none;
}

/* ==========================================================================
   Auto-Generated TOC - Mobile Sticky Behavior
   ========================================================================== */

/* Mobile: Fixed positioning mit Scroll-Detection */
@media (max-width: 767px) {
    .auto-toc-container {
        position: relative;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 40;
        border-radius: 0 !important;
        transition: all 0.3s ease;
    }

    /* Wenn gescrollt: Fixed Position */
    .auto-toc-container.is-fixed {
        position: fixed;
        top: 0;
    }

    /* Scroll-Margin für Anker-Links (kompensiert fixiertes TOC) */
    [id] {
        scroll-margin-top: 8rem;
    }
}

/* Desktop: Normale Darstellung */
@media (min-width: 768px) {
    .auto-toc-container {
        position: static;
    }

    [id] {
        scroll-margin-top: 6rem;
    }
}

/* ==========================================================================
   Print Styles
   ========================================================================== */

@media print {
    .no-print,
    header,
    footer,
    .sidebar,
    .neuebanken-toc,
    .social-share {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    a[href]:after {
        content: " (" attr(href) ")";
    }
}

/* ==========================================================================
   Comment Rating Stars - Performance Optimized with Pseudo-Elements
   ========================================================================== */

/**
 * Ultra-schlankes Markup wie im alten bravekin Theme:
 * - Sterne werden direkt auf <li class="neuebanken-comment star5">
 * - Nur 2 Pseudo-Elemente, keine extra DOM-Knoten
 * - Position: unten links im Kommentar
 *
 * Performance Benefits:
 * - 2 pseudo-elements statt 10+ DOM elements
 * - Embedded SVG stars (no HTTP requests)
 * - GPU-accelerated rendering
 * - 60% memory reduction für 50+ ratings
 */

.neuebanken-comment {
    position: relative;
    padding: 1.5em 1em 3em; /* Platz unten für Sterne + Meta */
    margin-bottom: 1.5em;
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    font-size: 0.9em;
    line-height: 1.6em;
}

/* Gray Background Stars (always 5 stars) */
.neuebanken-comment:before {
    content: "";
    position: absolute;
    bottom: 1.5em;
    left: 18px;
    width: 100px;  /* 5 stars × 20px */
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpolygon fill='%23E2E8F0' points='10,0 13.09,6.583 20,7.639 15,12.764 16.18,20 10,16.583 3.82,20 5,12.764 0,7.639 6.91,6.583'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-size: 20px 20px;
    background-position: left center;
}

/* Amber/Yellow Filled Stars Overlay (width varies by rating) */
.neuebanken-comment:after {
    content: "";
    position: absolute;
    bottom: 1.5em;
    left: 18px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpolygon fill='%23FBBF24' points='10,0 13.09,6.583 20,7.639 15,12.764 16.18,20 10,16.583 3.82,20 5,12.764 0,7.639 6.91,6.583'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-size: 20px 20px;
    background-position: left center;
    overflow: hidden;
}

/* Comment Meta (Autor/Datum) - unten links, rechts neben den Sternen */
.neuebanken-comment .comment-meta {
    position: absolute;
    bottom: 1.5em;
    left: 130px; /* 18px margin + 100px stars + 12px gap */
    font-size: 0.85em;
    color: var(--color-slate-600);
}

/* Rating Classes - Width controls how many stars are filled */
.neuebanken-comment.star0:before { width: 0; }
.neuebanken-comment.star0:after { width: 0; }
.neuebanken-comment.star0 { padding-bottom: 1.5em; } /* Kein Platz für Sterne */

.neuebanken-comment.star1:after { width: 20px; }
.neuebanken-comment.star2:after { width: 40px; }
.neuebanken-comment.star3:after { width: 60px; }
.neuebanken-comment.star4:after { width: 80px; }
.neuebanken-comment.star5:after { width: 100px; }

/* Comment Meta Anpassung wenn keine Sterne */
.neuebanken-comment.star0 .comment-meta {
    left: 18px; /* Direkt links, kein Platz für Sterne */
}

/* Links in Comments */
.neuebanken-comment a {
    color: var(--color-primary);
    text-decoration: none;
}

.neuebanken-comment a:hover {
    text-decoration: underline;
}

/* Comment Edit Link */
.neuebanken-comment .comment-edit-link {
    font-size: 0.9em;
    color: var(--color-slate-500);
}

/* ==========================================================================
   Prose / Content Styling - Optimized for Readability
   ========================================================================== */

/* Paragraphs - More Breathing Room */
.prose :where(p):not(:where(.not-prose, .not-prose *)) {
    margin-bottom: 1.75em;
    line-height: 1.8;
}

/* Headings - Clear Visual Hierarchy with Whitespace */
.prose :where(h2):not(:where(.not-prose, .not-prose *)) {
    margin-top: 2.5em;
    margin-bottom: 1em;
    line-height: 1.3;
}


.prose :where(h4):not(:where(.not-prose, .not-prose *)) {
    margin-top: 1.75em;
    margin-bottom: 0.65em;
}

/* First heading after content start - reduce top margin */
.prose > :where(h2:first-child):not(:where(.not-prose, .not-prose *)),
.prose > :where(h3:first-child):not(:where(.not-prose, .not-prose *)) {
    margin-top: 0;
}

/* Unordered Lists - Clean & Spacious */
.prose :where(ul):not(:where(.not-prose, .not-prose *)) {
    margin-top: 1.5em;
    margin-bottom: 1.5em;
    padding-left: 1.75em;
    list-style-type: disc;
}

.prose :where(ul li):not(:where(.not-prose, .not-prose *)) {
    margin-top: 0.75em;
    margin-bottom: 0.75em;
    padding-left: 0.5em;
    line-height: 1.75;
}

.prose :where(ul li):not(:where(.not-prose, .not-prose *))::marker {
    color: var(--color-primary);
    font-size: 1.1em;
}

/* Ordered Lists - Clear Numbering */
.prose :where(ol):not(:where(.not-prose, .not-prose *)) {
    margin-top: 1.5em;
    margin-bottom: 1.5em;
    padding-left: 1.75em;
    list-style-type: decimal;
}

.prose :where(ol li):not(:where(.not-prose, .not-prose *)) {
    margin-top: 0.75em;
    margin-bottom: 0.75em;
    padding-left: 0.5em;
    line-height: 1.75;
}

.prose :where(ol li):not(:where(.not-prose, .not-prose *))::marker {
    color: var(--color-primary);
    font-weight: 600;
}

/* Nested Lists - Reduced Spacing */
.prose :where(ul ul):not(:where(.not-prose, .not-prose *)),
.prose :where(ul ol):not(:where(.not-prose, .not-prose *)),
.prose :where(ol ul):not(:where(.not-prose, .not-prose *)),
.prose :where(ol ol):not(:where(.not-prose, .not-prose *)) {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

.prose :where(li > ul):not(:where(.not-prose, .not-prose *)),
.prose :where(li > ol):not(:where(.not-prose, .not-prose *)) {
    margin-top: 0.5em;
}

/* List Items with Paragraphs */
.prose :where(li p):not(:where(.not-prose, .not-prose *)) {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

/* Strong Text - Better Visibility */
.prose :where(strong):not(:where(.not-prose, .not-prose *)) {
    font-weight: 700;
    color: var(--color-slate-900);
}

/* Links - Clear but Subtle */
.prose :where(a):not(:where(.not-prose, .not-prose *)) {
    font-weight: 500;
    color: var(--color-slate-800);
    text-decoration: none;
    box-shadow: inset 0 -2px 0 var(--color-primary);
    transition: all 0.15s ease;
}

.prose :where(a):not(:where(.not-prose, .not-prose *)):hover {
    color: var(--color-primary);
    box-shadow: none;
}

.prose :where(a img):not(:where(.not-prose, .not-prose *)) {
    margin-bottom: -4px;
}

/* Blockquotes - Distinctive Styling */
.prose :where(blockquote):not(:where(.not-prose, .not-prose *)) {
    margin-top: 2em;
    margin-bottom: 2em;
    padding-left: 1.5em;
    border-left: 4px solid var(--color-primary);
    font-style: italic;
    color: var(--color-slate-700);
}

.prose :where(blockquote p):not(:where(.not-prose, .not-prose *)) {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

/* Code Blocks - Better Readability */
.prose :where(code):not(:where(.not-prose, .not-prose *)) {
    padding: 0.25em 0.4em;
    background: var(--color-slate-100);
    border-radius: 0.25rem;
    font-size: 0.9em;
    font-weight: 500;
}

.prose :where(pre):not(:where(.not-prose, .not-prose *)) {
    margin-top: 1.75em;
    margin-bottom: 1.75em;
    padding: 1.25em;
    background: var(--color-slate-900);
    border-radius: 0.5rem;
    overflow-x: auto;
}

.prose :where(pre code):not(:where(.not-prose, .not-prose *)) {
    background: transparent;
    padding: 0;
    color: #e5e7eb;
}

/* Tables - Improved Spacing */
.prose :where(table):not(:where(.not-prose, .not-prose *)) {
    margin-top: 2em;
    margin-bottom: 2em;
}

.prose :where(table td):not(:where(.not-prose, .not-prose *)),
.prose :where(table th):not(:where(.not-prose, .not-prose *)) {
    padding: 0.75em 1em;
}

/* Horizontal Rules - Subtle Dividers */
.prose :where(hr):not(:where(.not-prose, .not-prose *)) {
    margin-top: 3em;
    margin-bottom: 3em;
    border-color: var(--color-slate-200);
}

/* Images - Proper Spacing */
.prose :where(img):not(:where(.not-prose, .not-prose *)) {
    margin-top: 2em;
    margin-bottom: 2em;
}

/* Figure Captions */
.prose :where(figcaption):not(:where(.not-prose, .not-prose *)) {
    margin-top: 0.75em;
    font-size: 0.9em;
    color: var(--color-slate-600);
    text-align: center;
}

/* ==========================================================================
   Prose Readable - Editorial Width Constraint
   ========================================================================== */

/**
 * Beschränkt Text-Elemente auf optimale Lesebreite (~768px / 48rem),
 * während not-prose Blöcke (Grids, Tabellen, Interaktive Elemente)
 * die volle Container-Breite nutzen.
 *
 * Verwendung: Vergleichsseiten, Ratgeber, Pillar Pages
 */
.prose-readable > p,
.prose-readable > h2,
.prose-readable > h3,
.prose-readable > h4,
.prose-readable > ul,
.prose-readable > ol,
.prose-readable > blockquote,
.prose-readable > hr {
    max-width: 48rem; /* ~768px — optimale Zeilenlänge */
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   Profile Recommendation Cards
   ========================================================================== */

.profile-card {
    position: relative;
}

/* Subtle top shadow for depth */
.profile-card:hover {
    transform: translateY(-2px);
}

/* ==========================================================================
   FAQ Accordion - wpautop Fix & Styling
   ========================================================================== */

/* WordPress wpautop injiziert <br> in inline-Elemente — ausblenden */
button br,
.not-prose .flex > br,
.not-prose .grid > br,
.not-prose .flex > p:empty,
.not-prose .grid > p:empty {
    display: none;
}

/* Reset inherited word-break from .prose parent.
   word-break: normal → no mid-word breaks (fixes "Mon at" etc.)
   overflow-wrap: break-word → long unbreakable strings still wrap at container edge */
.not-prose {
    word-break: normal;
    overflow-wrap: break-word;
}

/* FAQ Counter Numbering */
.faq-accordion {
    counter-reset: faq-counter;
}

.faq-accordion > div {
    counter-increment: faq-counter;
}

.faq-accordion > div > button > span:first-of-type::before {
    content: counter(faq-counter) ". ";
    font-weight: 700;
    color: var(--color-primary);
}

/* FAQ open state indicator */
.faq-accordion > div > button {
    position: relative;
}

.faq-accordion > div > button:hover {
    background-color: var(--color-slate-50);
}

/* ==========================================================================
   Methodology Weight Bars
   ========================================================================== */

.methodology-bar {
    height: 4px;
    border-radius: 2px;
    background: var(--color-slate-100);
    overflow: hidden;
    margin-top: 0.5rem;
}

.methodology-bar-fill {
    height: 100%;
    border-radius: 2px;
    background: var(--color-primary);
    transition: width 0.6s ease-out;
}

/* ==========================================================================
   Section Dividers - Visual Rhythm
   ========================================================================== */

.prose-readable > h2 {
    padding-top: 2rem;
}

/* Preistabelle shortcode */
.pricing-tier {
   margin: .5em 0;
}

.pricing-tier h3 {
   margin-top: .3em;
   margin-bottom: .3em;
}

.pricing-tier ul {
   margin-top: 0px;
   margin-left: 0px;
   margin-bottom: 1.2em;
   padding-left: 0px;
}


/* ==========================================================================
   Device Mockups - 3D Float Animation
   ========================================================================== */

.perspective-1000 {
    perspective: 1000px;
    perspective-origin: center;
}

/* iPad Float Animation (langsamer, subtiler) */
@keyframes device-float {
    0%, 100% {
        transform: translateY(0) rotateY(-5deg) rotateX(2deg);
    }
    50% {
        transform: translateY(-12px) rotateY(-5deg) rotateX(2deg);
    }
}

/* iPhone Float Animation (schneller, höher) */
@keyframes device-float-delayed {
    0%, 100% {
        transform: translateY(0) rotateY(5deg) rotateX(2deg);
    }
    50% {
        transform: translateY(-18px) rotateY(5deg) rotateX(2deg);
    }
}

.animate-device-float {
    animation: device-float 3.5s ease-in-out infinite;
    transform-style: preserve-3d;
    will-change: transform;
}

.animate-device-float-delayed {
    animation: device-float-delayed 4s ease-in-out infinite;
    animation-delay: 0.5s;
    transform-style: preserve-3d;
    will-change: transform;
}

/* Device Shadow (dynamisch mit Float) */
@keyframes device-shadow-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(0.85);
        opacity: 0.15;
    }
}

.device-shadow {
    animation: device-shadow-pulse 3.5s ease-in-out infinite;
}

.device-shadow-delayed {
    animation: device-shadow-pulse 4s ease-in-out infinite;
    animation-delay: 0.5s;
}

/* Glassmorphic Device Frame Shine */
.device-frame-shine {
    position: relative;
    overflow: hidden;
}

.device-frame-shine::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%, rgba(255,255,255,0.1) 100%);
    opacity: 0.5;
    pointer-events: none;
}

/* ==========================================================================
   Widget Star Ratings (für Sidebar/Widgets)
   ========================================================================== */

.neuebanken-widget-stars {
    position: relative;
    display: inline-block;
    width: 80px;  /* 5 stars × 16px (kleiner für Widgets) */
    height: 16px;
    vertical-align: middle;
}

.neuebanken-widget-stars:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 80px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpolygon fill='%23E2E8F0' points='10,0 13.09,6.583 20,7.639 15,12.764 16.18,20 10,16.583 3.82,20 5,12.764 0,7.639 6.91,6.583'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-size: 16px 16px;
}

.neuebanken-widget-stars:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpolygon fill='%2300C896' points='10,0 13.09,6.583 20,7.639 15,12.764 16.18,20 10,16.583 3.82,20 5,12.764 0,7.639 6.91,6.583'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-size: 16px 16px;
    overflow: hidden;
}

/* Widget Star Classes */
.neuebanken-widget-stars.star0:after { width: 0; }
.neuebanken-widget-stars.star1:after { width: 16px; }
.neuebanken-widget-stars.star2:after { width: 32px; }
.neuebanken-widget-stars.star3:after { width: 48px; }
.neuebanken-widget-stars.star4:after { width: 64px; }
.neuebanken-widget-stars.star5:after { width: 80px; }

/* ==========================================================================
   Accessibility: Respect User Motion Preferences (WCAG)
   ========================================================================== */

/**
 * Disable animations for users who prefer reduced motion
 * Improves accessibility for users with vestibular disorders
 */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    /* Keep device mockups visible but static */
    .animate-device-float,
    .animate-device-float-delayed {
        animation: none !important;
        transform: translateY(0) rotateY(0) rotateX(0) !important;
    }

    /* Disable shadow pulse */
    .animate-device-shadow-pulse {
        animation: none !important;
        opacity: 0.2 !important;
    }

    /* Disable other animations */
    .animate-float,
    .animate-slide-in-left,
    .animate-slide-in-right,
    .animate-fade-in-up {
        animation: none !important;
    }

    /* Keep functionality, remove motion */
    .group:hover .group-hover\:translate-x-1 {
        transform: none !important;
    }

    .hover\:scale-105:hover,
    .hover\:-translate-y-1:hover,
    .hover\:-translate-y-2:hover {
        transform: none !important;
    }
}

/* Disable device float animations on mobile (performance) */
@media (max-width: 767px) {
    .animate-device-float,
    .animate-device-float-delayed {
        animation: none !important;
        transform: rotateY(0) rotateX(0) !important;
    }
    .animate-device-shadow-pulse {
        animation: none !important;
        opacity: 0.2 !important;
    }
    .device-frame-shine::before {
        animation: none !important;
    }
}

/* ==========================================================================
   Button Loading States
   ========================================================================== */

/* Button Loading State */
.btn-loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.btn-loading::after {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    top: 50%;
    left: 50%;
    margin-left: -9px;
    margin-top: -9px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: btn-spin 0.6s linear infinite;
    color: white;
}

@keyframes btn-spin {
    to { transform: rotate(360deg); }
}

/* Apply to common button classes */
a.bg-emerald-500.btn-loading::after,
a.bg-emerald-600.btn-loading::after {
    border-top-color: white;
}

/* ==========================================================================
   Phase 2 Shortcodes - Defensive Styling (WordPress wpautop Fix)
   ========================================================================== */

/* Pricing Table - Remove WordPress auto-added tags from breaking grid */
.neuebanken-pricing-table .grid > br,
.neuebanken-pricing-table .grid > p:empty {
    display: none;
}

/* Ensure pricing tiers are direct grid children */
.neuebanken-pricing-table .grid {
    display: grid !important;
}

/* Remove paragraph wrappers around pricing tiers */
.neuebanken-pricing-table .grid > p {
    display: contents;
}

/* Pricing tier cards */
.pricing-tier {
    display: flex;
    flex-direction: column;
}

/* Pros/Cons - Remove WordPress auto-added tags from breaking grid */
.neuebanken-pros-cons > br,
.neuebanken-pros-cons > p:empty {
    display: none;
}

/* Ensure pros/cons columns are direct grid children */
.neuebanken-pros-cons {
    display: grid !important;
}

/* Remove paragraph wrappers around pros/cons columns */
.neuebanken-pros-cons > p {
    display: contents;
}

/* Pros/Cons columns */
.pros-column,
.cons-column {
    display: flex;
    flex-direction: column;
}

/* Pricing Table - Featured Tier Button Fix */
.pricing-tier .bg-emerald-500,
.pricing-tier .bg-emerald-600 {
    color: white !important;
}

.pricing-tier .bg-emerald-500:hover,
.pricing-tier .bg-emerald-600:hover {
    color: white !important;
}

/* =========================================================================
   Sidebar Provider Menu — Card Design
   Scope: .sidebar .widget_nav_menu only
   ========================================================================= */

/* Widget Container — override Tailwind p-6 */
.sidebar .widget_nav_menu {
    padding: 1.75rem 1.25rem;
}

/* Widget Title — bold, tight tracking */
.sidebar .widget_nav_menu .widget-title {
    font-size: 1.625rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-bottom: 1.25rem;
}

/* Menu List — flex column with gap */
.sidebar .widget_nav_menu ul.menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

/* Menu Item Links — card rows */
.sidebar .widget_nav_menu .menu-item a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background-color: #f8fafc;
    border-radius: 0.625rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #334155;
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.sidebar .widget_nav_menu .menu-item a:hover {
    background-color: #f1f5f9;
    color: #00C896;
}

/* Active State — current page highlighted */
.sidebar .widget_nav_menu .current-menu-item a,
.sidebar .widget_nav_menu .current_page_item a {
    background-color: #ecfdf5;
    color: #00C896;
    font-weight: 600;
    box-shadow: inset 0 0 0 1.5px #00C896;
}

.sidebar .widget_nav_menu .current-menu-item a::before,
.sidebar .widget_nav_menu .current_page_item a::before {
    background-color: #00C896;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18'/%3E%3Cpath d='M5 21V7l7-4 7 4v14'/%3E%3Cpath d='M9 21v-4h6v4'/%3E%3Cpath d='M9 10h1'/%3E%3Cpath d='M14 10h1'/%3E%3Cpath d='M9 14h1'/%3E%3Cpath d='M14 14h1'/%3E%3C/svg%3E");
}

/* Generic Icon — ::before pseudo-element */
.sidebar .widget_nav_menu .menu-item a::before {
    content: "";
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background-color: #e2e8f0;
    border-radius: 0.5rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18'/%3E%3Cpath d='M5 21V7l7-4 7 4v14'/%3E%3Cpath d='M9 21v-4h6v4'/%3E%3Cpath d='M9 10h1'/%3E%3Cpath d='M14 10h1'/%3E%3Cpath d='M9 14h1'/%3E%3Cpath d='M14 14h1'/%3E%3C/svg%3E");
    background-size: 16px 16px;
    background-repeat: no-repeat;
    background-position: center;
}

/* Per-Menu Icons — override generic icon per menu slug */

/* Neobanks — Credit Card */
.sidebar .widget_nav_menu .menu-neobanks-container .menu-item a::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='5' width='20' height='14' rx='2'/%3E%3Cpath d='M2 10h20'/%3E%3Cpath d='M6 15h4'/%3E%3C/svg%3E");
}
.sidebar .widget_nav_menu .menu-neobanks-container .current-menu-item a::before,
.sidebar .widget_nav_menu .menu-neobanks-container .current_page_item a::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='5' width='20' height='14' rx='2'/%3E%3Cpath d='M2 10h20'/%3E%3Cpath d='M6 15h4'/%3E%3C/svg%3E");
}

/* Online Broker — Trending Up Chart */
.sidebar .widget_nav_menu .menu-online-broker-container .menu-item a::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='22 7 13.5 15.5 8.5 10.5 2 17'/%3E%3Cpolyline points='16 7 22 7 22 13'/%3E%3C/svg%3E");
}
.sidebar .widget_nav_menu .menu-online-broker-container .current-menu-item a::before,
.sidebar .widget_nav_menu .menu-online-broker-container .current_page_item a::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='22 7 13.5 15.5 8.5 10.5 2 17'/%3E%3Cpolyline points='16 7 22 7 22 13'/%3E%3C/svg%3E");
}

/* Service — Life Buoy / Help */
.sidebar .widget_nav_menu .menu-sidebar-service-container .menu-item a::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M4.93 4.93l4.24 4.24'/%3E%3Cpath d='M14.83 14.83l4.24 4.24'/%3E%3Cpath d='M14.83 9.17l4.24-4.24'/%3E%3Cpath d='M4.93 19.07l4.24-4.24'/%3E%3C/svg%3E");
}
.sidebar .widget_nav_menu .menu-sidebar-service-container .current-menu-item a::before,
.sidebar .widget_nav_menu .menu-sidebar-service-container .current_page_item a::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M4.93 4.93l4.24 4.24'/%3E%3Cpath d='M14.83 14.83l4.24 4.24'/%3E%3Cpath d='M14.83 9.17l4.24-4.24'/%3E%3Cpath d='M4.93 19.07l4.24-4.24'/%3E%3C/svg%3E");
}

/* Städte — Map Pin */
.sidebar .widget_nav_menu .menu-sidebar-staedte-container .menu-item a::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12S4 16 4 10a8 8 0 1 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
}
.sidebar .widget_nav_menu .menu-sidebar-staedte-container .current-menu-item a::before,
.sidebar .widget_nav_menu .menu-sidebar-staedte-container .current_page_item a::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12S4 16 4 10a8 8 0 1 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
}

/* Last Item — "Vergleich" link with outline style */
.sidebar .widget_nav_menu .menu-item:last-child a {
    background-color: transparent;
    border: 1px solid #e2e8f0;
    justify-content: space-between;
}

.sidebar .widget_nav_menu .menu-item:last-child a:hover {
    background-color: transparent;
    border-color: #00C896;
    color: #00C896;
}

/* Arrow on Vergleich link — ::after */
.sidebar .widget_nav_menu .menu-item:last-child a::after {
    content: "\2192";
    flex-shrink: 0;
    font-size: 1rem;
    margin-left: auto;
    transition: transform 0.15s ease;
}

.sidebar .widget_nav_menu .menu-item:last-child a:hover::after {
    transform: translateX(2px);
}
