/* Jans IT-Solutions - Main Styles */
:root {
    --primary: #374151;
    --primary-light: #6b7280;
    --secondary: #9ca3af;
    --accent: #3b82f6;
    --success: #10b981;
    --warning: #f59e0b;
    --light: #f9fafb;
    --white: #ffffff;
    --dark: #1f2937;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark);
}

/* Skip Link für Screenreader */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 1000;
    border-radius: 4px;
}

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

/* Focus Indicators */
*:focus {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

/* Header */
.header {
    background: var(--white);
    border-bottom: 1px solid #e5e7eb;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
}

.logo:hover {
    color: var(--accent);
    text-decoration: none;
}

.header nav {
    display: flex;
    align-items: center;
}

.nav-link {
    color: var(--primary);
    text-decoration: none;
    padding: 0.5rem 1rem;
    margin: 0 0.2rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.nav-link:hover {
    background: var(--light);
    color: var(--accent);
    text-decoration: none;
}

.nav-link.active {
    color: var(--primary);
    font-weight: 700;
}

.nav-link.active:hover {
    background: var(--light);
    color: var(--accent);
}

.btn-primary {
    background: var(--accent);
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease;
    color: white;
    font-size: 1rem;
    line-height: 1.5;
}

.btn-primary:hover {
    background: #2563eb;
    transform: translateY(-1px);
    color: white;
    text-decoration: none;
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease;
    color: white;
    margin-left: 1rem;
}

.btn-outline:hover {
    background: white;
    color: var(--primary);
    text-decoration: none;
}

.btn-outline-primary {
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 11px 23px;
    border-radius: 6px;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.2s ease;
    line-height: 1.5;
}

.btn-outline-primary:hover {
    background: var(--accent);
    color: white;
    text-decoration: none;
}

.btn-hero {
    background: var(--accent);
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease;
    color: white;
    margin: 0.5rem;
}

.btn-hero:hover, .btn-hero:focus {
    background: #2563eb;
    transform: translateY(-1px);
    color: white;
    text-decoration: none;
}

.btn-secondary-hero {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 13px 30px;
}

.btn-secondary-hero:hover, .btn-secondary-hero:focus {
    background: white;
    color: var(--primary);
}

.cta-button {
    background: var(--accent);
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease;
    color: white;
    margin: 0.5rem;
}

.cta-button:hover, .cta-button:focus {
    background: #2563eb;
    transform: translateY(-1px);
    color: white;
    text-decoration: none;
}

.cta-button i {
    margin-right: 0.5rem;
}

.btn-calculate {
    background: white;
    border: 2px solid var(--accent);
    color: var(--accent) !important;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease;
    cursor: pointer;
    font-size: 1rem;
}

.btn-calculate:hover, .btn-calculate:focus {
    background: var(--accent);
    color: white !important;
    transform: translateY(-1px);
    text-decoration: none;
}

/* Contact info Hero */
.contact-info {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 2rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

/* Page-specific hero backgrounds */
.hero-software {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
}

.hero-cloud {
    background: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 100%);
}

.hero-services {
    background: linear-gradient(135deg, #374151 0%, #6b7280 100%);
}

/* Page-specific button colors in hero sections */
.hero-software .btn-hero {
    background: #8b5cf6;
    border-color: #8b5cf6;
}

.hero-software .btn-hero:hover {
    background: #7c3aed;
    border-color: #7c3aed;
}

.hero-software .btn-secondary-hero {
    border-color: #c4b5fd;
    color: #c4b5fd;
}

.hero-software .btn-secondary-hero:hover {
    background: #c4b5fd;
    color: #5b21b6;
}

.hero-cloud .btn-hero {
    background: #0284c7;
    border-color: #0284c7;
}

.hero-cloud .btn-hero:hover {
    background: #0369a1;
    border-color: #0369a1;
}

.hero-cloud .btn-secondary-hero {
    border-color: #7dd3fc;
    color: #7dd3fc;
}

.hero-cloud .btn-secondary-hero:hover {
    background: #7dd3fc;
    color: #0c4a6e;
}

.hero-services .btn-hero {
    background: #4b5563;
    border-color: #4b5563;
}

.hero-services .btn-hero:hover {
    background: #374151;
    border-color: #374151;
}

.hero-services .btn-secondary-hero {
    border-color: #d1d5db;
    color: #d1d5db;
}

.hero-services .btn-secondary-hero:hover {
    background: #d1d5db;
    color: #1f2937;
}

.hero h1 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero .lead {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-highlight {
    background: rgba(255, 255, 255, 0.15);
    padding: 1.5rem;
    border-radius: 12px;
    margin: 2rem 0;
    border-left: 4px solid var(--accent);
}

/* Section Styling */
.section {
    padding: 4rem 0;
}

/* Service Features Listen */
.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    padding: 0.3rem 0;
    color: var(--primary-light);
}

.service-features li:before {
    content: "✓";
    color: var(--success);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Allgemeine Listen mit Checkmarks */
ul.list-unstyled:not(.control-list):not(.provider-features) {
    list-style: none;
    padding: 0;
}

ul.list-unstyled:not(.control-list):not(.provider-features) li {
    padding: 0.3rem 0;
    color: var(--primary-light);
    position: relative;
    padding-left: 1.5rem;
}

ul.list-unstyled:not(.control-list):not(.provider-features) li:before {
    content: "✓";
    color: var(--accent);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.section-alt {
    background: var(--light);
}

.section h2 {
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    color: var(--primary);
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 600;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--primary);
    margin-bottom: 1rem;
}

/* Service Cards */
.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    margin-bottom: 2rem;
    transition: all 0.2s ease;
    height: 100%;
}

.service-card:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card p {
    color: var(--primary-light);
    margin-bottom: 1rem;
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.service-card li {
    padding: 0.5rem 0;
    text-align: left;
    position: relative;
    padding-left: 1.5rem;
}

.service-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.service-card li:hover {
    color: var(--accent);
}

/* Process Steps */
.process-step {
    text-align: center;
    margin-bottom: 2rem;
}

.step-number {
    background: var(--accent);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 auto 1rem;
    font-size: 1.2rem;
}

.process-step h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.process-step p {
    color: var(--primary-light);
    font-size: 0.95rem;
}

/* Solution Steps */
.solution-step {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    text-align: left;
    border-top: 4px solid var(--accent);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.solution-step-number {
    background: var(--accent);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
}

.solution-step h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.solution-step .list-unstyled {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Problem Cards */
.problem-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
    border-left: 4px solid var(--accent);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.problem-card:hover {
    transform: translateY(-5px);
}

.problem-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.problem-card p {
    flex-grow: 1;
}

/* Examples Cards - Typische Beispiele aus der Praxis */
.example-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    border-top: 4px solid var(--accent);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.example-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.example-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    text-align: center;
}

.example-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    text-align: center;
    font-weight: 600;
}

.example-card .challenge {
    background: #fef3c7;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    border-left: 3px solid var(--warning);
}

.example-card .challenge h4 {
    color: #92400e;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.example-card .challenge p {
    color: #a16207;
    margin: 0;
    font-size: 0.95rem;
}

.example-card .solution {
    background: #d1fae5;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    border-left: 3px solid var(--success);
}

.example-card .solution h4 {
    color: #065f46;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.example-card .solution p {
    color: #047857;
    margin: 0;
    font-size: 0.95rem;
}

.example-card .result {
    background: #dbeafe;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    border-left: 3px solid var(--accent);
}

.example-card .result h4 {
    color: #1e3a8a;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.example-card .result p {
    color: #1e40af;
    margin: 0;
    font-size: 0.95rem;
}

/* Benefits */
.benefit-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    height: 100%;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.benefit-icon {
    font-size: 3.5rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    text-align: center;
    display: block;
}

.benefit-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    text-align: center;
}

/* Cloud specific process steps */
.process-step {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    text-align: center;
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
    position: relative;
    height: 100%;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.process-step:hover {
    transform: translateY(-5px);
}

.process-step::after {
    content: "→";
    position: absolute;
    right: -2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: var(--primary);
    font-weight: bold;
}

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

/* Control Cards */
.control-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    text-align: center;
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.control-card:hover {
    transform: translateY(-5px);
}

.control-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
    color: var(--accent);
}

.control-icon.you { color: var(--accent); }
.control-icon.us { color: var(--accent); }

.control-card h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
}

.control-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.control-list li {
    padding: 0.5rem 0;
    text-align: left;
    position: relative;
}

.control-list .check {
    color: var(--accent);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Provider Cards */
.provider-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    border-top: 3px solid var(--primary);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.provider-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.provider-logo {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.provider-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.provider-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.provider-features {
    list-style: none;
    padding: 0;
}

.provider-features li {
    padding: 0.3rem 0;
    color: var(--primary-light);
}

.provider-features li:hover {
    color: var(--accent);
}

/* Trust Section */
.trust-banner {
    background: linear-gradient(45deg, var(--accent) 0%, var(--primary) 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
    margin: 3rem 0;
    border-radius: 16px;
}

.trust-banner h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.trust-points {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.trust-point {
    flex: 1;
    min-width: 200px;
    padding: 1rem;
}

.trust-point i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* FAQ */
.faq-item {
    background: var(--white);
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    padding: 1rem 1.5rem;
    background: var(--light);
    font-weight: 500;
    color: var(--primary);
    cursor: pointer;
    transition: background 0.2s ease;
}

.faq-question:hover {
    background: #f3f4f6;
}

.faq-answer {
    padding: 1rem 1.5rem;
    color: var(--primary-light);
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* About/Profile Section */
.about-section {
    background: var(--primary);
    color: white;
    padding: 5rem 0;
}

.profile-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 2rem;
    border: 4px solid rgba(255, 255, 255, 0.2);
}

.about-section h2 {
    color: white;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    text-align: left;
}

.about-section .lead {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.about-section p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

/* Contact Section */
.contact-section {
    background: var(--primary);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.contact-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.contact-methods {
    display: flex;
    justify-content: left;
    gap: 2rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.contact-method {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    min-width: 80px;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-method:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.contact-method i {
    font-size: 2.5rem;
    margin: 0;
    display: block;
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--secondary);
    text-align: center;
    padding: 2rem 0;
}

.footer a {
    color: var(--accent);
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* ROI Calculator */
.roi-calculator {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
}

.roi-calculator h3 {
    color: var(--primary);
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

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

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

.form-control, .form-select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s ease;
    background: white;
}

.form-control:focus, .form-select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.help-text {
    font-size: 0.85rem;
    color: var(--primary-light);
    margin-top: 0.25rem;
    font-style: italic;
}

.roi-results {
    background: var(--accent);
    color: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
    text-align: center;
}

.roi-results h4 {
    margin-bottom: 1rem;
}

.roi-highlight {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 1rem 0;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Fade in animation */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 3rem 0;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .contact-methods {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-method {
        max-width: 300px;
        margin: 0.5rem 0;
    }
    
    .btn-outline {
        margin-left: 0;
        margin-top: 1rem;
    }
    
    .dropdown-item {
        display: block;
        margin: 0.2rem 0;
    }
    
    .dropdown-item.active {
        color: var(--primary);
        font-weight: 700;
    }
    
    .control-card, .process-step, .benefit-card {
        padding: 1.5rem;
    }
    
    .process-step::after {
        display: none;
    }
    
    .cta-button {
        display: block;
        margin: 1rem auto;
    }
}

@media (max-width: 480px) {
    .control-card, .process-step, .benefit-card {
        padding: 1rem;
    }
}

/* Accessibility improvements */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Blog Section */
.card-img-top {
    height: 200px;
    object-fit: cover;
    object-position: center;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}