        /* Basis-Reset & Schriftart */
        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
            -webkit-font-smoothing: antialiased;
        }

        html {
            scroll-behavior: smooth;
            scroll-padding-top: 160px;
        }

        /* Tastatur-Fokus-Indikator für Barrierefreiheit (WCAG compliant) */
        *:focus-visible {
            outline: 3px solid var(--accent);
            outline-offset: 3px;
        }

        /* Globale Variablen für den Dark Mode (Standard) */
        :root {
            --bg-color: #060606;
            --surface-color: #121212;
            --surface-card: rgba(255, 255, 255, 0.03);
            --border-color: rgba(255, 255, 255, 0.08);
            --border-hover: rgba(255, 255, 255, 0.4);
            --text-main: #ffffff;
            --text-muted: #a3a3a3; /* Kontrastreich genug auf reinem Schwarz/Dunkelgrau */
            --accent: #ffffff;
            --accent-inverse: #000000;
            --bg-gradient: radial-gradient(circle at 80% 20%, #141414 0%, #060606 100%);
            --card-glow: 0 20px 40px rgba(255, 255, 255, 0.08), 0 0 20px rgba(255, 255, 255, 0.03);
            --input-bg: #121212;
        }

        /* Variablen für den Light Mode mit optimiertem Kontrast (WCAG AA konform) */
        [data-theme="light"] {
            --bg-color: #f4f4f5;
            --surface-color: #ffffff;
            --surface-card: rgba(255, 255, 255, 0.65);
            --border-color: rgba(0, 0, 0, 0.12);
            --border-hover: rgba(0, 0, 0, 0.4);
            --text-main: #18181b;
            --text-muted: #3f3f46; /* Von #71717a auf #3f3f46 abgändert für barrierefreien Textkontrast (mind. 4.5:1) */
            --accent: #18181b;
            --accent-inverse: #ffffff;
            --bg-gradient: radial-gradient(circle at 80% 20%, #e4e4e7 0%, #f4f4f5 100%);
            --card-glow: 0 25px 50px rgba(0, 0, 0, 0.08);
            --input-bg: #ffffff;
        }

        body {
            background-color: var(--bg-color);
            color: var(--text-main);
            line-height: 1.6;
            background-image: var(--bg-gradient);
            background-attachment: fixed;
            transition: background-color 0.3s ease, color 0.3s ease;
        }

        /* Navigation mit verfeinerten Micro-Interactions */
        header {
            border-bottom: 1px solid var(--border-color);
            position: sticky;
            top: 0;
            background-color: rgba(6, 6, 6, 0.4);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            z-index: 100;
            transition: border-color 0.3s ease, background-color 0.3s ease;
        }

        [data-theme="light"] header {
            background-color: rgba(255, 255, 255, 0.4);
        }

        .nav-container {
            max-width: var(--header-max, var(--content-max, 1500px));
            margin: 0 auto;
            padding: 6px 40px;
            display: flex;
            align-items: center;
            gap: clamp(16px, 2vw, 32px);
        }

        .logo-link {
            text-decoration: none;
            color: var(--text-main);
        }

        .logo {
            font-weight: 800;
            font-size: 20px;
            letter-spacing: -0.5px;
            text-transform: uppercase;
            transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        .logo:hover {
            transform: scale(1.05);
        }

        .logo span {
            font-weight: 300;
            color: var(--text-muted);
        }

        .logo img.site-logo {
            height: 48px;
            width: auto;
            display: none;
            vertical-align: middle;
        }

        .logo img.logo-dark { display: inline-block; }
        [data-theme="light"] .logo img.logo-dark { display: none; }
        [data-theme="light"] .logo img.logo-light { display: inline-block; }

        .footer-left .logo img.site-logo { height: 60px; }

        @media (max-width: 768px) {
            .logo img.site-logo { height: 40px; }
            .footer-left .logo img.site-logo { height: 52px; }
        }

        @media (max-width: 480px) {
            .logo img.site-logo { height: 34px; }
        }

        .nav-menu-wrap ul {
            display: flex;
            list-style: none;
            gap: clamp(10px, 1.2vw, 16px);
        }

        .nav-menu-wrap a {
            color: var(--text-muted);
            text-decoration: none;
            font-size: 14px;
            font-weight: 500;
            position: relative;
            padding: 4px 0;
            transition: color 0.3s ease, transform 0.2s ease;
            white-space: nowrap;
            display: inline-block;
        }

        .nav-menu-wrap a::after {
            content: '';
            position: absolute;
            width: 100%;
            transform: scaleX(0);
            height: 1px;
            bottom: 0;
            left: 0;
            background-color: var(--text-main);
            transform-origin: bottom center;
            transition: transform 0.25s ease-out;
        }

        .nav-menu-wrap a:hover {
            color: var(--text-main);
            transform: translateY(-2px);
        }

        .nav-menu-wrap a:hover::after {
            transform: scaleX(1);
        }

        .nav-right {
            display: flex;
            align-items: center;
            gap: 16px;
            margin-left: auto;
        }

        .theme-toggle-btn {
            background: none;
            border: 1px solid var(--border-color);
            color: var(--text-main);
            padding: 8px 12px;
            border-radius: 6px;
            cursor: pointer;
            font-size: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
            background-color: rgba(255, 255, 255, 0.03);
            min-height: 44px; /* Touch-Target-Größe für Barrierefreiheit */
        }

        .theme-toggle-btn:hover {
            border-color: var(--border-hover);
            background-color: rgba(255, 255, 255, 0.08);
            transform: translateY(-2px) scale(1.03);
        }

        .status-tracker-btn {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 13px;
            color: var(--text-muted);
            text-decoration: none;
            background-color: var(--surface-card);
            border: 1px solid var(--border-color);
            padding: 8px 14px;
            border-radius: 6px;
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                        border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                        background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                        box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            white-space: nowrap;
            min-height: 44px; /* Touch-Target-Größe für Barrierefreiheit */
            position: relative;
        }

        .status-tracker-btn:hover {
            color: var(--text-main);
            border-color: var(--border-hover);
            background-color: rgba(255, 255, 255, 0.07);
            transform: translateY(-3px);
            box-shadow: var(--card-glow);
        }

        [data-theme="light"] .status-tracker-btn:hover {
            background-color: rgba(255, 255, 255, 0.95);
        }

        .pulse-dot {
            width: 8px;
            height: 8px;
            background-color: #22c55e;
            border-radius: 50%;
            box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
            70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
            100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
        }

        .nav-cta {
            background-color: var(--accent);
            color: var(--accent-inverse);
            padding: 8px 18px;
            border-radius: 6px;
            font-size: 14px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
            white-space: nowrap;
            display: inline-flex;
            align-items: center;
            min-height: 44px; /* Touch-Target-Größe für Barrierefreiheit */
        }

        .nav-cta:hover { 
            opacity: 0.9;
            transform: translateY(-2px) scale(1.02);
            box-shadow: 0 8px 20px rgba(255, 255, 255, 0.15);
        }

        /* Hero-Bereich */
        .hero {
            max-width: var(--content-max, 1500px);
            margin: 0 auto;
            padding: 140px 40px 100px 40px;
            text-align: center;
        }

        .hero h1 {
            font-size: 56px;
            font-weight: 800;
            letter-spacing: -1.5px;
            line-height: 1.15;
            margin-bottom: 24px;
        }

        .hero p {
            font-size: 20px;
            color: var(--text-muted);
            max-width: 800px;
            margin-inline: auto;
        }

        /* Hauptinhalt & Theme-Bereiche */
        .main-container {
            max-width: var(--content-max, 1500px);
            margin: 0 auto;
            padding: 0 40px;
        }

        .service-section {
            margin-bottom: 100px;
            padding-bottom: 60px;
            border-bottom: 1px solid var(--border-color);
            transition: border-color 0.3s ease;
        }

        .service-section:last-of-type {
            border-bottom: none;
            margin-bottom: 60px;
        }

        .service-section-title {
            font-size: 32px;
            font-weight: 700;
            margin-bottom: 24px;
            letter-spacing: -0.5px;
            line-height: 1.25;
            transition: color 0.3s ease, transform 0.3s ease;
        }

        /* Grid für Inhalt-Bereich auf Desktop */
        .service-content-inner {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
        }

        .service-info {
            padding-right: 20px;
            display: flex;
            flex-direction: column;
            gap: 24px;
            align-items: flex-start;
        }

        .service-section-desc {
            font-size: 16px;
            color: var(--text-muted);
        }

        /* Liquid Glass Kacheln */
        .detail-card {
            background-color: var(--surface-card);
            border: 1px solid var(--border-color);
            border-radius: 16px;
            padding: 35px;
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                        border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                        background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                        box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
            will-change: transform, box-shadow;
        }

        .detail-card:hover {
            transform: translateY(-8px) scale(1.02);
            border-color: var(--border-hover);
            background-color: rgba(255, 255, 255, 0.07);
            box-shadow: var(--card-glow);
        }

        [data-theme="light"] .detail-card:hover {
            background-color: rgba(255, 255, 255, 0.95);
        }

        .detail-card h4 {
            font-size: 19px;
            font-weight: 600;
            margin-bottom: 14px;
            color: var(--text-main);
            letter-spacing: -0.3px;
        }

        .detail-card p {
            font-size: 15px;
            color: var(--text-muted);
            line-height: 1.6;
        }

        /* Mehr Infos Knöpfe - Liquid Glass Design */
        .liquid-info-btn {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            background-color: var(--surface-card);
            border: 1px solid var(--border-color);
            color: var(--text-main);
            padding: 12px 24px;
            border-radius: 30px;
            font-size: 14px;
            font-weight: 600;
            text-decoration: none;
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                        border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                        background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                        box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            cursor: pointer;
            will-change: transform, box-shadow;
            min-height: 44px; /* Mobil Barrierefrei Touch-Größe */
        }

        .liquid-info-btn svg {
            transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .liquid-info-btn:hover {
            transform: translateY(-3px);
            border-color: var(--border-hover);
            background-color: rgba(255, 255, 255, 0.07);
            box-shadow: var(--card-glow);
        }

        .liquid-info-btn:hover svg {
            transform: translateX(4px);
        }

        [data-theme="light"] .liquid-info-btn:hover {
            background-color: rgba(255, 255, 255, 0.95);
        }

        /* Erstberatungsbox  */
        .contact-box {
            background-color: var(--surface-card);
            border: 1px solid var(--border-color);
            border-radius: 20px;
            padding: 60px 40px;
            margin-top: 60px;
            text-align: center;
            max-width: 680px;
            margin-left: auto;
            margin-right: auto;
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 30px;
        }

        .contact-box:hover {
            border-color: rgba(255, 255, 255, 0.15);
            background-color: rgba(255, 255, 255, 0.05);
            box-shadow: var(--card-glow);
            transform: scale(1.01);
        }

        .profile-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 16px;
            width: 100%;
            max-width: 500px;
        }

        .profile-container h3 {
            font-size: 36px;
            font-weight: 800;
            letter-spacing: -0.8px;
            line-height: 1.2;
        }

        .profile-container p {
            color: var(--text-muted);
            font-size: 16px;
            line-height: 1.5;
        }

        /* Direkt sichtbare Profilkarte  */
        .profile-card-direct {
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid var(--border-color);
            border-radius: 16px;
            padding: 30px;
            width: 100%;
            margin-top: 10px;
            display: flex;
            flex-direction: column;
            gap: 24px;
            text-align: left;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        }

        [data-theme="light"] .profile-card-direct {
            background: rgba(0, 0, 0, 0.02);
        }

        .profile-main-info {
            display: flex;
            align-items: center;
            gap: 20px;
        }

        .profile-image-wrapper {
            width: 76px;
            height: 76px;
            border-radius: 50%;
            overflow: hidden;
            border: 2px solid var(--text-main);
            background-color: rgba(255, 255, 255, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .profile-image-wrapper svg {
            width: 44px;
            height: 44px;
            fill: var(--text-muted);
        }

        .profile-info-text .name {
            font-size: 20px;
            font-weight: 700;
            color: var(--text-main);
        }

        .profile-info-text .role {
            font-size: 12px;
            color: var(--text-muted);
            margin-bottom: 4px;
            text-transform: uppercase;
            letter-spacing: 1px;
            font-weight: 600;
        }

        .profile-info-text .availability {
            font-size: 13px;
            color: #22c55e;
            display: flex;
            align-items: center;
            gap: 6px;
            font-weight: 500;
        }

        .profile-info-text .availability::before {
            content: "";
            width: 7px;
            height: 7px;
            background-color: #22c55e;
            border-radius: 50%;
            display: inline-block;
        }

        /* Kontakt-Buttons Design */
        .contact-actions {
            display: flex;
            gap: 12px;
            width: 100%;
        }

        .action-btn {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 14px 20px;
            border-radius: 8px;
            font-size: 14px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.2s ease cubic-bezier(0.16, 1, 0.3, 1);
            min-height: 48px; /* Best-Practice für barrierefreie mobile Touch-Fläche */
        }

        .mail-btn {
            background-color: var(--text-main);
            color: var(--bg-color);
            border: 1px solid var(--text-main);
        }

        .mail-btn:hover {
            opacity: 0.9;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(255,255,255,0.1);
        }

        [data-theme="light"] .mail-btn:hover {
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        }

        .phone-btn {
            background-color: transparent;
            color: var(--text-main);
            border: 1px solid var(--border-color);
        }

        .phone-btn:hover {
            border-color: var(--border-hover);
            background-color: rgba(255, 255, 255, 0.03);
            transform: translateY(-2px);
        }

        /* Impressum */
        .impressum-section {
            margin-top: 100px;
            margin-bottom: 20px;
            padding: 50px 40px;
            border-top: 1px solid var(--border-color);
        }
        .impressum-section h3 {
            font-size: 26px;
            margin-bottom: 24px;
            color: var(--text-main);
            letter-spacing: -0.5px;
            font-weight: 700;
        }
        .impressum-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            gap: 40px;
            font-size: 14px;
            color: var(--text-muted);
        }
        .impressum-block h4 {
            color: var(--text-main);
            margin-bottom: 10px;
            font-size: 16px;
            font-weight: 600;
        }
        .impressum-block p { line-height: 1.7; }

        /* Scroll-to-Top Button */
        .scroll-top-btn {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 46px;
            height: 46px;
            border-radius: 50%;
            background-color: var(--surface-color);
            border: 1px solid var(--border-color);
            color: var(--text-main);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 99;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
            box-shadow: 0 10px 20px rgba(0,0,0,0.2);
        }
        .scroll-top-btn.visible { opacity: 1; visibility: visible; }
        .scroll-top-btn:hover { border-color: var(--border-hover); transform: translateY(-4px); }

        /* Cookie Privacy Board */
        .cookie-banner {
            position: fixed;
            bottom: 30px;
            right: 90px;
            width: calc(100% - 60px);
            max-width: 460px;
            background-color: rgba(18, 18, 18, 0.8);
            border: 1px solid rgba(255, 255, 255, 0.15);
            border-radius: 16px;
            padding: 28px;
            backdrop-filter: blur(24px);
            -webkit-backdrop-filter: blur(24px);
            box-shadow: 0 30px 60px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.1);
            z-index: 1000;
            display: none;
            animation: slideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        }

        [data-theme="light"] .cookie-banner {
            background-color: rgba(255, 255, 255, 0.85);
            border: 1px solid rgba(0, 0, 0, 0.1);
            box-shadow: 0 30px 60px rgba(0,0,0,0.15);
        }

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

        .cookie-banner h5 { font-size: 18px; margin-bottom: 10px; font-weight: 700; letter-spacing: -0.3px; }
        .cookie-banner p { font-size: 13.5px; color: var(--text-muted); margin-bottom: 20px; line-height: 1.5; }
        
        .cookie-options { margin-bottom: 22px; display: flex; flex-direction: column; gap: 10px; }
        
        .cookie-option-item {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            background: rgba(255, 255, 255, 0.03);
            padding: 12px 14px;
            border-radius: 8px;
            border: 1px solid rgba(255, 255, 255, 0.05);
            cursor: pointer;
            user-select: none;
            transform: translateZ(0);
            -webkit-transform: translateZ(0);
            transition: background-color 0.2s ease, border-color 0.2s ease;
        }
        .cookie-option-item:hover {
            background: rgba(255, 255, 255, 0.06);
            border-color: rgba(255, 255, 255, 0.15);
        }
        [data-theme="light"] .cookie-option-item { background: rgba(0, 0, 0, 0.02); border: 1px solid rgba(0, 0, 0, 0.05); }
        [data-theme="light"] .cookie-option-item:hover { background: rgba(0, 0, 0, 0.04); }
        
        .cookie-option-item input[type="checkbox"] { 
            margin-top: 4px; 
            accent-color: var(--text-main); 
            cursor: pointer; 
            transform: scale(1.15); 
            pointer-events: none;
        }
        
        .cookie-option-text .option-title { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 2px; color: var(--text-main); }
        .cookie-option-text span { display: block; font-size: 11.5px; color: var(--text-muted); line-height: 1.4; }

        .cookie-buttons { display: flex; gap: 12px; }
        .cookie-btn {
            flex: 1;
            padding: 12px 16px;
            border-radius: 8px;
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            border: none;
            transition: all 0.2s;
            text-align: center;
            min-height: 44px;
        }
        .cookie-btn.accept { background-color: var(--text-main); color: var(--bg-color); }
        .cookie-btn.save { background-color: transparent; color: var(--text-main); border: 1px solid var(--border-color); }
        .cookie-btn:hover { transform: translateY(-1px); }

        /* Split-Footer */
        footer {
            border-top: 1px solid var(--border-color);
            background-color: rgba(10, 10, 10, 0.2);
            backdrop-filter: blur(10px);
        }

        .footer-container {
            max-width: var(--content-max, 1500px);
            margin: 0 auto;
            padding: 40px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .footer-left .logo { font-size: 16px; }
        .footer-right { font-size: 13px; display: flex; gap: 20px; align-items: center; }
        
        .footer-link {
            color: var(--text-muted);
            text-decoration: none;
            transition: color 0.2s;
            cursor: pointer;
        }
        .footer-link:hover { color: var(--text-main); }


        /* ---------------------------------------------------------------- */
        /* CSS-GRID-AKKORDEON (HANDY & TABLET AMTLICH BARRIEREFREI)         */
        /* ---------------------------------------------------------------- */
        
        @media (max-width: 1024px) {
            .service-content-wrapper {
                display: grid;
                grid-template-rows: 0fr;
                overflow: hidden;
                opacity: 0;
                transition: grid-template-rows 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                            opacity 0.3s ease;
            }

            .service-content-inner {
                display: flex;
                flex-direction: column;
                gap: 20px;
                min-height: 0;
                padding-bottom: 10px;
            }

            .service-section {
                margin-bottom: 24px;
                padding-bottom: 16px;
            }

            .service-section-title {
                font-size: 22px;
                cursor: pointer;
                display: flex;
                justify-content: space-between;
                align-items: center;
                padding: 14px 0; /* Mehr Padding für fehlerfreies Touchen am Handy */
                margin-bottom: 0;
                user-select: none;
                min-height: 48px; /* Barrierefreie Touchfläche */
            }

            .service-section-title::after {
                content: '＋';
                font-size: 20px;
                font-weight: 300;
                color: var(--text-muted);
                transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
            }

            .service-section-title:hover {
                color: var(--text-main);
            }

            /* Geöffnet: Plus wird zum Minus */
            .service-section.is-open .service-section-title::after {
                content: '－';
                color: var(--text-main);
            }

            .service-section.is-open .service-content-wrapper {
                grid-template-rows: 1fr;
                opacity: 1;
            }

            .service-info {
                padding-right: 0;
                margin-bottom: 5px;
            }

            .hero h1 { font-size: 40px; }
            .hero p { font-size: 18px; }
        }

        @media (max-width: 1700px) {
            .nav-container {
                padding: 6px 24px;
                gap: 16px;
            }
            .nav-menu-wrap ul {
                gap: 12px;
            }
            .nav-menu-wrap a {
                font-size: 13px;
            }
            .nav-right {
                gap: 10px;
            }
        }

        @media (max-width: 768px) {
            html {
                scroll-padding-top: 80px;
            }

            .detail-card {
                padding: 24px;
                backdrop-filter: none !important;
                -webkit-backdrop-filter: none !important;
                background-color: rgba(255, 255, 255, 0.05);
            }
            [data-theme="light"] .detail-card {
                background-color: rgba(0, 0, 0, 0.03);
            }

            .nav-container {
                display: flex;
                justify-content: space-between;
                align-items: center;
                padding: 14px 16px;
                gap: 8px;
            }

            .nav-menu-wrap ul {
                display: none !important;
            }

            .logo-link {
                flex-shrink: 0;
            }

            .nav-right {
                display: flex;
                gap: 6px;
                align-items: center;
                flex-shrink: 0;
            }

            .theme-toggle-btn {
                padding: 8px 10px;
                font-size: 12px;
                min-height: 38px;
                display: flex;
                align-items: center;
                justify-content: center;
            }

        .status-tracker-btn {
                padding: 8px 10px;
                font-size: 12px;
                min-height: 38px;
                gap: 5px;
            }

            .nav-cta {
                padding: 8px 12px;
                font-size: 12px;
                min-height: 38px;
            }

            .hero { padding: 100px 20px 50px 20px; }
            .main-container { padding: 0 20px; }
            
            .contact-box { padding: 40px 20px; margin-top: 40px; }
            .profile-container h3 { font-size: 28px; }

            .cookie-banner { bottom: 20px; right: 20px; width: calc(100% - 40px); max-width: none; }
            .footer-container { flex-direction: column; gap: 20px; text-align: center; padding: 30px 20px; }
            .footer-right { flex-direction: column; gap: 12px; }
            .impressum-section { padding: 40px 20px; }
        }

        @media (max-width: 480px) {
            .contact-actions {
                flex-direction: column;
                gap: 10px;
            }
            .action-btn {
                width: 100%;
            }
        }
    

        /* ---------------------------------------------------------------- */
        /* JOOMLA-ERGÄNZUNGEN                                               */
        /* ---------------------------------------------------------------- */
        .nav-menu-wrap ul li { list-style: none; }
        .skip-link { position: absolute; left: -9999px; top: 8px; z-index: 300; background: var(--accent); color: var(--accent-inverse); padding: 10px 16px; border-radius: 6px; text-decoration: none; }
        .skip-link:focus { left: 8px; }
        #system-message-container { max-width: var(--content-max, 1500px); margin: 0 auto; padding: 16px 40px 0; }
        .service-list { display: block; }

        /* ---------------------------------------------------------------- */
        /* UNTERSEITEN ("Mehr Infos"-Artikel)                               */
        /* ---------------------------------------------------------------- */
        .content-container { max-width: var(--content-max, 1500px); margin: 0 auto; padding: 100px 40px 40px 40px; }
        .hero-section { margin-bottom: 40px; }
        .hero-section h1 { font-size: 48px; font-weight: 800; letter-spacing: -1px; line-height: 1.2; margin-bottom: 20px; }
        .hero-section p.subtitle { font-size: 20px; color: var(--text-muted); max-width: 900px; }
        .main-text { font-size: 16px; color: var(--text-muted); margin-bottom: 60px; max-width: 1000px; line-height: 1.7; }
        .main-text p { margin-bottom: 1em; }
        .main-text h2, .main-text h3, .main-text h4 { color: var(--text-main); margin: 32px 0 12px; letter-spacing: -0.3px; }
        .main-text ul, .main-text ol { padding-left: 1.4em; margin-bottom: 1em; }
        .main-text a { color: var(--text-main); }
        .grid-details { display: grid; grid-template-columns: repeat(auto-fit, minmax(450px, 1fr)); gap: 30px; margin-bottom: 80px; }
        .grid-details .detail-card:hover { transform: translateY(-6px); }
        .detail-card h2 { font-size: 19px; font-weight: 600; margin-bottom: 14px; color: var(--text-main); letter-spacing: -0.3px; }
        .back-nav-btn { display: inline-flex; align-items: center; gap: 8px; color: var(--text-muted); text-decoration: none; font-size: 14px; font-weight: 500; transition: color 0.2s, transform 0.2s; min-height: 44px; }
        .back-nav-btn:hover { color: var(--text-main); transform: translateX(-3px); }
        .bottom-action-area { text-align: center; margin-bottom: 80px; }
        .liquid-back-btn { display: inline-flex; align-items: center; gap: 10px; background-color: var(--surface-card); border: 1px solid var(--border-color); color: var(--text-main); padding: 14px 28px; border-radius: 30px; font-size: 15px; font-weight: 600; text-decoration: none; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); cursor: pointer; min-height: 48px; }
        .liquid-back-btn svg { transition: transform 0.3s ease; }
        .liquid-back-btn:hover { transform: translateY(-3px); border-color: var(--border-hover); background-color: rgba(255, 255, 255, 0.07); box-shadow: var(--card-glow); }
        .liquid-back-btn:hover svg { transform: translateX(-4px); }
        [data-theme="light"] .liquid-back-btn:hover { background-color: rgba(255, 255, 255, 0.95); }
        .content-container .impressum-section { padding: 50px 0 0; margin-top: 60px; }
        .error-code { font-size: clamp(72px, 16vw, 160px); font-weight: 800; letter-spacing: -4px; line-height: 1; margin-bottom: 16px; }

        @media (max-width: 1300px) { .nav-menu-wrap ul { gap: 12px; } }
        @media (max-width: 768px) {
            .content-container { padding: 80px 20px 20px 20px; }
            .hero-section h1 { font-size: 34px; }
            .grid-details { grid-template-columns: 1fr; }
            .content-container .impressum-section { padding: 40px 0 0; }
            #system-message-container { padding: 12px 20px 0; }
        }


        /* ---------------------------------------------------------------- */
        /* BILD-HINTERGRUND IN DEN TEXTBOXEN (Beitragsbild aus Joomla)      */
        /* Einstellbar in user.css: --card-img-blur, --card-img-dim         */
        /* ---------------------------------------------------------------- */
        .detail-card.has-img {
            position: relative;
            overflow: hidden;
            isolation: isolate;
            background-color: #0a0a0a;
            border-color: rgba(255, 255, 255, 0.14);
        }
        .detail-card.has-img::before {
            content: "";
            position: absolute;
            inset: -16px;
            z-index: -2;
            background: var(--card-img) center / cover no-repeat;
            filter: blur(var(--card-img-blur, 3px));
            transform: scale(1.05);
            transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        }
        .detail-card.has-img::after {
            content: "";
            position: absolute;
            inset: 0;
            z-index: -1;
            background: linear-gradient(160deg, rgba(0, 0, 0, calc(var(--card-img-dim, 0.62) - 0.08)) 0%, rgba(0, 0, 0, calc(var(--card-img-dim, 0.62) + 0.14)) 100%);
        }
        .detail-card.has-img:hover::before { transform: scale(1.12); }
        .detail-card.has-img:hover { background-color: #0a0a0a; }
        [data-theme="light"] .detail-card.has-img:hover { background-color: #0a0a0a; }
        /* Text bleibt auch im hellen Design weiß, weil der Hintergrund immer dunkel ist */
        .detail-card.has-img h2,
        .detail-card.has-img h4 { color: #ffffff; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5); }
        .detail-card.has-img p,
        .detail-card.has-img li { color: rgba(255, 255, 255, 0.86); text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45); }
        @media (max-width: 768px) {
            [data-theme="light"] .detail-card.has-img { background-color: #0a0a0a; }
        }

        /* ---------------------------------------------------------------- */
        /* HAMBURGER-MENÜ (Handy)                                           */
        /* ---------------------------------------------------------------- */
        .nav-toggle { display: none; }
        @media (max-width: 768px) {
            .nav-toggle {
                display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px;
                width: 40px; height: 38px; padding: 0; cursor: pointer;
                background: var(--surface-card); border: 1px solid var(--border-color); border-radius: 6px;
            }
            .nav-toggle span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--text-main); transition: transform 0.25s ease, opacity 0.2s ease; }
            .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
            .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
            .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

            .nav-menu-wrap {
                display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 99;
                background-color: var(--bg-color); border-bottom: 1px solid var(--border-color);
                box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35); padding: 8px 20px 16px;
                max-height: calc(100vh - 80px); overflow-y: auto;
            }
            .nav-menu-wrap.is-open { display: block; }
            .nav-menu-wrap ul { display: flex !important; flex-direction: column; align-items: stretch; gap: 0; }
            .nav-menu-wrap li { border-bottom: 1px solid var(--border-color); }
            .nav-menu-wrap li:last-child { border-bottom: none; }
            .nav-menu-wrap a { display: block; padding: 14px 4px; min-height: 48px; font-size: 16px; color: var(--text-main); }
            .nav-menu-wrap a::after { display: none; }
            /* Kopfzeile kompakt: Status-Button nur als Punkt */
            .nav-container:has(.nav-toggle) .status-label { display: none; }
            .nav-container:has(.nav-toggle) .status-tracker-btn { padding: 0; width: 38px; height: 38px; justify-content: center; }
            .nav-container:has(.nav-toggle) .nav-right { gap: 6px; }
        }
        /* Menü zusammengeklappt, wenn die Kopfzeile zu schmal wird (automatisch per Skript, z. B. bei vielen Menüpunkten) */
        html.nav-collapsed .nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px; width: 40px; height: 38px; padding: 0; cursor: pointer; background: var(--surface-card); border: 1px solid var(--border-color); border-radius: 6px; }
        html.nav-collapsed .nav-toggle span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--text-main); transition: transform 0.25s ease, opacity 0.2s ease; }
        html.nav-collapsed .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
        html.nav-collapsed .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
        html.nav-collapsed .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
        html.nav-collapsed .nav-menu-wrap { display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 99; background-color: var(--bg-color); border-bottom: 1px solid var(--border-color); box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35); padding: 8px 20px 16px; max-height: calc(100vh - 80px); overflow-y: auto; }
        html.nav-collapsed .nav-menu-wrap.is-open { display: block; }
        html.nav-collapsed .nav-menu-wrap ul { display: flex !important; flex-direction: column; align-items: stretch; gap: 0; }
        html.nav-collapsed .nav-menu-wrap li { border-bottom: 1px solid var(--border-color); }
        html.nav-collapsed .nav-menu-wrap li:last-child { border-bottom: none; }
        html.nav-collapsed .nav-menu-wrap a { display: block; padding: 14px 4px; min-height: 48px; font-size: 16px; color: var(--text-main); }
        html.nav-collapsed .nav-menu-wrap a::after { display: none; }


        /* ---------------------------------------------------------------- */
        /* BLOG-ÜBERSICHT                                                   */
        /* ---------------------------------------------------------------- */
        .blog-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 30px; margin-bottom: 60px; }
        .blog-card { display: flex; flex-direction: column; align-items: flex-start; }
        .blog-card:hover { transform: translateY(-6px); }
        .blog-card h2 { font-size: 21px; font-weight: 700; letter-spacing: -0.3px; margin-bottom: 12px; line-height: 1.3; }
        .blog-card h2 a { color: var(--text-main); text-decoration: none; }
        .blog-card h2 a:hover { text-decoration: underline; }
        .blog-card p { margin-bottom: 20px; }
        .blog-card .liquid-info-btn { margin-top: auto; }
        .blog-meta { font-size: 13px !important; color: var(--text-muted); margin-bottom: 10px !important; text-transform: uppercase; letter-spacing: 0.6px; }
        .hero-section time { font-variant-numeric: tabular-nums; }
        .blog-pagination { margin-bottom: 60px; }
        .blog-pagination ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
        .blog-pagination a, .blog-pagination span { display: inline-block; min-width: 40px; padding: 8px 12px; text-align: center; border: 1px solid var(--border-color); border-radius: 8px; color: var(--text-main); text-decoration: none; }
        @media (max-width: 768px) { .blog-list { grid-template-columns: 1fr; } }

        /* ---------------------------------------------------------------- */
        /* AKTIVER MENÜPUNKT + ZIEL-HERVORHEBUNG                            */
        /* ---------------------------------------------------------------- */
        .nav-menu-wrap a.is-current { color: var(--text-main); }
        .nav-menu-wrap a.is-current::after { transform: scaleX(1); }
        @media (max-width: 768px) {
            .nav-menu-wrap a.is-current { font-weight: 700; }
        }
        .service-section.flash .service-section-title { animation: titleGlow 1.8s ease-out; }
        .service-section.flash .detail-card { animation: cardGlow 1.8s ease-out; }
        @keyframes titleGlow {
            0%   { text-shadow: 0 0 28px rgba(255, 255, 255, 0.75); }
            100% { text-shadow: 0 0 0 rgba(255, 255, 255, 0); }
        }
        @keyframes cardGlow {
            0%   { box-shadow: 0 0 0 2px var(--text-main), 0 0 36px rgba(255, 255, 255, 0.18); }
            100% { box-shadow: 0 0 0 2px transparent, 0 0 0 rgba(255, 255, 255, 0); }
        }
        [data-theme="light"] .service-section.flash .service-section-title { animation-name: titleGlowLight; }
        @keyframes titleGlowLight {
            0%   { text-shadow: 0 0 28px rgba(0, 0, 0, 0.35); }
            100% { text-shadow: 0 0 0 rgba(0, 0, 0, 0); }
        }
        @media (prefers-reduced-motion: reduce) { .service-section.flash .service-section-title, .service-section.flash .detail-card { animation: none; } }
        html.is-scrolling { scroll-behavior: auto !important; }

        /* ---------------------------------------------------------------- */
        /* TOUCH-GERÄTE: keine Markierung beim Antippen, keine abgeschnittenen Hover-Effekte */
        /* ---------------------------------------------------------------- */
        html, a, button, [role="button"], .detail-card { -webkit-tap-highlight-color: transparent; }
        .service-section-title { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
        .service-section-title:focus:not(:focus-visible) { outline: none; }

        @media (hover: none), (max-width: 1024px) {
            /* Das Akkordeon schneidet alles ab, was über die Box hinausragt (Verschieben, Vergrößern, Leuchten).
               Beim Antippen gilt auf Touch-Geräten :hover weiter, deshalb hier alles zurücksetzen. */
            .detail-card:hover,
            .grid-details .detail-card:hover,
            .blog-card:hover {
                transform: none;
                box-shadow: none;
                border-color: var(--border-color);
                background-color: rgba(255, 255, 255, 0.05);
            }
            [data-theme="light"] .detail-card:hover,
            [data-theme="light"] .grid-details .detail-card:hover,
            [data-theme="light"] .blog-card:hover { background-color: rgba(0, 0, 0, 0.03); }
            .detail-card.has-img:hover,
            [data-theme="light"] .detail-card.has-img:hover { background-color: #0a0a0a; }
            .detail-card.has-img:hover::before { transform: scale(1.05); }
            .service-section.flash .detail-card { animation: none; }
        }

        /* ---------------------------------------------------------------- */
        /* HINWEIS-FENSTER "WEBSITE IM AUFBAU"                              */
        /* ---------------------------------------------------------------- */
        .construction-overlay[hidden] { display: none; }
        .construction-overlay {
            position: fixed; inset: 0; z-index: 1000;
            display: flex; align-items: center; justify-content: center;
            padding: 20px;
            background: rgba(0, 0, 0, 0.72);
            -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
            opacity: 0; transition: opacity 0.25s ease;
        }
        .construction-overlay.is-visible { opacity: 1; }
        .construction-card {
            width: 100%; max-width: 520px; max-height: calc(100vh - 40px); overflow-y: auto;
            padding: 40px 36px 34px; text-align: center;
            background-color: var(--bg-color); color: var(--text-main);
            border: 1px solid var(--border-hover); border-radius: 20px;
            box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
            transform: translateY(14px) scale(0.97);
            transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        }
        .construction-overlay.is-visible .construction-card { transform: none; }
        .construction-icon {
            display: inline-flex; align-items: center; justify-content: center;
            width: 64px; height: 64px; margin-bottom: 20px; border-radius: 50%;
            background-color: var(--surface-card); border: 1px solid var(--border-color); color: var(--text-main);
        }
        .construction-card h2 { font-size: 26px; font-weight: 800; letter-spacing: -0.5px; line-height: 1.25; margin-bottom: 14px; }
        .construction-text { font-size: 16px; line-height: 1.65; color: var(--text-muted); margin-bottom: 18px; }
        .construction-text p { margin-bottom: 0.8em; }
        .construction-contact { font-size: 15px; margin-bottom: 26px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 12px; }
        .construction-contact a { color: var(--text-main); text-decoration: underline; text-underline-offset: 3px; }
        .construction-btn {
            display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 14px 28px;
            border: none; border-radius: 30px; cursor: pointer; font: inherit; font-size: 15px; font-weight: 700;
            background-color: var(--accent); color: var(--accent-inverse);
            transition: transform 0.25s ease, opacity 0.25s ease;
        }
        .construction-btn:hover { transform: translateY(-2px); opacity: 0.92; }
        html.construction-open { overflow: hidden; }
        @media (max-width: 480px) {
            .construction-card { padding: 30px 22px 26px; }
            .construction-card h2 { font-size: 22px; }
            .construction-btn { width: 100%; }
        }
        @media (prefers-reduced-motion: reduce) {
            .construction-overlay, .construction-card { transition: none; }
        }

        /* Zurück-Button: bei vorhandenem Menü nur als Pfeil, damit die Kopfzeile nicht überläuft */
        .nav-container.has-nav .back-nav-btn span { display: none; }
        .nav-container.has-nav .back-nav-btn { min-width: 40px; justify-content: center; }

        /* Menü mittig zwischen Logo und Buttons (gleichmäßige Abstände statt großer Lücke) */
        .nav-menu-wrap { margin-inline: auto; }

