/* ==============================
   OpsEvo Landing Page — Consulting
   Brand Colors: #000, #1f4a66, #007bff, #fff
   Font: Segoe UI / Inter fallback
   ============================== */

:root {
    --color-azure: #007bff;
    --color-cyan: #00d4ff;
    --color-white: #ffffff;
    --color-bg-dark: #0b1120;
    --color-bg-section: #0f1729;
    --color-bg-card: #151f33;
    --color-text: #c8d6e5;
    --color-text-muted: #8899aa;
    --color-border: rgba(255, 255, 255, 0.08);
    --gradient-brand: linear-gradient(135deg, var(--color-azure), var(--color-cyan));
    --font-main: 'Segoe UI', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --container-max: 1140px;
    --radius: 12px;
    --radius-lg: 20px;
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-main);
    background: var(--color-bg-dark);
    color: var(--color-text);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--color-azure);
    text-decoration: none;
    transition: color 0.2s;
}
a:hover {
    color: var(--color-cyan);
}

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

/* Typography */
h1, h2, h3 {
    color: var(--color-white);
    font-weight: 600;
    line-height: 1.3;
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: 1.15rem; }

.text-gradient {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 56px;
}
.section-header p {
    margin-top: 16px;
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
}
.btn-primary {
    background: var(--gradient-brand);
    color: var(--color-white);
    box-shadow: 0 4px 20px rgba(0, 123, 255, 0.3);
}
.btn-primary:hover {
    box-shadow: 0 6px 30px rgba(0, 123, 255, 0.5);
    transform: translateY(-1px);
    color: var(--color-white);
}
.btn-outline {
    background: transparent;
    color: var(--color-white);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
}
.btn-outline:hover {
    border-color: var(--color-azure);
    color: var(--color-azure);
}
.btn-nav {
    padding: 10px 24px;
    font-size: 0.85rem;
    background: var(--gradient-brand);
    color: var(--color-white);
    border-radius: 6px;
}
.btn-nav:hover {
    color: var(--color-white);
    box-shadow: 0 4px 16px rgba(0, 123, 255, 0.4);
}
.btn-lg {
    padding: 18px 40px;
    font-size: 1.05rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.3s ease;
    background: transparent;
}
.navbar.scrolled {
    background: rgba(11, 17, 32, 0.95);
    backdrop-filter: blur(16px);
    padding: 10px 0;
    border-bottom: 1px solid var(--color-border);
}
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo img {
    height: auto;
    max-height: 40px;
    width: auto;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}
.nav-links a {
    color: var(--color-text);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
}
.nav-links a:hover {
    color: var(--color-white);
}
.nav-links a.active:not(.btn-nav) {
    color: var(--color-white);
}
.nav-links a.active:not(.btn-nav)::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 2px;
    background: var(--gradient-brand);
    border-radius: 1px;
}
.nav-links .btn-nav {
    color: var(--color-white);
}
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-white);
    border-radius: 2px;
    transition: all 0.3s;
}
.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 70% 40%, rgba(0, 123, 255, 0.12) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 30% 70%, rgba(0, 212, 255, 0.06) 0%, transparent 70%),
        var(--color-bg-dark);
    z-index: 0;
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 760px;
}
.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 100px;
    background: rgba(0, 123, 255, 0.1);
    border: 1px solid rgba(0, 123, 255, 0.2);
    color: var(--color-azure);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 28px;
}
.hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: var(--color-text);
    margin-top: 20px;
    line-height: 1.8;
    max-width: 640px;
}
.hero-actions {
    display: flex;
    gap: 16px;
    margin-top: 40px;
    flex-wrap: wrap;
}

/* Section Base */
.section {
    padding: 96px 0;
}

