:root {
    --primary-color: #0057b7;
    --secondary-color: #e0f0ff;
    --accent-color: #00bcd4;
    --text-color: #333;
    --bg-color: #f9f9f9;
}

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

body {
    font-family: 'Segoe UI', sans-serif;
    background: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    animation: fadeIn 1s ease-in;
}

.header {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: #fff;
    padding: 1rem 1.5rem;
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: 1px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    gap: 1rem;
}

.header-logo {
    height: 40px;
    width: auto;
}

.header-title {
    line-height: 1;
}

.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
    text-align: center;
}

.container h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.container p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--accent-color);
    color: #fff;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.3s ease;
}

.btn:hover {
    background: #0097a7;
    transform: scale(1.05);
}

.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 3rem;
    gap: 2rem;
}

.feature-box {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    width: 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

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

.footer {
    background: var(--primary-color);
    color: #fff;
    text-align: center;
    padding: 1rem;
    margin-top: 4rem;
    font-size: 0.9rem;
}

/* Vorteile-Sektion */
.benefits {
    background: var(--secondary-color);
    padding: 3rem 1rem;
    text-align: center;
}

.benefits h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.benefit-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.benefit {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    width: 250px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.benefit:hover {
    transform: scale(1.05);
}

.benefit img {
    width: 50px;
    margin-bottom: 1rem;
}

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

.dashboard-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid var(--accent-color);
}

.user-details h3 {
    color: var(--primary-color);
    margin-bottom: 0.2rem;
}

.user-details p {
    color: var(--text-color);
    opacity: 0.8;
}

.login-form {
    margin-top: 2rem;
}

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

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

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(0, 188, 212, 0.2);
}

.iban-input {
    letter-spacing: 0.1em;
    font-family: monospace;
}

.pin-input {
    letter-spacing: 0.5em;
    text-align: center;
    font-family: monospace;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
}

.account-info {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

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

.hidden {
    display: none;
}

.error-message {
    color: #e74c3c;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .header {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem;
    }

    .header-logo {
        height: 30px;
    }

    .features,
    .benefit-list {
        flex-direction: column;
        align-items: center;
    }
}