/*
Theme Name: Schübeler Consulting Premium
Theme URI: https://schuebeler-consulting.de
Author: Schübeler Consulting
Author URI: https://schuebeler-consulting.de
Description: Premium consulting website theme with full customizer support, SEO optimization, and modern design. Built for consultants, coaches, and professional service providers.
Version: 1.40.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: schuebeler-consulting
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, full-width-template, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready, blog, portfolio, photography
*/

/**
 * Table of Contents:
 * 1. CSS Variables
 * 2. Base & Typography
 * 3. Layout & Structure
 * 4. Navigation
 * 5. Hero Section
 * 6. Components
 * 7. Sections
 * 8. Footer
 * 9. Responsive
 * 10. Utilities
 */

/* ============================================
   1. CSS Variables
   ============================================ */

:root {
    /* Colors - Bold & Modern Theme (Default / Base) */
    --electric-blue: #0066FF;
    --vivid-orange: #FF6B35;
    --deep-purple: #6366F1;
    --neon-cyan: #06B6D4;
    --neutral-50: #FAFAFA;
    --neutral-100: #F5F5F5;
    --neutral-900: #0A0A0A;
    --neutral-800: #1F1F1F;
    --white: #FFFFFF;

    /* --sc-* Semantic Tokens (Blog/Single/Page-Readability)
       These are overridden per design-variant in assets/css/design-*.css
       Base values target a light/neutral reading experience. */
    --sc-brand:        var(--electric-blue);
    --sc-teal:         #14B8A6;
    --sc-text:         var(--neutral-900);
    --sc-text-muted:   #64748B;
    --sc-border:       rgba(15, 23, 42, 0.08);
    --sc-surface:      rgba(15, 23, 42, 0.02);
    --sc-prose-width:  68ch;

    /* Typography
       --font-primary / --font-heading werden pro Design-Variante überschrieben
       (bold-modern: Inter+Manrope, tech-premium: Space Grotesk, classic-trust: Inter+Crimson Pro).
       --font-mono und --font-serif gelten global über alle Varianten. */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Manrope', var(--font-primary);
    --font-mono:    'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
    --font-serif:   'Crimson Pro', Georgia, 'Times New Roman', serif;

    /* Spacing */
    --container-max-width: 1400px;
    --section-padding: 8rem;
    --section-padding-mobile: 4rem;
    --nav-height: 80px;

    /* Effects */
    --transition-base: 0.3s ease;
    --transition-long: 0.6s ease;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 30px rgba(0, 102, 255, 0.3);
}

/* ============================================
   2. Base & Typography
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

html {
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background: var(--neutral-50);
    color: var(--neutral-900);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.menu-open {
    overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* Monospace: global für alle Design-Varianten (JetBrains Mono via --font-mono).
   Gilt für Inline-Code, Code-Blöcke, Keyboard-Input und vergleichbare Elemente. */
code, pre, kbd, samp, tt, var {
    font-family: var(--font-mono);
}

h1 {
    font-size: clamp(3rem, 8vw, 6rem);
}

h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

a {
    color: var(--electric-blue);
    text-decoration: none;
    transition: var(--transition-base);
}

a:hover {
    opacity: 0.8;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Focus Styles (Accessibility) */
*:focus-visible {
    outline: 2px solid var(--electric-blue);
    outline-offset: 2px;
    border-radius: 4px;
}

a:focus-visible {
    opacity: 1;
}

button:focus-visible,
.schuebeler-btn-primary:focus-visible,
.schuebeler-btn-secondary:focus-visible,
.schuebeler-nav-cta:focus-visible {
    outline: 2px solid var(--electric-blue);
    outline-offset: 2px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .schuebeler-section,
    .schuebeler-card,
    .schuebeler-fade-in {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ============================================
   3. Layout & Structure
   ============================================ */

.schuebeler-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding-left: 5%;
    padding-right: 5%;
}

.schuebeler-section {
    padding: var(--section-padding) 5%;
}

.schuebeler-section-alt {
    background: var(--white);
}

/* Main content: offset for fixed nav (prevents menu overlapping page titles) */
#main,
.schuebeler-main,
.schuebeler-page-content {
    padding-top: var(--nav-height);
}

/* Reservierter Bereich unten, damit der Chatbot CTA/Footer nicht überlagert */
body.schuebeler-front-page .schuebeler-main,
body.schuebeler-template-rotando .schuebeler-main {
    padding-bottom: 7rem;
}
@media (min-width: 768px) {
    body.schuebeler-front-page .schuebeler-main,
    body.schuebeler-template-rotando .schuebeler-main {
        padding-bottom: 6rem;
    }
}

#main {
    scroll-margin-top: var(--nav-height);
}

/* ============================================
   4. Navigation
   ============================================ */

.schuebeler-nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    backdrop-filter: blur(20px);
    background: rgba(250, 250, 250, 0.8);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: all var(--transition-base);
}

.schuebeler-nav.scrolled {
    padding: 1rem 5%;
    box-shadow: var(--shadow-md);
}

.schuebeler-nav-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.schuebeler-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--electric-blue), var(--deep-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    max-width: 250px;
}

.schuebeler-logo a {
    display: block;
}

.schuebeler-logo img,
.custom-logo {
    max-height: 60px;
    width: auto;
    max-width: 250px;
    display: block;
}

.schuebeler-nav.scrolled .schuebeler-logo img,
.schuebeler-nav.scrolled .custom-logo {
    max-height: 50px;
}

.schuebeler-nav-menu {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    margin: 0;
    align-items: center;
}

.schuebeler-nav-menu li {
    position: relative;
}

.schuebeler-nav-menu a {
    color: var(--neutral-900);
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    display: block;
    padding: 0.5rem 0;
}

.schuebeler-nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0.25rem;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--electric-blue);
    transition: width var(--transition-base);
}

.schuebeler-nav-menu a:hover::after,
.schuebeler-nav-menu .current-menu-item > a::after,
.schuebeler-nav-menu .current_page_item > a::after {
    width: 100%;
}

/* Submenu Styles – gut lesbar auf hellem Dropdown (auch bei dunklem Nav-Design) */
.schuebeler-nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 0.5rem 0;
    min-width: 220px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-base);
    list-style: none;
    margin: 0;
    z-index: 100;
}

.schuebeler-nav-menu li:hover > .sub-menu,
.schuebeler-nav-menu li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.schuebeler-nav-menu .sub-menu li {
    margin: 0;
}

.schuebeler-nav-menu .sub-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    white-space: nowrap;
    color: var(--neutral-900) !important;
    font-weight: 600;
    font-size: 0.95rem;
}

.schuebeler-nav-menu .sub-menu a::after {
    display: none;
}

.schuebeler-nav-menu .sub-menu a:hover,
.schuebeler-nav-menu .sub-menu a:focus {
    background: var(--neutral-100);
    color: var(--electric-blue) !important;
}

.schuebeler-nav-cta {
    padding: 0.75rem 1.75rem;
    background: linear-gradient(135deg, var(--electric-blue), var(--deep-purple));
    color: var(--white);
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    margin-left: 1.5rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.schuebeler-nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    opacity: 1;
    color: var(--white);
}

/* Mobile Menu Toggle */
.schuebeler-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.schuebeler-menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--neutral-900);
    border-radius: 3px;
    transition: var(--transition-base);
}

.schuebeler-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.schuebeler-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.schuebeler-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ============================================
   5. Hero Section
   ============================================ */

.schuebeler-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(6rem, 12vw, 8rem) 5% clamp(2rem, 6vw, 4rem);
    position: relative;
    overflow: hidden;
}

.schuebeler-hero-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
    z-index: 1;
}

.schuebeler-hero-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--electric-blue);
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 102, 255, 0.2);
    animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.schuebeler-hero-title {
    animation: fadeInUp 0.8s ease 0.2s both;
}

/* Section reveal animation */
.schuebeler-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.schuebeler-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered card animations */
.schuebeler-card.schuebeler-fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.schuebeler-card.schuebeler-fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero section is always visible (has own animations) */
.schuebeler-hero {
    opacity: 1;
    transform: none;
}

.schuebeler-hero-tagline {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    color: var(--neutral-800);
    max-width: 800px;
    margin: 0 auto 3rem;
    font-weight: 500;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.schuebeler-hero-ctas {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s both;
}

/* ============================================
   6. Components
   ============================================ */

/* Buttons */
.schuebeler-btn-primary {
    padding: 1.25rem 3rem;
    background: linear-gradient(135deg, var(--electric-blue), var(--deep-purple));
    color: var(--white);
    border: none;
    border-radius: 14px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
    display: inline-block;
}

.schuebeler-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 102, 255, 0.4);
}

.schuebeler-btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.3);
}

.schuebeler-btn-secondary {
    padding: 1.25rem 3rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    color: var(--electric-blue);
    border: 2px solid var(--electric-blue);
    border-radius: 14px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform var(--transition-base), background var(--transition-base), color var(--transition-base), border-color var(--transition-base);
    display: inline-block;
}

