:root {
    --bg-body: #1a1a1a;
    --text-main: #f0f0f0;
    --text-muted: #a0a0a0;
    --primary: #00d4ff; 
    --accent: #ff0055;
    
    --container-width: 1100px;
    --header-height: 70px;
}

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

html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: 'Inter', system-ui, sans-serif;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

.main-header {
    height: var(--header-height);
    border-bottom: 1px solid #333;
    display: flex;
    align-items: center;
    background: rgba(26, 26, 26, 0.95);
    position: sticky;
    top: 0;
    backdrop-filter: blur(10px); 
    z-index: 100;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-header .logo {
    font-weight: 700;
    font-size: 1.2rem;
    color: white;
    text-decoration: none;
    letter-spacing: 1px;
}

.main-header .logo .dot { 
    color: var(--primary); 
}

.main-header .main-nav {
    display: flex;
    gap: 1.5rem;
}

.main-header .main-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.main-header .main-nav a:hover { 
    color: white; 
}
            
.main-header .main-nav a.active {
    color: var(--primary);
    font-weight: 500;
}

main {
    flex: 1; 
    padding: 3rem 0;
}

h1 { font-size: 2.5rem; margin-bottom: 1rem; line-height: 1.2; }
p { margin-bottom: 1.5rem; color: #ccc; }

.main-footer {
    border-top: 1px solid #333;
    padding: 2rem 0;
    margin-top: auto;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.main-footer .container {
    display: flex;
    justify-content: space-between;
}

.main-footer .footer-nav a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 1.5rem;
}

.main-footer .footer-nav a:hover { 
    color: var(--primary); 
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--primary);
    color: #000;
    border: 1px solid var(--primary);
}
.btn-primary:hover { background: #00b8e6; border-color: #00b8e6; }

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--text-muted);
}
.btn-outline:hover { border-color: var(--text-main); color: white; }

.page-intro {
    padding-top: 4rem;    
    padding-bottom: 3rem; 
    max-width: 800px;     
}

.page-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #d946ef; 
    font-weight: 700;
    line-height: 1.2;
}

.page-subtitle {
    font-size: 1.1rem;
    color: var(--text-main); 
    line-height: 1.6;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.project-card {
    background: #222; 
    border: 1px solid #333;
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between; 
    transition: transform 0.2s, border-color 0.2s;
}
.project-card:hover {
    transform: translateY(-5px); 
    border-color: var(--primary);
}

.project-card h3 {
    color: white;
    margin-bottom: 0.5rem;
}

.project-card p {
    font-size: 0.95rem;
    color: #bbb;
    margin-bottom: 1.5rem;
}

.project-card .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.project-card .tags .tag {
    font-size: 0.75rem;
    background: #333;
    color: var(--primary);
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-card .card-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: auto; 
}
.project-card .card-actions .btn {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
}

.inspiration-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

@media (min-width: 768px) {
    .inspiration-grid {
        grid-template-columns: 1fr 1fr;
        gap: 5rem;
    }
}

.section-title {
    color: var(--primary); 
    margin-bottom: 2rem;
    text-align: center;
    border-bottom: 1px solid #333;
    padding-bottom: 1rem;
}

.book-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 3px solid var(--primary);
}
.book-item h3 {
    font-size: 1.1rem;
    color: white;
    margin-bottom: 0.5rem;
}
.book-item .author {
    color: var(--text-muted);
    font-weight: normal;
    font-size: 0.9rem;
}
.book-item p {
    margin: 0;
    font-size: 0.95rem;
    color: #ccc;
    font-style: italic;
}

.cert-list {
    list-style: none;
    margin-bottom: 3rem;
}
.cert-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}
.cert-list li::before {
    content: "•";
    color: var(--primary);
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
    line-height: 1;
}

.download-box {
    text-align: center;
    background: #222;
    padding: 2rem;
    border-radius: 8px;
    border: 1px dashed #444;
}
.download-box p { margin-bottom: 1.5rem; }

.hero-section {
    padding: 6rem 0;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem; 
    line-height: 1.1;
    margin-bottom: 2rem;
    font-weight: 800; 
}

.text-gradient {
    background: linear-gradient(90deg, #d946ef, #fb7185, #ff8c42); 
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent; 
}

.hero-subtitle {
    font-size: 1.4rem;
    color: #e0e0e0;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.hero-text {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 750px;
    margin: 0 auto 3rem auto;
}

.topic-pills {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.pill {
    background: rgba(255, 255, 255, 0.05); 
    border: 1px solid rgba(168, 85, 247, 0.3); 
    padding: 0.8rem 1.5rem;
    border-radius: 50px; 
    font-size: 1rem;
    color: #eee;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: transform 0.2s, border-color 0.2s, background 0.2s;
    cursor: default; 
}
.pill .icon {
    font-size: 1.2rem;
}
.pill .pill-muted {
    opacity: 0.6;
    font-size: 0.9em;
}
.pill:hover {
    background: rgba(168, 85, 247, 0.15);
    border-color: rgba(168, 85, 247, 0.8);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .topic-pills {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    .pill {
        width: 100%;
        justify-content: center;
        max-width: 300px;
    }
}

.profile-container {
    display: grid;
    grid-template-columns: 1fr; 
    gap: 3rem;
    padding: 4rem 0;
    align-items: start;
}
@media (min-width: 992px) {
    .profile-container {
        grid-template-columns: 1fr 1fr; 
        gap: 5rem;
    }
}
.profile-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #d946ef; 
    font-weight: 700;
}
.profile-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #e2e8f0; 
}

.skills-card {
    background-color: rgba(255, 255, 255, 0.05); 
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}
.skills-title {
    color: #d946ef; 
    margin-bottom: 2rem;
    font-size: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 1rem;
}
.skills-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
@media (min-width: 768px) {
    .skills-grid {
        grid-template-columns: 1fr 1fr; 
    }
}
.skill-category h3 {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 0.5rem;
    font-weight: 600;
}
.skill-category p {
    font-size: 0.95rem;
    color: #94a3b8; 
    line-height: 1.5;
    margin: 0;
}

.gallery-teaser-image {
    max-width: 800px; 
    margin: 0 auto 3rem auto; 
}
.gallery-teaser-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
    display: block; 
}

.imprint-box {
    background: rgba(255,255,255,0.05);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
}
.imprint-box h2 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: white;
}
.imprint-box p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}
.imprint-box .responsible-person {
    margin-bottom: 0;
}
.imprint-box .legal-notice {
    margin-top: 1.5rem;
    margin-bottom: 0;
}
.imprint-box a {
    color: var(--primary);
}


.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger-line {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-main);
    margin: 5px 0;
    transition: all 0.3s ease-in-out;
}

@media (max-width: 768px) {
    
    .mobile-nav-toggle {
        display: block !important;
    }

    .main-header .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: var(--bg-body);
        
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        z-index: 1000;
    }

    .main-header .main-nav a {
        font-size: 1.5rem;
        display: block;
    }

    body.mobile-menu-open .main-header .main-nav {
        transform: translateX(0) !important;
    }
    
    body.mobile-menu-open .mobile-nav-toggle .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }
    
    body.mobile-menu-open .mobile-nav-toggle .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    body.mobile-menu-open .mobile-nav-toggle .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    body.mobile-menu-open {
        overflow: hidden;
    }
}
