/* Reset und Basis-Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    box-shadow: 0 0 40px rgba(0,0,0,0.2);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 40px;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.subtitle {
    font-size: 1.5rem;
    margin-bottom: 20px;
    opacity: 0.95;
}

.description {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

.cta-button {
    background: white;
    color: #667eea;
    border: none;
    padding: 18px 50px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.secondary-button {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.secondary-button:hover {
    background: rgba(255, 255, 255, 0.2);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Wie es funktioniert */
.how-it-works {
    padding: 80px 40px;
    background: #f8f9fa;
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #333;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.step {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
}

.step p {
    color: #666;
    font-size: 1rem;
}

/* Vorteile */
.benefits {
    padding: 80px 40px;
    background: white;
}

.benefits h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #333;
}

.benefit-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.card {
    padding: 40px 30px;
    background: #f8f9fa;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.card:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-5px);
}

.icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.card p {
    font-size: 1rem;
    opacity: 0.9;
}

/* Final CTA */
.final-cta {
    padding: 80px 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.final-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.final-cta p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

/* Story Section */
.story-section {
    padding: 80px 40px;
    background: #f8f9fa;
}

.story-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #333;
}

.story-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.story-card {
    background: white;
    padding: 24px;
    border-radius: 14px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.story-card h3 {
    margin-bottom: 12px;
    color: #333;
}

.story-card p {
    color: #666;
}

/* Forms & Dashboard */
.hero-compact {
    padding: 50px 40px;
}

.form-section {
    padding: 60px 40px;
    background: #f8f9fa;
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.form-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.form-card h2 {
    margin-bottom: 20px;
}

.form-card label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-card input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #dfe3e8;
    margin-bottom: 16px;
    font-size: 1rem;
}

.form-card select {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #dfe3e8;
    margin-bottom: 16px;
    font-size: 1rem;
    background: white;
    cursor: pointer;
}

.language-select {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #dfe3e8;
    margin-bottom: 16px;
    font-size: 1rem;
    background: white;
    cursor: pointer;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
}

.primary-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}

.form-footer {
    margin-top: 15px;
}

.form-footer a {
    color: #667eea;
    text-decoration: none;
}

.alert {
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 16px;
    font-weight: 600;
}

.alert.error {
    background: #ffe4e6;
    color: #9f1239;
}

.alert.success {
    background: #dcfce7;
    color: #166534;
}

.dashboard-section {
    padding: 40px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.stats-card {
    background: white;
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    margin-top: 10px;
}

.table-section {
    padding: 40px;
}

.table-wrapper {
    overflow-x: auto;
    background: white;
    border-radius: 14px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 14px 16px;
    border-bottom: 1px solid #eef2f7;
    text-align: left;
}

th {
    background: #f8fafc;
    font-weight: 700;
}

.job-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 12px 0 24px;
}

.chip {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    background: #eef2ff;
    color: #3730a3;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.chip:hover {
    background: #c7d2fe;
}

.chip.active {
    background: #667eea;
    color: white;
}

.link-button {
    color: #4f46e5;
    font-weight: 700;
    text-decoration: none;
}

.link-button:hover {
    text-decoration: underline;
}

.job-card {
    background: white;
    padding: 24px;
    border-radius: 14px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.job-company {
    color: #667eea;
    font-weight: 600;
    margin-bottom: 10px;
}

.job-description {
    margin-bottom: 12px;
    color: #555;
}

.job-meta {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 12px;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: #e0e7ff;
    color: #3730a3;
    font-weight: 600;
}

.empty-state {
    text-align: center;
    color: #666;
}

.notification-section {
    padding: 0 40px;
}

/* Footer */
footer {
    background: #2d3748;
    color: white;
    text-align: center;
    padding: 30px;
}

.delete-button {
    background: #e53e3e;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
}

.delete-button:hover {
    background: #c53030;
}

.staff-button {
    display: inline-block;
    background: #667eea;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 10px;
}

/* ===========================================
   Responsive Design - Mobile Optimization
   =========================================== */
@media (max-width: 1024px) {
    .hero {
        padding: 60px 30px;
    }
    
    .how-it-works,
    .benefits,
    .final-cta,
    .story-section {
        padding: 60px 30px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 50px 20px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .description {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .cta-button {
        padding: 14px 35px;
        font-size: 1rem;
    }
    
    .secondary-button {
        padding: 12px 25px;
        font-size: 0.95rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .hero-actions a,
    .hero-actions button {
        width: 100%;
        max-width: 280px;
    }
    
    .how-it-works,
    .benefits,
    .final-cta,
    .story-section {
        padding: 50px 20px;
    }
    
    .how-it-works h2,
    .benefits h2,
    .final-cta h2,
    .story-section h2 {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }
    
    .steps, 
    .benefit-cards,
    .story-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .step,
    .card,
    .story-card {
        padding: 25px 20px;
    }
    
    .step h3,
    .card h3,
    .story-card h3 {
        font-size: 1.15rem;
    }
    
    .step p,
    .card p,
    .story-card p {
        font-size: 0.95rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .icon {
        font-size: 2.5rem;
    }
    
    /* Forms Mobile */
    .form-section {
        padding: 40px 20px;
        grid-template-columns: 1fr;
    }
    
    .form-card {
        padding: 25px 20px;
    }
    
    .form-card h2 {
        font-size: 1.5rem;
    }
    
    .form-card input {
        padding: 12px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .primary-button {
        width: 100%;
        padding: 14px 20px;
    }
    
    .form-footer {
        text-align: center;
    }
    
    .form-footer p {
        font-size: 0.9rem;
    }
    
    /* Dashboard Mobile */
    .dashboard-section {
        padding: 25px 15px;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stats-card {
        padding: 16px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    /* Tables Mobile */
    .table-section {
        padding: 25px 15px;
    }
    
    .table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    th, td {
        padding: 10px 12px;
        font-size: 0.9rem;
        white-space: nowrap;
    }
    
    /* Job Grid Mobile */
    .job-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .job-card {
        padding: 18px;
    }
    
    /* Filter Mobile */
    .filter-row {
        gap: 8px;
    }
    
    .chip {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
    
    /* Footer Mobile */
    footer {
        padding: 20px 15px;
        font-size: 0.9rem;
    }
    
    /* Final CTA Mobile */
    .final-cta h2 {
        font-size: 1.6rem;
    }
    
    .final-cta p {
        font-size: 1rem;
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 40px 16px;
    }
    
    .hero h1 {
        font-size: 1.6rem;
    }
    
    .subtitle {
        font-size: 1.05rem;
    }
    
    .description {
        font-size: 0.9rem;
    }
    
    .cta-button {
        padding: 12px 28px;
        font-size: 0.95rem;
    }
    
    .secondary-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .how-it-works,
    .benefits,
    .final-cta,
    .story-section {
        padding: 40px 16px;
    }
    
    .how-it-works h2,
    .benefits h2,
    .final-cta h2,
    .story-section h2 {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }
    
    .step,
    .card,
    .story-card {
        padding: 20px 16px;
    }
    
    .form-section {
        padding: 30px 16px;
    }
    
    .form-card {
        padding: 20px 16px;
    }
    
    .form-card h2 {
        font-size: 1.3rem;
    }
    
    .dashboard-section {
        padding: 20px 12px;
    }
    
    .table-section {
        padding: 20px 12px;
    }
    
    th, td {
        padding: 8px 10px;
        font-size: 0.85rem;
    }
    
    .badge {
        padding: 4px 10px;
        font-size: 0.8rem;
    }
    
    footer {
        padding: 16px 12px;
    }
}