.schuebeler-btn-secondary:hover {
    background: var(--electric-blue);
    color: var(--white);
    transform: translateY(-3px);
}

.schuebeler-btn-secondary:active {
    transform: translateY(-1px);
}

/* Block-Editor-Buttons (auf allen WP-Seiten/Beiträgen) im Theme-Stil */
.schuebeler-main .wp-block-button .wp-block-button__link,
.schuebeler-main .wp-block-button__link {
    padding: 1.25rem 3rem;
    background: linear-gradient(135deg, var(--electric-blue), var(--deep-purple));
    color: var(--white) !important;
    border: none;
    border-radius: 14px;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all var(--transition-base);
    cursor: pointer;
}
.schuebeler-main .wp-block-button .wp-block-button__link:hover,
.schuebeler-main .wp-block-button__link:hover {
    color: var(--white) !important;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 102, 255, 0.4);
}
/* Outline-Stil = Theme Secondary */
.schuebeler-main .wp-block-button.is-style-outline .wp-block-button__link {
    background: transparent;
    color: var(--electric-blue) !important;
    border: 2px solid var(--electric-blue);
}
.schuebeler-main .wp-block-button.is-style-outline .wp-block-button__link:hover {
    background: var(--electric-blue);
    color: var(--white) !important;
}

/* Cards */
.schuebeler-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 24px;
    padding: 3rem;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
    position: relative;
    overflow: hidden;
}

.schuebeler-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--electric-blue), var(--deep-purple), var(--vivid-orange));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s;
    pointer-events: none;
}

.schuebeler-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 102, 255, 0.2);
    z-index: 10;
}

.schuebeler-card:hover::before {
    transform: scaleX(1);
}

/* Blog preview cards – readable excerpt & meta (front page) */
.schuebeler-blog-card-date {
    font-size: clamp(0.8125rem, 1.5vw + 0.7rem, 0.875rem);
    font-weight: 600;
    margin-bottom: 0;
    display: block;
    color: var(--electric-blue);
    line-height: 1.4;
}
.schuebeler-blog-card-title {
    margin: 0 0 0.75rem;
    font-size: clamp(1.0625rem, 2vw + 0.9rem, 1.35rem);
    line-height: 1.35;
    overflow-wrap: break-word;
    word-wrap: break-word;
}
.schuebeler-blog-card-excerpt {
    font-size: clamp(0.875rem, 1vw + 0.75rem, 1rem);
    line-height: 1.6;
    color: var(--neutral-800);
    margin-bottom: 1.5rem;
    overflow-wrap: break-word;
    word-wrap: break-word;
}
.schuebeler-blog-card-link {
    color: var(--electric-blue);
    text-decoration: none;
    font-weight: 600;
}
.schuebeler-blog-card-link:hover {
    text-decoration: underline;
}

/* Blog archive/post list cards (index, archive) – same structure as blog-preview */
.schuebeler-post-date {
    font-size: clamp(0.8125rem, 1.5vw + 0.7rem, 0.875rem);
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
    color: var(--electric-blue);
    line-height: 1.4;
}
.schuebeler-post-title-preview {
    margin: 0 0 0.75rem;
    font-size: clamp(1.0625rem, 2vw + 0.9rem, 1.35rem);
    line-height: 1.35;
    overflow-wrap: break-word;
    word-wrap: break-word;
}
.schuebeler-post-title-preview a {
    color: inherit;
    text-decoration: none;
}
.schuebeler-post-title-preview a:hover {
    color: var(--electric-blue);
}
.schuebeler-post-excerpt {
    font-size: clamp(0.875rem, 1vw + 0.75rem, 1rem);
    line-height: 1.6;
    color: var(--neutral-800);
    margin-bottom: 1.5rem;
    overflow-wrap: break-word;
    word-wrap: break-word;
}
.schuebeler-read-more {
    color: var(--electric-blue);
    text-decoration: none;
    font-weight: 600;
}
.schuebeler-read-more:hover {
    text-decoration: underline;
}

/* ============================================
   7. Sections
   ============================================ */

.schuebeler-section-header {
    max-width: 800px;
    margin: 0 auto 5rem;
    text-align: center;
}

.schuebeler-section-label {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--electric-blue);
    margin-bottom: 1rem;
}

/* Grid Layouts */
.schuebeler-grid {
    display: grid;
    gap: 2rem;
}

.schuebeler-grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
}

.schuebeler-grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
}

.schuebeler-grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Blog posts grid – spacing */
.schuebeler-posts-grid {
    gap: 2.5rem;
    margin-bottom: 3rem;
    align-items: stretch;
}

.schuebeler-blog-card {
    display: flex;
    flex-direction: column;
}

.schuebeler-blog-card-category {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    background: rgba(0, 102, 255, 0.1);
    color: var(--electric-blue, #0066FF);
}

/* Search results – same spacing as blog */
.schuebeler-search-results {
    gap: 2.5rem;
    margin-bottom: 3rem;
    align-items: start;
}

/* ============================================
   7b. Pagination (Blog, Archiv, Suche)
   ============================================
   WordPress the_posts_pagination() Markup:
   <nav class="navigation pagination">
     <div class="nav-links">
       <a class="prev page-numbers">←</a>
       <a class="page-numbers">1</a>
       <span class="page-numbers current">2</span>
       <a class="page-numbers">3</a>
       <span class="page-numbers dots">…</span>
       <a class="next page-numbers">→</a>
     </div>
   </nav>
*/

.schuebeler-main .navigation.pagination {
    margin: 3rem 0 4rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--sc-border);
}

.schuebeler-main .navigation.pagination .screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.schuebeler-main .navigation.pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.schuebeler-main .navigation.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.75rem;
    height: 2.75rem;
    padding: 0 0.9rem;
    border-radius: 0.625rem;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
    color: var(--sc-text);
    background: var(--sc-surface);
    border: 1px solid var(--sc-border);
    text-decoration: none;
    transition: all var(--transition-base);
    user-select: none;
}

.schuebeler-main .navigation.pagination a.page-numbers:hover,
.schuebeler-main .navigation.pagination a.page-numbers:focus-visible {
    color: #ffffff;
    background: var(--sc-brand);
    border-color: var(--sc-brand);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 102, 255, 0.18);
    outline: none;
}

.schuebeler-main .navigation.pagination .page-numbers.current {
    color: #ffffff;
    background: var(--sc-brand);
    border-color: var(--sc-brand);
    cursor: default;
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.25);
}

.schuebeler-main .navigation.pagination .page-numbers.dots {
    background: transparent;
    border-color: transparent;
    color: var(--sc-text-muted);
    min-width: 1.5rem;
    padding: 0 0.25rem;
    cursor: default;
}

.schuebeler-main .navigation.pagination .page-numbers.dots:hover {
    transform: none;
    box-shadow: none;
    background: transparent;
    color: var(--sc-text-muted);
}

.schuebeler-main .navigation.pagination .prev.page-numbers,
.schuebeler-main .navigation.pagination .next.page-numbers {
    padding: 0 1.1rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.schuebeler-main .navigation.pagination .prev.page-numbers {
    margin-right: 0.25rem;
}

.schuebeler-main .navigation.pagination .next.page-numbers {
    margin-left: 0.25rem;
}

/* ============================================
   8. Footer
   ============================================ */

.schuebeler-footer {
    padding: 4rem 5% 2rem;
    background: var(--neutral-900);
    color: var(--white);
}

.schuebeler-footer-content {
    max-width: var(--container-max-width);
    margin: 0 auto 3rem;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Wenn ein Footer-Menü zugewiesen ist, öffnet sich die dritte Spalte automatisch. */
.schuebeler-footer-content:has(.schuebeler-footer-menu-wrapper) {
    grid-template-columns: 1.5fr 1fr 1fr;
}

.schuebeler-footer-logo-wrapper {
    margin-bottom: 1.5rem;
}

.schuebeler-footer-logo-wrapper .custom-logo,
.schuebeler-footer-logo-wrapper .custom-logo-link img {
    max-height: 60px;
    width: auto;
    height: auto;
    display: block;
    filter: brightness(0) invert(1) !important;
    opacity: 1 !important;
}

.schuebeler-footer-logo-text {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--white);
    display: block;
}

.schuebeler-footer-tagline {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    max-width: 500px;
    margin: 0;
    font-size: 1rem;
}

.schuebeler-footer-menu-wrapper {
    padding-top: 0.5rem;
}

.schuebeler-footer-menu-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.schuebeler-footer-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 0;
}

.schuebeler-footer-nav li {
    margin: 0;
}

.schuebeler-footer-nav a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    font-weight: 500;
    transition: color var(--transition-base);
    display: block;
    padding: 0.25rem 0;
}

