/* Allgemeine Stile */
body {
    font-family: 'Poppins', Arial, sans-serif;
    font-weight: 400;
    text-align: center;
    margin: 0;
    padding: 0;
    background-color: #F5F7FA;
    color: #333;
    line-height: 1.6;
}

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

/* App-Container */
.app-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: #F5F7FA;
    min-height: 100vh;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    background: #FFFFFF;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.header h1 {
    font-size: 26px;
    font-weight: 600;
    color: #333;
}

/* Menu Toggle */
.menu-toggle {
    background: none;
    border: none;
    font-size: 24px;
    color: #333;
    cursor: pointer;
}

.menu-toggle:hover {
    color: #4CAF50;
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100%;
    background: #FFFFFF;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
    transition: left 0.3s ease;
    z-index: 1000;
}

.sidebar.active {
    left: 0;
}

.close-sidebar {
    background: none;
    border: none;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 15px;
}

.close-sidebar:hover {
    color: #4CAF50;
}

.sidebar ul {
    list-style: none;
    padding: 20px;
    margin: 60px 0 0 0;
}

.sidebar ul li {
    margin: 15px 0;
}

.sidebar ul li a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: 400;
    padding: 10px 15px;
    display: block;
    border-radius: 6px;
    transition: background-color 0.3s;
}

.sidebar ul li a:hover {
    background-color: #4CAF50;
    color: #FFFFFF;
}

/* User Profile */
.user-profile {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    background-color: #eee;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.user-profile span {
    line-height: 40px;
    font-weight: 500;
}

/* Gradient Hintergrund für Hero */
.gradient-bg {
    background: linear-gradient(135deg, #4CAF50 0%, #81C784 100%);
    color: white;
    padding: 60px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    animation: fadeIn 1s ease-in;
}

/* Fade-In Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Allgemeine Section */
.section {
    margin: 60px 0;
    background: #FFFFFF;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.5s ease-in;
}

.section h3 {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 15px;
    color: #333;
}

.section p {
    font-size: 16px;
    font-weight: 300;
    color: #555;
    line-height: 1.6;
}

/* Hero Section */
.hero {
    margin: 40px 0;
}

.hero h2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero p {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 18px;
    font-weight: 300;
}

.cta-button {
    display: inline-block;
    padding: 16px 32px;
    background-color: #FFFFFF;
    color: #4CAF50;
    border: 2px solid #4CAF50;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.cta-button:hover {
    background-color: #4CAF50;
    color: #FFFFFF;
}

/* Problem & Lösung */
.problem-solution ul {
    list-style: none;
    padding: 0;
    max-width: 500px;
    margin: 20px auto;
}

.problem-solution li {
    font-size: 16px;
    font-weight: 300;
    color: #555;
    margin: 15px 0;
    text-align: left;
    position: relative;
    padding-left: 30px;
}

.problem-solution li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-size: 20px;
}

/* Beispiele */
.example-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.example-card {
    background: #F9FAFB;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
}

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

.example-card .icon {
    font-size: 40px;
    color: #4CAF50;
    margin-bottom: 10px;
}

.example-card h4 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 10px;
}

.example-card p {
    font-weight: 300;
}

/* Testimonials */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.testimonial-card {
    background: #F9FAFB;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.testimonial-card p {
    font-style: italic;
    font-weight: 300;
    color: #555;
}

.testimonial-card strong {
    display: block;
    margin-top: 10px;
    color: #333;
    font-weight: 400;
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px auto;
    max-width: 600px;
}

.pricing-card {
    background: #F9FAFB;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.pricing-card.highlight {
    border: 2px solid #4CAF50;
    transform: scale(1.05);
}

.pricing-card h4 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 10px;
}

.pricing-card .price {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.pricing-card button {
    padding: 12px 24px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    width: 100%;
    transition: background-color 0.3s;
}

.pricing-card button:hover {
    background-color: #45a049;
}

.no-risk {
    font-size: 14px;
    font-weight: 300;
    color: #888;
    margin-top: 20px;
}

.pricing {
    transition: opacity 0.3s ease-in;
}

/* CTA Login */
.google-signin-container {
    margin-top: 20px;
    min-height: 50px;
    display: block;
}

#google-signin-button {
    display: block !important;
}

