/* Minimal Black & White Design */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header & Navigation */
.header {
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #000;
}

.logo i {
    margin-right: 0.5rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
    background: rgba(255, 255, 255, 0.8);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.nav-links a:hover {
    color: #000;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -3px;
    left: 0;
    background: #000;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: #000;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 8rem 0 6rem;
    text-align: center;
    background: #ffffff;
    margin-top: 80px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 300;
    color: #000;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
    font-weight: 300;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 3rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 200;
    color: #000;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: #000;
    color: white;
    text-decoration: none;
    border: 2px solid #000;
    transition: all 0.3s ease;
    font-weight: 400;
}

.cta-button:hover {
    background: white;
    color: #000;
}

.cta-button i {
    margin-right: 0.5rem;
}

/* Sections */
.services,
.projects,
.project-timeline,
.contact {
    padding: 6rem 0;
}

.services {
    background: #f8f8f8;
}

.projects {
    background: #ffffff;
}

.project-timeline {
    background: #f8f8f8;
}

.contact {
    background: #ffffff;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 300;
    text-align: center;
    margin-bottom: 1rem;
    color: #000;
    letter-spacing: -0.01em;
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 4rem;
    font-weight: 300;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1800px;
    margin: 0 auto;
}

@media (min-width: 1600px) {
    .services-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 1200px) and (max-width: 1599px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 900px) and (max-width: 1199px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 899px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.service-card {
    background: white;
    padding: 2.5rem;
    border: 1px solid #e5e5e5;
    transition: all 0.3s ease;
    min-height: 500px;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.service-icon i {
    font-size: 1.5rem;
    color: white;
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #000;
}

.service-card p {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
    font-weight: 300;
}

.service-features {
    list-style: none;
    flex-grow: 1;
}

.service-features li {
    padding: 0.75rem 0;
    color: #333;
    position: relative;
    padding-left: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-features li:hover {
    color: #000;
}

.service-features li::before {
    content: '—';
    position: absolute;
    left: 0;
    top: 0.75rem;
    color: #000;
    font-weight: 500;
}

.service-features li:last-child {
    border-bottom: none;
}

/* JavaScript Tooltips */
.tooltip {
    position: absolute;
    background: #2a2a2a;
    color: #ffffff;
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    max-width: 300px;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    line-height: 1.4;
    pointer-events: none;
    font-weight: 400;
}

.tooltip::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 20px;
    width: 12px;
    height: 12px;
    background: #2a2a2a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: none;
    border-right: none;
    transform: rotate(45deg);
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.project-card {
    background: white;
    border: 1px solid #e5e5e5;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    border-top: 4px solid #000;
}

.project-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.project-header h3 {
    font-size: 1.3rem;
    font-weight: 500;
    color: #000;
    flex: 1;
}

.project-type {
    background: #f0f0f0;
    color: #333;
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.project-company {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: #666;
}

.project-company i {
    margin-right: 0.5rem;
    color: #000;
}

.project-description {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-technologies {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tech-tag {
    background: #f8f8f8;
    color: #333;
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    border: 1px solid #e5e5e5;
}

.project-metrics {
    display: flex;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
}

.metric {
    text-align: center;
}

.metric-value {
    display: block;
    font-weight: 500;
    color: #000;
}

.metric-label {
    font-size: 0.8rem;
    color: #666;
}

/* Project Card Tooltips - Now handled by JavaScript */
.project-card[data-tooltip] {
    cursor: pointer;
}

/* Timeline */
.timeline-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline-item {
    background: white;
    padding: 1.5rem;
    border-left: 3px solid #000;
    transition: all 0.3s ease;
}

.timeline-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.timeline-date {
    color: #000;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

.timeline-content h4 {
    color: #000;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.timeline-content p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 900px;
    margin: 0 auto;
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 2rem;
    color: #000;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-item i {
    margin-right: 1rem;
    margin-top: 0.25rem;
    color: #000;
}

.contact-item strong {
    display: block;
    color: #000;
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: #666;
    margin: 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #000;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid #ddd;
    background: white;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #000;
}

.submit-btn {
    padding: 1rem 2rem;
    background: #000;
    color: white;
    border: 2px solid #000;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 500;
}

.submit-btn:hover {
    background: white;
    color: #000;
}

.submit-btn i {
    margin-right: 0.5rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border: 1px solid #ddd;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    color: #000;
    font-weight: 500;
}

.close {
    color: #666;
    font-size: 2rem;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #000;
}

.modal-body {
    padding: 1.5rem;
}

.impressum-section {
    margin-bottom: 2rem;
}

.impressum-section h3 {
    color: #000;
    font-weight: 500;
    margin-bottom: 1rem;
}

.impressum-section h4 {
    color: #000;
    font-weight: 500;
    margin-bottom: 0.5rem;
    margin-top: 1.5rem;
}

.impressum-section p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.contact-details p {
    color: #666;
    line-height: 1.8;
}

/* Footer */
.footer {
    background: #000;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    font-weight: 500;
}

.footer-section p {
    color: #ccc;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    padding: 0.25rem 0;
    color: #ccc;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #999;
}

.footer-bottom a {
    color: white;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .project-metrics {
        flex-direction: column;
        gap: 1rem;
        text-align: left;
    }

    .timeline-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .timeline-item {
        padding: 1.25rem;
    }
    
    .project-timeline {
        padding: 3rem 0;
    }

    /* Tooltip styles removed - now handled by JavaScript */
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #666;
}

::-webkit-scrollbar-thumb:hover {
    background: #000;
}

@media (min-width: 1600px) {
    .service-card {
        padding: 2rem;
        min-height: 480px;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
    }
    
    .service-card p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
}