.schuebeler-footer-nav a:hover {
    color: var(--electric-blue);
    opacity: 1;
}

.schuebeler-footer-bottom {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.schuebeler-footer-bottom p {
    opacity: 0.7;
    font-size: 0.9rem;
    margin: 0;
}

/* ============================================
   9. Responsive
   ============================================ */

@media (max-width: 768px) {
    :root {
        --section-padding: var(--section-padding-mobile);
    }
    
    .schuebeler-menu-toggle {
        display: flex;
    }
    
    .schuebeler-nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(250, 250, 250, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        gap: 0;
        padding: 2rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all var(--transition-base);
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }
    
    .schuebeler-nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .schuebeler-nav-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .schuebeler-nav-menu li:last-child {
        border-bottom: none;
    }
    
    .schuebeler-nav-menu a {
        padding: 1rem 0;
        font-size: 1.125rem;
    }
    
    .schuebeler-nav-menu .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        background: transparent;
        padding-left: 1.5rem;
    }
    
    .schuebeler-nav-cta {
        display: none;
    }
    
    .schuebeler-hero-ctas {
        flex-direction: column;
    }
    
    .schuebeler-grid-2,
    .schuebeler-grid-3,
    .schuebeler-grid-4 {
        grid-template-columns: 1fr;
    }

    .schuebeler-posts-grid {
        gap: 2rem;
        margin-bottom: 2.5rem;
    }

    /* Blog cards – mobile-optimierte Schriftgrößen */
    .schuebeler-post-date,
    .schuebeler-blog-card-date {
        font-size: 0.8125rem;
    }
    .schuebeler-post-title-preview,
    .schuebeler-blog-card-title {
        font-size: 1.125rem;
        line-height: 1.4;
    }
    .schuebeler-post-excerpt,
    .schuebeler-blog-card-excerpt {
        font-size: 0.9375rem;
        line-height: 1.65;
    }

    .schuebeler-main .navigation.pagination {
        margin: 2rem 0 3rem;
        padding-top: 1.75rem;
    }

    .schuebeler-main .navigation.pagination .nav-links {
        gap: 0.375rem;
    }

    .schuebeler-main .navigation.pagination .page-numbers {
        min-width: 2.5rem;
        height: 2.5rem;
        padding: 0 0.7rem;
        font-size: 0.9375rem;
    }
    
    .schuebeler-footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .schuebeler-footer-menu-wrapper,
    .schuebeler-footer-contact {
        padding-top: 0;
    }
    
    .schuebeler-footer-bottom {
        text-align: center;
    }
    
    .schuebeler-legal-links {
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   10. Utilities
   ============================================ */

.schuebeler-text-gradient {
    background: linear-gradient(135deg, var(--neutral-900), var(--electric-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.schuebeler-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.schuebeler-skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--electric-blue);
    color: var(--white);
    padding: 8px 16px;
    text-decoration: none;
    z-index: 100;
}

.schuebeler-skip-link:focus {
    top: 0;
}

/* Social Media Links */
.schuebeler-social-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.schuebeler-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    font-size: 1.25rem;
    transition: var(--transition-base);
}

.schuebeler-social-link:hover {
    background: var(--electric-blue);
    color: var(--white);
    transform: translateY(-2px);
    opacity: 1;
}

/* Social Links in Footer */
.schuebeler-footer .schuebeler-social-links {
    margin-top: 1.5rem;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.schuebeler-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    text-decoration: none;
    font-size: 1.1rem;
    transition: all var(--transition-base);
}

.schuebeler-footer .schuebeler-social-link {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.schuebeler-footer .schuebeler-social-link:hover {
    background: var(--electric-blue);
    transform: translateY(-2px);
}

/* Footer Contact Section */
.schuebeler-footer-contact {
    padding-top: 0.5rem;
}

.schuebeler-footer-contact .schuebeler-contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.schuebeler-footer-contact .schuebeler-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.schuebeler-footer-contact .schuebeler-contact-icon {
    font-size: 1rem;
    flex-shrink: 0;
    opacity: 0.9;
}

.schuebeler-footer-contact .schuebeler-contact-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--transition-base);
}

.schuebeler-footer-contact .schuebeler-contact-item a:hover {
    color: var(--electric-blue);
}

/* Footer Bottom with Legal Links */
.schuebeler-footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.schuebeler-copyright {
    opacity: 0.7;
    font-size: 0.9rem;
    margin: 0;
}

/* Breadcrumbs */
.schuebeler-breadcrumbs {
    padding: 2rem 5% 1rem;
    font-size: 0.875rem;
    color: var(--neutral-800);
}

.schuebeler-breadcrumbs a {
    color: var(--electric-blue);
    transition: var(--transition-base);
}

.schuebeler-breadcrumbs a:hover {
    opacity: 0.8;
}

.schuebeler-breadcrumbs .separator {
    margin: 0 0.5rem;
    color: var(--neutral-800);
}

/* 404 Error Code (dekorativer Text, kein Heading) */
.schuebeler-404-code {
    font-size: clamp(5rem, 15vw, 10rem);
    font-weight: 800;
    line-height: 1;
    margin: 0 0 1rem;
    opacity: 0.15;
    font-family: var(--font-heading, sans-serif);
}

/* ============================================
   Produktvorstellung (Seitenvorlage)
   ============================================ */

.schuebeler-template-produktvorstellung .schuebeler-product-hero {
    padding: var(--section-padding) 5%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.schuebeler-product-hero-inner {
    max-width: 800px;
    margin: 0 auto;
}

.schuebeler-product-hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 1rem;
    line-height: 1.15;
}

.schuebeler-product-hero-tagline {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: var(--neutral-800);
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 2rem;
}

.schuebeler-product-hero-cta {
    margin-top: 1.5rem;
}

.schuebeler-template-produktvorstellung .schuebeler-product-content {
    padding: var(--section-padding) 5%;
}

.schuebeler-product-content-inner {
    max-width: 720px;
    margin: 0 auto;
}

.schuebeler-product-content-inner h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.schuebeler-product-content-inner h2:first-child {
    margin-top: 0;
}

.schuebeler-product-content-inner p {
    margin-bottom: 1.25rem;
}

.schuebeler-product-cta-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--neutral-100);
}

/* Buttons auf Produktseite im Theme-Stil (überschreibt Block- oder Kontext-Styles) */
.schuebeler-template-produktvorstellung .schuebeler-product-hero-cta .schuebeler-btn-primary,
.schuebeler-template-produktvorstellung .schuebeler-product-cta-bottom .schuebeler-btn-primary {
    padding: 1.25rem 3rem;
    background: linear-gradient(135deg, var(--electric-blue), var(--deep-purple));
    color: var(--white) !important;
    border: none;
    border-radius: 14px;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all var(--transition-base);
}
.schuebeler-template-produktvorstellung .schuebeler-product-hero-cta .schuebeler-btn-primary:hover,
.schuebeler-template-produktvorstellung .schuebeler-product-cta-bottom .schuebeler-btn-primary:hover {
    color: var(--white) !important;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 102, 255, 0.4);
}
/* Block-Editor-Buttons im Produktinhalt wie Theme-Buttons aussehen lassen */
.schuebeler-template-produktvorstellung .schuebeler-product-content-inner .wp-block-button__link,
.schuebeler-template-produktvorstellung .schuebeler-product-content-inner .wp-block-button .wp-block-button__link {
    padding: 1.25rem 3rem;
    background: linear-gradient(135deg, var(--electric-blue), var(--deep-purple)) !important;
    color: var(--white) !important;
    border: none;
    border-radius: 14px;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all var(--transition-base);
}
.schuebeler-template-produktvorstellung .schuebeler-product-content-inner .wp-block-button__link:hover,
.schuebeler-template-produktvorstellung .schuebeler-product-content-inner .wp-block-button .wp-block-button__link:hover {
    color: var(--white) !important;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 102, 255, 0.4);
}

@media (max-width: 768px) {
    .schuebeler-template-produktvorstellung .schuebeler-product-hero {
        padding: var(--section-padding-mobile) 5%;
    }

    .schuebeler-template-produktvorstellung .schuebeler-product-content {
        padding: var(--section-padding-mobile) 5%;
    }
}

/* ============================================
   11. Premium WOW Effects
   ============================================ */

/* Animated Gradient Border on Cards */
.schuebeler-card {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
}

.schuebeler-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(
        90deg,
        var(--electric-blue),
        var(--deep-purple),
        var(--vivid-orange),
        var(--neon-cyan),
        var(--electric-blue)
    );
    background-size: 300% 100%;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 24px 24px 0 0;
}

.schuebeler-card:hover::before {
    transform: scaleX(1);
    animation: gradientFlow 3s linear infinite;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Premium Button Glow Effect */
.schuebeler-btn-primary {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.schuebeler-btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.schuebeler-btn-primary:hover::before {
    width: 300%;
    height: 300%;
}

.schuebeler-btn-primary::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--electric-blue), var(--deep-purple));
    border-radius: inherit;
    z-index: -2;
    opacity: 0;
    filter: blur(12px);
    transition: opacity 0.3s ease;
}

