:root {
    --primary-color: #0a2540;
    --accent-color: #0070f3;
    --text-color: #425466;
    --heading-color: #0a2540;
    --bg-light: #f6f9fc;
    --bg-white: #ffffff;
    --bg-dark: #0a2540;
    --transition: all 0.3s ease;
    --container-width: 1200px;
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--heading-color);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.divider {
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    margin: 0 auto;
    border-radius: 2px;
}

.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--bg-dark); }
.text-white { color: #fff; }
.text-white h2, .text-white h4, .text-white p { color: #fff; }
.text-center { text-align: center; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: #005bc2;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,112,243,0.3);
}

.btn-secondary {
    background-color: rgba(0,112,243,0.1);
    color: var(--accent-color);
    margin-left: 15px;
}

.btn-secondary:hover {
    background-color: rgba(0,112,243,0.2);
}

/* Header */
#main-header {
    height: var(--header-height);
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: var(--transition);
}

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

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

.logo span {
    color: var(--accent-color);
}

#nav-menu ul {
    display: flex;
    gap: 30px;
}

#nav-menu a {
    font-weight: 500;
    color: var(--primary-color);
    font-size: 0.95rem;
}

#nav-menu a:hover {
    color: var(--accent-color);
}

.nav-cta {
    color: var(--accent-color) !important;
    border: 1px solid var(--accent-color);
    padding: 8px 16px;
    border-radius: 4px;
}

.nav-cta:hover {
    background: var(--accent-color);
    color: #fff !important;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lang-btn {
    background: var(--bg-light);
    border: 1px solid #e6ebf1;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: var(--text-color);
}

.hero-btns {
    margin-bottom: 60px;
}

.hero-trust {
    display: flex;
    gap: 40px;
}

.trust-item {
    display: flex;
    flex-direction: column;
}

.trust-val {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
}

.trust-icon {
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-bottom: 4px;
}

.trust-label {
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-bg-accent {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 60%;
    height: 120%;
    background: linear-gradient(135deg, rgba(0,112,243,0.05) 0%, rgba(0,112,243,0) 100%);
    border-radius: 50%;
    z-index: 1;
}

/* About Section */
.about {
    padding: 100px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.about-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.about-features li::before {
    content: "\f058";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--accent-color);
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.stat-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.stat-card h3 {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 5px;
}

/* Market Opportunity */
.market {
    padding: 100px 0;
}

.market-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.market h2 {
    margin-bottom: 20px;
}

.market-intro {
    font-size: 1.2rem;
    margin-bottom: 60px;
}

.market-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.market-item {
    background: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.market-item i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.market-item h4 {
    margin-bottom: 15px;
}

/* Services Section */
.services {
    padding: 100px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    padding: 40px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e6ebf1;
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.service-icon {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

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

/* Why Choose Us */
.why-us {
    padding: 100px 0;
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.why-item {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.why-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-top: 4px;
}

.why-item h4 {
    margin-bottom: 8px;
}

.highlight-box {
    background: rgba(255,255,255,0.05);
    padding: 50px;
    border-radius: 20px;
    border-left: 5px solid var(--accent-color);
}

.highlight-quote {
    font-size: 1.5rem;
    font-style: italic;
    font-weight: 300;
}

/* Process Section */
.process {
    padding: 100px 0;
}

.process-flow {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 40px;
}

.process-flow::before {
    content: "";
    position: absolute;
    top: 30px;
    left: 50px;
    right: 50px;
    height: 2px;
    background: #e6ebf1;
    z-index: 1;
}

.process-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 15px;
}

.step-num {
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 auto 20px;
    border: 6px solid #fff;
}

/* Industries */
.industries {
    padding: 60px 0;
}

.industry-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.tag {
    background: #fff;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    color: var(--primary-color);
}

/* Projects */
.projects {
    padding: 100px 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.project-card {
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-10px);
}

.project-card img {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.project-info {
    padding: 25px;
}

.project-info h4 {
    margin-bottom: 10px;
}

/* FAQ */
.faq {
    padding: 100px 0;
}

.faq-container {
    max-width: 800px;
    margin: 40px auto 0;
}

.faq-item {
    background: #fff;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.faq-question {
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-answer {
    padding: 0 30px 20px;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .fa-chevron-down {
    transform: rotate(180deg);
}

/* Contact Section */
.contact {
    padding: 100px 0;
}

.contact-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    background: var(--bg-light);
    border-radius: 20px;
    overflow: hidden;
    padding: 60px;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact-details {
    margin-top: 40px;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-weight: 500;
}

.contact-detail i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.contact-form {
    display: grid;
    gap: 20px;
}

.contact-form input, .contact-form textarea {
    padding: 15px;
    border: 1px solid #e6ebf1;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
}

/* Footer */
#main-footer {
    background: #04111d;
    color: #fff;
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    color: #fff;
    margin-bottom: 20px;
    display: inline-block;
}

.footer-brand p {
    margin-bottom: 25px;
    color: #a0aec0;
    line-height: 1.6;
}

.footer-seal img {
    max-width: 80px;
    height: auto;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-seal img:hover {
    opacity: 1;
}

.footer-grid h5 {
    color: #fff;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.footer-grid ul li {
    margin-bottom: 12px;
}

.footer-grid ul a {
    color: #a0aec0;
}

.footer-grid ul a:hover {
    color: #fff;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #a0aec0;
    font-size: 0.9rem;
}

.legal-links {
    display: flex;
    gap: 30px;
}

/* Language Switching Classes */
.en-only, .de-only { display: none; }
body.lang-en .en-only { display: block; }
body.lang-de .de-only { display: block; }

body.lang-de .en-label { display: none; }
body.lang-en .de-label { display: none; }

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: #fff;
    padding: 40px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from { transform: translateY(-30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #a0aec0;
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--primary-color);
}

.modal-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.modal h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.modal p {
    margin-bottom: 25px;
    color: var(--text-color);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero h1 { font-size: 3rem; }
    .about-grid, .why-us-grid, .contact-box { gap: 40px; }
    .market-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .mobile-menu-toggle { display: block; }
    #nav-menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: #fff;
        transition: 0.3s;
        padding: 40px;
    }
    #nav-menu.active { left: 0; }
    #nav-menu ul {
        flex-direction: column;
        gap: 20px;
    }
    .hero h1 { font-size: 2.5rem; }
    .about-grid, .why-us-grid, .contact-box, .market-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    .hero-btns {
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin-bottom: 50px;
    }
    .btn-secondary {
        margin-left: 0;
    }
    .process-flow { flex-direction: column; gap: 30px; }
    .process-flow::before { display: none; }
    .why-us-highlight { order: -1; }
    .hero-trust { flex-wrap: wrap; }
    .contact-box { padding: 30px; }
    .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
}
