/* ═══════════════════════════════════════════════════════════
   SecureAI Business — Premium B2B Design System
   ═══════════════════════════════════════════════════════════ */

/* ── Reset & Base ──────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #fff; color: #1e293b; line-height: 1.75;
    overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
a { color: #b91c1c; text-decoration: none; transition: color 0.25s ease; }
a:hover { color: #dc2626; }
img { max-width: 100%; height: auto; display: block; }

/* ── Scroll Reveal Animation ──────────────────────────── */
.reveal {
    opacity: 0; transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
/* Fallback: if JS hasn't run after 2s, show everything */
@keyframes revealFallback { to { opacity: 1; transform: translateY(0); } }
.reveal { animation: revealFallback 0s 2s forwards; }

/* ── Navigation ───────────────────────────────────────── */
nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(255,255,255,0.92); backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    padding: 0 clamp(1rem, 4vw, 3rem);
    display: flex; align-items: center; justify-content: space-between;
    height: 72px; transition: box-shadow 0.3s ease;
}
nav.scrolled { box-shadow: 0 1px 12px rgba(0,0,0,0.06); }
.nav-brand { font-size: 1.1rem; font-weight: 700; letter-spacing: -0.02em; }
.nav-brand a { color: #0f172a; transition: color 0.2s; }
.nav-brand a:hover { color: #b91c1c; }
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
    color: #64748b; font-size: 0.875rem; font-weight: 500;
    letter-spacing: 0.01em; transition: color 0.2s;
    position: relative;
}
.nav-links a::after {
    content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
    background: #b91c1c; transition: width 0.3s ease;
}
.nav-links a:hover { color: #0f172a; }
.nav-links a:hover::after { width: 100%; }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger svg { width: 22px; height: 22px; stroke: #334155; stroke-width: 2; }

/* ── Hero Section ─────────────────────────────────────── */
.hero {
    min-height: 85vh; display: flex; align-items: center;
    padding: 7rem clamp(1.5rem, 5vw, 4rem) 5rem;
    position: relative; overflow: hidden;
    background: linear-gradient(160deg, #ffffff 0%, #f8fafc 40%, #f1f5f9 100%);
}
.hero-bg {
    position: absolute; top: 0; right: 0; bottom: 0; width: 50%;
    background-size: cover; background-position: center;
    opacity: 0.52;
    mask-image: linear-gradient(to right, transparent 0%, black 40%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 40%);
}
.hero-content {
    position: relative; z-index: 1; max-width: 640px;
}
.hero-sub {
    font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.15em;
    color: #b91c1c; font-weight: 600; margin-bottom: 1.25rem;
    display: flex; align-items: center; gap: 0.5rem;
}
.hero-sub::before {
    content: ''; width: 24px; height: 2px; background: #b91c1c;
}
.hero h1 {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 800; line-height: 1.1; letter-spacing: -0.03em;
    margin-bottom: 1.5rem; color: #0f172a;
}
.hero h1 span { color: #b91c1c; }
.hero-tagline {
    font-size: 1.125rem; color: #475569; margin-bottom: 2.5rem;
    max-width: 540px; line-height: 1.75;
}
.checks { list-style: none; margin-bottom: 3rem; }
.checks li {
    font-size: 0.95rem; color: #334155; padding: 0.5rem 0 0.5rem 2rem;
    position: relative; font-weight: 450;
}
.checks li::before {
    content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
    width: 20px; height: 20px; border-radius: 50%;
    background: #fef2f2; border: 2px solid #b91c1c;
}
.checks li::after {
    content: ''; position: absolute; left: 5px; top: 50%; transform: translateY(-55%) rotate(45deg);
    width: 5px; height: 9px; border: solid #b91c1c; border-width: 0 2px 2px 0;
}

/* ── Buttons ──────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.9rem 2.25rem;
    background: #b91c1c; color: #fff;
    font-weight: 600; font-size: 0.9rem; letter-spacing: 0.01em;
    border-radius: 10px; border: none; cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 8px rgba(185,28,28,0.2), 0 1px 2px rgba(0,0,0,0.06);
}
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(185,28,28,0.25), 0 2px 6px rgba(0,0,0,0.08);
    color: #fff; background: #991b1b;
}
.btn-outline {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.9rem 2.25rem;
    background: transparent; color: #b91c1c;
    font-weight: 600; font-size: 0.9rem;
    border: 1.5px solid #b91c1c; border-radius: 10px; cursor: pointer;
    transition: all 0.3s ease;
}
.btn-outline:hover { background: #b91c1c; color: #fff; }

/* ── Section System ───────────────────────────────────── */
.section {
    padding: clamp(3rem, 6vw, 6rem) clamp(1.5rem, 5vw, 3rem);
    max-width: 1120px; margin: 0 auto;
}
.section-alt { background: #f8fafc; }
.section-label {
    font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.15em;
    color: #b91c1c; font-weight: 600; margin-bottom: 0.75rem;
    display: flex; align-items: center; gap: 0.5rem;
}
.section-label::before {
    content: ''; width: 20px; height: 2px; background: #b91c1c;
}
.section h2 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700; margin-bottom: 1rem;
    line-height: 1.2; color: #0f172a; letter-spacing: -0.02em;
}
.section p { color: #64748b; font-size: 0.95rem; margin-bottom: 1rem; }
.section-intro {
    max-width: 600px; font-size: 1rem; color: #64748b; line-height: 1.75;
}

/* ── Problem Cards ────────────────────────────────────── */
.problem-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem; margin-top: 2.5rem;
}
.problem-card {
    padding: 1.5rem; border-radius: 12px;
    background: #fff; border: 1px solid #fecaca;
    transition: all 0.3s ease; display: flex; gap: 1rem; align-items: flex-start;
}
.problem-card:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(185,28,28,0.06); }
.problem-icon {
    flex-shrink: 0; width: 40px; height: 40px; border-radius: 10px;
    background: #fef2f2; display: flex; align-items: center; justify-content: center;
}
.problem-icon svg { width: 20px; height: 20px; stroke: #b91c1c; fill: none; stroke-width: 1.75; }
.problem-card p { color: #7f1d1d; font-size: 0.9rem; margin: 0; font-weight: 450; line-height: 1.5; }

/* ── Solution Cards ───────────────────────────────────── */
.solution-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem; margin-top: 2.5rem;
}
.solution-card {
    padding: 2rem; border-radius: 14px;
    background: #fff; border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.solution-card:hover {
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
    transform: translateY(-4px); border-color: #cbd5e1;
}
.solution-icon {
    width: 44px; height: 44px; border-radius: 12px; margin-bottom: 1.25rem;
    background: linear-gradient(135deg, #fef2f2, #fff1f2);
    display: flex; align-items: center; justify-content: center;
}
.solution-icon svg { width: 22px; height: 22px; stroke: #b91c1c; fill: none; stroke-width: 1.75; }
.solution-card h3 {
    font-size: 1rem; font-weight: 700; color: #0f172a; margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}
.solution-card p { font-size: 0.875rem; color: #64748b; margin: 0; line-height: 1.7; }

/* ── Result Stats ─────────────────────────────────────── */
.result-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem; margin-top: 2.5rem;
}
.result-card {
    text-align: center; padding: 2rem 1rem;
    border-radius: 14px; background: #fff;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}
.result-card:hover { border-color: #b91c1c; }
.result-icon {
    width: 48px; height: 48px; border-radius: 50%; margin: 0 auto 1rem;
    background: #fef2f2;
    display: flex; align-items: center; justify-content: center;
}
.result-icon svg { width: 22px; height: 22px; stroke: #b91c1c; fill: none; stroke-width: 1.75; }
.result-value {
    font-size: 1.4rem; font-weight: 800; color: #0f172a;
    letter-spacing: -0.02em;
}
.result-label { font-size: 0.85rem; color: #64748b; margin-top: 0.25rem; }

/* ── Trust Strip ──────────────────────────────────────── */
.trust-strip {
    background: #0f172a;
    padding: 3.5rem clamp(1.5rem, 5vw, 3rem);
    text-align: center;
}
.trust-strip h3 {
    font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.15em;
    color: #64748b; font-weight: 600; margin-bottom: 1.5rem;
}
.trust-badges {
    display: flex; gap: 3rem; justify-content: center; flex-wrap: wrap;
}
.trust-badge {
    display: flex; align-items: center; gap: 0.625rem;
    font-size: 0.9rem; color: #e2e8f0; font-weight: 500;
}
.trust-badge svg { width: 20px; height: 20px; stroke: #b91c1c; fill: none; stroke-width: 1.75; }

/* ── Process Steps ────────────────────────────────────── */
.process-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2.5rem; margin-top: 2.5rem; counter-reset: step;
}
.process-step { position: relative; padding-left: 3.5rem; }
.process-step::before {
    counter-increment: step; content: counter(step);
    position: absolute; left: 0; top: 0;
    width: 2.5rem; height: 2.5rem; border-radius: 10px;
    background: #0f172a; color: #fff; font-weight: 700; font-size: 0.9rem;
    display: flex; align-items: center; justify-content: center;
}
.process-step h4 { font-size: 0.95rem; font-weight: 700; color: #0f172a; margin-bottom: 0.3rem; }
.process-step p { font-size: 0.875rem; color: #64748b; margin: 0; }

/* ── Quotes ───────────────────────────────────────────── */
.quote-block { margin-bottom: 2rem; }
.quote {
    font-size: 1.05rem; font-style: italic; color: #334155; line-height: 1.8;
    border-left: 3px solid #b91c1c; padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}
.quote-author {
    font-size: 0.8rem; color: #94a3b8; font-weight: 500;
    padding-left: 1.5rem; font-style: normal;
    letter-spacing: 0.02em; text-transform: uppercase;
}

/* ── Industry Cards (Welcome) ─────────────────────────── */
.industry-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem; margin-top: 2.5rem;
}
.industry-card {
    display: flex; flex-direction: column; padding: 2rem;
    border-radius: 16px; border: 1px solid #e2e8f0; background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
}
.industry-card:hover {
    box-shadow: 0 16px 48px rgba(0,0,0,0.08);
    transform: translateY(-4px); border-color: #b91c1c;
}
.industry-card .ic-icon {
    width: 48px; height: 48px; border-radius: 12px; margin-bottom: 1.25rem;
    background: linear-gradient(135deg, #fef2f2, #fff1f2);
    display: flex; align-items: center; justify-content: center;
}
.industry-card .ic-icon svg { width: 24px; height: 24px; stroke: #b91c1c; fill: none; stroke-width: 1.75; }
.industry-card h3 {
    font-size: 1.05rem; font-weight: 700; color: #0f172a;
    margin-bottom: 0.5rem; letter-spacing: -0.01em;
}
.industry-card p { font-size: 0.875rem; color: #64748b; margin: 0; flex: 1; }
.industry-card .ic-arrow {
    display: inline-flex; align-items: center; gap: 0.4rem;
    margin-top: 1.25rem; font-size: 0.85rem; font-weight: 600; color: #b91c1c;
    transition: gap 0.3s ease;
}
.industry-card:hover .ic-arrow { gap: 0.75rem; }

/* ── CTA Section ──────────────────────────────────────── */
.cta-section {
    text-align: center;
    padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 5vw, 3rem);
    max-width: 700px; margin: 0 auto;
}
.cta-section h2 {
    font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700;
    margin-bottom: 1rem; color: #0f172a; letter-spacing: -0.02em;
}
.cta-section p { color: #64748b; font-size: 1rem; margin-bottom: 2.5rem; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Contact Section ──────────────────────────────────── */
.contact-section {
    background: #f8fafc;
    padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 5vw, 3rem);
}
.contact-inner { max-width: 700px; margin: 0 auto; text-align: center; }
.contact-inner h2 {
    font-size: 1.75rem; font-weight: 700; color: #0f172a;
    letter-spacing: -0.02em; margin-bottom: 0.5rem;
}
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 2.5rem; }
.contact-card {
    padding: 2rem; border-radius: 14px; border: 1px solid #e2e8f0;
    background: #fff; cursor: pointer; transition: all 0.3s ease; text-align: left;
}
.contact-card:hover {
    border-color: #b91c1c;
    box-shadow: 0 8px 24px rgba(185,28,28,0.08);
    transform: translateY(-2px);
}
.contact-card h3 { font-size: 1rem; font-weight: 700; color: #0f172a; margin-bottom: 0.5rem; }
.contact-card p { font-size: 0.875rem; color: #64748b; margin: 0; }
.contact-direct {
    margin-top: 2rem; display: flex; gap: 2.5rem; justify-content: center; flex-wrap: wrap;
}
.contact-direct a {
    font-size: 0.875rem; color: #64748b; display: flex; align-items: center; gap: 0.4rem;
}
.contact-direct a:hover { color: #b91c1c; }

/* ── Positionierung ───────────────────────────────────── */
.positionierung {
    font-size: 1.125rem; font-style: italic; color: #334155; line-height: 1.8;
    border-left: 3px solid #b91c1c; padding-left: 1.5rem;
    max-width: 600px; margin: 0 auto;
}

/* ── Footer ───────────────────────────────────────────── */
footer {
    border-top: 1px solid #e2e8f0;
    padding: 2.5rem clamp(1.5rem, 5vw, 3rem);
    text-align: center; font-size: 0.8rem; color: #94a3b8;
    background: #fff;
}
footer a { color: #64748b; }
footer a:hover { color: #0f172a; }
.footer-links {
    display: flex; gap: 2rem; justify-content: center; margin-bottom: 1rem; flex-wrap: wrap;
}

/* ── Divider ──────────────────────────────────────────── */
.divider {
    max-width: 1120px; margin: 0 auto;
    border: none; border-top: 1px solid #f1f5f9;
}

/* ── Modal ────────────────────────────────────────────── */
.modal-overlay {
    display: none; position: fixed; inset: 0; z-index: 200;
    background: rgba(15,23,42,0.6); backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    align-items: center; justify-content: center; padding: 1rem;
}
.modal-overlay.open { display: flex; }
.modal {
    background: #fff; border-radius: 20px; max-width: 480px; width: 100%;
    max-height: 90vh; overflow-y: auto; padding: 2.5rem; position: relative;
    box-shadow: 0 24px 64px rgba(0,0,0,0.16);
    animation: modalIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes modalIn {
    from { opacity: 0; transform: scale(0.95) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}
.modal h2 { font-size: 1.25rem; font-weight: 700; color: #0f172a; margin-bottom: 0.25rem; }
.modal p { font-size: 0.875rem; color: #64748b; margin-bottom: 1.5rem; }
.modal-close {
    position: absolute; top: 1.25rem; right: 1.25rem; background: #f1f5f9;
    border: none; cursor: pointer; width: 32px; height: 32px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem; color: #64748b; line-height: 1; transition: all 0.2s;
}
.modal-close:hover { background: #e2e8f0; color: #0f172a; }
.form-group { margin-bottom: 1rem; }
.form-group label {
    display: block; font-size: 0.8rem; font-weight: 600; color: #334155;
    margin-bottom: 0.35rem; letter-spacing: 0.01em;
}
.form-group input, .form-group textarea, .form-group select {
    width: 100%; padding: 0.75rem 1rem;
    border: 1.5px solid #e2e8f0; border-radius: 10px;
    font-family: inherit; font-size: 0.9rem; color: #0f172a;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fff;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none; border-color: #b91c1c;
    box-shadow: 0 0 0 3px rgba(185,28,28,0.08);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; }
.form-status { text-align: center; padding: 0.75rem; font-weight: 600; font-size: 0.9rem; border-radius: 8px; }
.form-status.success { color: #065f46; background: #ecfdf5; }
.form-status.error { color: #991b1b; background: #fef2f2; }

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 768px) {
    nav { padding: 0 1rem; height: 64px; }
    .nav-links { display: none; }
    .nav-links.open {
        display: flex; flex-direction: column; position: absolute;
        top: 64px; left: 0; right: 0; background: rgba(255,255,255,0.98);
        backdrop-filter: blur(16px);
        padding: 1.5rem 2rem; gap: 1.25rem;
        border-bottom: 1px solid #e2e8f0;
        box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    }
    .hamburger { display: block; }
    .hero { padding: 6rem 1.5rem 3rem; min-height: 60vh; }
    .hero h1 { font-size: 2rem; }
    .hero-bg { width: 100%; opacity: 0.44; mask-image: none; -webkit-mask-image: none; }
    .section { padding: 3rem 1.5rem; }
    .contact-cards { grid-template-columns: 1fr; }
    .problem-grid, .solution-grid, .result-grid, .process-grid { grid-template-columns: 1fr; }
    .industry-grid { grid-template-columns: 1fr; }
    .trust-badges { gap: 1.5rem; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.75rem; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .btn, .btn-outline { width: 100%; justify-content: center; }
}
