:root {
    /* Clean Corporate Colors */
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-dark: #0f172a;
    
    --text-main: #1e293b;
    --text-light: #64748b;
    
    --primary: #0369a1;     /* Ocean Blue */
    --primary-hover: #075985;
    --accent: #38bdf8;
    
    --shadow: 0 10px 30px -10px rgba(0,0,0,0.08);
    --border: #e2e8f0;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* Navigation */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

nav { display: flex; justify-content: space-between; align-items: center; }

.logo { font-size: 1.5rem; font-weight: 800; text-decoration: none; color: var(--text-main); letter-spacing: -0.5px; }
.logo span { color: var(--primary); }

.nav-links { display: flex; list-style: none; gap: 30px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--text-main); font-weight: 500; transition: 0.2s; }
.nav-links a:hover { color: var(--primary); }

.nav-btn {
    background: var(--primary); color: white !important;
    padding: 10px 20px; border-radius: 6px; transition: 0.3s;
}
.nav-btn:hover { background: var(--primary-hover); }

.mobile-menu-btn { display: none; cursor: pointer; flex-direction: column; gap: 6px; }
.bar { width: 25px; height: 3px; background-color: var(--text-main); border-radius: 2px; }

/* Hero Section (Grid Layout) */
#hero {
    padding: 120px 0 100px;
    background: linear-gradient(to bottom, var(--bg-white), var(--bg-light));
    overflow: hidden;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr; /* Text breit, Bild schmaler */
    gap: 60px;
    align-items: center;
}

.badge {
    display: inline-block; background: #e0f2fe; color: var(--primary);
    padding: 6px 14px; border-radius: 20px; font-size: 0.85rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 24px;
}

h1 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 24px; color: var(--text-main); font-weight: 800; }
.highlight { color: var(--primary); }
.subtitle { font-size: 1.25rem; color: var(--text-light); margin-bottom: 40px; line-height: 1.6; }

.hero-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.btn-primary {
    background: var(--primary); color: white; padding: 15px 35px; border-radius: 8px;
    text-decoration: none; font-weight: 600; border: none; transition: 0.3s;
}
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 10px 20px rgba(3, 105, 161, 0.2); }

.btn-linkedin {
    color: var(--text-main); text-decoration: none; font-weight: 600; padding: 14px 24px;
    border: 1px solid var(--border); border-radius: 8px; transition: 0.3s; background: white;
}
.btn-linkedin:hover { border-color: #0077b5; color: #0077b5; background: #f0f9ff; }

/* Hero Image */
.hero-image-container { position: relative; display: flex; justify-content: center; }
.hero-img {
    max-width: 100%; height: auto; border-radius: 20px;
    box-shadow: 20px 20px 60px rgba(0,0,0,0.1); border: 1px solid rgba(255,255,255,0.5);
    transform: rotate(2deg); transition: transform 0.3s;
}
.hero-img:hover { transform: rotate(0deg) scale(1.02); }

/* General Sections */
section { padding: 100px 0; }
.section-header { margin-bottom: 60px; max-width: 700px; }
.section-header h2 { font-size: 2.2rem; margin-bottom: 10px; }
.section-header p { font-size: 1.2rem; color: var(--text-light); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }

/* Cards */
.card {
    background: white; padding: 40px; border-radius: 12px; border: 1px solid var(--border);
    transition: 0.3s; box-shadow: var(--shadow);
}
.card:hover { transform: translateY(-5px); border-color: var(--primary); }
.icon-box { font-size: 2.5rem; margin-bottom: 20px; }
.card h3 { margin-bottom: 15px; font-size: 1.3rem; }
.card p { color: var(--text-light); }

/* Projekte Style */
.bg-light { background-color: var(--bg-light); }
.project-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 25px; }

