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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    background: linear-gradient(to bottom right, #667eea 0%, #a78bfa 50%, #c4b5fd 100%);
    color: white;
    padding: 1.5rem 2rem;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0;
    letter-spacing: -0.02em;
}

header h1 .logo-link {
    color: white;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

header h1 .logo-link:hover {
    opacity: 0.9;
}

.hero-text {
    background-color: #f5f5f5;
    padding: 3rem 2rem;
    text-align: center;
}

.hero-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 1.5rem 0;
}

.hero-text .hero-description {
    font-size: 1.25rem;
    font-weight: 400;
    color: #555;
    max-width: 800px;
    margin: 0 auto 2rem auto;
    line-height: 1.7;
}

.hero-text .category-heading {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin: 2rem auto 2rem auto;
}

.categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    max-width: 1000px;
    margin: 2rem auto 0 auto;
    padding: 0 1rem;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    width: 140px;
    height: 140px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.category-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.category-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 0.75rem;
}

.category-name {
    font-size: 0.95rem;
    font-weight: 500;
    color: #333;
    text-align: center;
    margin: 0;
}

.how-it-works {
    background-color: #f5f5f5;
    padding: 4rem 2rem;
    text-align: center;
}

.how-it-works-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 3rem 0;
}

.steps {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.step {
    text-align: center;
    width: 100%;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: transparent;
    border: 2px solid #667eea;
    color: #667eea;
    font-size: 0.95rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-description {
    font-size: 1rem;
    font-weight: 400;
    color: #555;
    line-height: 1.6;
    margin: 0;
    text-align: center;
}

main {
    flex: 1;
    padding: 3rem 2rem;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

footer {
    background-color: #2c3e50;
    color: white;
    padding: 1.5rem 2rem;
    margin-top: auto;
}

footer nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

footer nav a {
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    transition: opacity 0.2s ease;
    padding: 0.5rem;
}

footer nav a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Styling für Unterseiten */
.page-content {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    min-height: 400px;
}

.page-content h2 {
    color: #667eea;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.page-content h3.sub-headline {
    color: #333;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.page-content p {
    margin-bottom: 1rem;
    color: #555;
    line-height: 1.8;
}

.page-content .email-link {
    color: #667eea;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.page-content .email-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.credits-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.credit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.credit-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
}

.credit-item p {
    margin: 0;
    color: #555;
}

.credit-link {
    color: #667eea;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.credit-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        padding: 1rem 1rem;
    }

    header h1 {
        font-size: 1.5rem;
    }

    .hero-text {
        padding: 2rem 1rem;
    }

    .hero-text h2 {
        font-size: 1.75rem;
    }

    .hero-text .hero-description {
        font-size: 1rem;
    }

    .hero-text .category-heading {
        font-size: 1.25rem;
        margin: 1.5rem auto 1.5rem auto;
    }

    .categories {
        gap: 1rem;
        padding: 0 0.5rem;
    }

    .category-item {
        width: 110px;
        height: 110px;
        padding: 1rem;
    }

    .category-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 0.5rem;
    }

    .category-name {
        font-size: 0.85rem;
    }

    .how-it-works {
        padding: 3rem 1rem;
    }

    .how-it-works-title {
        font-size: 2rem;
        margin: 0 0 2rem 0;
    }

    .steps {
        gap: 1.5rem;
    }

    .step-title {
        font-size: 1.1rem;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .step-number {
        width: 28px;
        height: 28px;
        font-size: 0.85rem;
        border-width: 2px;
    }

    .step-description {
        font-size: 0.95rem;
    }

    main {
        padding: 2rem 1rem;
    }

    footer nav {
        gap: 1rem;
        flex-direction: column;
        text-align: center;
    }

    footer nav a {
        font-size: 0.9rem;
    }
}