/* Value Proposition */
.section-value {
    background: var(--color-bg-section);
}
.value-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}
.value-text h2 {
    margin-bottom: 24px;
}
.value-text p {
    margin-bottom: 16px;
    color: var(--color-text-muted);
    font-size: 1.05rem;
}
.value-highlights {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.highlight-card {
    padding: 28px;
    background: var(--color-bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    transition: border-color 0.3s;
}
.highlight-card:hover {
    border-color: rgba(0, 123, 255, 0.3);
}
.highlight-icon {
    color: var(--color-azure);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}
.highlight-card h3 {
    margin-bottom: 8px;
}
.highlight-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Services (Kern-Dienstleistungen) */
.section-services {
    background: var(--color-bg-dark);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.service-card {
    padding: 36px 28px;
    background: var(--color-bg-section);
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-brand);
    opacity: 0;
    transition: opacity 0.3s;
}
.service-card:hover::before {
    opacity: 1;
}
.service-card:hover {
    border-color: rgba(0, 123, 255, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}
.service-number {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 16px;
}
.service-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(0, 123, 255, 0.1);
    color: var(--color-azure);
    margin-bottom: 20px;
}
.service-card h3 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}
.service-tagline {
    color: var(--color-text);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 16px;
    font-style: italic;
}
.service-list {
    list-style: none;
    padding: 0;
}
.service-list li {
    padding: 5px 0 5px 20px;
    color: var(--color-text-muted);
    font-size: 0.88rem;
    line-height: 1.5;
    position: relative;
}
.service-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-azure);
    font-weight: 600;
}

/* References (Projektreferenzen) */
.section-references {
    background: var(--color-bg-section);
}
.references-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.reference-card {
    padding: 36px 28px;
    background: var(--color-bg-dark);
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}
.reference-card:hover {
    border-color: rgba(0, 123, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}
.reference-label {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 100px;
    background: rgba(0, 123, 255, 0.1);
    border: 1px solid rgba(0, 123, 255, 0.2);
    color: var(--color-azure);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.reference-card h3 {
    margin-bottom: 16px;
    font-size: 1.05rem;
    line-height: 1.4;
}
.reference-list {
    list-style: none;
    padding: 0;
}
.reference-list li {
    padding: 4px 0 4px 20px;
    color: var(--color-text-muted);
    font-size: 0.88rem;
    line-height: 1.5;
    position: relative;
}
.reference-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-cyan);
    font-weight: 700;
    font-size: 0.85rem;
}

/* Industries (Branchen) */
.section-industries {
    background: var(--color-bg-dark);
}
.industries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.industry-card {
    padding: 28px 24px;
    background: var(--color-bg-section);
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
}
.industry-card:hover {
    border-color: rgba(0, 123, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.industry-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(0, 123, 255, 0.1);
    color: var(--color-azure);
}
.industry-card h3 {
    font-size: 1rem;
    font-weight: 600;
}

/* Why OpsEvo */
.section-why {
    background: var(--color-bg-section);
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 880px;
    margin: 0 auto;
}
.why-card {
    padding: 36px 28px;
    background: var(--color-bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    text-align: center;
    transition: all 0.3s ease;
}
.why-card:hover {
    border-color: rgba(0, 123, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}
.why-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 123, 255, 0.1);
    color: var(--color-azure);
    margin: 0 auto 20px;
}
.why-card h3 {
    margin-bottom: 10px;
}
.why-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Engagement Modelle */
.section-engagement {
    background: var(--color-bg-dark);
}
.engagement-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 880px;
    margin: 0 auto;
}
.engagement-card {
    padding: 36px 28px;
    background: var(--color-bg-section);
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    text-align: center;
    transition: all 0.3s ease;
}
.engagement-card:hover {
    border-color: rgba(0, 123, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}
.engagement-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 123, 255, 0.08);
    color: var(--color-azure);
    margin: 0 auto 20px;
}
.engagement-card h3 {
    margin-bottom: 10px;
}
.engagement-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* CTA */
.section-cta {
    background: var(--color-bg-section);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    z-index: 0;
}
.section-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 60% at 50% 50%, rgba(0, 123, 255, 0.1) 0%, transparent 70%);
    z-index: -1;
}
.cta-content {
    position: relative;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}
.cta-content h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 20px;
}
.cta-content p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    margin-bottom: 36px;
    line-height: 1.7;
}
.cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    padding: 48px 0 40px;
    border-top: 1px solid var(--color-border);
    background: var(--color-bg-dark);
}
.footer-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.footer-company {
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 4px;
}
.footer-contact p {
    color: var(--color-text-muted);
    font-size: 0.82rem;
    line-height: 1.5;
}
.footer-contact a {
    color: var(--color-text-muted);
    text-decoration: none;
}
.footer-contact a:hover {
    color: var(--color-white);
}
.footer-cert {
    display: flex;
    align-items: center;
}
.footer-cert img {
    height: 160px;
    width: auto;
    opacity: 0.9;
    transition: opacity 0.2s;
}
.footer-cert img:hover {
    opacity: 1;
}
.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}
.footer-links {
    display: flex;
    gap: 24px;
}
.footer-links a {
    color: var(--color-text-muted);
    font-size: 0.85rem;
}
.footer-links a:hover {
    color: var(--color-white);
}
.footer-links-secondary {
    margin-top: 4px;
    gap: 16px;
}
.footer-links-secondary a {
    font-size: 0.78rem;
}