.schuebeler-btn-primary:hover::after {
    opacity: 1;
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.5; filter: blur(12px); }
    50% { opacity: 1; filter: blur(16px); }
}

/* Hero Floating Shapes */
.schuebeler-hero {
    position: relative;
    overflow: hidden;
}

.schuebeler-hero::before,
.schuebeler-hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
}

.schuebeler-hero::before {
    width: 600px;
    height: 600px;
    background: var(--electric-blue);
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.schuebeler-hero::after {
    width: 500px;
    height: 500px;
    background: var(--deep-purple);
    bottom: -150px;
    left: -150px;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(10px, 10px) scale(1.02); }
}

/* Additional floating shape */
.schuebeler-hero-content::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--vivid-orange), var(--neon-cyan));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    filter: blur(60px);
    opacity: 0.1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: morphShape 15s ease-in-out infinite;
    pointer-events: none;
}

@keyframes morphShape {
    0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    25% { border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%; }
    50% { border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%; }
    75% { border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%; }
}

/* Staggered Grid Animation */
.schuebeler-fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.schuebeler-fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays for grid items */
.schuebeler-grid > *:nth-child(1) { transition-delay: 0.1s; }
.schuebeler-grid > *:nth-child(2) { transition-delay: 0.2s; }
.schuebeler-grid > *:nth-child(3) { transition-delay: 0.3s; }
.schuebeler-grid > *:nth-child(4) { transition-delay: 0.4s; }
.schuebeler-grid > *:nth-child(5) { transition-delay: 0.5s; }
.schuebeler-grid > *:nth-child(6) { transition-delay: 0.6s; }
.schuebeler-grid > *:nth-child(7) { transition-delay: 0.7s; }
.schuebeler-grid > *:nth-child(8) { transition-delay: 0.8s; }

/* Section Reveal Animation */
.schuebeler-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.schuebeler-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Special Animation */
.schuebeler-hero {
    opacity: 1;
    transform: none;
}

/* Portfolio Image Tilt Effect */
.schuebeler-portfolio-image {
    overflow: hidden;
    border-radius: 16px;
    position: relative;
}

.schuebeler-portfolio-image img {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.schuebeler-card:hover .schuebeler-portfolio-image img {
    transform: scale(1.05) rotate3d(1, 1, 0, 3deg);
}

/* Shine Effect on Cards */
.schuebeler-card {
    overflow: hidden;
}

.schuebeler-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 40%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 60%
    );
    transform: translateX(-100%) rotate(45deg);
    transition: none;
    pointer-events: none;
}

.schuebeler-card:hover::after {
    animation: shine 0.8s ease forwards;
}

@keyframes shine {
    to {
        transform: translateX(100%) rotate(45deg);
    }
}

/* Trust Bar Counter Animation Ready */
.schuebeler-trust-value {
    display: inline-block;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    font-family: var(--font-heading);
    background: linear-gradient(135deg, var(--electric-blue), var(--deep-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.schuebeler-trust-label {
    font-size: 0.9rem;
    color: var(--neutral-800);
    font-weight: 500;
    margin-top: 0.5rem;
}

/* Testimonial Card Special Effect */
.schuebeler-testimonial-card {
    position: relative;
}

.schuebeler-testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 120px;
    font-family: var(--font-serif);
    color: var(--electric-blue);
    opacity: 0.1;
    line-height: 1;
    pointer-events: none;
}

/* Stars Rating Animation */
.schuebeler-stars {
    display: inline-flex;
    gap: 2px;
}

.schuebeler-stars .star {
    color: #FFD700;
    font-size: 1.2rem;
    transition: transform 0.2s ease;
}

.schuebeler-stars .star.filled {
    animation: starPop 0.3s ease backwards;
}

.schuebeler-stars .star:nth-child(1) { animation-delay: 0.1s; }
.schuebeler-stars .star:nth-child(2) { animation-delay: 0.2s; }
.schuebeler-stars .star:nth-child(3) { animation-delay: 0.3s; }
.schuebeler-stars .star:nth-child(4) { animation-delay: 0.4s; }
.schuebeler-stars .star:nth-child(5) { animation-delay: 0.5s; }

@keyframes starPop {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); opacity: 1; }
}

/* Subtle Parallax for Sections */
.schuebeler-section-alt {
    position: relative;
    z-index: 1;
}

.schuebeler-section-alt::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(0, 102, 255, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(99, 102, 241, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* CTA Section Special Styling */
.schuebeler-cta-section {
    position: relative;
    background: linear-gradient(135deg, var(--electric-blue), var(--deep-purple));
    color: white;
    overflow: hidden;
}

.schuebeler-cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 60%);
    transform: rotate(-15deg);
    pointer-events: none;
}

.schuebeler-cta-section .schuebeler-btn-primary {
    background: white;
    color: var(--electric-blue);
}

.schuebeler-cta-section .schuebeler-btn-primary:hover {
    background: var(--neutral-50);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

/* Expert Section Image Frame */
.schuebeler-expert-image {
    position: relative;
    display: inline-block;
}

.schuebeler-expert-image::before {
    content: '';
    position: absolute;
    inset: -8px;
    background: linear-gradient(135deg, var(--electric-blue), var(--deep-purple), var(--vivid-orange));
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.schuebeler-expert-image:hover::before {
    opacity: 1;
    animation: gradientRotate 3s linear infinite;
}

@keyframes gradientRotate {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

/* Micro-interaction: Link Underline Animation */
.schuebeler-service-link,
.schuebeler-footer-nav a {
    position: relative;
    display: inline-block;
}

.schuebeler-service-link::after,
.schuebeler-footer-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.schuebeler-service-link:hover::after,
.schuebeler-footer-nav a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Smooth Scroll Indicator */
.schuebeler-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 50px;
    border: 2px solid var(--neutral-800);
    border-radius: 20px;
    opacity: 0.5;
}

.schuebeler-scroll-indicator::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--electric-blue);
    border-radius: 50%;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { top: 8px; opacity: 1; }
    50% { top: 32px; opacity: 0.3; }
}

/* Accessibility: Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .schuebeler-card::before,
    .schuebeler-card::after,
    .schuebeler-btn-primary::before,
    .schuebeler-btn-primary::after,
    .schuebeler-hero::before,
    .schuebeler-hero::after,
    .schuebeler-hero-content::before,
    .schuebeler-fade-in,
    .schuebeler-section,
    .schuebeler-stars .star {
        animation: none !important;
        transition: none !important;
    }
    
    .schuebeler-fade-in,
    .schuebeler-section {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ============================================
   Chatbot-Container (Botpress / Code-Snippets)
   ============================================ */

.schuebeler-chatbot-container {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 9990;
    pointer-events: none;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.schuebeler-chatbot-container > * {
    pointer-events: auto;
}

/* Typische Botpress-/Chat-Widget-Iframes nicht über andere Elemente legen */
#schuebeler-chatbot-slot iframe,
#botpress-webchat,
[id^="botpress-"],
.bpw-layout {
    max-height: calc(100vh - 6rem);
}

@media (max-width: 767px) {
    .schuebeler-chatbot-container {
        bottom: 1rem;
        right: 1rem;
    }
}

/* Botpress-Widget (wenn per Code-Snippets „Footer“ eingebunden) fest positionieren */
#botpress-webchat,
[id^="botpress-webchat"],
.bpw-floating-button {
    position: fixed !important;
    bottom: 1.5rem !important;
    right: 1.5rem !important;
    z-index: 9990 !important;
}
@media (max-width: 767px) {
    #botpress-webchat,
    [id^="botpress-webchat"],
    .bpw-floating-button {
        bottom: 1rem !important;
        right: 1rem !important;
    }
}

/* ============================================
   Rotando Marketingseite (nutzt Index-Elemente)
   ============================================ */

body.schuebeler-template-rotando .schuebeler-main {
	padding-bottom: 7rem;
}
@media (min-width: 768px) {
	body.schuebeler-template-rotando .schuebeler-main {
		padding-bottom: 6rem;
	}
}

.schuebeler-template-rotando .schuebeler-section-header {
	text-align: center;
	margin-bottom: 3rem;
}

.schuebeler-template-rotando .schuebeler-section-label {
	display: inline-block;
	font-size: 0.875rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--electric-blue);
	margin-bottom: 0.5rem;
}

.schuebeler-template-rotando .schuebeler-section-description {
	max-width: 42rem;
	margin-left: auto;
	margin-right: auto;
	color: var(--neutral-800);
}

/* Rotando Feature-Karten – einheitliche Größe */
.schuebeler-template-rotando .schuebeler-services-grid {
	align-items: stretch;
}

