/* ============================================
   KONTROLLSYSTEM - Landing Page CSS
   ============================================ */

.ks-landing {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #1a1a1a;
    line-height: 1.6;
}

.ks-landing * {
    box-sizing: border-box;
}

.ks-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.ks-hero {
    background: linear-gradient(135deg, #112623 0%, #1a3a35 100%);
    color: #fff;
    padding: 80px 20px;
    text-align: center;
}

.ks-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.ks-hero h1 {
    font-size: 2.75rem;
    font-weight: 700;
    margin: 0 0 15px;
    letter-spacing: -0.5px;
}

.ks-hero-subtitle {
    font-size: 1.35rem;
    opacity: 0.9;
    margin: 0 0 20px;
}

.ks-hero-text {
    font-size: 1.1rem;
    opacity: 0.85;
    margin: 0 0 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.ks-btn-hero {
    display: inline-block;
    background: #fff;
    color: #112623;
    padding: 16px 40px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.ks-btn-hero:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Features Section */
.ks-features {
    padding: 80px 20px;
    background: #f8f9fa;
}

.ks-features h2 {
    text-align: center;
    font-size: 2rem;
    margin: 0 0 50px;
    color: #112623;
}

.ks-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.ks-feature {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.ks-feature-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.ks-feature h3 {
    font-size: 1.15rem;
    margin: 0 0 10px;
    color: #112623;
}

.ks-feature p {
    margin: 0;
    color: #666;
    font-size: 0.95rem;
}

/* Modules Section */
.ks-modules {
    padding: 80px 20px;
    background: #fff;
}

.ks-modules h2 {
    text-align: center;
    font-size: 2rem;
    margin: 0 0 10px;
    color: #112623;
}

.ks-section-subtitle {
    text-align: center;
    color: #666;
    margin: 0 0 50px;
    font-size: 1.1rem;
}

.ks-modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.ks-module-card {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 16px;
    padding: 35px;
    transition: all 0.2s;
}

.ks-module-card:hover {
    border-color: #112623;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.ks-module-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.ks-module-card h3 {
    font-size: 1.5rem;
    margin: 0 0 8px;
    color: #112623;
}

.ks-module-desc {
    color: #666;
    margin: 0 0 25px;
    font-size: 1rem;
}

.ks-module-features {
    list-style: none;
    padding: 0;
    margin: 0 0 25px;
}

.ks-module-features li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.95rem;
}

.ks-module-features li:last-child {
    border-bottom: none;
}

.ks-module-ideal {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #555;
}

/* Workflow Section */
.ks-workflow {
    padding: 80px 20px;
    background: #112623;
    color: #fff;
}

.ks-workflow h2 {
    text-align: center;
    font-size: 2rem;
    margin: 0 0 50px;
}

.ks-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.ks-step {
    text-align: center;
    flex: 1;
    min-width: 200px;
    max-width: 250px;
}

.ks-step-number {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 15px;
}

.ks-step h3 {
    font-size: 1.2rem;
    margin: 0 0 8px;
}

.ks-step p {
    margin: 0;
    opacity: 0.85;
    font-size: 0.95rem;
}

.ks-step-arrow {
    font-size: 2rem;
    opacity: 0.5;
}

@media (max-width: 768px) {
    .ks-step-arrow {
        display: none;
    }
}

/* Anfrage Section */
.ks-anfrage {
    padding: 80px 20px;
    background: #f8f9fa;
}

.ks-anfrage h2 {
    text-align: center;
    font-size: 2rem;
    margin: 0 0 10px;
    color: #112623;
}

.ks-anfrage-form {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.ks-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 600px) {
    .ks-form-row {
        grid-template-columns: 1fr;
    }
}

.ks-form-group {
    margin-bottom: 20px;
}

.ks-form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 6px;
    color: #333;
    font-size: 0.95rem;
}

.ks-form-group input,
.ks-form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s;
}

.ks-form-group input:focus,
.ks-form-group textarea:focus {
    outline: none;
    border-color: #112623;
}

.ks-checkbox-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.ks-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 12px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.2s;
}

.ks-checkbox:hover {
    border-color: #112623;
}

.ks-checkbox input {
    width: auto;
}

.ks-checkbox input:checked + span {
    font-weight: 600;
}

.ks-checkbox:has(input:checked) {
    border-color: #112623;
    background: #f0f8f7;
}

.ks-btn-submit {
    width: 100%;
    padding: 16px;
    background: #112623;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.ks-btn-submit:hover {
    background: #1a3a35;
}

.ks-form-hint {
    text-align: center;
    font-size: 0.85rem;
    color: #888;
    margin: 20px 0 0;
}

.ks-success-message {
    text-align: center;
    background: #fff;
    padding: 50px 40px;
    border-radius: 16px;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.ks-success-icon {
    width: 80px;
    height: 80px;
    background: #dcfce7;
    color: #166534;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 20px;
}

.ks-success-message h3 {
    color: #166534;
    margin: 0 0 10px;
}

.ks-success-message p {
    color: #666;
    margin: 0;
}

.ks-error-message {
    background: #fee2e2;
    color: #991b1b;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* Login Hint */
.ks-login-hint {
    padding: 30px 20px;
    background: #fff;
    text-align: center;
    border-top: 1px solid #eee;
}

.ks-login-hint p {
    margin: 0;
    color: #666;
}

.ks-login-hint a {
    color: #112623;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .ks-hero {
        padding: 60px 20px;
    }
    
    .ks-hero h1 {
        font-size: 2rem;
    }
    
    .ks-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .ks-features,
    .ks-modules,
    .ks-workflow,
    .ks-anfrage {
        padding: 60px 20px;
    }
    
    .ks-modules-grid {
        grid-template-columns: 1fr;
    }
    
    .ks-anfrage-form {
        padding: 30px 20px;
    }
}
