/**handles:neelixberlin-style**/
/*
Theme Name: NeelixberliN
Description: Ein modernes WordPress Theme mit Glasmorphism-Design für digitale Suchtberatung. Optimiert für Performance, SEO und Benutzerfreundlichkeit.
Author: NeelixberliN
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: neelixberlin
Domain Path: /languages
Tags: blog, two-columns, custom-colors, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready
*/

/* =================================== */
/* RESET & BASE STYLES */
/* =================================== */

* {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    line-height: 1.6;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    color: #2d3748;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 25%, #ff6b6b 50%, #feca57 75%, #48dbfb 100%);
    background-size: 400% 400%;
    animation: gradientShift 20s ease infinite;
    min-height: 100vh;
    overflow-x: hidden;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    25% { background-position: 100% 50%; }
    50% { background-position: 0% 100%; }
    75% { background-position: 100% 0%; }
    100% { background-position: 0% 50%; }
}

/* =================================== */
/* LAYOUT STRUCTURE - MURA STYLE */
/* =================================== */

.site {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 0 0 12px 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* =================================== */
/* SITE BRANDING - ZENTRIERT WIE MURA */
/* =================================== */

.site-branding {
    text-align: center;
    margin-bottom: 15px;
}

.site-logo {
    margin-bottom: 10px;
}

.custom-logo {
    max-height: 60px;
    width: auto;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.custom-logo:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.site-title {
    font-size: 32px;
    font-weight: 700;
    margin: 10px 0 5px 0;
    background: linear-gradient(135deg, #4facfe, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.site-title a {
    text-decoration: none;
    color: inherit;
}

.site-description {
    font-size: 16px;
    color: #718096;
    margin: 0 0 15px 0;
    font-style: italic;
}

/* =================================== */
/* NAVIGATION - MURA STYLE KOMPAKT */
/* =================================== */

.main-navigation {
    text-align: center;
}

.main-menu {
    display: inline-flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.main-menu li {
    position: relative;
}

.main-menu li a {
    display: block;
    padding: 6px 14px;
    color: #2d3748;
    text-decoration: none;
    font-weight: 600;
    border-radius: 16px;
    transition: all 0.3s ease;
    font-size: 13px;
    white-space: nowrap;
}

.main-menu li a:hover,
.main-menu li.current-menu-item a,
.main-menu li.current_page_item a {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(79, 172, 254, 0.3);
}

/* Dropdown/Submenu Support */
.main-menu li ul {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 8px;
    padding: 5px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    min-width: 180px;
    margin-top: 5px;
}

.main-menu li:hover ul {
    opacity: 1;
    visibility: visible;
}

.main-menu li ul li {
    width: 100%;
}

.main-menu li ul li a {
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    color: #2d3748;
    margin: 1px 0;
}

.main-menu li ul li a:hover {
    background: rgba(79, 172, 254, 0.1);
    color: #4facfe;
    transform: none;
    box-shadow: none;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 6px;
    padding: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.mobile-menu-toggle:hover {
    background: rgba(79, 172, 254, 0.1);
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hamburger-line {
    width: 16px;
    height: 2px;
    background: #2d3748;
    border-radius: 1px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(3px, 3px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
}

/* =================================== */
/* BUTTONS */
/* =================================== */

.btn,
.button,
input[type="submit"],
.wp-block-button__link {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    color: white;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(79, 172, 254, 0.2);
}

.btn:hover,
.button:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 172, 254, 0.3);
    filter: brightness(1.05);
}

.read-more-link {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: 10px;
    font-size: 13px;
}

.read-more-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 172, 254, 0.25);
}

/* =================================== */
/* FORMS */
/* =================================== */

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="url"],
textarea,
select {
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(79, 172, 254, 0.2);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

input:focus,
textarea:focus,
select:focus {
    border-color: #4facfe;
    box-shadow: 0 0 0 3px rgba(79, 172, 254, 0.15);
    outline: none;
    background: white;
}

/* =================================== */
/* PAGINATION */
/* =================================== */

.pagination,
.page-links,
.posts-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 30px 0;
}

.pagination a,
.pagination span,
.page-links a,
.page-links span {
    display: inline-block;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 6px;
    text-decoration: none;
    color: #2d3748;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(79, 172, 254, 0.2);
    font-size: 14px;
}

.pagination a:hover,
.page-links a:hover {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    color: white;
    transform: translateY(-1px);
}

.pagination .current,
.page-links .current {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    color: white;
}

/* =================================== */
/* CONTENT CONTAINERS */
/* =================================== */

.content-area {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.content-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #4facfe, #00f2fe, #ff6b6b, #feca57, #48dbfb);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 200% 0; }
    50% { background-position: -200% 0; }
}

/* =================================== */
/* BREADCRUMBS */
/* =================================== */

.breadcrumbs {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 8px 15px;
    margin: 0 0 20px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 13px;
}

.breadcrumbs a {
    color: #1a202c;
    background: rgba(26, 32, 44, 0.06);
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.breadcrumbs a:hover {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    color: white;
    transform: translateY(-1px);
}

.breadcrumbs .separator {
    margin: 0 6px;
    color: #718096;
}

.breadcrumbs .current {
    color: #2d3748;
    font-weight: 600;
}

/* =================================== */
/* BLOG GRID LAYOUT - MURA STYLE */
/* =================================== */

.posts-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

/* Masonry-ähnlicher Effekt */
.post-item {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.post-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.post-item .post-thumbnail {
    overflow: hidden;
    height: 200px;
}

.post-item .post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-item:hover .post-thumbnail img {
    transform: scale(1.05);
}

.post-item .entry-header,
.post-item .entry-summary,
.post-item .entry-footer {
    padding: 20px;
}

.post-item .entry-header {
    padding-bottom: 10px;
    text-align: left;
    border-bottom: none;
}

.post-item .entry-title {
    margin-bottom: 10px;
    font-size: 18px;
}

.post-item .entry-title a {
    color: #2d3748;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-item .entry-title a:hover {
    color: #4facfe;
}

.post-item .entry-meta {
    justify-content: flex-start;
    gap: 10px;
    font-size: 12px;
    margin-bottom: 15px;
}

.post-item .entry-summary {
    padding-top: 0;
    padding-bottom: 10px;
    color: #718096;
    line-height: 1.6;
}

.post-item .entry-footer {
    padding-top: 0;
    border-top: 1px solid rgba(79, 172, 254, 0.1);
}

/* =================================== */
/* TYPOGRAPHY */
/* =================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 15px 0;
    color: #1a202c;
}

h1 {
    font-size: clamp(28px, 5vw, 36px);
    background: linear-gradient(135deg, #4facfe, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: clamp(24px, 4vw, 28px);
}

h3 {
    font-size: clamp(20px, 3.5vw, 24px);
}

p {
    font-size: 16px;
    line-height: 1.7;
    margin: 0 0 18px 0;
    color: #2d3748;
}

/* =================================== */
/* EINHEITLICHES LINK-STYLING FÜR ARTIKEL UND TAGS */
/* Diesen CSS-Code in Ihre style.css einfügen (ersetzt die vorhandenen Link-Styles) */
/* =================================== */

/* =================================== */
/* ARTIKEL-LINKS WIE SCHLAGWORT-BUTTONS STYLEN */
/* =================================== */

/* Gemeinsame Button-Styles für Links im Content und Tags */
.entry-content a:not(.neelixberlin-social-btn):not(.read-more-link):not(.wp-block-button__link):not([class*="wp-"]),
.tag-list a,
a[rel="tag"] {
    display: inline-flex !important;
    align-items: center !important;
    color: white !important;
    padding: 6px 12px !important;
    border-radius: 18px !important;
    text-decoration: none !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1) !important;
    margin: 2px 4px 2px 0 !important;
    white-space: nowrap !important;
    border: none !important;
    line-height: 1.2 !important;
}

/* Wasserfarbige Artikel-Links - Zufällige Farben basierend auf Position */
.entry-content a:nth-of-type(8n+1):not(.neelixberlin-social-btn):not(.read-more-link):not(.wp-block-button__link):not([class*="wp-"]) { 
    background: linear-gradient(135deg, #4facfe, #00f2fe) !important; 
}
.entry-content a:nth-of-type(8n+2):not(.neelixberlin-social-btn):not(.read-more-link):not(.wp-block-button__link):not([class*="wp-"]) { 
    background: linear-gradient(135deg, #ff6b6b, #ee5a52) !important; 
}
.entry-content a:nth-of-type(8n+3):not(.neelixberlin-social-btn):not(.read-more-link):not(.wp-block-button__link):not([class*="wp-"]) { 
    background: linear-gradient(135deg, #feca57, #ff9ff3) !important; 
}
.entry-content a:nth-of-type(8n+4):not(.neelixberlin-social-btn):not(.read-more-link):not(.wp-block-button__link):not([class*="wp-"]) { 
    background: linear-gradient(135deg, #48dbfb, #0abde3) !important; 
}
.entry-content a:nth-of-type(8n+5):not(.neelixberlin-social-btn):not(.read-more-link):not(.wp-block-button__link):not([class*="wp-"]) { 
    background: linear-gradient(135deg, #a29bfe, #6c5ce7) !important; 
}
.entry-content a:nth-of-type(8n+6):not(.neelixberlin-social-btn):not(.read-more-link):not(.wp-block-button__link):not([class*="wp-"]) { 
    background: linear-gradient(135deg, #00b894, #00cec9) !important; 
}
.entry-content a:nth-of-type(8n+7):not(.neelixberlin-social-btn):not(.read-more-link):not(.wp-block-button__link):not([class*="wp-"]) { 
    background: linear-gradient(135deg, #fd79a8, #fdcb6e) !important; 
}
.entry-content a:nth-of-type(8n+8):not(.neelixberlin-social-btn):not(.read-more-link):not(.wp-block-button__link):not([class*="wp-"]) { 
    background: linear-gradient(135deg, #74b9ff, #0984e3) !important; 
}

/* Wasserfarbige Tag-Styles (bleibt unverändert) */
.tag-list a:nth-child(8n+1), a[rel="tag"]:nth-child(8n+1) { background: linear-gradient(135deg, #4facfe, #00f2fe) !important; }
.tag-list a:nth-child(8n+2), a[rel="tag"]:nth-child(8n+2) { background: linear-gradient(135deg, #ff6b6b, #ee5a52) !important; }
.tag-list a:nth-child(8n+3), a[rel="tag"]:nth-child(8n+3) { background: linear-gradient(135deg, #feca57, #ff9ff3) !important; }
.tag-list a:nth-child(8n+4), a[rel="tag"]:nth-child(8n+4) { background: linear-gradient(135deg, #48dbfb, #0abde3) !important; }
.tag-list a:nth-child(8n+5), a[rel="tag"]:nth-child(8n+5) { background: linear-gradient(135deg, #a29bfe, #6c5ce7) !important; }
.tag-list a:nth-child(8n+6), a[rel="tag"]:nth-child(8n+6) { background: linear-gradient(135deg, #00b894, #00cec9) !important; }
.tag-list a:nth-child(8n+7), a[rel="tag"]:nth-child(8n+7) { background: linear-gradient(135deg, #fd79a8, #fdcb6e) !important; }
.tag-list a:nth-child(8n+8), a[rel="tag"]:nth-child(8n+8) { background: linear-gradient(135deg, #74b9ff, #0984e3) !important; }

/* Hover-Effekte für alle Button-Links */
.entry-content a:not(.neelixberlin-social-btn):not(.read-more-link):not(.wp-block-button__link):not([class*="wp-"]):hover,
.tag-list a:hover,
a[rel="tag"]:hover {
    transform: translateY(-2px) scale(1.05) !important;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2) !important;
    filter: brightness(1.1) !important;
}

/* =================================== */
/* SPEZIELLE AUSNAHMEN - DIESE LINKS BLEIBEN NORMAL */
/* =================================== */

/* Social Share Buttons bleiben unverändert */
.neelixberlin-social-btn {
    /* Behält ihre ursprünglichen Styles */
}

/* Read-More Links bleiben unverändert */
.read-more-link {
    /* Behält seine ursprünglichen Styles */
}

/* WordPress Block Editor Button Links bleiben unverändert */
.wp-block-button__link {
    /* Behält seine ursprünglichen Styles */
}

/* Formulare und Admin-Links bleiben normal */
.entry-content a[href*="wp-admin"],
.entry-content a[href*="wp-login"],
.entry-content a[class*="wp-"],
.entry-content .wp-block-button a {
    /* Normale Link-Styles */
    display: inline !important;
    background: none !important;
    color: #4facfe !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
    border-bottom: 1px solid #4facfe !important;
    font-size: inherit !important;
    font-weight: inherit !important;
}

.entry-content a[href*="wp-admin"]:hover,
.entry-content a[href*="wp-login"]:hover,
.entry-content a[class*="wp-"]:hover,
.entry-content .wp-block-button a:hover {
    background: rgba(79, 172, 254, 0.1) !important;
    color: #ff6b6b !important;
    transform: none !important;
    box-shadow: none !important;
    filter: none !important;
}

/* =================================== */
/* MOBILE RESPONSIVE ANPASSUNGEN */
/* =================================== */

@media (max-width: 768px) {
    .entry-content a:not(.neelixberlin-social-btn):not(.read-more-link):not(.wp-block-button__link):not([class*="wp-"]),
    .tag-list a,
    a[rel="tag"] {
        padding: 5px 10px !important;
        font-size: 11px !important;
        border-radius: 16px !important;
        margin: 1px 3px 1px 0 !important;
    }
}

@media (max-width: 480px) {
    .entry-content a:not(.neelixberlin-social-btn):not(.read-more-link):not(.wp-block-button__link):not([class*="wp-"]),
    .tag-list a,
    a[rel="tag"] {
        padding: 4px 8px !important;
        font-size: 10px !important;
        border-radius: 14px !important;
        margin: 1px 2px 1px 0 !important;
    }
}

/* =================================== */
/* ZUSÄTZLICHE VERBESSERUNGEN */
/* =================================== */

/* Bessere Lesbarkeit bei langen Texten mit vielen Links */
.entry-content p {
    line-height: 1.8 !important; /* Mehr Zeilenhöhe für bessere Lesbarkeit */
}

/* Links in Listen erhalten auch das Button-Design */
.entry-content li a:not(.neelixberlin-social-btn):not(.read-more-link):not(.wp-block-button__link):not([class*="wp-"]) {
    /* Erbt alle Styles von oben */
}

/* Externe Links bekommen ein kleines Icon */
.entry-content a[href^="http"]:not([href*="neelixberlin.de"]):not(.neelixberlin-social-btn):not(.read-more-link):not(.wp-block-button__link):not([class*="wp-"])::after {
    content: ' ↗' !important;
    font-size: 10px !important;
    opacity: 0.8 !important;
    margin-left: 2px !important;
}

/* Interne Links bekommen kein Icon */
.entry-content a[href*="neelixberlin.de"]::after,
.entry-content a[href^="/"]:not([href^="//"]):not(.neelixberlin-social-btn):not(.read-more-link):not(.wp-block-button__link):not([class*="wp-"])::after {
    content: none !important;
}

/* =================================== */
/* ACCESSIBILITY & FOCUS STATES */
/* =================================== */

.entry-content a:not(.neelixberlin-social-btn):not(.read-more-link):not(.wp-block-button__link):not([class*="wp-"]):focus,
.tag-list a:focus,
a[rel="tag"]:focus {
    outline: 2px solid #ffffff !important;
    outline-offset: 2px !important;
    box-shadow: 0 0 0 4px rgba(79, 172, 254, 0.3) !important;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .entry-content a:not(.neelixberlin-social-btn):not(.read-more-link):not(.wp-block-button__link):not([class*="wp-"]),
    .tag-list a,
    a[rel="tag"] {
        border: 2px solid #000000 !important;
        color: #000000 !important;
        background: #ffffff !important;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .entry-content a:not(.neelixberlin-social-btn):not(.read-more-link):not(.wp-block-button__link):not([class*="wp-"]):hover,
    .tag-list a:hover,
    a[rel="tag"]:hover {
        transform: none !important;
        animation: none !important;
    }
}

/* =================================== */
/* DEBUGGING HILFE (nach dem Test entfernen) */
/* =================================== */

/* Uncomment diese Zeilen zum Debuggen der Link-Styles */
/*
.entry-content a:not(.neelixberlin-social-btn):not(.read-more-link):not(.wp-block-button__link):not([class*="wp-"]) {
    border: 2px solid red !important;
}

.tag-list a,
a[rel="tag"] {
    border: 2px solid blue !important;
}
*/

/* =================================== */
/* SIDEBAR - MURA STYLE */
/* =================================== */

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.widget {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.widget-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 15px 0;
    color: #2d3748;
    background: linear-gradient(135deg, #4facfe, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* =================================== */
/* TAGS - WASSERFARBIG */
/* =================================== */

.post-tags {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 20px;
    margin: 25px 0;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.post-tags h4 {
    margin: 0 0 15px 0;
    font-size: 16px;
    color: #2d3748;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Wasserfarbige Tag-Styles */
.tag-list a:nth-child(8n+1), a[rel="tag"]:nth-child(8n+1) { background: linear-gradient(135deg, #4facfe, #00f2fe); }
.tag-list a:nth-child(8n+2), a[rel="tag"]:nth-child(8n+2) { background: linear-gradient(135deg, #ff6b6b, #ee5a52); }
.tag-list a:nth-child(8n+3), a[rel="tag"]:nth-child(8n+3) { background: linear-gradient(135deg, #feca57, #ff9ff3); }
.tag-list a:nth-child(8n+4), a[rel="tag"]:nth-child(8n+4) { background: linear-gradient(135deg, #48dbfb, #0abde3); }
.tag-list a:nth-child(8n+5), a[rel="tag"]:nth-child(8n+5) { background: linear-gradient(135deg, #a29bfe, #6c5ce7); }
.tag-list a:nth-child(8n+6), a[rel="tag"]:nth-child(8n+6) { background: linear-gradient(135deg, #00b894, #00cec9); }
.tag-list a:nth-child(8n+7), a[rel="tag"]:nth-child(8n+7) { background: linear-gradient(135deg, #fd79a8, #fdcb6e); }
.tag-list a:nth-child(8n+8), a[rel="tag"]:nth-child(8n+8) { background: linear-gradient(135deg, #74b9ff, #0984e3); }

.tag-list a,
a[rel="tag"] {
    display: inline-flex;
    align-items: center;
    color: white;
    padding: 6px 12px;
    border-radius: 18px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.tag-list a:hover,
a[rel="tag"]:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    filter: brightness(1.1);
}

.tag-count {
    background: rgba(255, 255, 255, 0.9);
    color: #2d3748;
    padding: 1px 6px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 700;
    margin-left: 6px;
    min-width: 18px;
    text-align: center;
}

/* =================================== */
/* SOCIAL MEDIA SHARE BUTTONS */
/* =================================== */

.neelixberlin-social-share {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 20px;
    margin: 25px auto;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-align: center;
    max-width: 700px;
}

.neelixberlin-social-share h4 {
    color: #2d3748;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 15px 0;
    background: linear-gradient(135deg, #4facfe, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.neelixberlin-social-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.neelixberlin-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: 20px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    min-width: 110px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Social Button Farben */
.neelixberlin-social-btn.facebook { background: linear-gradient(135deg, #1877f2, #0d5fbc); }
.neelixberlin-social-btn.facebook:hover { transform: translateY(-2px) scale(1.05); box-shadow: 0 8px 20px rgba(24, 119, 242, 0.4); }
.neelixberlin-social-btn.twitter { background: linear-gradient(135deg, #1da1f2, #0d8bd9); }
.neelixberlin-social-btn.twitter:hover { transform: translateY(-2px) scale(1.05); box-shadow: 0 8px 20px rgba(29, 161, 242, 0.4); }
.neelixberlin-social-btn.linkedin { background: linear-gradient(135deg, #0077b5, #005885); }
.neelixberlin-social-btn.linkedin:hover { transform: translateY(-2px) scale(1.05); box-shadow: 0 8px 20px rgba(0, 119, 181, 0.4); }
.neelixberlin-social-btn.whatsapp { background: linear-gradient(135deg, #25d366, #1da851); }
.neelixberlin-social-btn.whatsapp:hover { transform: translateY(-2px) scale(1.05); box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4); }
.neelixberlin-social-btn.telegram { background: linear-gradient(135deg, #0088cc, #005580); }
.neelixberlin-social-btn.telegram:hover { transform: translateY(-2px) scale(1.05); box-shadow: 0 8px 20px rgba(0, 136, 204, 0.4); }
.neelixberlin-social-btn.email { background: linear-gradient(135deg, #6b7280, #4b5563); }
.neelixberlin-social-btn.email:hover { transform: translateY(-2px) scale(1.05); box-shadow: 0 8px 20px rgba(107, 114, 128, 0.4); }
.neelixberlin-social-btn.copy-link { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.neelixberlin-social-btn.copy-link:hover { transform: translateY(-2px) scale(1.05); box-shadow: 0 8px 20px rgba(139, 92, 246, 0.4); }
.copy-success { background: linear-gradient(135deg, #10b981, #059669); }

/* =================================== */
/* WIDGET LISTS */
/* =================================== */

.widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.widget li {
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(79, 172, 254, 0.1);
}

.widget li:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.widget a {
    color: #2d3748;
    text-decoration: none;
    transition: color 0.3s ease;
}

.widget a:hover {
    color: #4facfe;
}

/* Search Form */
.search-form {
    display: flex;
    gap: 8px;
    margin: 15px 0;
}

.search-field {
    flex: 1;
    padding: 10px 14px;
    border: 2px solid rgba(79, 172, 254, 0.2);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

.search-field:focus {
    border-color: #4facfe;
    box-shadow: 0 0 0 2px rgba(79, 172, 254, 0.15);
    outline: none;
}

.search-submit {
    padding: 10px 16px;
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.search-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 172, 254, 0.3);
}

/* =================================== */
/* ACCESSIBILITY */
/* =================================== */

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Focus states */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid #4facfe;
    outline-offset: 1px;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
input:focus:not(:focus-visible),
textarea:focus:not(:focus-visible),
select:focus:not(:focus-visible) {
    outline: none;
}

/* =================================== */
/* PERFORMANCE & LOADING */
/* =================================== */

.site {
    opacity: 0;
    animation: fadeIn 0.6s ease-out forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Lazy loading placeholder */
img[loading="lazy"] {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* =================================== */
/* FOOTER STYLING - LESBAR */
/* =================================== */

.site-footer {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    color: #2d3748;
    border-radius: 12px 12px 0 0;
    margin-top: 30px;
    padding: 25px 20px 15px;
    border-top: 2px solid rgba(79, 172, 254, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 25px;
}

.footer-widget h3 {
    color: #2d3748;
    font-size: 18px;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #4facfe, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-widget a {
    color: #4facfe;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-widget a:hover {
    color: #ff6b6b;
}

.footer-widget {
    color: #2d3748;
}

.footer-navigation {
    text-align: center;
    margin-bottom: 20px;
}

.footer-menu {
    display: flex;
    justify-content: center;
    gap: 25px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu a {
    color: #4facfe;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-menu a:hover {
    color: #ff6b6b;
}

.footer-social-links {
    text-align: center;
    margin-bottom: 20px;
}

.social-title {
    color: #2d3748;
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: rgba(79, 172, 254, 0.1);
    border-radius: 8px;
    color: #2d3748;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    color: white;
    transform: translateY(-2px);
}

.site-info {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(79, 172, 254, 0.1);
    color: #718096;
    font-size: 14px;
}

.footer-copyright,
.footer-credits,
.footer-privacy {
    margin-bottom: 8px;
}

.site-info a {
    color: #4facfe;
    text-decoration: none;
}

.site-info a:hover {
    color: #ff6b6b;
}

/* =================================== */
/* MOBILE SIDEBAR - MURA STYLE MIT HOHEM Z-INDEX */
/* =================================== */

.mobile-sidebar-toggle {
    position: fixed !important;
    top: 20px !important;
    left: 20px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(15px) !important;
    border: none !important;
    border-radius: 8px !important;
    width: 45px !important;
    height: 45px !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 9999 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
}

.mobile-sidebar-toggle:hover {
    background: rgba(79, 172, 254, 0.1) !important;
    transform: scale(1.05) !important;
}

.sidebar-icon {
    font-size: 20px !important;
    color: #2d3748 !important;
}

.mobile-sidebar {
    position: fixed !important;
    top: 0 !important;
    left: -300px !important;
    width: 300px !important;
    height: 100vh !important;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px) !important;
    border-right: 1px solid rgba(79, 172, 254, 0.2) !important;
    transition: all 0.3s ease !important;
    z-index: 9998 !important;
    display: flex !important;
    flex-direction: column !important;
    overflow-y: auto !important;
}

.mobile-sidebar.active {
    left: 0 !important;
}

.mobile-sidebar-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 20px !important;
    border-bottom: 1px solid rgba(79, 172, 254, 0.1) !important;
    background: rgba(79, 172, 254, 0.05) !important;
}

.mobile-sidebar-header h3 {
    margin: 0 !important;
    color: #2d3748 !important;
    font-size: 18px !important;
    background: linear-gradient(135deg, #4facfe, #ff6b6b) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.mobile-sidebar-close {
    background: none !important;
    border: none !important;
    font-size: 20px !important;
    color: #2d3748 !important;
    cursor: pointer !important;
    padding: 5px !important;
    border-radius: 4px !important;
    transition: all 0.3s ease !important;
}

.mobile-sidebar-close:hover {
    background: rgba(79, 172, 254, 0.1) !important;
}

.mobile-sidebar-content {
    flex: 1 !important;
    padding: 20px !important;
}

.mobile-sidebar-menu {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.mobile-sidebar-menu li {
    margin-bottom: 8px !important;
}

.mobile-sidebar-menu a {
    display: block !important;
    padding: 12px 15px !important;
    color: #2d3748 !important;
    text-decoration: none !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    font-weight: 600 !important;
}

.mobile-sidebar-menu a:hover,
.mobile-sidebar-menu .current-menu-item a {
    background: linear-gradient(135deg, #4facfe, #00f2fe) !important;
    color: white !important;
}

.mobile-sidebar-menu ul {
    list-style: none !important;
    margin: 5px 0 0 0 !important;
    padding: 0 !important;
}

.mobile-sidebar-menu ul a {
    padding: 8px 25px !important;
    font-size: 14px !important;
    background: rgba(79, 172, 254, 0.05) !important;
}

.mobile-sidebar-widgets {
    margin-top: 30px !important;
    padding-top: 20px !important;
    border-top: 1px solid rgba(79, 172, 254, 0.1) !important;
}

.mobile-sidebar-widgets .widget {
    margin-bottom: 20px !important;
    padding: 15px !important;
    background: rgba(79, 172, 254, 0.05) !important;
    border-radius: 8px !important;
}

.mobile-sidebar-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(2px) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.3s ease !important;
    z-index: 9997 !important;
}

.mobile-sidebar-overlay.active {
    opacity: 1 !important;
    visibility: visible !important;
}

/* MOBILE SIDEBAR BODY SCROLL LOCK */
body.sidebar-open {
    overflow: hidden !important;
}

/* =================================== */
/* BACK TO TOP BUTTON */
/* =================================== */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 6px 20px rgba(79, 172, 254, 0.3);
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(79, 172, 254, 0.5);
}

/* =================================== */
/* DESKTOP LAYOUT REPARATUR - Zentriert Beiträge/Seiten */
/* =================================== */

.site-main {
    flex: 1 !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    width: 100% !important;
}

/* Single Column Layout für Seiten/Beiträge */
.page .site-main,
.single .site-main {
    display: block !important;
    max-width: 900px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

/* Content Area - Vollbreite zentriert */
.content-area {
    width: 100% !important;
    max-width: 100% !important;
    margin: 20px auto !important;
    padding: 40px !important;
    text-align: left !important;
}

/* Entry Content - Artikel-Inhalt */
.entry-content {
    max-width: 100% !important;
    margin: 0 auto !important;
    line-height: 1.8 !important;
    font-size: 16px !important;
    color: #2d3748 !important;
}

/* Entry Header - Titel zentriert */
.entry-header {
    text-align: center !important;
    margin-bottom: 30px !important;
    border-bottom: 1px solid rgba(79, 172, 254, 0.1) !important;
    padding-bottom: 20px !important;
}

.entry-title {
    font-size: clamp(28px, 5vw, 36px) !important;
    background: linear-gradient(135deg, #4facfe, #ff6b6b) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    margin-bottom: 20px !important;
}

/* Entry Meta zentriert */
.entry-meta {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 15px !important;
    font-size: 13px !important;
    color: #718096 !important;
    flex-wrap: wrap !important;
}

/* Post Thumbnail zentriert */
.post-thumbnail,
.page-thumbnail {
    text-align: center !important;
    margin: 20px auto 30px auto !important;
}

.post-thumbnail img,
.page-thumbnail img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
}

/* =================================== */
/* UNTERKATEGORIEN ALS SCHÖNE BUTTONS */
/* =================================== */

.subcategories-section {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(10px) !important;
    border-radius: 12px !important;
    padding: 25px !important;
    margin: 25px 0 35px 0 !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    text-align: center !important;
}

.subcategories-title {
    text-align: center !important;
    margin-bottom: 20px !important;
    color: #2d3748 !important;
    font-size: 18px !important;
    background: linear-gradient(135deg, #4facfe, #ff6b6b) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.subcategories-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    justify-content: center !important;
}

.subcategory-item {
    display: inline-flex !important;
    margin: 0 !important;
    padding: 0 !important;
}

.subcategory-link {
    display: inline-flex !important;
    align-items: center !important;
    color: white !important;
    padding: 8px 16px !important;
    border-radius: 20px !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    min-height: 36px !important;
    white-space: nowrap !important;
}

/* Wasserfarbige Buttons */
.subcategory-item:nth-child(8n+1) .subcategory-link { background: linear-gradient(135deg, #4facfe, #00f2fe) !important; }
.subcategory-item:nth-child(8n+2) .subcategory-link { background: linear-gradient(135deg, #ff6b6b, #ee5a52) !important; }
.subcategory-item:nth-child(8n+3) .subcategory-link { background: linear-gradient(135deg, #feca57, #ff9ff3) !important; }
.subcategory-item:nth-child(8n+4) .subcategory-link { background: linear-gradient(135deg, #48dbfb, #0abde3) !important; }
.subcategory-item:nth-child(8n+5) .subcategory-link { background: linear-gradient(135deg, #a29bfe, #6c5ce7) !important; }
.subcategory-item:nth-child(8n+6) .subcategory-link { background: linear-gradient(135deg, #00b894, #00cec9) !important; }
.subcategory-item:nth-child(8n+7) .subcategory-link { background: linear-gradient(135deg, #fd79a8, #fdcb6e) !important; }
.subcategory-item:nth-child(8n+8) .subcategory-link { background: linear-gradient(135deg, #74b9ff, #0984e3) !important; }

.subcategory-link:hover {
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25) !important;
    filter: brightness(1.1) !important;
}

.subcategory-name {
    font-size: 14px !important;
    font-weight: 600 !important;
    margin: 0 !important;
    color: white !important;
}

.subcategory-count {
    background: rgba(255, 255, 255, 0.9) !important;
    color: #2d3748 !important;
    padding: 2px 8px !important;
    border-radius: 12px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    margin-left: 8px !important;
    min-width: 20px !important;
    text-align: center !important;
}

.count-number {
    background: none !important;
    color: inherit !important;
    padding: 0 !important;
    border-radius: 0 !important;
    font-weight: 700 !important;
}

.count-label {
    display: none !important;
}

/* Spezielle Styles für Alphabet-Kategorien */
.alphabet-subcategories .subcategory-name {
    font-size: 16px !important;
    font-weight: 800 !important;
    min-width: 24px !important;
    text-align: center !important;
}

.alphabet-subcategories .subcategory-link {
    min-width: 50px !important;
    justify-content: center !important;
    padding: 10px 12px !important;
}

/* Archive Divider */
.archive-divider {
    margin: 35px 0 25px 0 !important;
    text-align: center !important;
    position: relative !important;
}

.archive-divider::before {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    left: 0 !important;
    right: 0 !important;
    height: 1px !important;
    background: linear-gradient(90deg, transparent, rgba(79, 172, 254, 0.3), transparent) !important;
    z-index: 1 !important;
}

.posts-section-title {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(10px) !important;
    color: #2d3748 !important;
    font-size: 16px !important;
    margin: 0 !important;
    padding: 8px 16px !important;
    border-radius: 16px !important;
    display: inline-block !important;
    position: relative !important;
    z-index: 2 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
    border: 1px solid rgba(79, 172, 254, 0.1) !important;
}

/* =================================== */
/* ARCHIVE POSTS GRID */
/* =================================== */

.posts-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
    gap: 30px !important;
    margin: 30px 0 !important;
}

.archive-post-item {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(10px) !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    flex-direction: column !important;
}

.archive-post-item:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15) !important;
}

.archive-post-thumbnail {
    overflow: hidden !important;
    height: 200px !important;
}

.archive-post-thumbnail img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.3s ease !important;
}

.archive-post-item:hover .archive-post-thumbnail img {
    transform: scale(1.05) !important;
}

.archive-post-content {
    padding: 25px !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}

/* =================================== */
/* RESPONSIVE DESIGN - MOBILE FIXES */
/* =================================== */

@media (max-width: 768px) {
    /* Mobile Sidebar Toggle anzeigen */
    .mobile-sidebar-toggle {
        display: flex !important;
    }
    
    /* Normale Navigation verstecken */
    .main-menu {
        display: none !important;
        flex-direction: column !important;
        position: absolute !important;
        top: 100% !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 90% !important;
        max-width: 280px !important;
        background: rgba(255, 255, 255, 0.95) !important;
        border-radius: 8px !important;
        padding: 10px !important;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
        z-index: 1000 !important;
    }
    
    .main-menu.active {
        display: flex !important;
    }
    
    .main-menu li {
        width: 100% !important;
    }
    
    .main-menu li a {
        width: 100% !important;
        text-align: center !important;
        margin: 1px 0 !important;
        border-radius: 6px !important;
        padding: 8px 12px !important;
        font-size: 13px !important;
    }
    
    .mobile-menu-toggle {
        display: block !important;
        margin: 8px auto 0 !important;
    }
    
    /* Layout Anpassungen */
    .site-main {
        padding: 0 15px !important;
        max-width: 100% !important;
    }
    
    .content-area {
        padding: 20px !important;
        margin: 10px 0 !important;
    }
    
    .posts-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    /* Unterkategorien Mobile */
    .subcategories-section {
        padding: 20px !important;
        margin: 20px 0 30px 0 !important;
    }
    
    .subcategories-grid {
        gap: 8px !important;
    }
    
    .subcategory-link {
        padding: 6px 12px !important;
        font-size: 13px !important;
        min-height: 32px !important;
    }
    
    .subcategory-name {
        font-size: 13px !important;
    }
    
    .subcategory-count {
        padding: 1px 6px !important;
        font-size: 10px !important;
        margin-left: 6px !important;
    }
    
    .alphabet-subcategories .subcategory-link {
        min-width: 45px !important;
        padding: 8px 10px !important;
    }
    
    .alphabet-subcategories .subcategory-name {
        font-size: 15px !important;
    }
}

@media (max-width: 480px) {
    .mobile-sidebar-toggle {
        top: 15px !important;
        left: 15px !important;
        width: 40px !important;
        height: 40px !important;
    }
    
    .sidebar-icon {
        font-size: 18px !important;
    }
    
    .mobile-sidebar {
        width: 280px !important;
    }
    
    .back-to-top {
        bottom: 20px !important;
        right: 20px !important;
        width: 45px !important;
        height: 45px !important;
        font-size: 16px !important;
    }
    
    .content-area {
        padding: 15px !important;
    }
    
    .subcategories-grid {
        gap: 6px !important;
    }
    
    .subcategory-link {
        padding: 6px 10px !important;
        font-size: 12px !important;
        min-height: 30px !important;
    }
    
    .subcategory-name {
        font-size: 12px !important;
    }
    
    .subcategory-count {
        padding: 1px 5px !important;
        font-size: 9px !important;
        margin-left: 5px !important;
        min-width: 16px !important;
    }
    
    .alphabet-subcategories .subcategory-link {
        min-width: 40px !important;
        padding: 7px 8px !important;
    }
    
    .alphabet-subcategories .subcategory-name {
        font-size: 14px !important;
    }
}

/* =================================== */
/* ERROR HANDLING */
/* =================================== */

.image-error {
    opacity: 0.5;
    filter: grayscale(100%);
}

.theme-loaded {
    opacity: 1;
}

/* =================================== */
/* PRINT STYLES */
/* =================================== */

@media print {
    .mobile-sidebar-toggle,
    .mobile-sidebar,
    .back-to-top,
    .neelixberlin-social-share {
        display: none !important;
    }
    
    .site {
        background: white !important;
    }
    
    .content-area {
        background: white !important;
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
}

/* =================================== */
/* ENTFERNT ALTES MOBILE-MENÜ + MOBILE UNTERKATEGORIEN-FIX */
/* DIESEN CSS-CODE ANS ENDE DER STYLE.CSS HINZUFÜGEN */
/* =================================== */

/* =================================== */
/* ALTES MOBILE-MENÜ KOMPLETT ENTFERNEN */
/* =================================== */

@media (max-width: 768px) {
    
    /* Verstecke das alte Mobile-Menu komplett */
    .main-menu {
        display: none !important;
    }
    
    /* Verstecke den alten Mobile-Menu-Toggle */
    .mobile-menu-toggle {
        display: none !important;
    }
    
    /* Verhindere, dass Menüs hinter Inhalte rutschen */
    .main-navigation {
        position: static !important;
        z-index: auto !important;
    }
    
    /* Entferne alle Mobile-Menu-States */
    body.menu-open {
        overflow: auto !important;
    }
    
    .main-menu.active {
        display: none !important;
    }
    
    /* Nur das Slider-Menü verwenden */
    .mobile-sidebar-toggle {
        display: flex !important;
        position: fixed !important;
        top: 20px !important;
        left: 20px !important;
        z-index: 9999 !important;
    }
}

/* =================================== */
/* MOBILE UNTERKATEGORIEN-BUTTONS FIX */
/* =================================== */

@media (max-width: 768px) {
    
    /* Subcategories Section - Mobile Force */
    .subcategories-section {
        background: rgba(255, 255, 255, 0.9) !important;
        backdrop-filter: blur(10px) !important;
        border-radius: 12px !important;
        padding: 20px !important;
        margin: 20px 0 30px 0 !important;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06) !important;
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
        text-align: center !important;
        display: block !important;
        width: 100% !important;
        position: relative !important;
        z-index: 1 !important;
    }
    
    /* Subcategories Title - Mobile */
    .subcategories-title {
        text-align: center !important;
        margin-bottom: 15px !important;
        color: #2d3748 !important;
        font-size: 16px !important;
        background: linear-gradient(135deg, #4facfe, #ff6b6b) !important;
        -webkit-background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
        background-clip: text !important;
        display: block !important;
    }
    
    /* Subcategories Grid - Mobile Force */
    .subcategories-grid {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
    }
    
    /* Subcategory Items - Mobile Force */
    .subcategory-item {
        display: inline-flex !important;
        margin: 0 !important;
        padding: 0 !important;
        flex-shrink: 0 !important;
        position: relative !important;
        z-index: 2 !important;
    }
    
    /* Subcategory Links - Mobile Buttons Force */
    .subcategory-link {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: white !important;
        padding: 8px 14px !important;
        border-radius: 18px !important;
        text-decoration: none !important;
        font-size: 13px !important;
        font-weight: 600 !important;
        transition: all 0.3s ease !important;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15) !important;
        min-height: 34px !important;
        white-space: nowrap !important;
        border: none !important;
        background-size: 100% 100% !important;
        position: relative !important;
        z-index: 3 !important;
    }
    
    /* Mobile Wasserfarbige Buttons - Force */
    .subcategory-item:nth-child(8n+1) .subcategory-link { 
        background: linear-gradient(135deg, #4facfe, #00f2fe) !important; 
    }
    .subcategory-item:nth-child(8n+2) .subcategory-link { 
        background: linear-gradient(135deg, #ff6b6b, #ee5a52) !important; 
    }
    .subcategory-item:nth-child(8n+3) .subcategory-link { 
        background: linear-gradient(135deg, #feca57, #ff9ff3) !important; 
    }
    .subcategory-item:nth-child(8n+4) .subcategory-link { 
        background: linear-gradient(135deg, #48dbfb, #0abde3) !important; 
    }
    .subcategory-item:nth-child(8n+5) .subcategory-link { 
        background: linear-gradient(135deg, #a29bfe, #6c5ce7) !important; 
    }
    .subcategory-item:nth-child(8n+6) .subcategory-link { 
        background: linear-gradient(135deg, #00b894, #00cec9) !important; 
    }
    .subcategory-item:nth-child(8n+7) .subcategory-link { 
        background: linear-gradient(135deg, #fd79a8, #fdcb6e) !important; 
    }
    .subcategory-item:nth-child(8n+8) .subcategory-link { 
        background: linear-gradient(135deg, #74b9ff, #0984e3) !important; 
    }
    
    /* Mobile Hover Effects */
    .subcategory-link:hover,
    .subcategory-link:active,
    .subcategory-link:focus {
        transform: translateY(-2px) scale(1.05) !important;
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2) !important;
        filter: brightness(1.1) !important;
    }
    
    /* Subcategory Name - Mobile */
    .subcategory-name {
        font-size: 13px !important;
        font-weight: 600 !important;
        margin: 0 !important;
        color: white !important;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
    }
    
    /* Subcategory Count - Mobile Badge */
    .subcategory-count {
        background: rgba(255, 255, 255, 0.9) !important;
        color: #2d3748 !important;
        padding: 1px 6px !important;
        border-radius: 10px !important;
        font-size: 10px !important;
        font-weight: 700 !important;
        margin-left: 6px !important;
        min-width: 18px !important;
        text-align: center !important;
        line-height: 1.2 !important;
        display: inline-block !important;
    }
    
    /* Count Number/Label - Mobile */
    .count-number {
        background: none !important;
        color: inherit !important;
        padding: 0 !important;
        border-radius: 0 !important;
        font-weight: 700 !important;
        display: inline !important;
    }
    
    .count-label {
        display: none !important;
    }
    
    /* Alphabet Categories - Mobile Spezial */
    .alphabet-subcategories .subcategory-name {
        font-size: 15px !important;
        font-weight: 800 !important;
        min-width: 20px !important;
        text-align: center !important;
    }
    
    .alphabet-subcategories .subcategory-link {
        min-width: 44px !important;
        justify-content: center !important;
        padding: 10px 8px !important;
    }
    
    /* Archive Divider - Mobile */
    .archive-divider {
        margin: 30px 0 20px 0 !important;
        text-align: center !important;
        position: relative !important;
        z-index: 1 !important;
    }
    
    .posts-section-title {
        background: rgba(255, 255, 255, 0.9) !important;
        backdrop-filter: blur(10px) !important;
        color: #2d3748 !important;
        font-size: 15px !important;
        margin: 0 !important;
        padding: 6px 14px !important;
        border-radius: 14px !important;
        display: inline-block !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
        border: 1px solid rgba(79, 172, 254, 0.1) !important;
    }
}

/* =================================== */
/* EXTRA SMALL MOBILE (480px und kleiner) */
/* =================================== */

@media (max-width: 480px) {
    
    .subcategories-section {
        padding: 15px !important;
        margin: 15px 0 25px 0 !important;
    }
    
    .subcategories-grid {
        gap: 6px !important;
    }
    
    .subcategory-link {
        padding: 7px 12px !important;
        font-size: 12px !important;
        min-height: 32px !important;
        border-radius: 16px !important;
    }
    
    .subcategory-name {
        font-size: 12px !important;
    }
    
    .subcategory-count {
        padding: 1px 5px !important;
        font-size: 9px !important;
        margin-left: 5px !important;
        min-width: 16px !important;
    }
    
    .alphabet-subcategories .subcategory-link {
        min-width: 40px !important;
        padding: 8px 6px !important;
    }
    
    .alphabet-subcategories .subcategory-name {
        font-size: 14px !important;
    }
    
    .subcategories-title {
        font-size: 15px !important;
        margin-bottom: 12px !important;
    }
    
    .mobile-sidebar-toggle {
        top: 15px !important;
        left: 15px !important;
        width: 40px !important;
        height: 40px !important;
    }
    
    .sidebar-icon {
        font-size: 18px !important;
    }
}

/* =================================== */
/* FORCE OVERRIDES & CLEANUP */
/* =================================== */

/* Entferne alle alten Mobile-Menu JavaScript-Klassen */
@media (max-width: 768px) {
    .menu-open .main-menu,
    .active.main-menu,
    .main-menu.show,
    .main-menu.open {
        display: none !important;
    }
    
    /* Verhindere Menu-Konflikte */
    .main-navigation .menu,
    .main-navigation .primary-menu,
    .main-navigation #primary-menu {
        display: none !important;
    }
    
    /* Nur Site-Branding und Slider-Toggle anzeigen */
    .main-navigation {
        display: block !important;
        text-align: center !important;
    }
    
    .site-branding {
        display: block !important;
        text-align: center !important;
        margin-bottom: 0 !important;
    }
}

/* FORCE OVERRIDE für alle anderen CSS-Regeln */
.subcategories-grid .subcategory-item .subcategory-link {
    display: inline-flex !important;
    color: white !important;
}

/* Falls WordPress eigene Klassen hinzufügt */
.category .subcategories-section,
.archive .subcategories-section {
    display: block !important;
}

.category .subcategories-grid,
.archive .subcategories-grid {
    display: flex !important;
    flex-wrap: wrap !important;
}

/* Touch-Friendly für Mobile */
@media (hover: none) and (pointer: coarse) {
    .subcategory-link {
        min-height: 44px !important;
        min-width: 44px !important;
        touch-action: manipulation !important;
    }
    
    .subcategory-link:active {
        transform: scale(0.95) !important;
        transition: transform 0.1s ease !important;
    }
}

/* =================================== */
/* DEBUGGING - Entferne nach dem Test */
/* =================================== */

/* Uncomment diese Zeilen zum Debuggen */
/*
@media (max-width: 768px) {
    .subcategories-section {
        border: 3px solid red !important;
    }
    
    .subcategory-item {
        border: 2px solid blue !important;
    }
    
    .subcategory-link {
        border: 1px solid green !important;
    }
    
    .main-menu {
        border: 3px solid orange !important;
    }
    
    .mobile-menu-toggle {
        border: 3px solid purple !important;
    }
}
*/
/* =================================== */
/* POST NAVIGATION, KOMMENTARE & ÄHNLICHE BEITRÄGE - STYLING */
/* DIESEN CSS-CODE ANS ENDE DER STYLE.CSS HINZUFÜGEN */
/* =================================== */

/* =================================== */
/* POST NAVIGATION (Voriger/Nächster Artikel) */
/* =================================== */

.post-navigation {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(15px) !important;
    border-radius: 16px !important;
    padding: 25px !important;
    margin: 30px 0 !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    position: relative !important;
    overflow: hidden !important;
}

.post-navigation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4facfe, #00f2fe, #ff6b6b, #feca57, #48dbfb);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

.post-navigation .nav-links {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 20px !important;
    align-items: stretch !important;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(10px) !important;
    border-radius: 12px !important;
    padding: 20px !important;
    transition: all 0.3s ease !important;
    border: 1px solid rgba(79, 172, 254, 0.1) !important;
    text-decoration: none !important;
    display: block !important;
    position: relative !important;
    overflow: hidden !important;
}

.post-navigation .nav-previous:hover,
.post-navigation .nav-next:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12) !important;
    border-color: rgba(79, 172, 254, 0.3) !important;
}

.post-navigation .nav-previous {
    text-align: left !important;
}

.post-navigation .nav-next {
    text-align: right !important;
}

.post-navigation .nav-subtitle {
    display: block !important;
    font-size: 12px !important;
    color: #718096 !important;
    font-weight: 600 !important;
    margin-bottom: 8px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.post-navigation .nav-title {
    display: block !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #2d3748 !important;
    line-height: 1.4 !important;
    transition: color 0.3s ease !important;
}

.post-navigation .nav-previous:hover .nav-title,
.post-navigation .nav-next:hover .nav-title {
    color: #4facfe !important;
}

/* Pfeile hinzufügen */
.post-navigation .nav-previous::before {
    content: '←' !important;
    position: absolute !important;
    left: 15px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 24px !important;
    color: rgba(79, 172, 254, 0.3) !important;
    transition: all 0.3s ease !important;
}

.post-navigation .nav-next::after {
    content: '→' !important;
    position: absolute !important;
    right: 15px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 24px !important;
    color: rgba(79, 172, 254, 0.3) !important;
    transition: all 0.3s ease !important;
}

.post-navigation .nav-previous:hover::before,
.post-navigation .nav-next:hover::after {
    color: #4facfe !important;
    transform: translateY(-50%) translateX(-3px) !important;
}

.post-navigation .nav-next:hover::after {
    transform: translateY(-50%) translateX(3px) !important;
}

/* =================================== */
/* KOMMENTARE STYLING */
/* =================================== */

.comments-area {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(15px) !important;
    border-radius: 16px !important;
    padding: 30px !important;
    margin: 30px 0 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    position: relative !important;
    overflow: hidden !important;
}

.comments-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4facfe, #00f2fe, #ff6b6b, #feca57);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

.comments-title {
    margin-bottom: 30px !important;
    color: #2d3748 !important;
    text-align: center !important;
    background: linear-gradient(135deg, #4facfe, #ff6b6b) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    font-size: 24px !important;
    font-weight: 700 !important;
}

.comment-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.comment {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(10px) !important;
    border-radius: 12px !important;
    padding: 20px !important;
    margin-bottom: 20px !important;
    border: 1px solid rgba(79, 172, 254, 0.1) !important;
    transition: all 0.3s ease !important;
}

.comment:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08) !important;
    border-color: rgba(79, 172, 254, 0.2) !important;
}

.comment-body {
    display: flex !important;
    gap: 15px !important;
    align-items: flex-start !important;
}

.comment-author img {
    border-radius: 50% !important;
    width: 50px !important;
    height: 50px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    flex-shrink: 0 !important;
}

.comment-content {
    flex: 1 !important;
}

.comment-meta {
    margin-bottom: 10px !important;
}

.comment-author .fn {
    font-weight: 700 !important;
    color: #2d3748 !important;
    text-decoration: none !important;
    font-size: 16px !important;
}

.comment-metadata {
    font-size: 12px !important;
    color: #718096 !important;
    margin-top: 5px !important;
}

.comment-metadata a {
    color: #4facfe !important;
    text-decoration: none !important;
}

.comment-metadata a:hover {
    color: #ff6b6b !important;
}

.comment-reply-link {
    background: rgba(79, 172, 254, 0.1) !important;
    color: #4facfe !important;
    padding: 6px 12px !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
    margin-top: 10px !important;
}

.comment-reply-link:hover {
    background: linear-gradient(135deg, #4facfe, #00f2fe) !important;
    color: white !important;
    transform: translateY(-1px) !important;
}

/* Kommentar-Formular */
.comment-respond {
    background: rgba(255, 255, 255, 0.8) !important;
    border-radius: 12px !important;
    padding: 25px !important;
    margin-top: 30px !important;
    border: 1px solid rgba(79, 172, 254, 0.1) !important;
}

.comment-reply-title {
    margin-bottom: 20px !important;
    color: #2d3748 !important;
    font-size: 20px !important;
    background: linear-gradient(135deg, #4facfe, #ff6b6b) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

/* =================================== */
/* ÄHNLICHE BEITRÄGE STYLING */
/* =================================== */

.related-posts {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(15px) !important;
    border-radius: 16px !important;
    padding: 30px !important;
    margin: 30px 0 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    position: relative !important;
    overflow: hidden !important;
}

.related-posts::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #48dbfb, #0abde3, #a29bfe, #6c5ce7);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

.related-posts h3 {
    margin-bottom: 25px !important;
    color: #2d3748 !important;
    text-align: center !important;
    background: linear-gradient(135deg, #48dbfb, #a29bfe) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    font-size: 22px !important;
    font-weight: 700 !important;
}

.related-posts-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 20px !important;
}

.related-post {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(10px) !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
}

.related-post:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12) !important;
    border-color: rgba(79, 172, 254, 0.3) !important;
}

.related-post-thumbnail {
    overflow: hidden !important;
    height: 150px !important;
    position: relative !important;
}

.related-post-thumbnail img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.3s ease !important;
}

.related-post:hover .related-post-thumbnail img {
    transform: scale(1.05) !important;
}

.related-post-content {
    padding: 20px !important;
}

.related-post-title {
    margin-bottom: 10px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
}

.related-post-title a {
    color: #2d3748 !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

.related-post-title a:hover {
    color: #4facfe !important;
}

.related-post-meta {
    font-size: 12px !important;
    color: #718096 !important;
}

.related-post-meta time {
    background: rgba(79, 172, 254, 0.1) !important;
    color: #4facfe !important;
    padding: 2px 8px !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
}

/* =================================== */
/* AUTHOR INFO STYLING */
/* =================================== */

.author-info {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(15px) !important;
    border-radius: 16px !important;
    padding: 25px !important;
    margin: 30px 0 !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    display: flex !important;
    gap: 20px !important;
    align-items: center !important;
    position: relative !important;
    overflow: hidden !important;
}

.author-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #fd79a8, #fdcb6e, #00b894, #00cec9);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

.author-avatar {
    flex-shrink: 0 !important;
}

.author-avatar img {
    border-radius: 50% !important;
    width: 80px !important;
    height: 80px !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1) !important;
}

.author-description {
    flex: 1 !important;
}

.author-title {
    margin-bottom: 10px !important;
    color: #2d3748 !important;
    font-size: 20px !important;
    background: linear-gradient(135deg, #fd79a8, #00b894) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.author-bio {
    margin-bottom: 15px !important;
    color: #2d3748 !important;
    line-height: 1.6 !important;
}

.author-link a {
    background: linear-gradient(135deg, #4facfe, #00f2fe) !important;
    color: white !important;
    padding: 8px 16px !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
}

.author-link a:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(79, 172, 254, 0.3) !important;
}

/* =================================== */
/* MOBILE RESPONSIVE ANPASSUNGEN */
/* =================================== */

@media (max-width: 768px) {
    
    /* Post Navigation Mobile */
    .post-navigation .nav-links {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    
    .post-navigation .nav-previous,
    .post-navigation .nav-next {
        text-align: center !important;
        padding: 15px !important;
    }
    
    .post-navigation .nav-previous::before,
    .post-navigation .nav-next::after {
        position: static !important;
        display: inline !important;
        margin-right: 8px !important;
        transform: none !important;
    }
    
    .post-navigation .nav-next::after {
        margin-left: 8px !important;
        margin-right: 0 !important;
    }
    
    /* Kommentare Mobile */
    .comments-area {
        padding: 20px !important;
    }
    
    .comment-body {
        flex-direction: column !important;
        gap: 10px !important;
    }
    
    .comment-author img {
        align-self: flex-start !important;
        width: 40px !important;
        height: 40px !important;
    }
    
    /* Ähnliche Beiträge Mobile */
    .related-posts {
        padding: 20px !important;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    
    .related-post-thumbnail {
        height: 120px !important;
    }
    
    .related-post-content {
        padding: 15px !important;
    }
    
    /* Author Info Mobile */
    .author-info {
        flex-direction: column !important;
        text-align: center !important;
        padding: 20px !important;
    }
    
    .author-avatar img {
        width: 60px !important;
        height: 60px !important;
    }
}

@media (max-width: 480px) {
    .post-navigation,
    .comments-area,
    .related-posts,
    .author-info {
        margin: 20px 0 !important;
        padding: 15px !important;
    }
    
    .related-post-thumbnail {
        height: 100px !important;
    }
    
    .comment {
        padding: 15px !important;
    }
    
    .comment-respond {
        padding: 20px !important;
    }
}

/* =================================== */
/* EINHEITLICHE REIHENFOLGE GEWÄHRLEISTEN */
/* =================================== */

/* Reihenfolge: Tags → Navigation → Author → Related → Comments */
.post-tags {
    order: 1 !important;
}

.post-navigation {
    order: 2 !important;
}

.author-info {
    order: 3 !important;
}

.related-posts {
    order: 4 !important;
}

.comments-area {
    order: 5 !important;
}

/* Container für einheitliche Reihenfolge */
.single .content-area {
    display: flex !important;
    flex-direction: column !important;
}

.single .entry-content {
    order: 0 !important;
}

.single .entry-footer {
    order: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}
/* =================================== */
/* KI-PLUGIN BUTTON FIX - SOFORT-LÖSUNG */
/* Diesen Code ANS ENDE Ihrer style.css hinzufügen */
/* =================================== */

/* KI-Plugin Buttons von Theme-Überschreibungen ausschließen */
.entry-content a[class*="ai-"],
.entry-content a[class*="ki-"],
.entry-content a[class*="chatbot-"],
.entry-content a[class*="openai-"],
.entry-content a[class*="gpt-"],
.entry-content button[class*="ai-"],
.entry-content button[class*="ki-"],
.entry-content button[class*="chatbot-"],
.entry-content button[class*="openai-"],
.entry-content button[class*="gpt-"],
.entry-content input[class*="ai-"],
.entry-content input[class*="ki-"],
.entry-content input[class*="chatbot-"],
.entry-content input[class*="openai-"],
.entry-content input[class*="gpt-"],
/* Allgemeine Plugin-Button Selektoren */
.entry-content .plugin-button,
.entry-content .ai-button,
.entry-content .chat-button,
.entry-content [data-action*="ai"],
.entry-content [data-action*="chat"],
.entry-content [data-function*="ai"],
.entry-content [id*="ai-"],
.entry-content [id*="chat-"],
.entry-content [id*="gpt-"],
/* Formulare und Eingabefelder */
.entry-content form button,
.entry-content form input[type="button"],
.entry-content form input[type="submit"],
.entry-content .form-button,
/* Shortcode-generierte Buttons */
.entry-content [class*="shortcode-"],
.entry-content .wp-block-button .wp-block-button__link {
    /* Alle Theme-Überschreibungen zurücksetzen */
    display: initial !important;
    background: initial !important;
    color: initial !important;
    padding: initial !important;
    border-radius: initial !important;
    text-decoration: initial !important;
    font-size: initial !important;
    font-weight: initial !important;
    transition: initial !important;
    box-shadow: initial !important;
    margin: initial !important;
    white-space: initial !important;
    border: initial !important;
    line-height: initial !important;
    transform: none !important;
    filter: none !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    position: relative !important;
    z-index: 10 !important;
}

/* Hover-Effekte für Plugin-Buttons zurücksetzen */
.entry-content a[class*="ai-"]:hover,
.entry-content a[class*="ki-"]:hover,
.entry-content a[class*="chatbot-"]:hover,
.entry-content button[class*="ai-"]:hover,
.entry-content button[class*="ki-"]:hover,
.entry-content button[class*="chatbot-"]:hover,
.entry-content .plugin-button:hover,
.entry-content .ai-button:hover,
.entry-content .chat-button:hover,
.entry-content [data-action*="ai"]:hover,
.entry-content [data-action*="chat"]:hover,
.entry-content form button:hover,
.entry-content form input[type="button"]:hover,
.entry-content form input[type="submit"]:hover {
    transform: none !important;
    box-shadow: initial !important;
    filter: none !important;
    background: initial !important;
    color: initial !important;
}

/* Focus-States für Barrierefreiheit wiederherstellen */
.entry-content a[class*="ai-"]:focus,
.entry-content a[class*="ki-"]:focus,
.entry-content a[class*="chatbot-"]:focus,
.entry-content button[class*="ai-"]:focus,
.entry-content button[class*="ki-"]:focus,
.entry-content button[class*="chatbot-"]:focus,
.entry-content .plugin-button:focus,
.entry-content .ai-button:focus,
.entry-content .chat-button:focus {
    outline: 2px solid #4facfe !important;
    outline-offset: 2px !important;
}

/* =================================== */
/* JAVASCRIPT ERROR HANDLING VERBESSERN */
/* =================================== */

/* Buttons sichtbar machen falls JavaScript deaktiviert ist */
.no-js .entry-content button,
.no-js .entry-content input[type="button"],
.no-js .entry-content input[type="submit"] {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

/* =================================== */
/* DEBUGGING STYLES (Temporär zum Testen) */
/* =================================== */

/* Uncomment diese Zeilen zum Debuggen: */
/*
.entry-content button,
.entry-content input[type="button"],
.entry-content input[type="submit"],
.entry-content [class*="ai-"],
.entry-content [class*="chat-"] {
    border: 3px solid red !important;
    background: yellow !important;
    color: black !important;
    min-height: 40px !important;
    min-width: 100px !important;
}
*/

/* =================================== */
/* ULTIMATE KI-PLUGIN BUTTON FIX */
/* Diesen Code ANS ENDE Ihrer style.css hinzufügen */
/* Löst ALLE Plugin-Button Probleme */
/* =================================== */

/* SCHRITT 1: ALLE PLUGIN-BUTTONS VON THEME-STYLES BEFREIEN */
.entry-content button,
.entry-content input[type="button"],
.entry-content input[type="submit"],
.entry-content input[type="reset"],
.entry-content .button,
.entry-content [class*="btn"],
.entry-content [class*="button"],
.entry-content [class*="ai-"],
.entry-content [class*="chat-"],
.entry-content [class*="gpt-"],
.entry-content [class*="openai-"],
.entry-content [id*="ai-"],
.entry-content [id*="chat-"],
.entry-content [id*="gpt-"],
.entry-content [data-action],
.entry-content [onclick],
.entry-content form button,
.entry-content form input,
.entry-content .wp-block-button button,
.entry-content .wp-block-button .wp-block-button__link,
/* Shortcode-generierte Elemente */
.entry-content [class*="shortcode"],
.entry-content .shortcode-button,
.entry-content .plugin-button,
/* Formulare und Widgets */
.widget button,
.widget input[type="button"],
.widget input[type="submit"],
.sidebar button,
.sidebar input[type="button"],
.sidebar input[type="submit"] {
    /* ALLE Theme-Überschreibungen entfernen */
    display: initial !important;
    position: initial !important;
    background: initial !important;
    color: initial !important;
    padding: initial !important;
    margin: initial !important;
    border: initial !important;
    border-radius: initial !important;
    text-decoration: initial !important;
    font-size: initial !important;
    font-weight: initial !important;
    font-family: initial !important;
    line-height: initial !important;
    text-align: initial !important;
    vertical-align: initial !important;
    white-space: initial !important;
    word-spacing: initial !important;
    letter-spacing: initial !important;
    text-transform: initial !important;
    text-shadow: initial !important;
    box-shadow: initial !important;
    border-collapse: initial !important;
    border-spacing: initial !important;
    caption-side: initial !important;
    empty-cells: initial !important;
    table-layout: initial !important;
    list-style: initial !important;
    quotes: initial !important;
    content: initial !important;
    counter-increment: initial !important;
    counter-reset: initial !important;
    outline: initial !important;
    outline-offset: initial !important;
    resize: initial !important;
    cursor: pointer !important;
    user-select: initial !important;
    appearance: initial !important;
    box-sizing: initial !important;
    float: initial !important;
    clear: initial !important;
    overflow: initial !important;
    clip: initial !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: auto !important;
    transform: none !important;
    transform-origin: initial !important;
    transition: initial !important;
    animation: initial !important;
    filter: none !important;
    backdrop-filter: none !important;
    pointer-events: auto !important;
    touch-action: initial !important;
    will-change: initial !important;
    contain: initial !important;
    isolation: initial !important;
    mix-blend-mode: initial !important;
    object-fit: initial !important;
    object-position: initial !important;
    /* Flexbox und Grid */
    flex: initial !important;
    flex-basis: initial !important;
    flex-direction: initial !important;
    flex-flow: initial !important;
    flex-grow: initial !important;
    flex-shrink: initial !important;
    flex-wrap: initial !important;
    align-content: initial !important;
    align-items: initial !important;
    align-self: initial !important;
    justify-content: initial !important;
    justify-items: initial !important;
    justify-self: initial !important;
    order: initial !important;
    grid: initial !important;
    grid-area: initial !important;
    grid-auto-columns: initial !important;
    grid-auto-flow: initial !important;
    grid-auto-rows: initial !important;
    grid-column: initial !important;
    grid-column-end: initial !important;
    grid-column-gap: initial !important;
    grid-column-start: initial !important;
    grid-gap: initial !important;
    grid-row: initial !important;
    grid-row-end: initial !important;
    grid-row-gap: initial !important;
    grid-row-start: initial !important;
    grid-template: initial !important;
    grid-template-areas: initial !important;
    grid-template-columns: initial !important;
    grid-template-rows: initial !important;
}

/* SCHRITT 2: HOVER-EFFEKTE NEUTRALISIEREN */
.entry-content button:hover,
.entry-content input[type="button"]:hover,
.entry-content input[type="submit"]:hover,
.entry-content input[type="reset"]:hover,
.entry-content .button:hover,
.entry-content [class*="btn"]:hover,
.entry-content [class*="button"]:hover,
.entry-content [class*="ai-"]:hover,
.entry-content [class*="chat-"]:hover,
.entry-content [class*="gpt-"]:hover,
.entry-content [class*="openai-"]:hover,
.entry-content [id*="ai-"]:hover,
.entry-content [id*="chat-"]:hover,
.entry-content [id*="gpt-"]:hover,
.entry-content [data-action]:hover,
.entry-content [onclick]:hover,
.entry-content form button:hover,
.entry-content form input:hover,
.entry-content .wp-block-button button:hover,
.entry-content .wp-block-button .wp-block-button__link:hover,
.entry-content [class*="shortcode"]:hover,
.entry-content .shortcode-button:hover,
.entry-content .plugin-button:hover,
.widget button:hover,
.widget input[type="button"]:hover,
.widget input[type="submit"]:hover,
.sidebar button:hover,
.sidebar input[type="button"]:hover,
.sidebar input[type="submit"]:hover {
    /* Hover-Effekte zurücksetzen */
    transform: none !important;
    box-shadow: initial !important;
    filter: none !important;
    opacity: initial !important;
    background: initial !important;
    color: initial !important;
    border: initial !important;
    text-decoration: initial !important;
}

/* SCHRITT 3: FOCUS-STATES FÜR BARRIEREFREIHEIT */
.entry-content button:focus,
.entry-content input[type="button"]:focus,
.entry-content input[type="submit"]:focus,
.entry-content input[type="reset"]:focus,
.entry-content .button:focus,
.entry-content [class*="btn"]:focus,
.entry-content [class*="button"]:focus,
.entry-content [class*="ai-"]:focus,
.entry-content [class*="chat-"]:focus,
.entry-content [class*="gpt-"]:focus,
.entry-content [data-action]:focus,
.entry-content [onclick]:focus,
.widget button:focus,
.widget input:focus,
.sidebar button:focus,
.sidebar input:focus {
    outline: 2px solid #4facfe !important;
    outline-offset: 2px !important;
    z-index: 999 !important;
}

/* SCHRITT 4: SPEZIELLE PLUGIN-SELEKTOREN (falls erkannt) */
/* ChatGPT / OpenAI Plugins */
.entry-content [class*="chatgpt"],
.entry-content [class*="openai"],
.entry-content [class*="gpt-"],
.entry-content .ai-chat-button,
.entry-content .openai-button,
.entry-content .chatgpt-button,
.entry-content .gpt-button,
.entry-content [data-openai],
.entry-content [data-gpt],
.entry-content [data-chatgpt] {
    display: block !important;
    position: relative !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    z-index: 10 !important;
}

/* WP AI Assistant Plugins */
.entry-content .wp-ai-assistant,
.entry-content .ai-assistant-button,
.entry-content [class*="wp-ai"],
.entry-content [id*="wp-ai"] {
    display: block !important;
    position: relative !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    z-index: 10 !important;
}

/* Chatbot Plugins */
.entry-content .chatbot-trigger,
.entry-content .chatbot-button,
.entry-content [class*="chatbot"],
.entry-content [id*="chatbot"] {
    display: block !important;
    position: relative !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    z-index: 10 !important;
}

/* Custom AI Tools */
.entry-content .ai-tool,
.entry-content .ai-widget,
.entry-content .ai-interface,
.entry-content [class*="ai-tool"],
.entry-content [id*="ai-tool"] {
    display: block !important;
    position: relative !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    z-index: 10 !important;
}

/* SCHRITT 5: FORMULARE UND INPUTS REPARIEREN */
.entry-content form {
    display: block !important;
    position: relative !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.entry-content form input,
.entry-content form textarea,
.entry-content form select,
.entry-content form button {
    display: initial !important;
    position: relative !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    cursor: initial !important;
    z-index: 1 !important;
}

.entry-content form input[type="submit"],
.entry-content form input[type="button"],
.entry-content form button[type="submit"] {
    cursor: pointer !important;
}

/* SCHRITT 6: JAVASCRIPT-DISABLED FALLBACK */
.no-js .entry-content button,
.no-js .entry-content input[type="button"],
.no-js .entry-content input[type="submit"],
.no-js .entry-content [class*="ai-"],
.no-js .entry-content [class*="chat-"],
.no-js .entry-content [data-action] {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: #f0f0f0 !important;
    color: #333 !important;
    border: 1px solid #ccc !important;
    padding: 10px 20px !important;
    border-radius: 4px !important;
    cursor: pointer !important;
}

/* SCHRITT 7: MOBILE OPTIMIERUNGEN */
@media (max-width: 768px) {
    .entry-content button,
    .entry-content input[type="button"],
    .entry-content input[type="submit"],
    .entry-content [class*="btn"],
    .entry-content [class*="button"],
    .entry-content [class*="ai-"],
    .entry-content [class*="chat-"] {
        min-height: 44px !important;
        min-width: 44px !important;
        touch-action: manipulation !important;
        -webkit-tap-highlight-color: rgba(0,0,0,0.1) !important;
    }
}

/* SCHRITT 8: DEBUGGING HILFE */
/* Uncomment diese Zeilen zum Debuggen: */
/*
.entry-content button,
.entry-content input[type="button"],
.entry-content input[type="submit"],
.entry-content [class*="ai-"],
.entry-content [class*="chat-"],
.entry-content [class*="gpt-"],
.entry-content [data-action],
.entry-content [onclick] {
    border: 3px solid red !important;
    background: yellow !important;
    color: black !important;
    font-weight: bold !important;
    font-size: 16px !important;
    padding: 10px !important;
    margin: 5px !important;
    min-height: 40px !important;
    display: block !important;
    position: relative !important;
    z-index: 9999 !important;
}

.entry-content button::before,
.entry-content input[type="button"]::before,
.entry-content input[type="submit"]::before {
    content: "BUTTON GEFUNDEN!" !important;
    display: block !important;
    font-size: 12px !important;
    color: blue !important;
    font-weight: bold !important;
}
*/

/* SCHRITT 9: ANTI-CACHE UND FORCE-LOAD */
.entry-content * {
    /* Force Repaint */
    transform: translateZ(0) !important;
}

/* SCHRITT 10: NOTFALL-SICHTBARKEIT */
.entry-content > * {
    visibility: visible !important;
    opacity: 1 !important;
    display: block !important;
}

.entry-content > button,
.entry-content > input,
.entry-content > form,
.entry-content > div > button,
.entry-content > div > input,
.entry-content > div > form,
.entry-content > p > button,
.entry-content > p > input {
    visibility: visible !important;
    opacity: 1 !important;
    display: initial !important;
    position: relative !important;
    z-index: 1 !important;
}