.project-card {
    background: white; padding: 35px; border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); border-left: 4px solid var(--primary);
}
.p-meta { 
    font-size: 0.85rem; color: var(--text-light); margin-bottom: 10px; 
    text-transform: uppercase; font-weight: 600; letter-spacing: 0.5px;
}
.project-card h3 { margin-bottom: 15px; font-size: 1.4rem; }
.project-card p { color: var(--text-light); margin-bottom: 20px; }
.tags span {
    display: inline-block; background: var(--bg-light); color: var(--primary);
    padding: 4px 10px; border-radius: 4px; font-size: 0.85rem; margin-right: 8px; font-weight: 500;
}

/* Hidden Projects Logic */
.hidden-project {
    display: none; opacity: 0; transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.hidden-project.fade-in { opacity: 1; transform: translateY(0); }

.load-more-container { text-align: center; margin-top: 50px; width: 100%; }

.btn-secondary {
    background: transparent; color: var(--primary); border: 2px solid var(--primary);
    padding: 12px 30px; border-radius: 8px; font-weight: 600; font-size: 1rem;
    cursor: pointer; transition: all 0.3s ease;
}
.btn-secondary:hover {
    background: var(--primary); color: white; transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(3, 105, 161, 0.2);
}

/* About */
.about-wrapper { background: white; border: 1px solid var(--border); padding: 50px; border-radius: 12px; text-align: center; box-shadow: var(--shadow); }
.about-text h2 { margin-bottom: 20px; }
.about-text p { color: var(--text-light); max-width: 700px; margin: 0 auto 20px; }
.link-arrow { color: var(--primary); text-decoration: none; font-weight: 700; font-size: 1.1rem; }

/* Kontakt Section (Card) */
.bg-dark-blue { background-color: var(--bg-dark); color: white; padding: 120px 0; }
.contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.contact-text h2 { font-size: 3rem; margin-bottom: 20px; color: white; }
.contact-text p { font-size: 1.25rem; color: #94a3b8; line-height: 1.6; }

.contact-card {
    background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 50px; border-radius: 16px; backdrop-filter: blur(10px);
}
.contact-item { margin-bottom: 30px; }
.contact-item:last-child { margin-bottom: 0; }
.c-label { display: block; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; color: #64748b; margin-bottom: 8px; font-weight: 600; }
.c-link-large { font-size: 2rem; font-weight: 700; color: white; text-decoration: none; transition: color 0.3s; display: inline-block; }
.c-link-large:hover { color: var(--accent); }
.c-link-small { font-size: 1.5rem; color: #cbd5e1; text-decoration: none; font-weight: 500; transition: color 0.3s; }
.c-link-small:hover { color: white; }
.c-info { font-size: 1.2rem; color: #cbd5e1; }
.contact-divider { height: 1px; background: rgba(255, 255, 255, 0.1); margin: 30px 0; }

/* Footer */
footer { padding: 40px 0; background: var(--bg-white); border-top: 1px solid var(--border); color: var(--text-light); font-size: 0.9rem; }
.footer-flex { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.legal-links a { color: var(--text-light); text-decoration: none; margin-left: 20px; }
.legal-links a:hover { color: var(--primary); }

/* Mobile */
@media (max-width: 900px) {
    .hero-layout { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .hero-actions { justify-content: center; }
    .hero-image-container { order: -1; margin-bottom: 20px; }
    .hero-img { max-width: 280px; transform: rotate(0deg); }
    h1 { font-size: 2.5rem; }
    
    .contact-wrapper { grid-template-columns: 1fr; gap: 40px; }
    .contact-text h2 { font-size: 2.2rem; }
    .c-link-large { font-size: 1.4rem; }
    .contact-card { padding: 30px; }

    .nav-links {
        display: none; position: absolute; top: 70px; left: 0; width: 100%;
        background: white; flex-direction: column; padding: 20px; border-bottom: 1px solid var(--border);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    .nav-links.active { display: flex; }
    .mobile-menu-btn { display: flex; }
    .footer-flex { flex-direction: column; text-align: center; }
    .legal-links a { margin: 0 10px; }
}

/* Animations */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.6s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }