:root {
    --sidebar-width: 260px;
    --bg-color: #f8f9fa;
    --card-bg: #ffffff;
    --text-color: #212529;
    --primary-color: #5070ff;
    --sidebar-bg: #212529;
}

[data-theme="dark"] { --bg-color: #121212; --card-bg: #1e1e1e; --text-color: #f8f9fa; --sidebar-bg: #000000; }
[data-theme="hacker"] { --bg-color: #0d0d0d; --card-bg: #1a1a1a; --text-color: #00ff00; --primary-color: #ff00dd; --sidebar-bg: #000000; }
[data-theme="magical girl"] { --bg-color: #fff0f5; --card-bg: #ffffff; --text-color: #d63384; --primary-color: #ff8be2; --sidebar-bg: #ffc6e1; }
[data-theme="dark magical girl"] { --bg-color: #1a0f24; --card-bg: #2d1b3d; --text-color: #f28dff; --primary-color: #9600aa; --sidebar-bg: #000000; }
[data-theme="sunset"] { --bg-color: #ffeadb; --card-bg: #ffffff; --text-color: #ff4e50; --primary-color: #fc913a; --sidebar-bg: #ff4e50; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: all 0.4s ease;
    margin: 0;
}

.sidebar {
    width: var(--sidebar-width);
    height: 100vh;
    position: fixed;
    left: 0; top: 0;
    background-color: var(--sidebar-bg);
    padding: 2rem 1rem;
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

.sidebar h4 { color: white; }

.main-content {
    margin-left: var(--sidebar-width);
    padding: 3rem;
    min-height: 100vh;
}

.card-box {
    background-color: var(--card-bg);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: none;
    animation: fadeIn 0.5s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.hobby-card {
    background-color: var(--card-bg);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.hobby-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color) !important;
}

.hobby-tags .badge {
    font-weight: 400;
    font-size: 0.8rem;
    padding: 5px 10px;
}

/* Icons in den Hobbies leicht animieren */
.hobby-card i {
    transition: transform 0.3s ease;
}

.hobby-card:hover i {
    transform: scale(1.1) rotate(5deg);
}

.text-primary { color: var(--primary-color) !important; }
.bg-primary { background-color: var(--primary-color) !important; }

/* Navigation */
.nav-link {
    color: #adb5bd;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
}
.nav-link.active, .nav-link:hover {
    background: var(--primary-color);
    color: white !important;
}

/* Profil & Progress */
.profilbild { width: 180px; height: 180px; border-radius: 50%; object-fit: cover; border: 5px solid var(--primary-color); }
.progress { height: 10px; background-color: rgba(0, 0, 0, 0.1); border-radius: 10px; }

/* Soft Skills */
.badge-soft {
    background: var(--card-bg);
    color: var(--text-color);
    border: 1px solid var(--primary-color);
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    transition: 0.3s;
}
.badge-soft:hover { background: var(--primary-color); color: white; }

/* Timeline */
.timeline { position: relative; padding-left: 3rem; }
.timeline::before { content: ''; position: absolute; left: 7px; top: 5px; bottom: 5px; width: 2px; background: var(--primary-color); opacity: 0.3; }
.timeline-item { position: relative; margin-bottom: 2rem; }
.timeline-item::before { content: ''; position: absolute; left: -3rem; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: var(--primary-color); border: 3px solid var(--card-bg); z-index: 1; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 768px) {
    .sidebar { width: 100%; height: auto; position: relative; }
    .main-content { margin-left: 0; padding: 1.5rem; }
}