/* ═══════════════════════════════════════════════════════════
   STROMFEE.AI v2 — Design System
   Strict neustrom.de design language, Stromfee content
   ═══════════════════════════════════════════════════════════ */

:root {
    --cyan: #00aeef;
    --cyan-hover: #0095d0;
    --cyan-glow: rgba(0, 174, 239, 0.15);
    --cyan-dim: rgba(0, 174, 239, 0.06);
    --black: #1a1a1a;
    --dark: #333333;
    --bg: #ffffff;
    --bg-alt: #f8f8f8;
    --bg-card: #ffffff;
    --border: #e5e5e5;
    --border-light: #f0f0f0;
    --text: #333333;
    --text-secondary: #666666;
    --text-muted: #999999;
    --green: #059669;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'SF Mono', monospace;
    --radius: 16px;
    --radius-sm: 10px;
    --max-w: 1140px;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
a { color: var(--cyan); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--cyan-hover); }
img { max-width: 100%; display: block; }

/* Typography — neustrom uses very large, bold headlines */
h1, h2, h3, h4 { color: var(--black); font-weight: 800; line-height: 1.1; }
h1 { font-size: clamp(2.8rem, 6vw, 4.5rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); letter-spacing: -0.01em; }
p { font-size: 1.05rem; line-height: 1.7; }

.label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--cyan);
    font-weight: 700;
    display: inline-block;
}

.cyan { color: var(--cyan); }

/* Layout */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 40px; }
section { padding: 120px 0; }

/* ═══ NAV — Glassmorphism, clean ═══ */
.nav {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 1000; padding: 20px 0;
    transition: all 0.4s var(--ease);
}
.nav.scrolled {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 1px 0 var(--border);
    padding: 14px 0;
}
.nav.hidden { transform: translateY(-100%); }
.nav-inner {
    max-width: var(--max-w); margin: 0 auto; padding: 0 40px;
    display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { font-size: 1.3rem; font-weight: 800; color: var(--black); }
.nav-logo span { color: var(--cyan); }
.nav-links { display: flex; gap: 36px; list-style: none; align-items: center; }
.nav-links a {
    font-size: 0.88rem; font-weight: 500; color: var(--text-secondary);
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--black); }
.nav-cta {
    padding: 10px 24px !important; background: var(--cyan) !important;
    color: #fff !important; border-radius: 100px; font-weight: 600 !important;
    font-size: 0.85rem !important;
    transition: all 0.2s !important;
}
.nav-cta:hover { background: var(--cyan-hover) !important; transform: translateY(-1px); }
.nav-mobile-toggle { display: none; background: none; border: none; color: var(--black); font-size: 1.5rem; cursor: pointer; }