#google-signin-button > div {
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    max-width: 300px;
}

.login-hint {
    font-size: 16px;
    font-weight: 300;
    color: #4CAF50;
}

.error {
    font-size: 14px;
    font-weight: 300;
    color: #D32F2F;
}

.error a {
    color: #D32F2F;
    text-decoration: underline;
}

.error a:hover {
    color: #B71C1C;
}

/* FAQs */
.faq-item {
    max-width: 600px;
    margin: 20px auto;
    text-align: left;
}

.faq-item h4 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 10px;
}

/* Spracheauswahl */
.language-section {
    margin: 30px 0;
    padding: 20px;
    background: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.language-section h3 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 15px;
    color: #333;
}

.language-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    justify-items: center;
}

.language-button {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background: #F9FAFB;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 400;
    transition: background-color 0.3s;
}

.language-button img {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

.language-button.selected {
    background-color: #4CAF50;
    color: white;
    border-color: #4CAF50;
}

.language-button:hover {
    background-color: #E0E0E0;
}

/* Upload-Section */
.upload-section {
    margin: 30px 0;
    text-align: center;
}

.upload-section .cta-button {
    padding: 14px 28px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

.upload-section .cta-button:hover {
    background-color: #45a049;
}

/* Image Preview */
.image-preview {
    margin: 30px auto;
    max-width: 600px;
    text-align: center;
}

.image-preview img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Loading Spinner */
.loading-spinner {
    display: none;
    width: 40px;
    height: 40px;
    border: 5px solid #ccc;
    border-top: 5px solid #4CAF50;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

#loading-text {
    display: none;
    font-style: italic;
    font-weight: 300;
    color: #555;
    text-align: center;
    margin-bottom: 20px;
}

/* Result Section */
.result-section {
    margin: 30px 0;
    padding: 20px;
    background: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
    font-weight: 300;
}

/* Question Section */
.question-section {
    margin: 30px 0;
    padding: 20px;
    background: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.question-section h3 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 15px;
    color: #333;
}

.question-section textarea {
    width: 100%;
    max-width: 600px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 300;
    resize: vertical;
    margin-bottom: 15px;
}

.question-section .cta-button {
    padding: 12px 24px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s;
}

.question-section .cta-button:hover {
    background-color: #45a049;
}

#question-loading {
    font-style: italic;
    font-weight: 300;
    color: #555;
    margin-top: 10px;
}

#question-response {
    margin-top: 20px;
    padding: 15px;
    background: #F9FAFB;
    border-radius: 6px;
    text-align: left;
    font-weight: 300;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.modal-content {
    background: white;
    max-width: 500px;
    margin: 10vh auto;
    padding: 20px;
    border-radius: 10px;
    position: relative;
    text-align: left;
}

.modal-content h2 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 15px;
}

.modal-content p {
    font-size: 16px;
    font-weight: 300;
    color: #555;
    margin-bottom: 20px;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 18px;
    background: none;
    border: none;
    cursor: pointer;
}

.secondary-button {
    padding: 10px 20px;
    background-color: #ddd;
    color: #333;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 400;
    margin-top: 10px;
}

.secondary-button:hover {
    background-color: #ccc;
}

/* Footer */
.footer {
    margin-top: 40px;
    text-align: center;
    font-size: 14px;
    padding: 20px;
    background: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.footer a {
    color: #888;
    text-decoration: underline;
    font-weight: 300;
}

.footer a:hover {
    color: #333;
}

/* Animationen */
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 600px) {
    .hero h2 {
        font-size: 26px;
    }

    .section h3 {
        font-size: 20px;
    }

    .cta-button {
        padding: 12px 24px;
        font-size: 16px;
    }

    .pricing-card button {
        padding: 10px 20px;
        font-size: 14px;
    }

    .gradient-bg {
        padding: 40px 15px;
    }

    .language-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }

    .question-section textarea {
        max-width: 100%;
    }

    .sidebar {
        width: 200px;
        left: -200px;
    }
}