/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Language Switcher */
.language-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    gap: 10px;
    background: rgba(255, 255, 255, 0.95);
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.lang-btn {
    background: transparent;
    border: 2px solid transparent;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 24px;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: #f0f0f0;
}

.lang-btn.active {
    border-color: #2e7d32;
    background: #e8f5e9;
}

/* Hero Section */
.hero {
    position: relative;
    height: 600px;
    background: linear-gradient(135deg, #e8f5e9 0%, #ffffff 50%, #f1f8f4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1b5e20;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23ffffff" width="1200" height="600"/><g fill-opacity="0.05"><polygon fill="%232e7d32" points="1200 0 900 600 1200 600"/><polygon fill="%232e7d32" points="0 600 300 0 0 0"/></g></svg>');
    background-size: cover;
    opacity: 0.5;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.3);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.company-name {
    font-size: 3.5rem;
    font-weight: 800;
    color: #1b5e20;
    margin-bottom: 25px;
    letter-spacing: -1px;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
}

.hero-logo {
    max-width: 500px;
    height: auto;
    margin-bottom: 25px;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.hero-title {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #2e7d32;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: #2e7d32;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: #2e7d32;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.4);
    background: #1b5e20;
}

/* Info Section */
.info-section {
    padding: 80px 0;
    background: #f8fafc;
}

.info-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2e7d32;
    margin-bottom: 50px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.service-card {
    background: white;
    padding: 25px 35px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
}

.service-icon img {
    max-width: 80px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.service-card h3 {
    color: #2e7d32;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.service-card p {
    color: #64748b;
    line-height: 1.6;
}

.certification-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    margin-top: 40px;
    padding: 20px;
}

.cert-block {
    display: flex;
    justify-content: center;
    align-items: center;
}

.cert-block-combined {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cert-text {
    display: flex;
    flex-direction: column;
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
    color: #2e7d32;
    line-height: 1.3;
}

.cert-logo {
    height: 100px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Mobile responsive: stack blocks vertically */
@media (max-width: 768px) {
    .certification-container {
        flex-direction: column;
        gap: 30px;
    }
}

/* Partners Section */
.partners-section {
    padding: 60px 0;
    background: white;
}

.partners-section h2 {
    text-align: center;
    font-size: 2rem;
    color: #2e7d32;
    margin-bottom: 40px;
}

.logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    align-items: center;
}

.logo-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.logo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #a5d6a7;
}

.logo-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.logo-item img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.logo-item:hover img {
    opacity: 0.8;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: #1e293b;
    color: white;
}

.contact-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.contact-grid {
    display: flex;
    justify-content: center;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    width: 100%;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.contact-item h3 {
    margin-bottom: 10px;
    color: #a5d6a7;
}

.contact-item a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #a5d6a7;
}

.contact-item p {
    margin: 0;
}

/* Map Section */
.map-section {
    padding: 80px 0;
    background: #f8fafc;
}

.map-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2e7d32;
    margin-bottom: 40px;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.address-info {
    text-align: center;
    font-size: 1.1rem;
    color: #475569;
    margin-top: 20px;
}

/* Impressum Section */
.impressum-section {
    padding: 60px 0;
    background: white;
}

.impressum-section h2 {
    text-align: center;
    font-size: 2rem;
    color: #2e7d32;
    margin-bottom: 30px;
}

.impressum-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background: #f8fafc;
    border-radius: 10px;
    color: #334155;
    line-height: 1.8;
}

.impressum-content h3 {
    color: #2e7d32;
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.impressum-content h3:first-child {
    margin-top: 0;
}

.impressum-content p {
    margin-bottom: 5px;
    color: #475569;
}

.impressum-content a {
    color: #2e7d32;
    text-decoration: none;
}

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

/* Footer */
.footer {
    padding: 30px 0;
    background: #0f172a;
    color: white;
    text-align: center;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hero {
        height: 500px;
    }

    .company-name {
        font-size: 2.5rem;
    }

    .hero-logo {
        max-width: 350px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

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

    .info-section h2,
    .map-section h2,
    .contact-section h2 {
        font-size: 1.8rem;
    }

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

    .service-card {
        min-height: auto;
    }

    .logos-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .language-switcher {
        top: 10px;
        right: 10px;
        padding: 5px;
    }

    .lang-btn {
        font-size: 20px;
        padding: 3px 8px;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 450px;
    }

    .company-name {
        font-size: 1.8rem;
    }

    .hero-logo {
        max-width: 280px;
    }

    .hero-title {
        font-size: 1.2rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 1rem;
    }

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

    .service-card {
        padding: 20px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}