.schuebeler-template-rotando .schuebeler-service-card {
	display: flex;
	flex-direction: column;
	min-height: 280px;
	height: 100%;
}

.schuebeler-template-rotando .schuebeler-service-desc {
	flex: 1;
}

/* Rotando Pricing Grid (5 Karten) – einheitliche Höhe, Platz für Beliebt-Badge */
.schuebeler-template-rotando #rotando-pricing {
	overflow: visible;
}
.schuebeler-rotando-pricing-grid {
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
	align-items: stretch;
	padding-top: 2rem;
}

/* Zeile 2: Pro und Business zentriert */
.schuebeler-rotando-pricing-card:nth-child(4) { grid-column: 2; }
.schuebeler-rotando-pricing-card:nth-child(5) { grid-column: 3; }

.schuebeler-rotando-pricing-card {
	display: flex;
	flex-direction: column;
	position: relative;
	min-height: 420px;
	overflow: visible;
	min-width: 0;
}

.schuebeler-rotando-pricing-card-popular {
	border-color: rgba(0, 102, 255, 0.4);
	box-shadow: 0 0 0 2px var(--electric-blue);
	padding-top: 2.25rem;
}

.schuebeler-rotando-pricing-badge {
	position: absolute;
	top: 0.75rem;
	left: 50%;
	transform: translateX(-50%);
	background: linear-gradient(135deg, var(--electric-blue), var(--deep-purple));
	color: white;
	font-size: 0.75rem;
	font-weight: 700;
	padding: 0.35rem 1rem;
	border-radius: 9999px;
	box-shadow: var(--shadow-md);
	white-space: nowrap;
	z-index: 2;
}

.schuebeler-rotando-pricing-name {
	font-size: 1.35rem;
	margin-bottom: 0.5rem;
}

.schuebeler-rotando-pricing-desc {
	font-size: 0.9rem;
	color: var(--neutral-800);
	margin-bottom: 1rem;
	min-height: 2.5rem;
	line-height: 1.4;
	overflow-wrap: break-word;
	word-break: break-word;
}

.schuebeler-rotando-pricing-price {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 0.35rem;
	margin-bottom: 0.25rem;
	overflow-wrap: break-word;
	word-break: break-word;
}

.schuebeler-rotando-pricing-amount {
	font-size: 2.25rem;
	font-weight: 800;
	background: linear-gradient(135deg, var(--electric-blue), var(--deep-purple));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.schuebeler-rotando-pricing-currency {
	font-size: 1rem;
	font-weight: 600;
	color: var(--neutral-800);
}

.schuebeler-rotando-pricing-users {
	font-size: 0.8125rem;
	color: var(--neutral-800);
	margin-bottom: 1rem;
}

.schuebeler-rotando-pricing-features {
	list-style: none;
	margin: 0 0 1.5rem;
	padding: 0;
	font-size: 0.875rem;
	line-height: 1.6;
	flex: 1;
}

.schuebeler-rotando-pricing-features li {
	position: relative;
	padding-left: 1.25rem;
	margin-bottom: 0.4rem;
	overflow-wrap: break-word;
	word-break: break-word;
}

.schuebeler-rotando-pricing-features li::before {
	content: '✓';
	position: absolute;
	left: 0;
	color: var(--electric-blue);
	font-weight: 700;
}

.schuebeler-rotando-pricing-cta {
	margin-top: auto;
}

.schuebeler-rotando-pricing-cta .schuebeler-btn-primary {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	width: 100%;
	font-size: 0.8125rem;
	font-weight: 600;
	padding: 0.6rem 1.25rem;
	letter-spacing: 0.02em;
	text-transform: none;
}

.schuebeler-rotando-pricing-note {
	font-size: 0.8125rem;
	color: var(--neutral-800);
	margin-top: auto;
	font-style: italic;
}

.schuebeler-rotando-pricing-disclaimer {
	text-align: center;
	font-size: 0.9375rem;
	color: var(--neutral-800);
	margin-top: 2rem;
	max-width: 42rem;
	margin-left: auto;
	margin-right: auto;
}

/* Tech Premium: Lesbarkeit auf dunklem Hintergrund */
body.design-tech-premium .schuebeler-template-rotando .schuebeler-section-description,
body.design-tech-premium .schuebeler-template-rotando .schuebeler-rotando-pricing-disclaimer {
	color: rgba(255, 255, 255, 0.92);
}

body.design-tech-premium .schuebeler-template-rotando .schuebeler-rotando-pricing-currency,
body.design-tech-premium .schuebeler-template-rotando .schuebeler-rotando-pricing-users,
body.design-tech-premium .schuebeler-template-rotando .schuebeler-rotando-pricing-desc {
	color: rgba(255, 255, 255, 0.95);
	font-weight: 500;
}

body.design-tech-premium .schuebeler-template-rotando .schuebeler-rotando-pricing-currency {
	font-size: 1rem;
}

@media (max-width: 992px) {
	.schuebeler-rotando-pricing-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.schuebeler-rotando-pricing-card:nth-child(4),
	.schuebeler-rotando-pricing-card:nth-child(5) {
		grid-column: auto;
	}
}

@media (max-width: 768px) {
	.schuebeler-rotando-pricing-grid {
		grid-template-columns: 1fr;
	}
	.schuebeler-rotando-pricing-card:nth-child(4),
	.schuebeler-rotando-pricing-card:nth-child(5) {
		grid-column: auto;
	}
}

/* Rotando Trust Bar */
.schuebeler-rotando-trust {
    padding: clamp(2rem, 4vw, 4rem) 0;
}

.schuebeler-rotando-trust-headline {
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--neutral-800);
    opacity: 0.7;
    margin-bottom: 2rem;
}

.schuebeler-rotando-trust-grid {
    display: flex;
    justify-content: center;
    gap: clamp(2rem, 5vw, 4rem);
    flex-wrap: wrap;
}

.schuebeler-rotando-trust-item {
    text-align: center;
}

.schuebeler-rotando-trust-label {
    display: block;
    font-size: 0.875rem;
    color: var(--neutral-800);
    opacity: 0.7;
}

/* Rotando How It Works */
.schuebeler-rotando-hiw-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.schuebeler-rotando-hiw-step {
    text-align: center;
    max-width: 280px;
    flex: 1;
    min-width: 200px;
}

.schuebeler-rotando-hiw-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--electric-blue), var(--deep-purple));
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.schuebeler-rotando-hiw-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.schuebeler-rotando-hiw-step h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.schuebeler-rotando-hiw-step p {
    color: var(--neutral-800);
    line-height: 1.7;
}

.schuebeler-rotando-hiw-arrow {
    display: flex;
    align-items: center;
    color: var(--electric-blue);
    opacity: 0.5;
    padding-top: 1rem;
}

@media (max-width: 768px) {
    .schuebeler-rotando-hiw-steps {
        flex-direction: column;
        align-items: center;
    }
    .schuebeler-rotando-hiw-arrow {
        transform: rotate(90deg);
    }
}

/* Rotando Benefits */
.schuebeler-rotando-benefit-card {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    text-align: left;
}

.schuebeler-rotando-benefit-icon {
    font-size: 2rem;
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--electric-blue), var(--deep-purple));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.schuebeler-rotando-benefit-content h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.schuebeler-rotando-benefit-content p {
    color: var(--neutral-800);
    line-height: 1.7;
}

/* Rotando FAQ */
.schuebeler-rotando-faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.schuebeler-rotando-faq-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.schuebeler-rotando-faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    cursor: pointer;
    font-size: 1.125rem;
    font-weight: 600;
    list-style: none;
}

.schuebeler-rotando-faq-question::-webkit-details-marker {
    display: none;
}

.schuebeler-rotando-faq-chevron {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--electric-blue);
}

details[open] .schuebeler-rotando-faq-chevron {
    transform: rotate(180deg);
}

.schuebeler-rotando-faq-answer {
    padding: 0 0 1.5rem;
    color: var(--neutral-800);
    line-height: 1.8;
}

/* Rotando CTA Trust Line */
.schuebeler-rotando-cta-trust {
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Rotando Stripe Badge */
.schuebeler-rotando-stripe-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
    font-size: 0.875rem;
    color: var(--neutral-800);
    opacity: 0.7;
}

/* Rotando 2-column grid */
.schuebeler-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

@media (max-width: 768px) {
    .schuebeler-grid-2 {
        grid-template-columns: 1fr;
    }
}

/* Tech Premium overrides for Rotando */
body.design-tech-premium .schuebeler-rotando-trust-headline,
body.design-tech-premium .schuebeler-rotando-trust-label,
body.design-tech-premium .schuebeler-rotando-hiw-step p,
body.design-tech-premium .schuebeler-rotando-benefit-content p,
body.design-tech-premium .schuebeler-rotando-faq-answer {
    color: rgba(255, 255, 255, 0.85);
}