/* ═══ HERO — Large text, lots of whitespace ═══ */
.hero {
    min-height: 90vh; display: flex; align-items: center;
    padding: 140px 0 100px; position: relative;
}
.hero-content { max-width: 700px; }
.hero .label { margin-bottom: 24px; }
.hero h1 { margin-bottom: 28px; }
.hero-sub {
    font-size: 1.2rem; color: var(--text-secondary);
    margin-bottom: 20px; max-width: 560px; line-height: 1.6;
}
.hero-body {
    font-size: 1.05rem; color: var(--text-secondary);
    margin-bottom: 48px; max-width: 500px; line-height: 1.7;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

/* ═══ BUTTONS — Pill shape like neustrom ═══ */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 16px 32px; border-radius: 100px;
    font-size: 0.95rem; font-weight: 600;
    cursor: pointer; border: none; transition: all 0.25s var(--ease);
}
.btn-primary { background: var(--cyan); color: #fff; }
.btn-primary:hover {
    background: var(--cyan-hover); color: #fff;
    transform: translateY(-2px); box-shadow: 0 8px 24px var(--cyan-glow);
}
.btn-outline {
    background: transparent; color: var(--text);
    border: 1.5px solid var(--border);
}
.btn-outline:hover {
    border-color: var(--cyan); color: var(--cyan);
    transform: translateY(-2px);
}

/* ═══ AGENT TICKER ═══ */
.agent-ticker {
    margin-top: 56px; padding: 20px 24px;
    background: var(--bg-alt); border: 1px solid var(--border-light);
    border-radius: var(--radius); max-width: 520px;
}
.agent-ticker-label {
    font-family: var(--font-mono); font-size: 0.68rem;
    color: var(--cyan); text-transform: uppercase; letter-spacing: 0.12em;
    margin-bottom: 10px; display: flex; align-items: center; gap: 8px;
}
.pulse {
    width: 7px; height: 7px; background: var(--green); border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.3); }
    50% { box-shadow: 0 0 0 6px rgba(5, 150, 105, 0); }
}
.agent-ticker-items { display: flex; flex-direction: column; gap: 3px; }
.agent-ticker-item {
    font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-muted);
    display: flex; align-items: center; gap: 8px;
    opacity: 0; animation: ticker-fade 0.4s ease forwards;
}
.agent-ticker-item .time { color: var(--text-secondary); min-width: 50px; }
.agent-ticker-item .dot { color: var(--green); }
.agent-ticker-item .msg { color: var(--text-muted); }
@keyframes ticker-fade {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ═══ STATS — Clean number display ═══ */
.stats {
    padding: 64px 0; border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; text-align: center; }
.stat-number {
    font-family: var(--font); font-size: clamp(2.4rem, 4vw, 3.6rem);
    font-weight: 800; color: var(--black); line-height: 1; margin-bottom: 8px;
}
.stat-label { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; }

/* ═══ MARQUEE ═══ */
.marquee-wrap {
    overflow: hidden; padding: 32px 0;
    border-bottom: 1px solid var(--border-light);
}
.marquee-track {
    display: flex; gap: 20px; animation: marquee 40s linear infinite; width: max-content;
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.marquee-item {
    font-size: 0.82rem; color: var(--text-muted); white-space: nowrap;
    padding: 6px 16px; border: 1px solid var(--border-light); border-radius: 100px;
    font-weight: 500;
}

/* ═══ SECTION HEADERS ═══ */
.section-header { text-align: center; max-width: 700px; margin: 0 auto 64px; }
.section-header .label { margin-bottom: 20px; }
.section-header h2 { margin-bottom: 20px; }
.section-header p { color: var(--text-secondary); font-size: 1.1rem; line-height: 1.7; }

/* ═══ PARADIGM CARDS — Clean grid ═══ */
.paradigm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.paradigm-card {
    padding: 36px 32px; background: var(--bg);
    border: 1px solid var(--border); border-radius: var(--radius);
    transition: all 0.3s var(--ease);
}
.paradigm-card:hover {
    border-color: var(--cyan); transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 174, 239, 0.08);
}
.paradigm-icon {
    width: 52px; height: 52px; background: var(--cyan-dim);
    border-radius: 14px; display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; margin-bottom: 24px;
}
.paradigm-card h3 { margin-bottom: 12px; font-weight: 700; }
.paradigm-card p { font-size: 0.92rem; color: var(--text-secondary); line-height: 1.6; }

/* ═══ SERVICES — Alternating two-column ═══ */
.service-card {
    display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
    align-items: center; padding: 64px 0; border-bottom: 1px solid var(--border-light);
}
a.service-card { text-decoration: none; color: inherit; }
.service-card:last-of-type { border-bottom: none; }
.service-card:nth-of-type(even) .service-info { order: 2; }
.service-card:nth-of-type(even) .service-visual { order: 1; }
.service-visual {
    border-radius: var(--radius); overflow: hidden;
    min-height: 340px; background: var(--bg-alt);
}
.service-info .label { margin-bottom: 16px; }
.service-info h3 { font-size: 1.8rem; margin-bottom: 16px; font-weight: 800; }
.service-info > p { color: var(--text-secondary); margin-bottom: 28px; line-height: 1.7; }
.service-features { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.service-features li {
    display: flex; align-items: center; gap: 12px;
    font-size: 0.92rem; color: var(--text); font-weight: 500;
}
.service-features li::before {
    content: ''; width: 6px; height: 6px;
    background: var(--cyan); border-radius: 50%; flex-shrink: 0;
}

/* ═══ ECOSYSTEM ═══ */
.ecosystem { text-align: center; }
.ecosystem-visual {
    margin-top: 48px; padding: 48px;
    background: var(--bg); border: 1px solid var(--border);
    border-radius: var(--radius);
}
.ecosystem-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.eco-node {
    padding: 24px 16px; border: 1px solid var(--border-light); border-radius: var(--radius-sm);
    text-align: center; transition: all 0.3s var(--ease);
}
.eco-node:hover { border-color: var(--cyan); transform: translateY(-3px); box-shadow: 0 8px 24px var(--cyan-glow); }
.eco-node-count { font-size: 2.2rem; font-weight: 800; color: var(--cyan); line-height: 1; }
.eco-node-label { font-size: 0.82rem; color: var(--text-secondary); margin-top: 6px; font-weight: 600; }
.eco-center {
    grid-column: 1 / -1; padding: 20px;
    background: var(--cyan-dim); border: 1px solid rgba(0,174,239,0.2);
    border-radius: var(--radius-sm);
    font-family: var(--font-mono); font-size: 0.88rem; color: var(--cyan); font-weight: 600;
}

/* ═══ STEPS ═══ */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 56px; }
.step { text-align: center; padding: 24px; }
.step-number {
    font-size: 3.5rem; font-weight: 800; color: var(--border); line-height: 1; margin-bottom: 20px;
}
.step h3 { margin-bottom: 12px; font-weight: 700; }
.step p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; }

/* ═══ CASE STUDY ═══ */
.case-study {
    background: var(--bg-alt); border: 1px solid var(--border-light);
    border-radius: var(--radius); padding: 64px;
}
.case-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.case-metric {
    text-align: center; padding: 28px; background: var(--bg);
    border-radius: var(--radius-sm); border: 1px solid var(--border-light);
}
.case-metric-value { font-size: 2rem; font-weight: 800; color: var(--cyan); }
.case-metric-label { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; font-weight: 500; }

/* ═══ MANAGEMENT ARCHITECTURE ═══ */
.mgmt-architecture { margin-bottom: 56px; }
.mgmt-core {
    display: flex; align-items: center; gap: 28px; padding: 36px;
    background: var(--bg); border: 2px solid rgba(0,174,239,0.2);
    border-radius: var(--radius); box-shadow: 0 2px 20px var(--cyan-glow);
}
.mgmt-core-icon { font-size: 2.8rem; flex-shrink: 0; }
.mgmt-core-text h3 { font-size: 1.4rem; margin-bottom: 8px; }
.mgmt-core-text p { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.6; }
.mgmt-section { margin-bottom: 48px; }
.mgmt-section-header { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.mgmt-section-badge {
    font-family: var(--font-mono); font-size: 0.7rem; font-weight: 700;
    color: #fff; background: var(--cyan); padding: 5px 14px;
    border-radius: 100px; white-space: nowrap; flex-shrink: 0; margin-top: 4px;
}
.mgmt-section-header h3 { font-size: 1.15rem; margin-bottom: 6px; }
.mgmt-section-header p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.5; }
.mgmt-hive {
    margin-top: 48px; padding: 28px 36px;
    background: var(--bg); border: 1px solid var(--border);
    border-left: 4px solid var(--cyan); border-radius: var(--radius-sm);
    font-size: 0.95rem; color: var(--text-secondary); line-height: 1.7; font-style: italic;
}

/* ═══ BRANCHEN ═══ */
.branchen-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.branchen-grid-5 { grid-template-columns: repeat(5, 1fr); }
.branche-card {
    padding: 28px 20px; background: var(--bg);
    border: 1px solid var(--border); border-radius: var(--radius-sm);
    text-align: center; transition: all 0.3s var(--ease); cursor: pointer;
}
.branche-card:hover {
    border-color: var(--cyan); transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0,0,0,0.06);
}
.branche-icon { font-size: 2rem; margin-bottom: 12px; }
.branche-card h4 { font-size: 0.92rem; margin-bottom: 6px; font-weight: 700; color: var(--black); }
.branche-card p { font-size: 0.78rem; color: var(--text-muted); line-height: 1.4; }
a.branche-card { text-decoration: none; color: inherit; display: block; }
a.branche-card:hover h4 { color: var(--cyan); }

/* ═══ FAQ — Clean accordion ═══ */
.faq-list { max-width: 800px; margin: 48px auto 0; }
.faq-item { border-bottom: 1px solid var(--border-light); }
.faq-question {
    width: 100%; background: none; border: none; padding: 28px 0;
    display: flex; justify-content: space-between; align-items: center;
    cursor: pointer; color: var(--black); font-size: 1.05rem; font-weight: 600;
    font-family: var(--font); text-align: left;
}
.faq-question:hover { color: var(--cyan); }
.faq-toggle {
    font-size: 1.5rem; color: var(--cyan); transition: transform 0.3s var(--ease);
    flex-shrink: 0; margin-left: 20px;
}
.faq-item.open .faq-toggle { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-answer-inner {
    padding: 0 0 28px; color: var(--text-secondary);
    line-height: 1.7; font-size: 0.95rem;
}

/* ═══ CTA ═══ */
.cta-section {
    text-align: center; padding: 120px 0;
    background: var(--bg-alt);
}
.cta-section h2 { margin-bottom: 20px; }
.cta-section p {
    color: var(--text-secondary); margin-bottom: 40px;
    max-width: 520px; margin-left: auto; margin-right: auto; font-size: 1.1rem;
}

/* ═══ CONTACT ═══ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-top: 48px; }
.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%; padding: 16px 20px;
    background: var(--bg-alt); border: 1px solid var(--border);
    border-radius: var(--radius-sm); color: var(--text);
    font-family: var(--font); font-size: 0.95rem; margin-bottom: 16px;
    transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { outline: none; border-color: var(--cyan); }
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-info-card {
    padding: 28px; background: var(--bg-alt); border: 1px solid var(--border-light);
    border-radius: var(--radius-sm); margin-bottom: 16px;
}
.contact-info-card h4 { margin-bottom: 6px; font-size: 0.95rem; }
.contact-info-card p { color: var(--text-secondary); font-size: 0.88rem; }
.contact-info-card a { font-size: 1.05rem; font-weight: 600; }

/* ═══ CLAW DETAIL CARDS ═══ */
.claw-list { display: flex; flex-direction: column; gap: 16px; }
.claw-detail {
    display: flex; align-items: center; gap: 24px;
    padding: 28px 32px; background: var(--bg);
    border: 1px solid var(--border); border-radius: var(--radius);
    transition: all 0.3s var(--ease);
}
.claw-detail:hover {
    border-color: var(--cyan);
    box-shadow: 0 8px 32px rgba(0,174,239,0.08);
    transform: translateY(-2px);
}
.claw-detail-icon { font-size: 2.5rem; flex-shrink: 0; }
.claw-detail-info { flex: 1; }
.claw-detail-info h3 { font-size: 1.15rem; margin-bottom: 8px; display: flex; align-items: center; flex-wrap: wrap; }
.claw-detail-info p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.5; }
.claw-detail-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.claw-detail-tags span {
    font-size: 0.72rem; font-weight: 600; color: var(--text-muted);
    background: var(--bg-alt); padding: 3px 10px; border-radius: 100px;
    border: 1px solid var(--border-light);
}

@media (max-width: 600px) {
    .claw-detail { flex-direction: column; text-align: center; gap: 16px; }
    .claw-detail-tags { justify-content: center; }
}

/* ═══ FOOTER ═══ */
.footer {
    padding: 48px 0 32px; border-top: 1px solid var(--border-light);
}
.footer-inner {
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 20px;
}
.footer-copy { font-size: 0.82rem; color: var(--text-muted); }
.footer-links { display: flex; gap: 28px; list-style: none; }
.footer-links a { font-size: 0.82rem; color: var(--text-muted); }
.footer-links a:hover { color: var(--cyan); }

/* ═══ REVEAL ═══ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 991px) {
    .container { padding: 0 24px; }
    .nav-inner { padding: 0 24px; }
    .nav-links { display: none; }
    .nav-mobile-toggle { display: block; }
    .paradigm-grid { grid-template-columns: repeat(2, 1fr); }
    .service-card { grid-template-columns: 1fr; gap: 32px; }
    .service-card:nth-child(even) { direction: ltr; }
    .ecosystem-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .case-metrics { grid-template-columns: repeat(2, 1fr); }
    .branchen-grid-5 { grid-template-columns: repeat(3, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .mgmt-core { flex-direction: column; text-align: center; }
}

@media (max-width: 600px) {
    section { padding: 80px 0; }
    .paradigm-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .steps-grid { grid-template-columns: 1fr; }
    .case-metrics { grid-template-columns: repeat(2, 1fr); }
    .branchen-grid { grid-template-columns: repeat(2, 1fr); }
    .branchen-grid-5 { grid-template-columns: repeat(2, 1fr); }
    .case-study { padding: 32px; }
    .ecosystem-grid { grid-template-columns: 1fr; }
    .ecosystem-visual { padding: 24px; }
    .hero-ctas { flex-direction: column; }
    .hero-ctas .btn { width: 100%; justify-content: center; }
    .hero { min-height: auto; padding: 120px 0 80px; }
}
