:root {
    --primary: #7b4b94;
    --accent: #f9b5d0;
    --bg-soft: #fdf6f9;
    --bg-welcome: #f3e8f9;
    --btn-primary: #7b4b94;
    --btn-secondary: #a48bbf;
    --card-radius: 1rem;
    --text-color: #333;
    --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.profil-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem;
    font-family: 'Segoe UI', sans-serif;
    color: var(--text-color);
}

.welcome-card {
    background: var(--bg-welcome);
    border-radius: var(--card-radius);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.welcome-card h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.welcome-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 1.5rem;
}

.welcome-left, .welcome-right {
    flex: 1 1 45%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.profil-btn {
    display: inline-block;
    text-decoration: none;
    text-align: center;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.profil-btn.highlight {
    background: var(--btn-primary);
    color: #fff;
}

.profil-btn.secondary {
    background: var(--btn-secondary);
    color: #fff;
}

.profil-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.info-card {
    background: #fff;
    border-left: 5px solid var(--primary);
    padding: 1.5rem;
    border-radius: var(--card-radius);
    margin-bottom: 2rem;
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.info-card::before {
    content: '✨';
    font-size: 2rem;
    line-height: 1;
}

.accordion-header {
    background: #fff;
    border-radius: var(--card-radius);
    padding: 1rem;
    margin-top: 1rem;
    box-shadow: var(--shadow-soft);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.accordion-header:hover {
    background: #f8f2fc;
}

.accordion-content {
    max-height: auto;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.accordion-content.active {
    max-height: 600px;
    overflow-y: auto;
    padding: 1rem 0;
}

.accordion-content::-webkit-scrollbar {
    width: 8px;
}

.accordion-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.accordion-content::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.accordion-content::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.profil-chart-container {
    margin: 1rem 0;
    padding: 1rem;
    background: #fff;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-soft);
    min-height: 300px;
}

.interpretation {
    margin-top: 1rem;
    padding: 1rem;
    background: #fff;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-soft);
}

.newsletter-card {
    background: var(--bg-welcome);
    padding: 2rem;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-soft);
    margin-top: 3rem;
    text-align: center;
}

.newsletter-card h6 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.newsletter-card form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.newsletter-card input[type=email] {
    padding: 0.75rem;
    width: 100%;
    max-width: 400px;
    border: 1px solid #ccc;
    border-radius: 0.5rem;
}

.newsletter-card button {
    padding: 0.75rem 2rem;
    background: var(--btn-primary);
    color: #fff;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-card button:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* Responsive */
@media (max-width: 768px) {
    .welcome-grid {
        flex-direction: column;
    }
    .welcome-left, .welcome-right {
        flex: 1 1 100%;
    }
}

.login-links {
    margin-top: 1.5em; /* oder mehr nach Geschmack */
}

.password-setup-notice {
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    padding: 15px;
    margin-top: 10px;
    border-radius: 6px;
    color: #856404;
}
.password-setup-notice a {
    display: inline-block;
    margin-top: 10px;
    background-color: #ffc107;
    color: #000;
    padding: 8px 12px;
    border-radius: 4px;
    text-decoration: none;
}

.pp-message-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 400px;
}

.pp-message {
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    animation: slideIn 0.3s ease-out;
}

.pp-message-error {
    background-color: #ffebee;
    color: #c62828;
    border-left: 4px solid #c62828;
}

.pp-message-success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border-left: 4px solid #2e7d32;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}
