* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Farben - Professionell & Modern */
    --white: #ffffff;
    --bg-light: #f8fafc;
    --navy: #0f172a;
    --navy-dark: #020617;
    --blue: #2563eb;
    --blue-dark: #1e40af;
    --cyan: #06b6d4;
    --cyan-dark: #0891b2;
    --text-dark: #1e293b;
    --text-gray: #64748b;
    --border-light: #e2e8f0;
    --shadow: rgba(15, 23, 42, 0.08);
    --shadow-md: rgba(15, 23, 42, 0.12);
    --shadow-lg: rgba(15, 23, 42, 0.16);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--white);
    position: relative;
    overflow-x: hidden;
}

/* Background Animation Canvas - nur für restliche Seite */
#matrix-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.10; /* Dezent sichtbar auf heller Seite */
    pointer-events: none;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--blue);
    color: var(--white);
    padding: 8px 16px;
    text-decoration: none;
    z-index: 100;
    font-weight: 600;
    border-radius: 0 0 8px 0;
}

.skip-link:focus {
    top: 0;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== NAVIGATION ===== */
.navbar {
    background: var(--navy);
    box-shadow: 0 2px 8px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 50;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-brand a {
    text-decoration: none;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-text {
    color: var(--white);
}

.logo-accent {
    color: var(--cyan);
}

.logo-gmbh {
    font-size: 0.9rem;
    font-weight: 400;
    opacity: 0.8;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
}

.nav-menu li a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    padding: 0.6rem 1rem;
    border-radius: 6px;
    transition: all 0.3s;
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.nav-menu li a:hover {
    color: var(--cyan);
}

.btn-nav-cta {
    background: var(--blue) !important;
    color: var(--white) !important;
    font-weight: 600 !important;
    padding: 0.7rem 1.5rem !important;
}

.btn-nav-cta:hover {
    background: var(--blue-dark) !important;
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ===== HERO ===== */
.hero {
    background: var(--navy);
    color: var(--white);
    padding: 5rem 0 4rem;
    position: relative;
    overflow: hidden;
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
    z-index: 0;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    position: relative;
}

.hero-logo img {
    max-width: 400px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
    transform: rotate(15deg) translateY(-30px);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: rotate(15deg) translateY(-30px) translateX(0);
    }
    50% {
        transform: rotate(15deg) translateY(-40px) translateX(10px);
    }
}

.hero-slogan {
    font-size: 3rem;
    font-weight: 400;
    font-family: 'Segoe Script', 'Comic Sans MS', 'Bradley Hand', cursive;
    color: rgba(255, 255, 255, 0.20);
    letter-spacing: 0.05em;
    transform: rotate(-8deg) translateX(150px) translateY(-30px);
    margin-bottom: 0.5rem;
    user-select: none;
    line-height: 1;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.text-gradient {
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}



/* ===== BUTTONS ===== */
.btn-primary,
.btn-primary-large {
    display: inline-block;
    background: var(--blue);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

.btn-primary:hover,
.btn-primary-large:hover {
    background: var(--blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.btn-secondary,
.btn-secondary-large {
    display: inline-block;
    background: transparent;
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid var(--white);
    cursor: pointer;
    font-size: 1rem;
}

.btn-secondary-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

.btn-secondary:hover,
.btn-secondary-large:hover {
    background: var(--white);
    color: var(--navy);
    border-color: var(--cyan);
}

/* ===== SECTIONS ===== */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3.5rem;
}

.section-label {
    display: inline-block;
    color: var(--blue);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.8;
}

/* ===== SERVICES ===== */
.services {
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px var(--shadow);
    transition: all 0.3s;
    border: 1px solid var(--border-light);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px var(--shadow-lg);
    border-color: var(--cyan);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-link {
    color: var(--blue);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.service-link:hover {
    color: var(--cyan);
    gap: 0.5rem;
}

/* ===== BENEFITS ===== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.benefit-item {
    text-align: center;
}

.benefit-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.benefit-item h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1rem;
}

.benefit-item p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* ===== SOLUTIONS ===== */
.solutions {
    background: var(--bg-light);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.solution-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px var(--shadow);
    border-left: 4px solid var(--blue);
    transition: all 0.3s;
}

.solution-card:hover {
    transform: translateX(8px);
    border-left-color: var(--cyan);
    box-shadow: 0 8px 24px var(--shadow-md);
}

.solution-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.solution-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1rem;
}

.solution-card p {
    color: var(--text-gray);
    line-height: 1.7;
}

/* ===== REFERENCES ===== */
.logo-slider {
    overflow: hidden;
    margin-bottom: 3rem;
    padding: 2rem 0;
    background: var(--bg-light);
    border-radius: 12px;
}

.logo-track {
    display: flex;
    gap: 4rem;
    animation: scroll 70s linear infinite;
    width: fit-content;
    will-change: transform;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.client-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    min-width: 240px;
}

.client-logo img {
    max-width: 240px;
    max-height: 120px;
    width: auto;
    height: auto;
    opacity: 0.8;
    transition: all 0.3s;
}

.client-logo:hover img {
    opacity: 1;
    transform: scale(1.1);
}

/* Platzhalter für Demo */
.logo-placeholder {
    background: var(--white);
    border: 2px solid var(--border-light);
    padding: 1.5rem 2.5rem;
    border-radius: 8px;
    color: var(--text-gray);
    font-weight: 600;
    font-size: 0.9rem;
}

.reference-cta {
    text-align: center;
}

/* ===== PROCESS ===== */
.process {
    background: var(--bg-light);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
}

.process-step {
    text-align: center;
    position: relative;
}

.process-step::after {
    content: '→';
    position: absolute;
    top: 30px;
    right: -1.5rem;
    font-size: 2rem;
    color: var(--cyan);
    opacity: 0.3;
}

.process-step:last-child::after {
    display: none;
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.process-step h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.8rem;
}

.process-step p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===== CTA ===== */
.cta {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.15), transparent);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.cta p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.cta-trust {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

/* ===== CONTACT ===== */
.contact {
    background: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 2rem;
}

.contact-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-row .contact-item {
    margin-bottom: 0;
}

.contact-item strong {
    display: block;
    color: var(--navy);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--text-gray);
    line-height: 1.7;
}

.contact-item a {
    color: var(--blue);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: var(--cyan);
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 16px var(--shadow);
}

.form-message {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.form-message.success {
    background: #d1fae5;
    color: #065f46;
    border-left: 4px solid #10b981;
}

.form-message.error {
    background: #fee2e2;
    color: #991b1b;
    border-left: 4px solid #ef4444;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.9rem;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-weight: 400 !important;
    cursor: pointer;
}

.checkbox-label input {
    margin-top: 0.3rem;
    width: auto;
}

.checkbox-label a {
    color: var(--blue);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-col p {
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.social-media {
    margin-top: 2rem;
}

.follow-us-image {
    display: block;
    max-width: 150px;
    height: auto;
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: block;
    transition: transform 0.3s, opacity 0.3s;
    opacity: 0.8;
}

.social-icons a:hover {
    transform: scale(1.1);
    opacity: 1;
}

.social-icons img {
    width: 40px;
    height: 40px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--cyan);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

.service-area {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
    .mobile-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--navy);
        flex-direction: column;
        padding: 1rem 0;
        gap: 0;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        box-shadow: 0 8px 16px var(--shadow-md);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu li a {
        display: block;
        padding: 1rem 2rem;
        border-radius: 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-slogan {
        font-size: 2rem;
        margin-bottom: 0.3rem;
    }



    .services-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
    }
    
    .logo-track {
        gap: 2rem;
    }
    
    .client-logo {
        min-width: 140px;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .process-step::after {
        display: none;
    }

    .contact-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-row .contact-item {
        margin-bottom: 1rem;
    }
    
    .service-detail-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-sidebar {
        position: static;
    }
    
    .benefit-boxes,
    .tech-list,
    .partner-logos,
    .feature-list,
    .solution-features {
        grid-template-columns: 1fr;
    }
    
    .references-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .reference-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .stat-item strong {
        font-size: 2.5rem;
    }

    .cta h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero {
        padding: 4rem 0 3rem;
    }
    
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-logo {
        order: -1; /* Logo über Content auf Mobile */
    }
    
    .hero-logo img {
        max-height: 200px;
    }

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

    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-slogan {
        font-size: 1.8rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .section-header h2 {
        font-size: 2rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .service-detail h2 {
        font-size: 2rem;
    }
    
    .references-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .reference-logo-item {
        padding: 1rem;
        height: 120px;
    }
}

/* ===== ACCESSIBILITY ===== */
*:focus-visible {
    outline: 3px solid var(--cyan);
    outline-offset: 3px;
}

html {
    scroll-behavior: smooth;
}

/* Accessibility Widget Styles bleiben wie gehabt */
.accessibility-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
}

.a11y-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--blue);
    color: var(--white);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 16px var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    transition: all 0.3s;
}

.a11y-toggle:hover {
    background: var(--cyan);
    transform: scale(1.1);
}

.a11y-panel {
    position: absolute;
    bottom: 80px;
    right: 0;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 8px 32px var(--shadow-lg);
    padding: 1.5rem;
    min-width: 300px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s;
    border: 1px solid var(--border-light);
}

.a11y-panel.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.a11y-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1.5rem;
}

.a11y-option {
    margin-bottom: 1.5rem;
}

.a11y-option label {
    display: block;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.a11y-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.a11y-buttons button {
    padding: 0.6rem 1rem;
    background: var(--bg-light);
    border: 2px solid var(--border-light);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    color: var(--navy);
}

.a11y-buttons button:hover {
    background: var(--cyan);
    border-color: var(--cyan);
    color: var(--white);
}

.a11y-reset {
    width: 100%;
    padding: 0.8rem;
    background: var(--blue);
    color: var(--white);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.a11y-reset:hover {
    background: var(--blue-dark);
}

.a11y-ip {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.a11y-ip-btn {
    padding: 0.6rem 1rem;
    background: var(--bg-light);
    border: 2px solid var(--border-light);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    color: var(--navy);
    font-size: 0.9rem;
}

.a11y-ip-btn:hover {
    background: var(--blue);
    border-color: var(--blue);
    color: var(--white);
}

.ip-display {
    display: none;
    padding: 0.8rem;
    background: var(--navy);
    color: var(--cyan);
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    font-weight: 700;
    text-align: center;
    letter-spacing: 1px;
}

/* High Contrast Mode */
body.high-contrast {
    --text-dark: #000000;
    --text-gray: #333333;
    --bg-light: #ffffff;
}

/* Monochrome Mode */
body.monochrome {
    filter: grayscale(100%);
}

/* Reading Guide */
.reading-guide {
    position: fixed;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--cyan);
    box-shadow: 0 0 10px var(--cyan), 0 -100vh 0 100vh rgba(0, 0, 0, 0.3), 0 100vh 0 100vh rgba(0, 0, 0, 0.3);
    pointer-events: none;
    z-index: 9999;
}

/* ===== PAGE HEADER ===== */
.page-header {
    background: var(--navy);
    color: var(--white);
    padding: 4rem 0 3rem;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
}

/* ===== SERVICE DETAIL PAGE ===== */
.service-detail {
    padding: 5rem 0;
    background: var(--white);
}

.service-detail:nth-child(even) {
    background: var(--bg-light);
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.service-detail-content {
    max-width: 800px;
}

.service-icon-large {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.service-icon-inline {
    font-size: 2.5rem;
    margin-right: 0.5rem;
    vertical-align: middle;
}

.service-detail h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 1.5rem;
}

.service-detail h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--navy);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.service-detail h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 0.8rem;
}

.lead {
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* Feature List */
.feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    gap: 0.8rem;
    padding: 1.2rem;
    background: var(--bg-light);
    border-radius: 8px;
    border-left: 4px solid var(--cyan);
}

.service-detail:nth-child(even) .feature-item {
    background: var(--white);
}

.feature-icon {
    font-size: 1.5rem;
    color: var(--cyan);
    font-weight: 700;
    flex-shrink: 0;
}

.feature-item h4 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: var(--text-gray);
    line-height: 1.7;
    margin: 0;
}

/* Benefit Boxes */
.benefit-boxes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.benefit-box {
    background: var(--white);
    padding: 1.2rem;
    border-radius: 8px;
    border: 2px solid var(--border-light);
    transition: all 0.3s;
}

.service-detail:nth-child(even) .benefit-box {
    background: var(--bg-light);
}

.benefit-box:hover {
    border-color: var(--cyan);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px var(--shadow-md);
}

.benefit-box strong {
    display: block;
    font-size: 1.1rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.benefit-box p {
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
}

/* Partner Logos */
.partner-logos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 1.5rem 0 2rem;
}

.partner-logo {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.service-detail:nth-child(even) .partner-logo {
    background: var(--bg-light);
}

.partner-logo:hover {
    border-color: var(--cyan);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px var(--shadow-md);
}

.partner-logo img {
    max-width: 100%;
    height: auto;
    max-height: 120px;
}

.partner-logos-3 {
    grid-template-columns: repeat(3, 1fr);
}

.partner-logos-3 .partner-logo:first-child img {
    max-height: 150px;
}

.partner-placeholder .logo-placeholder {
    background: var(--bg-light);
    border: 2px dashed var(--border-light);
    padding: 1.5rem 2rem;
    border-radius: 8px;
    color: var(--text-gray);
    font-weight: 600;
}

/* Tech List */
.tech-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    list-style: none;
    margin: 1rem 0 2rem;
    padding: 0;
}

.tech-list li {
    background: var(--bg-light);
    padding: 1rem;
    border-radius: 6px;
    text-align: center;
    font-weight: 600;
    color: var(--navy);
    border: 2px solid transparent;
    transition: all 0.3s;
}

.service-detail:nth-child(even) .tech-list li {
    background: var(--white);
}

.tech-list li:hover {
    border-color: var(--cyan);
    transform: scale(1.05);
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    margin-top: 2rem;
    text-align: center;
}

.cta-box h4 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

/* Sidebar */
.service-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-box {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--border-light);
    margin-bottom: 2rem;
}

.service-detail:nth-child(even) .sidebar-box {
    background: var(--bg-light);
}

.sidebar-box.highlight {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(37, 99, 235, 0.1));
    border-color: var(--cyan);
}

.sidebar-box h4 {
    color: var(--navy);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.sidebar-box p {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.sidebar-box a {
    color: var(--blue);
    text-decoration: none;
}

.sidebar-box a:hover {
    color: var(--cyan);
}

.sidebar-box .btn-secondary,
.sidebar-box .btn-primary {
    display: block;
    text-align: center;
    margin-top: 1.5rem;
    background: var(--blue);
    color: var(--white) !important;
    border: none;
    text-decoration: none;
}

.sidebar-box .btn-secondary:hover,
.sidebar-box .btn-primary:hover {
    background: var(--blue-dark);
    color: var(--white) !important;
}

.sidebar-nav {
    list-style: none;
    padding: 0;
}

.sidebar-nav li {
    margin-bottom: 0.8rem;
}

.sidebar-nav a {
    display: block;
    padding: 0.8rem 1rem;
    background: var(--bg-light);
    border-radius: 6px;
    color: var(--text-dark);
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
}

.service-detail:nth-child(even) .sidebar-nav a {
    background: var(--white);
}

.sidebar-nav a:hover {
    background: var(--cyan);
    color: var(--white);
    transform: translateX(8px);
}

/* ===== SOLUTION PAGES ===== */
.solution-detail {
    padding: 4rem 0;
    background: var(--white);
}

.solution-detail:nth-child(even) {
    background: var(--bg-light);
}

.solution-grid {
    margin-top: 2rem;
}

.solution-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.challenge-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.challenge-list li {
    padding: 0.8rem 0 0.8rem 2rem;
    position: relative;
    color: var(--text-dark);
    line-height: 1.7;
    border-bottom: 1px solid var(--border-light);
}

.challenge-list li:before {
    content: "❗";
    position: absolute;
    left: 0;
    color: var(--blue);
}

.solution-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.solution-feature {
    background: var(--bg-light);
    padding: 1.2rem;
    border-radius: 8px;
    border-left: 4px solid var(--cyan);
}

.solution-detail:nth-child(even) .solution-feature {
    background: var(--white);
}

.solution-feature strong {
    display: block;
    color: var(--navy);
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.solution-feature p {
    color: var(--text-gray);
    margin: 0;
    line-height: 1.6;
}

.solution-example {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(37, 99, 235, 0.1));
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--cyan);
    margin-top: 2rem;
}

.solution-example strong {
    color: var(--cyan);
    display: block;
    margin-bottom: 0.5rem;
}

/* ===== REFERENCES PAGE ===== */
.reference-stats {
    display: flex;
    gap: 4rem;
    justify-content: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-item strong {
    font-size: 3rem;
    font-weight: 800;
    color: var(--cyan);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-item span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

.references-grid-section {
    padding: 5rem 0;
    background: var(--white);
}

.references-grid-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 1rem;
}

.section-intro {
    text-align: center;
    color: var(--text-gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.references-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.reference-logo-item {
    background: var(--white);
    padding: 0.5rem;
    border-radius: 12px;
    border: 2px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 140px;
    transition: all 0.3s;
}

.reference-logo-item:hover {
    border-color: var(--cyan);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px var(--shadow-md);
}

.reference-logo-item img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(0%);
    opacity: 0.9;
    transition: opacity 0.3s;
}

.reference-logo-item:hover img {
    opacity: 1;
}

/* ===== IT-CHECK PAGE ===== */
.it-check-section {
    padding: 5rem 0;
    background: var(--white);
    min-height: 60vh;
}

.it-check-section .container {
    max-width: 800px;
}

/* Intro */
.check-intro-content {
    text-align: center;
}

.check-intro-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1rem;
}

.check-intro-content p {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.intro-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.intro-benefits .benefit {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
}

.intro-benefits strong {
    display: block;
    color: var(--navy);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.intro-benefits p {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin: 0;
}

/* Quiz */
.check-quiz {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 16px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--border-light);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--blue), var(--cyan));
    width: 0%;
    transition: width 0.4s ease;
}

.progress-text {
    text-align: center;
    color: var(--text-gray);
    font-weight: 600;
    margin-bottom: 2rem;
}

.question {
    text-align: center;
    animation: fadeIn 0.4s;
}

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

.question h3 {
    color: var(--blue);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.question-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 2.5rem;
    line-height: 1.5;
}

.answer-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.btn-answer {
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 12px;
    border: 3px solid;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 150px;
}

.btn-yes {
    background: var(--white);
    border-color: #22c55e;
    color: #22c55e;
}

.btn-yes:hover {
    background: #22c55e;
    color: var(--white);
    transform: scale(1.05);
}

.btn-no {
    background: var(--white);
    border-color: #ef4444;
    color: #ef4444;
}

.btn-no:hover {
    background: #ef4444;
    color: var(--white);
    transform: scale(1.05);
}

/* Result */
.check-result {
    text-align: center;
}

.result-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 3rem;
}

.score-display {
    margin-bottom: 3rem;
}

.score-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 12px solid var(--cyan);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    background: var(--white);
    box-shadow: 0 8px 32px var(--shadow-lg);
}

.score-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1;
}

.score-total {
    font-size: 1.5rem;
    color: var(--text-gray);
}

.score-label {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--cyan);
}

.result-analysis {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    text-align: left;
}

.result-analysis p {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.result-analysis strong {
    color: var(--navy);
}

.result-recommendations {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--border-light);
    margin-bottom: 3rem;
    text-align: left;
}

.result-recommendations h4 {
    color: var(--navy);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.result-recommendations ul {
    list-style: none;
    padding: 0;
}

.result-recommendations li {
    padding: 0.8rem 0;
    color: var(--text-dark);
    font-weight: 500;
    border-bottom: 1px solid var(--border-light);
}

.result-recommendations li:last-child {
    border-bottom: none;
}

.result-cta {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 12px;
    margin-top: 3rem;
}

.result-cta h3 {
    color: var(--navy);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.result-cta p {
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.result-cta .btn-secondary-large {
    background: var(--border-light);
    color: var(--navy);
    border: 2px solid var(--border-light);
}

.result-cta .btn-secondary-large:hover {
    background: var(--text-gray);
    color: var(--white);
    border-color: var(--text-gray);
}

/* ===== LEGAL PAGES (Impressum, Datenschutz) ===== */
.legal-page {
    background: var(--white);
    padding: 4rem 0;
    min-height: 60vh;
}

.legal-page .container {
    max-width: 900px;
}

.legal-page h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--cyan);
}

.legal-page h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--navy);
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.legal-page h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--blue);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-page p {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.legal-page strong {
    color: var(--navy);
    font-weight: 600;
}

.legal-page a {
    color: var(--blue);
    text-decoration: none;
    transition: color 0.3s;
}

.legal-page a:hover {
    color: var(--cyan);
    text-decoration: underline;
}

.legal-page ul,
.legal-page ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.legal-page li {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

/* IT-Check Mobile */
@media (max-width: 640px) {
    .intro-benefits {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .answer-buttons {
        flex-direction: column;
    }
    
    .btn-answer {
        width: 100%;
    }
    
    .score-circle {
        width: 160px;
        height: 160px;
    }
    
    .score-number {
        font-size: 3rem !important;
    }
    
    .check-quiz {
        padding: 2rem 1.5rem;
    }
}