body.design-tech-premium .schuebeler-rotando-faq-item {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

body.design-tech-premium .schuebeler-rotando-hiw-number {
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
}

body.design-tech-premium .schuebeler-rotando-benefit-icon {
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
}

body.design-tech-premium .schuebeler-rotando-hiw-arrow {
    color: var(--neon-cyan);
}

body.design-tech-premium .schuebeler-rotando-faq-chevron {
    color: var(--neon-cyan);
}

/* Classic Trust overrides for Rotando */
body.design-classic-trust .schuebeler-rotando-hiw-number {
    background: var(--navy);
    border-radius: 0;
}

body.design-classic-trust .schuebeler-rotando-benefit-icon {
    background: var(--navy);
    border-radius: 0;
}

body.design-classic-trust .schuebeler-rotando-hiw-arrow {
    color: var(--gold);
}

body.design-classic-trust .schuebeler-rotando-faq-chevron {
    color: var(--gold);
}

/* ============================================================
   12. CONTENT FIX PACK — Blog-Posts & WP-native Seiten
   Version: 2026-04-10
   Scope: single.php, archive.php, page.php
   Keine Elementor/Frontpage-Elemente betroffen.
   ============================================================ */

/* ---- Design-Tokens für Content-Bereich ---- */
:root {
    --sc-brand:        #1e40af;   /* Schübeler Brand-Blau */
    --sc-teal:         #14b8a6;   /* Akzent-Teal */
    --sc-teal-hover:   #0d9488;
    --sc-prose-width:  800px;
    --sc-text:         var(--neutral-900);
    --sc-text-muted:   var(--neutral-800);
    --sc-border:       rgba(0, 0, 0, 0.08);
    --sc-surface:      rgba(0, 0, 0, 0.02);
}


/* ============================================================
   FIX 5 — Horizontal Scroll verhindern (Mobile)
   ============================================================ */

html,
body {
    overflow-x: hidden;
    max-width: 100%;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}


/* ============================================================
   FIX 1 + 2 + 3 — Single Post Layout:
   Nav-Clearance, Container, Artikel-Breite
   ============================================================ */

.schuebeler-main.schuebeler-single-post {
    padding-top: calc(var(--nav-height) + 2rem);
    padding-bottom: 5rem;
    overflow-x: hidden;
}

.schuebeler-single-post .schuebeler-container {
    overflow-x: hidden;
}

/* FIX 3 — Textbreite: article auf 800px begrenzen */
.schuebeler-single-post article.schuebeler-article {
    max-width: var(--sc-prose-width);
    margin-left: auto;
    margin-right: auto;
}


/* ============================================================
   POST HEADER — H1, Meta
   ============================================================ */

.schuebeler-post-header {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--sc-border);
}

/* FIX 1 — H1: fluid clamp statt fixem 90px */
.schuebeler-post-header h1.schuebeler-post-title {
    font-size: clamp(1.875rem, 4vw + 1rem, 3.5rem) !important;
    line-height: 1.15 !important;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--sc-text);
    margin-top: 0;
    margin-bottom: 1rem;
    text-wrap: balance;
    /* kein gradient-clip — Text muss lesbar sein */
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: var(--sc-text) !important;
    background-clip: unset !important;
}

/* FIX 2 — Post-Meta: Spacing + Struktur */
.schuebeler-post-meta {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-top: 0.75rem;
    font-size: 0.8125rem;
    color: var(--sc-text-muted);
    letter-spacing: 0.01em;
}

.schuebeler-post-meta time {
    color: var(--sc-text-muted);
}

.schuebeler-post-author {
    color: var(--sc-text-muted);
    font-weight: 500;
}


/* ============================================================
   FIX 4 — Featured Image: object-fit + aspect-ratio
   ============================================================ */

.schuebeler-post-thumbnail {
    margin-bottom: 3rem;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.06),
        0 8px 32px rgba(0, 0, 0, 0.1);
}

.schuebeler-post-thumbnail img.schuebeler-post-image {
    width: 100% !important;
    height: auto !important;
    display: block;
    /* Kein aspect-ratio, kein Crop — Bild wird in natürlicher Höhe gezeigt.
       Featured Images mit eingebranntem Titel werden sonst oben abgeschnitten. */
}


/* ============================================================
   FIX 6 + 7 — Content Typografie:
   Font-Größe, Line-Height, Lead-Paragraph
   ============================================================ */

.schuebeler-post-content.entry-content {
    /* FIX 6 — Font: fluid 16–17px, line-height 1.75 */
    font-size: clamp(1rem, 0.5vw + 0.875rem, 1.0625rem);
    line-height: 1.75;
    color: var(--sc-text);
}

/* FIX 2 — Paragraphen: Spacing */
.schuebeler-post-content.entry-content p {
    margin-top: 0;
    margin-bottom: 1.5em;
    max-width: 70ch;
}

.schuebeler-post-content.entry-content p:last-child {
    margin-bottom: 0;
}

/* FIX 7 — Lead-Paragraph: visueller Einstieg mit Teal-Akzent */
.schuebeler-post-content.entry-content > p:first-of-type {
    font-size: 1.125em;
    line-height: 1.65;
    color: var(--sc-text);
    font-weight: 400;
    border-left: 3px solid var(--sc-teal);
    padding-left: 1.25rem;
    margin-bottom: 2em;
}

/* ---- Headings im Content ---- */

/* FIX 2 — H2: Spacing */
.schuebeler-post-content.entry-content h2 {
    font-size: clamp(1.375rem, 1.5vw + 0.875rem, 1.875rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--sc-text);
    margin-top: 3rem !important;
    margin-bottom: 1rem !important;
    /* Gradient-Clip des globalen h2 aufheben */
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: var(--sc-text) !important;
    background-clip: unset !important;
}

/* FIX 2 — H3: Spacing war komplett null */
.schuebeler-post-content.entry-content h3 {
    font-size: clamp(1.125rem, 1vw + 0.875rem, 1.5rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: var(--sc-text);
    margin-top: 2.5rem !important;
    margin-bottom: 0.75rem !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: var(--sc-text) !important;
    background-clip: unset !important;
}

.schuebeler-post-content.entry-content h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--sc-teal);
    margin-top: 2rem !important;
    margin-bottom: 0.5rem !important;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: var(--sc-teal) !important;
    background-clip: unset !important;
}

/* Heading direkt nach Heading: reduzierter Top-Abstand */
.schuebeler-post-content.entry-content h2 + h3,
.schuebeler-post-content.entry-content h3 + h4 {
    margin-top: 1rem !important;
}

/* ---- Links im Content ---- */

.schuebeler-post-content.entry-content a {
    color: var(--sc-brand);
    text-decoration: underline;
    text-decoration-color: rgba(30, 64, 175, 0.35);
    text-underline-offset: 3px;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.schuebeler-post-content.entry-content a:hover {
    color: var(--sc-teal);
    text-decoration-color: rgba(20, 184, 166, 0.5);
    opacity: 1;
}

/* ---- Listen ---- */

.schuebeler-post-content.entry-content ul,
.schuebeler-post-content.entry-content ol {
    margin-top: 0;
    margin-bottom: 1.5em;
    padding-left: 1.5rem;
}

.schuebeler-post-content.entry-content ul {
    list-style: none;
    padding-left: 0;
}

.schuebeler-post-content.entry-content ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5em;
}

.schuebeler-post-content.entry-content ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--sc-teal);
}

.schuebeler-post-content.entry-content ol li {
    margin-bottom: 0.5em;
    padding-left: 0.25rem;
}

/* ---- Blockquote ---- */

.schuebeler-post-content.entry-content blockquote {
    margin: 2.5rem 0;
    padding: 1.25rem 1.5rem;
    background: rgba(30, 64, 175, 0.04);
    border-left: 3px solid var(--sc-brand);
    border-radius: 0 0.5rem 0.5rem 0;
}

.schuebeler-post-content.entry-content blockquote p {
    font-size: 1.0625em;
    line-height: 1.65;
    font-style: italic;
    margin-bottom: 0;
    max-width: none;
    border-left: none;
    padding-left: 0;
}

/* ---- Code ---- */

.schuebeler-post-content.entry-content code {
    font-family: var(--font-mono);
    font-size: 0.875em;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 0.25rem;
    padding: 0.125em 0.4em;
    color: var(--sc-brand);
}

.schuebeler-post-content.entry-content pre {
    background: var(--neutral-900);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    padding: 1.25rem 1.5rem;
    overflow-x: auto;
    margin: 1.5rem 0 2rem;
    font-size: 0.875rem;
    line-height: 1.6;
}

.schuebeler-post-content.entry-content pre code {
    background: none;
    border: none;
    padding: 0;
    font-size: inherit;
    color: var(--neutral-50);
}

/* ---- Tabellen ---- */

.schuebeler-post-content.entry-content table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9375rem;
    margin: 1.5rem 0 2rem;
    border: 1px solid var(--sc-border);
    border-radius: 0.5rem;
    overflow: hidden;
}

