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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

/* Header & Navigation */
header {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    border-radius: 8px;
    margin-top: 0;
    padding-top: 0.5rem;
    overflow: hidden;
}

.dropdown:hover .dropdown-content,
.dropdown-content:hover {
    display: block;
}

.dropdown::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    right: 0;
    height: 0.5rem;
}

.dropdown-content a {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: 0;
}

.dropdown-content a:hover {
    background: rgba(102, 126, 234, 0.1);
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.hero {
    background: white;
    border-radius: 15px;
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.hero-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-text {
    text-align: left;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.hero p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.placeholder-image {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.hero-image img {
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.profile-image {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid white;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.4);
}

/* About Page Styles */
.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.about-card {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #667eea;
}

.about-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.about-card p {
    color: #666;
    line-height: 1.8;
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.skill-category {
    background: white;
    border: 2px solid #f0f0f0;
    padding: 2rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.skill-category:hover {
    border-color: #667eea;
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.2);
}

.skill-category h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.skill-category ul {
    list-style: none;
    padding: 0;
}

.skill-category li {
    color: #666;
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.skill-category li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 700px;
    margin: 0 auto;
}

.contact-card {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.2);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-card h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.contact-card p {
    color: #666;
}

/* LinkedIn Preview Card */
.linkedin-preview-card {
    background: white;
    border: 2px solid #e0e0e0;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.linkedin-preview-card:hover {
    border-color: #0A66C2;
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(10, 102, 194, 0.2);
}

.linkedin-header {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.linkedin-logo {
    filter: drop-shadow(0 4px 8px rgba(10, 102, 194, 0.3));
}

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

.linkedin-title {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.linkedin-location {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.linkedin-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #0A66C2;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.linkedin-button:hover {
    background: #004182;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(10, 102, 194, 0.3);
}

.linkedin-button svg {
    width: 20px;
    height: 20px;
}

/* Timeline / Berufliche Laufbahn */
.timeline-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline {
    position: relative;
    padding-left: 3rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 2rem;
}

.timeline-marker {
    position: absolute;
    left: -2.5rem;
    top: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: white;
    border: 4px solid #667eea;
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
    z-index: 1;
}

.timeline-marker.current {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    animation: pulse 2s infinite;
}

.timeline-marker.start {
    background: #f0f0f0;
    border-color: #999;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3), 0 0 0 0 rgba(102, 126, 234, 0.7);
    }
    50% {
        box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3), 0 0 0 10px rgba(102, 126, 234, 0);
    }
}

.timeline-content {
    background: white;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    border-color: #667eea;
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.2);
}

.timeline-date {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.timeline-content h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    margin-bottom: 0.3rem;
}

.timeline-content h4 {
    color: #667eea;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.timeline-content p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.timeline-tag {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Apps Grid */
.apps-section {
    background: white;
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    margin-bottom: 4rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid #f0f0f0;
}

.section-header h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: #2c3e50;
    font-weight: 700;
}

.section-header p {
    font-size: 1.15rem;
    color: #666;
    font-weight: 400;
    line-height: 1.6;
}

.apps-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #333;
    text-align: center;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.app-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 2rem;
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

.app-icon {
    font-size: 3rem;
    text-align: center;
}

.app-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.app-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.app-status {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-top: auto;
}

.coming-soon {
    opacity: 0.7;
    cursor: not-allowed;
}

.blog-card {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.blog-card:hover {
    box-shadow: 0 15px 40px rgba(40, 167, 69, 0.4);
}

.coming-soon:hover {
    transform: none;
}

/* Footer */
footer {
    background: rgba(255, 255, 255, 0.98);
    margin-top: 4rem;
    padding: 3rem 2rem 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #667eea;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid #ddd;
    text-align: center;
    color: #666;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 0.5rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-text {
        text-align: center;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .placeholder-image {
        width: 150px;
        height: 150px;
        font-size: 4rem;
    }

    .profile-image {
        width: 180px;
        height: 180px;
    }

    .apps-grid {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    main {
        margin: 2rem auto;
        padding: 0 1rem;
    }

    .apps-section {
        padding: 2rem 1.5rem;
        margin-bottom: 3rem;
    }

    .hero {
        padding: 2rem 1.5rem;
    }

    .timeline-container {
        padding: 1rem 0;
    }

    .timeline {
        padding-left: 2rem;
    }

    .timeline::before {
        left: 10px;
    }

    .timeline-marker {
        left: -1.75rem;
        width: 20px;
        height: 20px;
        border-width: 3px;
    }

    .timeline-item {
        padding-left: 1.5rem;
        margin-bottom: 2rem;
    }

    .timeline-content {
        padding: 1rem;
    }

    .timeline-content h3 {
        font-size: 1.2rem;
    }

    .timeline-content h4 {
        font-size: 1rem;
    }

    .timeline-content:hover {
        transform: translateX(5px);
    }
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    max-width: 900px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
}

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

.modal-content h3 {
    color: #333;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    border-bottom: 2px solid #667eea;
    padding-bottom: 0.5rem;
}

.modal-content h4 {
    color: #555;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

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

.modal-content ul {
    margin-bottom: 1rem;
    margin-left: 1.5rem;
}

.modal-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.modal-content a {
    color: #667eea;
    text-decoration: none;
}

.modal-content a:hover {
    text-decoration: underline;
}

/* Mobile Optimierung */
@media (max-width: 768px) {
    .modal-content {
        max-width: 95%;
        padding: 1.5rem;
        max-height: 90vh;
    }
    
    .modal-content h2 {
        font-size: 1.5rem;
    }
    
    .modal-content h3 {
        font-size: 1.2rem;
    }
}

.close-modal {
    position: sticky;
    top: 0;
    float: right;
    font-size: 2.5rem;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10;
    margin-bottom: -40px;
}

.close-modal:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    transform: rotate(90deg);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { 
        transform: translateY(-50px);
        opacity: 0;
    }
    to { 
        transform: translateY(0);
        opacity: 1;
    }
}

.notice {
    background: #f0f4ff;
    border-left: 4px solid #667eea;
    padding: 1rem;
    margin: 1.5rem 0;
    border-radius: 5px;
}

.notice strong {
    color: #667eea;
}