/* FAQ */
.section-faq {
    background: var(--color-bg-dark);
}
.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq-item {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.3s;
}
.faq-item:hover,
.faq-item[open] {
    border-color: rgba(0, 123, 255, 0.3);
}
.faq-question {
    padding: 20px 24px;
    font-weight: 600;
    color: var(--color-white);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1rem;
    transition: color 0.2s;
}
.faq-question::-webkit-details-marker {
    display: none;
}
.faq-question::after {
    content: '+';
    font-size: 1.4rem;
    color: var(--color-azure);
    font-weight: 300;
    flex-shrink: 0;
    margin-left: 16px;
    transition: transform 0.3s;
}
.faq-item[open] .faq-question::after {
    content: '\2212';
}
.faq-answer {
    padding: 0 24px 20px;
}
.faq-answer p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Scroll Animations */
.animate-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.animate-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation delays for grid children */
.services-grid .animate-in:nth-child(2) { transition-delay: 0.08s; }
.services-grid .animate-in:nth-child(3) { transition-delay: 0.16s; }
.services-grid .animate-in:nth-child(4) { transition-delay: 0.24s; }
.services-grid .animate-in:nth-child(5) { transition-delay: 0.32s; }

.references-grid .animate-in:nth-child(2) { transition-delay: 0.08s; }
.references-grid .animate-in:nth-child(3) { transition-delay: 0.16s; }
.references-grid .animate-in:nth-child(4) { transition-delay: 0.24s; }
.references-grid .animate-in:nth-child(5) { transition-delay: 0.32s; }

.why-grid .animate-in:nth-child(2) { transition-delay: 0.08s; }
.why-grid .animate-in:nth-child(3) { transition-delay: 0.16s; }
.why-grid .animate-in:nth-child(4) { transition-delay: 0.24s; }

.engagement-grid .animate-in:nth-child(2) { transition-delay: 0.08s; }
.engagement-grid .animate-in:nth-child(3) { transition-delay: 0.16s; }
.engagement-grid .animate-in:nth-child(4) { transition-delay: 0.24s; }

.industries-grid .animate-in:nth-child(2) { transition-delay: 0.06s; }
.industries-grid .animate-in:nth-child(3) { transition-delay: 0.12s; }
.industries-grid .animate-in:nth-child(4) { transition-delay: 0.18s; }
.industries-grid .animate-in:nth-child(5) { transition-delay: 0.24s; }
.industries-grid .animate-in:nth-child(6) { transition-delay: 0.30s; }

/* ==============================
   Responsive
   ============================== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .references-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .value-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .services-grid {
        grid-template-columns: 1fr 1fr;
    }
    .references-grid {
        grid-template-columns: 1fr 1fr;
    }
    .industries-grid {
        grid-template-columns: 1fr 1fr;
    }
    .why-grid {
        grid-template-columns: 1fr 1fr;
    }
    .engagement-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(11, 17, 32, 0.98);
        backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid var(--color-border);
    }
    .nav-links.open {
        display: flex;
    }
    .nav-toggle {
        display: flex;
    }
    .services-grid,
    .references-grid,
    .industries-grid {
        grid-template-columns: 1fr;
    }
    .why-grid,
    .engagement-grid {
        grid-template-columns: 1fr;
    }
    .hero {
        min-height: auto;
        padding: 140px 0 80px;
    }
    .hero-actions {
        flex-direction: column;
    }
    .hero-actions .btn {
        text-align: center;
    }
    .section {
        padding: 64px 0;
    }
    .section-cta {
        padding: 72px 0;
    }
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    .footer-grid {
        flex-direction: column;
        gap: 28px;
        text-align: center;
    }
    .footer-right {
        align-items: center;
    }
}