.schuebeler-post-content.entry-content th {
    background: rgba(30, 64, 175, 0.06);
    color: var(--sc-text);
    font-weight: 600;
    font-size: 0.8125rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--sc-border);
}

.schuebeler-post-content.entry-content td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--sc-border);
    color: var(--sc-text-muted);
}

.schuebeler-post-content.entry-content tr:last-child td {
    border-bottom: none;
}

.schuebeler-post-content.entry-content tr:nth-child(even) td {
    background: var(--sc-surface);
}

/* ---- HR ---- */

.schuebeler-post-content.entry-content hr {
    border: none;
    height: 1px;
    background: var(--sc-border);
    margin: 3rem 0;
}

/* ---- Bilder im Content ---- */

.schuebeler-post-content.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 1.5rem 0;
    display: block;
}

.schuebeler-post-content.entry-content figcaption {
    font-size: 0.8125rem;
    color: var(--sc-text-muted);
    text-align: center;
    margin-top: 0.5rem;
    font-style: italic;
}


/* ============================================================
   POST FOOTER — Tags, Navigation
   ============================================================ */

.schuebeler-post-footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--sc-border);
}

.schuebeler-post-footer .schuebeler-post-tags a,
.schuebeler-post-footer .tags-links a {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--sc-text-muted);
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid var(--sc-border);
    border-radius: 100px;
    padding: 0.25rem 0.75rem;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    margin-right: 0.375rem;
    margin-bottom: 0.375rem;
}

.schuebeler-post-footer .schuebeler-post-tags a:hover,
.schuebeler-post-footer .tags-links a:hover {
    background: rgba(20, 184, 166, 0.08);
    border-color: rgba(20, 184, 166, 0.3);
    color: var(--sc-teal);
    opacity: 1;
}

/* ============================================
   Article-Nav (Vor-/Zurück-Karten nach dem Beitrag)
   ============================================ */
.schuebeler-article-nav {
    max-width: var(--sc-prose-width);
    margin: 3.5rem auto 0;
    padding-top: 2.5rem;
    border-top: 1px solid var(--sc-border);
}

.schuebeler-article-nav .post-navigation {
    margin: 0;
    padding: 0;
    border: 0;
}

.schuebeler-article-nav .nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.schuebeler-article-nav .nav-previous,
.schuebeler-article-nav .nav-next {
    min-width: 0;
}

.schuebeler-article-nav .nav-previous a,
.schuebeler-article-nav .nav-next a {
    display: block;
    padding: 1.25rem 1.5rem;
    background: var(--sc-surface);
    border: 1px solid var(--sc-border);
    border-radius: 0.875rem;
    text-decoration: none;
    transition: all var(--transition-base);
    height: 100%;
}

.schuebeler-article-nav .nav-previous a:hover,
.schuebeler-article-nav .nav-next a:hover {
    border-color: var(--sc-brand);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 102, 255, 0.10);
}

.schuebeler-article-nav .schuebeler-nav-subtitle {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--sc-teal);
    margin-bottom: 0.4rem;
}

.schuebeler-article-nav .schuebeler-nav-title {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--sc-text);
    line-height: 1.4;
}

.schuebeler-article-nav a:hover .schuebeler-nav-title {
    color: var(--sc-brand);
}

.schuebeler-article-nav .nav-next {
    text-align: right;
}

/* Kommentar-Wrapper: optischer Trenner zwischen Article-Nav und Kommentaren */
.schuebeler-comments-wrapper {
    max-width: var(--sc-prose-width);
    margin: 3rem auto 0;
    padding-top: 3rem;
    border-top: 1px solid var(--sc-border);
}

/* Legacy-Rückfall: WordPress nutzt bei Theme-Plugins teils .post-navigation direkt */
.post-navigation:not(.schuebeler-article-nav *) {
    max-width: var(--sc-prose-width);
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid var(--sc-border);
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
}

.post-navigation:not(.schuebeler-article-nav *) .nav-previous,
.post-navigation:not(.schuebeler-article-nav *) .nav-next {
    flex: 1;
    min-width: 0;
}

.post-navigation:not(.schuebeler-article-nav *) .nav-next {
    text-align: right;
}


/* ============================================================
   STATIC PAGES — WP-native Seiten (Kontakt, Impressum etc.)
   ============================================================ */

.schuebeler-main.schuebeler-page-content {
    padding-top: calc(var(--nav-height) + 2rem);
    padding-bottom: 5rem;
    overflow-x: hidden;
}

.schuebeler-page-content article.schuebeler-article {
    max-width: var(--sc-prose-width);
    margin-left: auto;
    margin-right: auto;
}

/* Page-Titel */
.schuebeler-page-header {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--sc-border);
}

.schuebeler-page-header h1.schuebeler-page-title {
    font-size: clamp(2rem, 3vw + 1rem, 3.5rem) !important;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--sc-text);
    margin-bottom: 0;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: var(--sc-text) !important;
    background-clip: unset !important;
}

/* Page Content-Bereich */
.schuebeler-page-content-inner {
    font-size: clamp(1rem, 0.5vw + 0.875rem, 1.0625rem);
    line-height: 1.75;
    color: var(--sc-text);
}

.schuebeler-page-content-inner p {
    margin-top: 0;
    margin-bottom: 1.5em;
    max-width: 70ch;
}

.schuebeler-page-content-inner h2 {
    font-size: clamp(1.375rem, 1.5vw + 0.875rem, 1.875rem);
    font-weight: 700;
    margin-top: 3rem;
    margin-bottom: 1rem;
    color: var(--sc-text);
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: var(--sc-text) !important;
    background-clip: unset !important;
}

.schuebeler-page-content-inner h3 {
    font-size: clamp(1.125rem, 1vw + 0.875rem, 1.5rem);
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
    color: var(--sc-text);
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: var(--sc-text) !important;
    background-clip: unset !important;
}

.schuebeler-page-content-inner a {
    color: var(--sc-brand);
    text-decoration: underline;
    text-decoration-color: rgba(30, 64, 175, 0.35);
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.schuebeler-page-content-inner a:hover {
    color: var(--sc-teal);
    opacity: 1;
}

.schuebeler-page-content-inner ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5em;
}

.schuebeler-page-content-inner ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5em;
}

.schuebeler-page-content-inner ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--sc-teal);
}


/* ============================================================
   BLOG ARCHIVE — Archive-Header, Card-Images
   ============================================================ */

.schuebeler-archive-header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--sc-border);
}

.schuebeler-archive-header .schuebeler-archive-title {
    font-size: clamp(2rem, 3vw + 1rem, 3rem);
    font-weight: 800;
    color: var(--sc-text);
    margin-bottom: 0.5rem;
}

/* Archive Post-Cards: Thumbnail fix */
.schuebeler-posts-grid .schuebeler-card .schuebeler-post-thumbnail-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    border-radius: 0.5rem 0.5rem 0 0;
}

.schuebeler-posts-grid .schuebeler-card .schuebeler-post-thumbnail-link {
    display: block;
    overflow: hidden;
    border-radius: 0.5rem 0.5rem 0 0;
}

