        /* Bense.com Styleguide CSS - Version 1.1 (Dark Mode) */
        :root {
            --maroon: #800000;
            --dark-gray: #4c4c4c;
            --medium-gray: #999999;
            --light-gray: #D9D9D9;
            --white: #FFFFFF;
            --light-pink: #FFB6C1;
            --border-color: #E0E0E0;
            
            /* Light Mode Colors */
            --bg-primary: #FFFFFF;
            --bg-secondary: #F8F9FA;
            --bg-tertiary: #E9ECEF;
            --text-primary: #4c4c4c;
            --text-secondary: #6c757d;
            --border-primary: #E0E0E0;
            --border-secondary: #dee2e6;
        }
        
        /* Dark Mode Colors */
        [data-theme="dark"] {
            --bg-primary: #1a1a1a;
            --bg-secondary: #2d2d2d;
            --bg-tertiary: #404040;
            --text-primary: #e0e0e0;
            --text-secondary: #b0b0b0;
            --border-primary: #404040;
            --border-secondary: #505050;
        }

        * {
            box-sizing: border-box;
        }

        body {
            font-family: 'Calibri', 'Arial', 'Helvetica', sans-serif;
            font-size: 1rem;
            line-height: 1.6;
            color: var(--text-primary);
            margin: 0;
            padding: 0;
            background-color: var(--bg-primary);
            transition: background-color 0.3s ease, color 0.3s ease;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 1rem;
            background-color: var(--bg-primary);
            transition: background-color 0.3s ease;
        }

        /* Header */
        .header {
            background-color: var(--white);
            color: var(--dark-gray);
            padding: 2rem 0;
            border-bottom: 2px solid var(--maroon);
        }

        .header-content {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 2rem;
        }
        
        .header-right {
            display: flex;
            align-items: center;
            gap: 1rem;
        }
        
        .theme-toggle {
            background: none;
            border: 2px solid var(--border-primary);
            border-radius: 50%;
            width: 40px;
            height: 40px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            color: var(--text-primary);
            background-color: var(--bg-secondary);
            transition: all 0.3s ease;
        }
        
        .theme-toggle:hover {
            border-color: var(--maroon);
            transform: scale(1.1);
        }
        
        .theme-toggle[data-theme="dark"] {
            background-color: var(--bg-tertiary);
        }

        .logo-section {
            display: flex;
            align-items: center;
            gap: 1rem;
            flex-shrink: 0;
        }

        .header-logo {
            height: 80px;
            width: auto;
            max-width: 240px;
        }





        /* Navigation */
        .nav {
            background: linear-gradient(135deg, var(--dark-gray) 0%, var(--maroon) 50%, var(--dark-gray) 100%);
            background-size: 200% 200%;
            animation: gradientShift 8s ease infinite;
            padding: 1rem 0;
            position: sticky;
            top: 0;
            z-index: 100;
        }
        
        /* Dark Mode Navigation Override */
        [data-theme="dark"] .nav {
            background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--maroon) 50%, var(--bg-tertiary) 100%);
        }

        /* Hero Background */
        .hero-background {
            position: relative;
            background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/hero/business-analytics-1920x1080.jpg');
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
            min-height: 400px;
            margin-top: -1px; /* Kompensiert den Border der Navigation */
        }

        .hero-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(76, 76, 76, 0.8) 0%, rgba(128, 0, 0, 0.6) 50%, rgba(76, 76, 76, 0.8) 100%);
            z-index: 1;
        }

        .hero-content {
            position: relative;
            z-index: 2;
            padding: 4rem 0;
            text-align: center;
            color: var(--white);
        }

        .hero-title {
            font-size: 3rem;
            font-weight: 700;
            margin-bottom: 1rem;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        }

        .hero-subtitle {
            font-size: 1.5rem;
            margin-bottom: 2rem;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
        }

        .hero-buttons {
            display: flex;
            gap: 1rem;
            justify-content: center;
            flex-wrap: wrap;
        }

        @keyframes gradientShift {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }

        .nav ul {
            list-style: none;
            margin: 0;
            padding: 0;
            display: flex;
            justify-content: flex-start;
            gap: 2rem;
        }

        .nav a {
            color: var(--white);
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s ease;
        }

        .nav a:hover {
            color: var(--light-gray);
        }

        /* Navigation Favicon */
        .nav-favicon {
            height: 16px;
            width: 16px;
            margin-right: 1rem;
            vertical-align: middle;
            display: block;
        }

        /* Favicon Container */
        .favicon-container {
            background-color: var(--white);
            padding: 3px;
            border-radius: 4px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 1rem;
        }

        /* Zweite Menüleiste */
        .nav-secondary {
            background-color: var(--medium-gray);
            padding: 1rem 0;
            border-bottom: 1px solid var(--light-gray);
        }

        .nav-secondary ul {
            list-style: none;
            margin: 0;
            padding: 0;
            display: flex;
            justify-content: flex-start;
            gap: 2rem;
        }

        .nav-secondary a {
            color: var(--white);
            text-decoration: none;
            font-weight: 600;
            font-size: 1.1rem;
            padding: 0.75rem 1.5rem;
            border-radius: 6px;
            transition: all 0.3s ease;
            background-color: transparent;
            border: 2px solid transparent;
        }

        .nav-secondary a:hover {
            color: var(--maroon);
            background-color: var(--white);
            border-color: var(--maroon);
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        }

        /* Dritte Menüleiste */
        .nav-tertiary {
            background-color: var(--light-gray);
            padding: 0.75rem 0;
            border-bottom: 1px solid var(--medium-gray);
        }

        .nav-tertiary ul {
            list-style: none;
            margin: 0;
            padding: 0;
            display: flex;
            justify-content: flex-start;
            gap: 2rem;
        }

        .nav-tertiary a {
            color: var(--dark-gray);
            text-decoration: none;
            font-weight: 600;
            font-size: 1rem;
            padding: 0.5rem 1.25rem;
            border-radius: 6px;
            transition: all 0.3s ease;
            background-color: transparent;
            border: 2px solid transparent;
        }

        .nav-tertiary a:hover {
            color: var(--white);
            background-color: var(--maroon);
            border-color: var(--maroon);
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        }

        /* Logo Showcase */
        .logo-showcase {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin: 2rem 0;
        }

        .logo-item {
            text-align: center;
            padding: 2rem;
            border: 1px solid var(--light-gray);
            border-radius: 8px;
            background-color: var(--white);
        }

        .logo-svg {
            max-width: 200px;
            height: auto;
            margin: 1rem 0;
        }

        .logo-favicon {
            width: 64px;
            height: 64px;
            margin: 1rem 0;
        }

        /* Sections */
        .section {
            margin: 3rem 0;
            padding: 2rem;
            border: 1px solid var(--light-gray);
            border-radius: 8px;
            background-color: var(--white);
        }

        .section h2 {
            color: var(--maroon);
            border-bottom: 3px solid var(--maroon);
            padding-bottom: 0.5rem;
            margin-bottom: 2rem;
            font-weight: 800;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
        }

        /* Styleguide Box */
        .sg-box {
            border: 1px solid var(--border-color);
            border-radius: 8px;
            padding: 16px;
            background: var(--white);
            margin-top: 0;
        }

        /* Color Palette */
        .color-palette {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1rem;
            margin: 2rem 0;
        }

        .color-swatch {
            border: 1px solid var(--light-gray);
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }

        .color-preview {
            height: 100px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--white);
            font-weight: bold;
            font-size: 1.1rem;
        }

        .color-info {
            padding: 1rem;
            background-color: var(--white);
        }

        .color-name {
            font-weight: bold;
            margin-bottom: 0.5rem;
        }

        .color-hex {
            font-family: monospace;
            color: var(--medium-gray);
        }

        /* Typography */
        .typography-example {
            margin: 1rem 0;
            padding: 1rem;
            border: 1px solid var(--light-gray);
            border-radius: 4px;
        }

        .typography-example h1 { font-size: 2.5rem; font-weight: 700; margin: 0 0 1rem 0; }
        .typography-example h2 { font-size: 2rem; font-weight: 600; margin: 0 0 1rem 0; }
        .typography-example h3 { font-size: 1.5rem; font-weight: 600; margin: 0 0 1rem 0; }
        .typography-example h4 { font-size: 1.25rem; font-weight: 500; margin: 0 0 1rem 0; }
        .typography-example h5 { font-size: 1.125rem; font-weight: 500; margin: 0 0 1rem 0; }
        .typography-example h6 { font-size: 1rem; font-weight: 500; margin: 0 0 1rem 0; }

        /* Buttons */
        .button-group {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
            margin: 1rem 0;
        }

        .btn {
            padding: 0.75rem 1.5rem;
            border: none;
            border-radius: 4px;
            font-weight: 600;
            font-size: 1rem;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-block;
        }

        .btn-primary {
            background-color: var(--maroon);
            color: var(--white);
            border: 2px solid var(--maroon);
            font-weight: 700;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
        }

        .btn-primary:hover {
            background-color: #600000;
            border-color: #600000;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
        }

        .btn-secondary {
            background-color: transparent;
            color: var(--maroon);
            border: 2px solid var(--maroon);
            font-weight: 700;
        }

        .btn-secondary:hover {
            background-color: var(--maroon);
            color: var(--white);
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        }

        .btn-ghost {
            background-color: transparent;
            color: var(--dark-gray);
            border: 1px solid var(--light-gray);
            padding: 0.5rem 1rem;
            font-size: 0.875rem;
        }

        .btn-ghost:hover {
            background-color: var(--light-gray);
            border-color: var(--medium-gray);
        }

        /* Cards */
        .card-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 1.5rem;
            margin: 2rem 0;
        }

        .card {
            background-color: var(--bg-primary);
            border: 1px solid var(--border-primary);
            border-radius: 8px;
            padding: 1rem 1.5rem;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
            transition: all 0.3s ease;
        }

        .card:hover {
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
            transform: translateY(-2px);
        }

        .card-header {
            border-bottom: 1px solid var(--border-primary);
            padding-bottom: 1rem;
            margin-bottom: 1rem;
        }

        .card-title {
            font-size: 1.25rem;
            font-weight: 600;
            color: var(--text-primary);
            margin: 0;
        }

        /* Forms */
        .form-example {
            max-width: 500px;
            margin: 2rem 0;
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-label {
            display: block;
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 0.5rem;
        }

        .form-input {
            width: 100%;
            padding: 0.75rem;
            border: 1px solid var(--border-primary);
            border-radius: 4px;
            font-size: 1rem;
            color: var(--text-primary);
            background-color: var(--bg-primary);
            transition: border-color 0.3s ease;
        }

        .form-input:focus {
            outline: none;
            border-color: var(--maroon);
            box-shadow: 0 0 0 3px rgba(128, 0, 0, 0.1);
        }

        .form-textarea {
            min-height: 120px;
            resize: vertical;
        }

        /* Top Controls Container */
        .top-controls {
            position: fixed;
            top: 20px;
            right: 20px;
            display: flex;
            gap: 1rem;
            z-index: 1000;
        }

        /* Dark Mode Toggle */
        .dark-mode-toggle {
            background-color: var(--maroon);
            color: var(--white);
            border: none;
            padding: 0 1rem;
            border-radius: 4px;
            cursor: pointer;
            font-weight: 600;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* Telefonnummer */
        .phone-number {
            background-color: var(--dark-gray);
            color: var(--white);
            padding: 0 1rem;
            border-radius: 4px;
            font-weight: 600;
            font-size: 0.9rem;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* Dark Mode Styles */
        [data-theme="dark"] {
            --dark-gray: #D9D9D9;
            --medium-gray: #999999;
            --light-gray: #4c4c4c;
            --white: #1a1a1a;
        }

        [data-theme="dark"] body {
            background-color: var(--white);
            color: var(--dark-gray);
        }

        [data-theme="dark"] .section {
            background-color: #2a2a2a;
            border-color: #4c4c4c;
        }

        [data-theme="dark"] .card {
            background-color: #2a2a2a;
            border-color: #4c4c4c;
        }

        [data-theme="dark"] .form-input {
            background-color: #2a2a2a;
            border-color: #4c4c4c;
            color: var(--dark-gray);
        }

        [data-theme="dark"] .header {
            background-color: #1a1a1a;
            border-bottom-color: #ff6b6b;
        }

        [data-theme="dark"] .phone-number {
            background-color: #4c4c4c;
            color: var(--dark-gray);
        }

        [data-theme="dark"] .nav-secondary {
            background-color: #4c4c4c;
        }

        [data-theme="dark"] .nav-tertiary {
            background-color: #2a2a2a;
        }

        [data-theme="dark"] .nav-example {
            background-color: #2a2a2a;
        }

        [data-theme="dark"] .nav-demo {
            background-color: #1a1a1a;
        }

        [data-theme="dark"] .section h2 {
            color: #ff6b6b;
            border-bottom: 3px solid #ff6b6b;
            padding-bottom: 0.5rem;
            margin-bottom: 2rem;
            font-weight: 800;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
        }

        [data-theme="dark"] .btn-primary {
            background-color: #ff6b6b;
            color: var(--white);
            border: 2px solid #ff6b6b;
            font-weight: 700;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
        }

        [data-theme="dark"] .btn-primary:hover {
            background-color: #ff5252;
            border-color: #ff5252;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
        }

        [data-theme="dark"] .btn-secondary {
            background-color: transparent;
            color: #ff6b6b;
            border: 2px solid #ff6b6b;
            font-weight: 700;
        }

        [data-theme="dark"] .btn-secondary:hover {
            background-color: #ff6b6b;
            color: var(--white);
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
        }

        [data-theme="dark"] .hero-background {
            background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/hero/business-analytics-1920x1080.jpg');
        }

        [data-theme="dark"] .hero-overlay {
            background: linear-gradient(135deg, rgba(26, 32, 44, 0.9) 0%, rgba(128, 0, 0, 0.7) 50%, rgba(26, 32, 44, 0.9) 100%);
        }

        [data-theme="dark"] .hero-title {
            color: #ffffff;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
        }

        [data-theme="dark"] .hero-subtitle {
            color: #f0f0f0;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
        }

        /* Responsive */
        @media (max-width: 768px) {
            .nav ul,
            .nav-secondary ul,
            .nav-tertiary ul,
            .nav-demo ul {
                flex-direction: column;
                gap: 1rem;
            }

            .hero-background {
                background-attachment: scroll;
                min-height: 300px;
            }

            .hero-title {
                font-size: 2rem;
            }

            .hero-subtitle {
                font-size: 1.2rem;
            }

            .hero-buttons {
                flex-direction: column;
                align-items: center;
            }

            .nav-favicon {
                height: 14px;
                width: 14px;
                margin-right: 0.8rem;
            }

            .header-content {
                flex-direction: column;
                text-align: center;
            }

            .logo-section {
                justify-content: center;
                margin-right: 0;
            }

            .header-logo {
                height: 60px;
                max-width: 180px;
            }

            .top-controls {
                position: static;
                justify-content: center;
                margin: 1rem 0;
            }

            .button-group {
                flex-direction: column;
            }

            .color-palette {
                grid-template-columns: 1fr;
            }

            .card-grid {
                grid-template-columns: 1fr;
            }

            .logo-showcase {
                grid-template-columns: 1fr;
            }
        }

        /* Accessibility */
        .skip-link {
            position: absolute;
            top: -40px;
            left: 6px;
            background: var(--maroon);
            color: var(--white);
            padding: 8px;
            text-decoration: none;
            border-radius: 4px;
            z-index: 1000;
        }

        .skip-link:focus {
            top: 6px;
        }

        *:focus {
            outline: 2px solid var(--maroon);
            outline-offset: 2px;
        }

        /* Navigation Demo */
        .nav-example {
            margin: 2rem 0;
            padding: 2rem;
            background-color: var(--light-gray);
            border-radius: 8px;
        }

        .nav-demo {
            background-color: var(--dark-gray);
            padding: 1rem;
            border-radius: 8px;
        }

        .nav-demo ul {
            list-style: none;
            margin: 0;
            padding: 0;
            display: flex;
            justify-content: center;
            gap: 2rem;
        }

        .nav-demo-link {
            color: var(--white);
            text-decoration: none;
            font-weight: 600;
            font-size: 1.1rem;
            padding: 0.75rem 1.5rem;
            border-radius: 6px;
            transition: all 0.3s ease;
            background-color: transparent;
            border: 2px solid transparent;
        }

        .nav-demo-link:hover {
            color: var(--maroon);
            background-color: var(--white);
            border-color: var(--maroon);
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        }

        /* Animierte Buttons */
        .btn-animated {
            position: relative;
            overflow: hidden;
        }

        .btn-animated::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: left 0.5s;
        }

        .btn-animated:hover::before {
            left: 100%;
        }
        
        /* BNS Numbers spezifische Styles */
        :root {
            --primary-color: #8B0000;
            --secondary-color: #DC143C;
            --accent-color: #FFD700;
            --white: #FFFFFF;
            --light-gray: #F5F5F5;
            --border-color: #E0E0E0;
            --dark-gray: #666666;
        }
        
        body {
            margin: 0;
            padding: 0;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background-color: var(--light-gray);
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 16px;
        }
        
        .header {
            background: var(--white);
            border-bottom: 2px solid var(--primary-color);
            padding: 12px 0;
        }
        
        .header-content {
            display: flex;
            align-items: center;
            gap: 16px;
        }
        
        .header-logo {
            height: 32px;
            width: auto;
        }
        
        .phone-number {
            color: var(--dark-gray);
            font-size: 0.9em;
        }
        
        .content {
            display: flex;
            flex-direction: column;
            gap: 16px;
        }
        
        .section {
            display: none;
        }
        
        .section.active {
            display: block;
        }
        
        .form-example {
            display: flex;
            gap: 8px;
            flex-wrap: nowrap;
            align-items: flex-end;
            margin: 8px 0;
        }
        
        .form-group {
            min-width: 120px;
            width: 120px;
        }
        
        .form-label {
            display: block;
            margin: 0 0 2px 0;
            font-weight: 500;
            color: var(--dark-gray);
        }
        
        .form-input {
            width: 150px;
            padding: 6px 8px;
            border: 1px solid var(--border-color);
            border-radius: 4px;
            font-size: 14px;
        }
        
        .form-input:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 2px rgba(139, 0, 0, 0.1);
        }
        
        /* Zusätzliche Styles für readonly Felder */
        .form-input[readonly] {
            background-color: var(--light-gray);
            color: var(--dark-gray);
        }
        
        .sg-muted {
            margin: 4px 0 8px 0;
            font-size: 0.9em;
            background: #FFE6E6;
            padding: 8px;
            border-radius: 4px;
            color: var(--dark-gray);
        }
        
        /* BNS Examples Table Styles */
        .bns-examples-table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 16px;
            border: 1px solid var(--border-color);
            background-color: var(--bg-primary);
        }
        
        .bns-examples-table td {
            padding: 8px;
            border: 1px solid var(--border-color);
            text-align: center;
            vertical-align: middle;
            background-color: var(--bg-primary);
            color: var(--text-primary);
        }
        
        .bns-examples-table td:first-child {
            text-align: left;
            font-weight: 500;
            background-color: var(--bg-secondary);
        }
        
        .number-value {
            text-align: right;
            font-weight: 500;
        }
        
        .bns-encoding {
            text-align: right;
            font-size: 0.8em;
            color: var(--text-secondary);
            margin-top: 2px;
        }
        
        /* Dark Mode Table Overrides */
        [data-theme="dark"] .bns-examples-table {
            border-color: var(--border-primary);
        }
        
        [data-theme="dark"] .bns-examples-table td {
            border-color: var(--border-primary);
            background-color: var(--bg-primary);
            color: var(--text-primary);
        }
        
        [data-theme="dark"] .bns-examples-table td:first-child {
            background-color: var(--bg-secondary);
        }
        
        /* Header Styles */
        .top-header {
            background: #ffffff;
            border-bottom: 1px solid var(--border-color);
            padding: 4px 0;
        }
        
        .main-header {
            background: var(--bg-primary);
            border-bottom: 2px solid var(--primary-color);
            padding: 12px 0;
        }
        
        .header-grid {
            display: grid;
            grid-template-columns: 3fr 1fr auto;
            gap: 16px;
            align-items: center;
        }
        
        .header-left {
            text-align: left;
            padding-left: 30px;
            display: flex;
            align-items: center;
            gap: 16px;
        }
        
        .header-right {
            text-align: right;
            padding-right: 30px;
        }
        
        .header-title {
            font-size: 1.2em;
            font-weight: 600;
            color: var(--primary-color);
        }
        
        .header-logo {
            height: 32px;
            width: auto;
        }
        
        .top-header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.8em;
            color: var(--text-primary);
        }
        
        .top-header-links {
            display: flex;
            gap: 16px;
        }
        
        .top-header-link {
            color: var(--text-primary);
            text-decoration: none;
            font-size: 1.1em;
        }
        
        .top-header-link:hover {
            color: var(--primary-color);
        }
        
        /* Form Styles */
        .form-example {
            display: flex;
            gap: 30px;
            flex-wrap: nowrap;
            align-items: flex-end;
            margin: 8px 0;
        }
        
        .form-group {
            min-width: 120px;
            width: 100%;
        }
        
        .form-input {
            width: 100%;
        }
        
        .right-column {
            display: flex;
            flex-direction: column;
            gap: 16px;
        }
        
        .overview-list {
            margin-left: 20px;
        }
        
        .main-container {
            display: grid;
            grid-template-columns: 260px 1fr;
            gap: 16px;
            padding: 16px;
        }
        
        .content-grid {
            display: grid;
            grid-template-columns: 1fr 3fr;
            gap: 24px;
        }
        
        /* Neue Tabelle Styling */
        .new-table {
            margin-bottom: 20px;
        }
        
        .sidebar {
            position: sticky;
            top: 16px;
            align-self: start;
            background: var(--white);
            border-radius: 8px;
            padding: 20px;
            border: 1px solid var(--border-color);
        }
        
        .sidebar-title {
            margin-top: 4px;
            margin-bottom: 16px;
            color: var(--primary-color);
            font-size: 1.2em;
        }
        
        .sidebar-menu {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }
        
        .content {
            display: flex;
            flex-direction: column;
            gap: 16px;
        }
        
        .section {
            display: none;
            background: var(--white);
            border-radius: 8px;
            padding: 20px;
            border: 1px solid var(--border-color);
        }
        
        .section.active {
            display: block;
        }
        
        .card-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 16px;
        }
        
        .card {
            background: var(--white);
            border-radius: 8px;
            padding: 20px;
            border: 1px solid var(--border-color);
        }
        
        .card-header {
            margin-bottom: 16px;
        }
        
        .card-title {
            margin: 0;
            color: var(--primary-color);
            font-size: 1.3em;
        }
        
        .meta {
            margin: 16px 0;
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
        }
        
        .button-group {
            margin-top: 16px;
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
        }
        
        .info-card {
            margin-bottom: 16px;
            padding: 20px;
            background: var(--light-gray);
            border-radius: 8px;
            border: 1px solid var(--border-color);
        }
        
        .info-card-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 16px;
        }
        
        .info-card-header h3 {
            margin: 0;
            color: var(--primary-color);
            font-size: 1.4em;
        }
        
        .info-card-description {
            margin: 0 0 16px 0;
            line-height: 1.6;
            color: var(--text-color);
        }
        
        .info-card-badges {
            display: flex;
            gap: 12px;
            flex-wrap: wrap;
        }
        
        .badge-primary {
            background: var(--primary-color);
            color: white;
        }
        
        .badge-secondary {
            background: var(--secondary-color);
            color: white;
        }
        
        .badge-accent {
            background: var(--accent-color);
            color: white;
        }
        
        .top-header {
            background: var(--light-gray);
            border-bottom: 1px solid var(--border-color);
            padding: 8px 0;
            font-size: 0.9em;
        }
        
        .top-header .container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .top-header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 100%;
        }
        
        .top-header-links {
            display: flex;
            gap: 16px;
            align-items: center;
        }
        
        .top-header-link {
            color: var(--dark-gray);
            text-decoration: none;
            font-size: 1.1em;
        }
        
        .top-header-link:hover {
            color: var(--primary-color);
        }
        
        .top-nav a {
            margin-right: 16px;
            color: var(--text-color);
            text-decoration: none;
        }
        
        .top-nav a:last-child {
            margin-right: 0;
        }
        
        .user-info {
            color: var(--dark-gray);
        }
        
        .user-role {
            margin: 0 8px;
        }
        
        .user-flag {
            font-size: 1.2em;
        }
        
        .main-header {
            background: var(--white);
            border-bottom: 2px solid var(--primary-color);
            padding: 12px 0;
        }
        
        .header-grid {
            display: grid;
            grid-template-columns: 3fr 1fr auto;
            gap: 16px;
            align-items: center;
        }
        
        .header-left {
            text-align: left;
            padding-left: 30px;
            display: flex;
            align-items: center;
            gap: 16px;
        }
        
        .logo-o4 {
            max-height: 60px;
            max-width: 100%;
        }
        
        .main-title {
            margin: 0;
            color: maroon;
            font-size: 1.8em;
            font-weight: 600;
        }
        
        .header-center {
            text-align: center;
        }
        
        .header-right {
            text-align: right;
            padding-right: 30px;
        }
        
        .logo-bc {
            max-height: 36px;
            max-width: 100%;
            height: 36px;
        }
        
        .sub-header {
            background: white;
            border-bottom: 1px solid var(--border-color);
            padding: 0;
            height: 160px;
            margin: 0;
        }
        
        .sub-header .container {
            margin: 0;
            padding: 0;
            margin-left: 0px;
        }
        
        .image-slider {
            position: relative;
            width: 100%;
            height: 160px;
            overflow: hidden;
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            display: flex;
            justify-content: center;
            align-items: center;
        }
        
        .slider-image {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 160px;
            object-fit: cover;
            opacity: 0;
            transition: opacity 3s ease-in-out;
        }
        
        .slider-image.active {
            opacity: 1;
        }

        /* Button Styles für Login/Logout aus index.php */
        .btn-login,
        .btn-logout,
        .btn-register {
            display: inline-block;
            padding: 0.5rem 1rem;
            border-radius: 0.25rem;
            font-size: 0.75rem;
            font-weight: 700;
            text-decoration: none;
            transition: all 0.2s ease;
            border: none;
            cursor: pointer;
        }

        .btn-login,
        .btn-logout {
            background-color: #f97316 !important;
            color: white !important;
        }

        .btn-login:hover,
        .btn-logout:hover {
            background-color: #ea580c !important;
            color: white !important;
        }

        .btn-register {
            background-color: #3b82f6 !important;
            color: white !important;
        }

        .btn-register:hover {
            background-color: #2563eb !important;
            color: white !important;
        }

        /* User Info Button Styling */
        .user-info .btn-login,
        .user-info .btn-logout {
            background: var(--primary-color);
            color: white;
            padding: 4px 12px;
            border-radius: 4px;
            text-decoration: none;
            font-size: 0.8em;
        }
        
        .user-email {
            color: #666;
            font-size: 0.9em;
            margin-left: 8px;
            font-style: italic;
        }

        /* Debug Info Styling */
        .debug-info {
            font-size: 0.75rem;
            color: #666;
            margin-bottom: 4px;
        }

        .user-name {
            font-weight: 500;
            margin-right: 4px;
        }
        
        /* Dark Mode Styles für Frameset und weitere Komponenten */
        [data-theme="dark"] .sub-header {
            background: var(--bg-secondary);
            border-bottom-color: var(--border-primary);
        }
        
        [data-theme="dark"] .image-slider {
            box-shadow: 0 2px 8px rgba(0,0,0,0.3);
        }
        
        [data-theme="dark"] .debug-info {
            color: var(--text-secondary);
        }
        
        /* Dark Mode für alle Container */
        [data-theme="dark"] .container,
        [data-theme="dark"] .card,
        [data-theme="dark"] .form-example {
            background-color: var(--bg-primary);
            color: var(--text-primary);
        }
        
        /* Dark Mode für alle Borders */
        [data-theme="dark"] * {
            border-color: var(--border-primary);
        }
        
        /* Dark Mode für Links */
        [data-theme="dark"] a {
            color: var(--text-primary);
        }
        
        [data-theme="dark"] a:hover {
            color: var(--maroon);
        }