:root {
    --bg-color: #0b1513;
    --text-primary: #ffffff;
    --text-secondary: #a0b6b2;
    --contool-green: #123e35;
    --contool-green-light: #205c50;
    --neon-green: #00ff73;
    --card-bg: rgba(255, 255, 255, 0.05);
}

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

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

section {
    scroll-margin-top: 100px;
}

/* Header & Logo */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: rgba(11, 21, 19, 0.9);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}
.logo-box {
    display: flex;
    flex-direction: column;
    align-items: center; /* Zieht Logo und Slogan mittig zueinander */
    justify-content: center;
}
.logo-img {
    height: 50px; 
    /* Invert macht den weißen Hintergrund schwarz (für screen), dreht aber Grün auf Lila. 
       Hue-rotate(170deg) bis 180deg dreht das Lila wieder zurück auf ein leuchtendes Grün! */
    filter: invert(1) hue-rotate(180deg); 
    mix-blend-mode: screen; 
    margin-bottom: 5px;
}
.logo-title {
    font-weight: 700;
    font-size: 1.8rem;
    color: #fff;
    line-height: 1;
}
.logo-slogan {
    font-size: 0.85rem; /* Slogan minimal vergrößert für Zentrierung */
    color: var(--text-secondary);
    letter-spacing: 0.5px;
    font-weight: 400;
    text-align: center;
}

nav a {
    color: var(--text-primary);
    text-decoration: none;
    margin-left: 20px;
    font-weight: 600;
    transition: color 0.3s;
}
nav a:hover { color: var(--contool-green-light); }