.schuebeler-posts-grid .schuebeler-card .schuebeler-post-content-preview {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.schuebeler-posts-grid .schuebeler-card .schuebeler-post-excerpt {
    flex: 1;
}


/* ============================================================
   RESPONSIVE — Mobile-First Korrekturen
   ============================================================ */

@media (max-width: 639px) {
    .schuebeler-main.schuebeler-single-post,
    .schuebeler-main.schuebeler-page-content {
        padding-bottom: 3rem;
    }

    /* H1 kompakter auf Mobile */
    .schuebeler-post-header h1.schuebeler-post-title {
        font-size: clamp(1.75rem, 5vw + 0.5rem, 2.5rem) !important;
        line-height: 1.2 !important;
    }

    .schuebeler-page-header h1.schuebeler-page-title {
        font-size: clamp(1.75rem, 5vw + 0.5rem, 2.5rem) !important;
    }

    /* Meta stacked */
    .schuebeler-post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    /* Featured Image Mobile: natürliche Höhe, kein Crop */
    .schuebeler-post-thumbnail img.schuebeler-post-image {
        width: 100%;
        height: auto;
    }

    /* Lead-Paragraph: kein border-left auf kleinen Screens */
    .schuebeler-post-content.entry-content > p:first-of-type {
        border-left: none;
        padding-left: 0;
    }

    /* Tabellen horizontal scrollbar */
    .schuebeler-post-content.entry-content table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Post-Navigation: stacked */
    .post-navigation {
        flex-direction: column;
    }

    .post-navigation .nav-next {
        text-align: left;
    }

    /* Article-Nav (Vor-/Zurück-Karten): gestapelt */
    .schuebeler-article-nav {
        margin-top: 2.5rem;
        padding-top: 2rem;
    }

    .schuebeler-article-nav .nav-links {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .schuebeler-article-nav .nav-next {
        text-align: left;
    }

    .schuebeler-comments-wrapper {
        margin-top: 2.5rem;
        padding-top: 2.5rem;
    }
}

@media (min-width: 640px) and (max-width: 1023px) {
    .schuebeler-single-post article.schuebeler-article,
    .schuebeler-page-content article.schuebeler-article {
        max-width: 680px;
    }
}


/* ============================================================
   ACCESSIBILITY — Focus-Ringe, Reduced Motion
   ============================================================ */

.schuebeler-post-content.entry-content a:focus-visible,
.schuebeler-page-content-inner a:focus-visible,
.schuebeler-post-footer a:focus-visible {
    outline: 2px solid var(--sc-teal);
    outline-offset: 3px;
    border-radius: 2px;
    text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {
    .schuebeler-post-content.entry-content a,
    .schuebeler-page-content-inner a,
    .schuebeler-post-footer a {
        transition: none;
    }
}


/* ============================================================
   PRINT — Saubere Druckansicht
   ============================================================ */

@media print {
    .schuebeler-main.schuebeler-single-post,
    .schuebeler-main.schuebeler-page-content {
        padding: 0 !important;
    }

    .schuebeler-post-header h1.schuebeler-post-title,
    .schuebeler-page-header h1.schuebeler-page-title {
        font-size: 24pt !important;
        color: #000 !important;
        -webkit-text-fill-color: #000 !important;
    }

    .schuebeler-post-content.entry-content,
    .schuebeler-page-content-inner {
        font-size: 11pt !important;
        line-height: 1.6 !important;
        color: #000 !important;
    }

    .schuebeler-post-thumbnail {
        display: none;
    }
}


/* ============================================================
   COMMENTS — Diskussionsbereich (single.php)
   ============================================================ */

.schuebeler-comments {
    margin: 4rem auto 0;
    padding: 3rem 0 2rem;
    border-top: 1px solid var(--sc-border);
    max-width: var(--sc-prose-width);
    width: 100%;
}

.schuebeler-comments-inner {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

/* -- Header -- */

.schuebeler-comments-header {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.schuebeler-comments-title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 2.5vw, 1.875rem);
    font-weight: 700;
    color: var(--sc-text);
    letter-spacing: -0.01em;
    line-height: 1.2;
    margin: 0;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: var(--sc-text) !important;
    background-clip: unset !important;
}

.schuebeler-comments-subtitle {
    font-size: 0.9375rem;
    color: var(--sc-text-muted);
    margin: 0;
    line-height: 1.5;
}

/* -- Comment list -- */

.schuebeler-comments-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.schuebeler-comments-list .children {
    list-style: none;
    padding-left: 2.5rem;
    margin: 1.25rem 0 0;
    border-left: 2px solid var(--sc-border);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* -- Single comment item -- */

.schuebeler-comment {
    list-style: none;
}

.schuebeler-comment-body {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
    background: var(--sc-surface);
    border: 1px solid var(--sc-border);
    border-radius: 0.625rem;
    transition: border-color 0.2s ease;
}

.schuebeler-comment-body:hover {
    border-color: rgba(20, 184, 166, 0.35);
}

.schuebeler-comment.bypostauthor > .schuebeler-comment-body {
    border-color: var(--sc-brand);
    background: color-mix(in srgb, var(--sc-brand) 6%, transparent);
}

/* Meta (avatar + name + date) */

.schuebeler-comment-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
}

.schuebeler-comment-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    min-width: 0;
}

.schuebeler-comment-avatar img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: block;
    border: 1px solid var(--sc-border);
}

.schuebeler-comment-author-info {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    min-width: 0;
}

.schuebeler-comment-author-name {
    font-weight: 600;
    color: var(--sc-text);
    font-size: 0.9375rem;
    line-height: 1.3;
}

.schuebeler-comment-author-name a {
    color: inherit;
    text-decoration: none;
}

.schuebeler-comment-author-name a:hover {
    color: var(--sc-brand);
}

.schuebeler-comment-date {
    font-size: 0.75rem;
    color: var(--sc-text-muted);
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
}

.schuebeler-comment-awaiting-moderation {
    display: inline-block;
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 600;
    color: var(--vivid-orange, #FF6B35);
    background: rgba(255, 107, 53, 0.1);
    padding: 0.25rem 0.625rem;
    border-radius: 100px;
    letter-spacing: 0.03em;
}

/* Content */

.schuebeler-comment-content {
    color: var(--sc-text);
    font-size: 0.9375rem;
    line-height: 1.65;
}

.schuebeler-comment-content p {
    margin: 0 0 0.75em;
}

.schuebeler-comment-content p:last-child {
    margin-bottom: 0;
}

.schuebeler-comment-content a {
    color: var(--sc-brand);
    text-decoration: underline;
    text-decoration-color: rgba(20, 184, 166, 0.35);
    text-underline-offset: 2px;
}

.schuebeler-comment-content a:hover {
    color: var(--sc-teal);
}

/* Actions */

.schuebeler-comment-actions {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

.schuebeler-comment-reply a,
.schuebeler-comment-edit a {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--sc-text-muted);
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.schuebeler-comment-reply a:hover,
.schuebeler-comment-edit a:hover {
    color: var(--sc-brand);
}

/* Comments navigation (older/newer) */

.schuebeler-comments .comments-pagination,
.schuebeler-comments .navigation.comment-navigation {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 0.5rem;
    font-size: 0.875rem;
}

.schuebeler-comments-closed {
    font-size: 0.875rem;
    color: var(--sc-text-muted);
    font-style: italic;
    text-align: center;
    padding: 1rem 0;
    border-top: 1px dashed var(--sc-border);
    margin: 0;
}

/* -- Comment form -- */

.schuebeler-comment-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--sc-surface);
    border: 1px solid var(--sc-border);
    border-radius: 0.625rem;
}

#reply-title,
.comment-reply-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--sc-text);
    margin: 0 0 0.25rem;
    letter-spacing: -0.01em;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: var(--sc-text) !important;
    background-clip: unset !important;
}

#reply-title small {
    font-size: 0.8125rem;
    font-weight: 400;
    margin-left: 0.75rem;
}

#reply-title small a {
    color: var(--sc-brand);
    text-decoration: none;
}

.comment-notes {
    font-size: 0.8125rem;
    color: var(--sc-text-muted);
    margin: 0;
}

.schuebeler-comment-form p {
    margin: 0;
}

.schuebeler-comment-form label.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.schuebeler-comment-form input[type="text"],
.schuebeler-comment-form input[type="email"],
.schuebeler-comment-form input[type="url"],
.schuebeler-comment-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: inherit;
    font-size: 0.9375rem;
    line-height: 1.5;
    color: var(--sc-text);
    background: var(--neutral-50);
    border: 1px solid var(--sc-border);
    border-radius: 0.375rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.schuebeler-comment-form input[type="text"]:focus,
.schuebeler-comment-form input[type="email"]:focus,
.schuebeler-comment-form input[type="url"]:focus,
.schuebeler-comment-form textarea:focus {
    outline: none;
    border-color: var(--sc-brand);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--sc-brand) 18%, transparent);
}

.schuebeler-comment-form textarea {
    min-height: 140px;
    resize: vertical;
}

/* Row: Name + E-Mail + URL side by side on desktop */

@media (min-width: 768px) {
    .schuebeler-comment-form .comment-form-author,
    .schuebeler-comment-form .comment-form-email,
    .schuebeler-comment-form .comment-form-url {
        display: inline-block;
        width: calc(33.333% - 0.67rem);
        margin-right: 1rem;
        vertical-align: top;
    }
    .schuebeler-comment-form .comment-form-url {
        margin-right: 0;
    }
}

/* Cookie consent */

.comment-form-cookies-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--sc-text-muted);
    line-height: 1.5;
}

.comment-form-cookies-consent input[type="checkbox"] {
    margin-top: 0.2rem;
    flex-shrink: 0;
}

/* Submit button */

.schuebeler-comment-submit {
    align-self: flex-start;
    padding: 0.75rem 1.75rem;
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #fff;
    background: var(--sc-brand);
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.schuebeler-comment-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px color-mix(in srgb, var(--sc-brand) 30%, transparent);
}

.schuebeler-comment-submit:focus-visible {
    outline: 2px solid var(--sc-teal);
    outline-offset: 3px;
}

/* Responsive */

@media (max-width: 640px) {
    .schuebeler-comments {
        margin-top: 2.5rem;
        padding: 2rem 0 1rem;
    }

    .schuebeler-comment-body {
        padding: 1rem 1.125rem;
    }

    .schuebeler-comment-avatar img {
        width: 40px;
        height: 40px;
    }

    .schuebeler-comments-list .children {
        padding-left: 1.25rem;
    }

    .schuebeler-comment-form {
        padding: 1.125rem;
    }
}