/* Buttons */
.btn-primary {
    background: var(--contool-green-light);
    padding: 10px 24px;
    border-radius: 4px;
    color: #fff;
    text-decoration: none;
    transition: background 0.3s;
}
.btn-primary:hover { background: #2ba28a; }

.btn-secondary {
    border: 1px solid var(--contool-green-light);
    background: transparent;
    padding: 10px 24px;
    border-radius: 4px;
    color: var(--text-primary);
    text-decoration: none;
    margin-top: 15px;
    display: inline-block;
    transition: background 0.3s, color 0.3s;
    cursor: pointer;
}
.btn-secondary:hover { background: var(--contool-green-light); color: #fff;}

.btn-large { font-size: 1.1rem; padding: 15px 32px; display: inline-block;}

/* Hero & Animation */
.hero {
    position: relative;
    text-align: center;
    padding: 100px 5% 50px;
    background: radial-gradient(circle at top, var(--contool-green), var(--bg-color));
    overflow: hidden;
}
#tsparticles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    pointer-events: none;
}
.hero-content .btn-primary {
    pointer-events: auto;
}

.hero h1 { font-size: 3.5rem; margin-bottom: 20px; font-weight: 700; line-height: 1.2;}
.highlight { color: #a4d1c8; display: inline-block; }

.animated-words {
    display: inline-block;
    min-width: 250px;
    text-align: center;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.subtitle { font-size: 1.2rem; color: var(--text-secondary); max-width: 600px; margin: 0 auto 40px; }

.hero-stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Mehrere Elemente brechen um, wenn der Platz nicht reicht */
    gap: 40px;
    margin-bottom: 50px;
}
.stat { font-size: 1.1rem; color: var(--text-secondary); }
.stat .number { display: block; font-size: 2.5rem; font-weight: 700; color: var(--text-primary); }

/* Value Proposition */
.value-proposition { padding: 80px 5%; background: var(--bg-color); text-align: center; border-bottom: 1px solid rgba(255,255,255,0.05); }
.value-proposition h2 { font-size: 2.2rem; margin-bottom: 10px; color: #a4d1c8; }
.vp-subtitle { font-size: 1.1rem; color: var(--text-secondary); max-width: 800px; margin: 0 auto 50px; }
.vp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}
.vp-card {
    background: var(--card-bg);
    padding: 40px 20px 30px;
    border-radius: 8px;
    position: relative;
    border: 1px solid rgba(255,255,255,0.05);
    text-align: left;
    transition: transform 0.3s, border-color 0.3s;
    overflow: hidden;
}
.vp-card:hover { transform: translateY(-5px); border-color: var(--contool-green-light); }
.vp-number {
    position: absolute;
    bottom: -20px;
    right: -10px;
    font-size: 8rem;
    font-weight: 800;
    color: rgba(255,255,255,0.03);
    line-height: 1;
    z-index: 1;
    transition: color 0.3s;
}
.vp-card:hover .vp-number {
    color: rgba(0, 255, 115, 0.06);
}
.vp-card h3 { font-size: 1.2rem; margin-bottom: 15px; color: var(--text-primary); position: relative; z-index: 2; }
.vp-card p { font-size: 0.95rem; color: var(--text-secondary); position: relative; z-index: 2; }

/* Team & Anspruch Container */
.team-anspruch-container {
    max-width: 1200px;
    margin: 80px auto 0;
    display: flex;
    gap: 40px;
    background: var(--card-bg);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 8px;
    padding: 40px;
    text-align: left;
}
@media (max-width: 768px) {
    .team-anspruch-container { flex-direction: column; }
}
.team-box {
    flex: 1;
    border-right: 1px solid rgba(255,255,255,0.05);
    padding-right: 40px;
}
@media (max-width: 768px) { .team-box { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.05); padding-right: 0; padding-bottom: 30px; margin-bottom: 0px; } }
.team-box h3 { font-size: 1.8rem; color: #fff; margin: 20px 0 10px; }
.team-keywords { color: var(--contool-green-light); font-weight: 700; margin-bottom: 20px; font-size: 0.9rem; letter-spacing: 1px; }
.team-box p { color: var(--text-secondary); font-size: 1rem; }

.anspruch-box {
    flex: 1.5;
}
.anspruch-box h3 { font-size: 1.8rem; color: #fff; margin-bottom: 30px; }
.anspruch-item { margin-bottom: 25px; }
.anspruch-item h4 { color: #a4d1c8; font-size: 1.1rem; margin-bottom: 5px; }
.anspruch-item p { color: var(--text-secondary); font-size: 0.95rem; }


/* Industries */
.industries { padding: 80px 5%; text-align: center; background: rgba(0,0,0,0.2) }
.industries h2 { font-size: 2.2rem; margin-bottom: 50px; color: #a4d1c8; }
.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}
.industry-card {
    background: var(--card-bg);
    border: 1px solid rgba(255,255,255,0.05);
    border-top: 4px solid var(--contool-green-light);
    padding: 45px 30px;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s, border-color 0.3s;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.industry-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}
.industry-card p {
    font-size: 1rem;
    color: var(--text-secondary);
}
.industry-card:hover {
    transform: translateY(-8px);
    border-color: var(--neon-green);
    border-top-color: var(--neon-green);
}

/* Portfolio Detail */
.portfolio-detail { padding: 60px 5%; max-width: 1000px; margin: 0 auto; background: rgba(0,0,0,0.2) }
.hidden { display: none; }
.portfolio-content {
    display: flex;
    gap: 50px;
    background: var(--contool-green);
    padding: 40px;
    border-radius: 8px;
    align-items: center;
}
.text-content { flex: 2; }
.text-content h2 { margin-bottom: 20px; font-size: 1.8rem; }
.text-content p { color: var(--text-secondary); margin-bottom: 20px; }
.check-list { list-style: none; color: var(--text-primary); }
.check-list li::before { content: '✓'; color: var(--neon-green); margin-right: 10px; font-weight: bold; }
.check-list li { margin-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 5px; }

.contact-person {
    flex: 1;
    text-align: center;
    background: var(--bg-color);
    padding: 30px;
    border-radius: 8px;
}
.avatar-placeholder {
    width: 100px; height: 100px;
    border-radius: 50%;
    background: var(--text-secondary);
    margin: 0 auto 15px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23fff"><path d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"/></svg>');
    background-size: 60%; background-position: center; background-repeat: no-repeat;
}
.role { color: var(--text-secondary); font-size: 0.9rem; }

/* Prozesse Section */
.processes { padding: 80px 5%; background: var(--bg-color); }
.processes h2 { font-size: 2.5rem; margin-bottom: 10px; text-align: center; }
.process-subtitle { color: var(--text-secondary); margin-bottom: 60px; text-align: center; font-size: 1.1rem; }

.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}
.process-step {
    background: var(--card-bg);
    border-top: 4px solid var(--contool-green-light);
    padding: 30px;
    border-radius: 4px;
    transition: transform 0.3s;
}
.process-step:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.08);
}
.step-header {
    font-size: 0.9rem;
    color: var(--neon-green);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    font-weight: 600;
}
.process-step h3 {
    margin-bottom: 20px;
    font-size: 1.4rem;
    color: var(--text-primary);
}
.process-step ul {
    list-style: none;
}
.process-step ul li {
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
    color: var(--text-secondary);
    font-size: 0.95rem;
}
.process-step ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--contool-green-light);
}

/* Contact Section */
.contact-section { padding: 80px 5%; background: var(--contool-green); text-align: center; border-top: 1px solid rgba(255,255,255,0.05); }
.contact-section h2 { font-size: 2.2rem; margin-bottom: 15px; color: #fff; }
.contact-subtitle { color: var(--text-secondary); margin-bottom: 40px; font-size: 1.1rem; }
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}
.contact-info-card {
    background: var(--bg-color);
    padding: 40px 20px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.3s;
}
.contact-info-card:hover { transform: translateY(-5px); border-color: var(--neon-green); }
.contact-info-card .icon { margin-bottom: 20px; }
.contact-info-card h3 { color: #fff; margin-bottom: 10px; font-size: 1.2rem; }
.contact-info-card p, .contact-info-card a { color: var(--text-secondary); text-decoration: none; font-size: 1rem; line-height: 1.5; }
.contact-info-card a:hover { color: var(--neon-green); }

/* Footer */
.footer { text-align: center; padding: 40px; color: var(--text-secondary); border-top: 1px solid rgba(255,255,255,0.05); margin-top: 50px; }
.footer-links a:hover { color: var(--neon-green) !important; }
.footer-partner { display: flex; align-items: center; justify-content: center; gap: 15px; margin-top: 10px; }
.partner-text { font-size: 1.1rem; color: #a4d1c8; }
.adleso-ai-logo { height: 28px; object-fit: contain; filter: brightness(1.2); }
@media (max-width: 600px) {
    .footer-partner { flex-direction: column; gap: 8px; }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    background: rgba(11, 21, 19, 0.98);
    border: 1px solid var(--contool-green-light);
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    border-radius: 8px;
    padding: 25px;
    z-index: 9999;
    transition: opacity 0.5s ease;
}
.cookie-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.cookie-content p { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 20px; }
.cookie-content strong { color: #fff; }
.cookie-buttons { display: flex; gap: 15px; }
.btn-sm { font-size: 0.9rem; padding: 8px 16px; margin-top: 0; cursor: pointer; }

/* Global Animations */
.slide-up { animation: slideUp 0.8s ease-out; }
.fade-in { animation: fadeIn 1s ease-out; }
@keyframes slideUp { from { transform: translateY(50px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Responsive */
@media (max-width: 768px) {
    .portfolio-content { flex-direction: column; }
    .hero h1 { font-size: 2.5rem; }
    .hero-stats { flex-direction: column; gap: 20px; }
    .animated-words { min-width: 180px; }
    .vp-number { font-size: 2rem; }
    
    /* FIX: Mobile Navigation Overlap */
    .navbar { flex-direction: column; gap: 15px; padding: 15px 5%; }
    nav { display: flex; flex-direction: column; gap: 12px; align-items: center; }
    nav a { margin-left: 0; }
}
