/* ============================================================
   APEX MARKETS — ANALYTICS STYLESHEET
   Light, data-driven, professional B2B design
   Matching the style of the report dashboards
   ============================================================ */

/* ── Custom Properties ─────────────────────────────────────── */
:root {
    /* Core Palette — mirroring the report dashboards */
    --c-bg:           #f8fafc;        /* slate-50 */
    --c-surface:      #ffffff;
    --c-surface-2:    #f1f5f9;        /* slate-100 */
    --c-border:       #e2e8f0;        /* slate-200 */
    --c-border-dark:  #cbd5e1;        /* slate-300 */

    --c-text:         #0f172a;        /* slate-900 */
    --c-text-2:       #334155;        /* slate-700 */
    --c-text-muted:   #64748b;        /* slate-500 */
    --c-text-light:   #94a3b8;        /* slate-400 */

    --c-accent:       #4682B4;        /* Steel Blue — same as reports */
    --c-accent-light: rgba(70,130,180,0.10);
    --c-accent-mid:   rgba(70,130,180,0.25);

    --c-free:         #059669;        /* emerald-600 */
    --c-free-bg:      rgba(5,150,105,0.08);
    --c-free-border:  rgba(5,150,105,0.25);

    --c-premium:      #7c3aed;        /* violet-700 */
    --c-premium-bg:   rgba(124,58,237,0.07);
    --c-premium-border: rgba(124,58,237,0.22);

    /* Typography */
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing & Shape */
    --radius-sm:  6px;
    --radius-md:  12px;
    --radius-lg:  16px;
    --radius-xl:  24px;

    /* Shadows */
    --shadow-sm:  0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md:  0 4px 12px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
    --shadow-lg:  0 10px 30px rgba(0,0,0,0.10), 0 4px 8px rgba(0,0,0,0.06);

    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background-color: var(--c-bg);
    color: var(--c-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--c-bg); }
::-webkit-scrollbar-thumb { background: var(--c-border-dark); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--c-text-muted); }

.hidden { display: none !important; }

/* ── Layout Utilities ──────────────────────────────────────── */
.container {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Typography ────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
    font-family: var(--font);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.2;
    color: var(--c-text);
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--c-accent);
    margin-bottom: 12px;
}
.section-label::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 2px;
    background: var(--c-accent);
    border-radius: 2px;
}

.section-heading {
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--c-text);
    margin-bottom: 12px;
}

.section-sub {
    font-size: 1rem;
    color: var(--c-text-muted);
    line-height: 1.7;
}

.heading-accent {
    color: var(--c-accent);
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: var(--radius-md);
    font-family: var(--font);
    font-weight: 600;
    font-size: 0.92rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    line-height: 1;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--c-accent);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(70,130,180,0.30);
}
.btn-primary:hover {
    background-color: #3a6fa0;
    box-shadow: 0 4px 16px rgba(70,130,180,0.40);
    transform: translateY(-1px);
}

.btn-primary-sm {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    border-radius: var(--radius-md);
    background-color: var(--c-accent);
    color: #ffffff;
    font-family: var(--font);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}
.btn-primary-sm:hover {
    background-color: #3a6fa0;
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: var(--c-text-2);
    border: 1.5px solid var(--c-border-dark);
    padding: 11px 22px;
}
.btn-ghost:hover {
    border-color: var(--c-accent);
    color: var(--c-accent);
    background: var(--c-accent-light);
}

.btn-block { width: 100%; justify-content: center; }

/* ── Header ────────────────────────────────────────────────── */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(248, 250, 252, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--c-border);
    transition: box-shadow 0.3s ease;
}

.main-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

/* Logo */
.logo {
    display: flex;
    align-items: baseline;
    gap: 2px;
    user-select: none;
}
.logo-mark {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: var(--c-accent);
}
.logo-sub {
    font-size: 1.15rem;
    font-weight: 300;
    letter-spacing: 0.06em;
    color: var(--c-text);
}

/* Nav */
.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--c-text-muted);
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.nav-link:hover {
    color: var(--c-text);
    background: var(--c-surface-2);
}
.nav-link.active {
    color: var(--c-accent);
    background: var(--c-accent-light);
}

/* ── Hero ──────────────────────────────────────────────────── */
.hero-section {
    padding: 140px 0 80px;
    border-bottom: 1px solid var(--c-border);
    background: linear-gradient(180deg, #ffffff 0%, var(--c-bg) 100%);
    position: relative;
    overflow: hidden;
}

/* Animated stock chart canvas — sits behind content */
.hero-chart-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.9;
}

/* White gradient fade — left opaque (text area), right transparent (chart shows) */
.hero-chart-fade {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(255,255,255,1)   0%,
        rgba(255,255,255,1)   28%,
        rgba(255,255,255,0.85) 45%,
        rgba(255,255,255,0.35) 70%,
        rgba(255,255,255,0)   100%
    );
    z-index: 1;
    pointer-events: none;
}

/* Content sits above both canvas and fade */
.hero-content {
    position: relative;
    z-index: 2;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--c-accent);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding: 5px 12px;
    background: var(--c-accent-light);
    border-radius: 20px;
    border: 1px solid var(--c-accent-mid);
}
.tag-dot {
    width: 6px;
    height: 6px;
    background: var(--c-accent);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-heading {
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 20px;
    max-width: 700px;
}

.hero-lead {
    font-size: 1.1rem;
    color: var(--c-text-muted);
    max-width: 600px;
    line-height: 1.75;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 60px;
}

/* Metrics Row */
.metrics-row {
    display: flex;
    align-items: center;
    gap: 0;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    max-width: 680px;
}

.metric-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 16px;
    gap: 4px;
    text-align: center;
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--c-accent);
    letter-spacing: -0.03em;
    line-height: 1;
}

.metric-label {
    font-size: 0.75rem;
    color: var(--c-text-muted);
    font-weight: 500;
    line-height: 1.3;
}

.metric-divider {
    width: 1px;
    height: 40px;
    background: var(--c-border);
    flex-shrink: 0;
}

/* ── Focus Section ─────────────────────────────────────────── */
.focus-section {
    padding: 88px 0;
    border-bottom: 1px solid var(--c-border);
    background: var(--c-surface);
}

.focus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.focus-card {
    background: var(--c-bg);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.focus-card:hover {
    background: var(--c-surface);
    box-shadow: var(--shadow-md);
    border-color: var(--c-border-dark);
    transform: translateY(-2px);
}

.focus-icon-wrap {
    width: 44px;
    height: 44px;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-accent);
    font-size: 1.15rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.focus-card:hover .focus-icon-wrap {
    background: var(--c-accent-light);
    border-color: var(--c-accent-mid);
}

.focus-body {
    flex: 1;
}

.focus-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--c-text);
    margin-bottom: 6px;
    line-height: 1.3;
}

.focus-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.focus-title-row .focus-title {
    margin-bottom: 0;
}

.focus-text {
    font-size: 0.85rem;
    color: var(--c-text-muted);
    line-height: 1.55;
}

/* Upcoming (Patentanalysen) */
.focus-upcoming {
    border-style: dashed;
}
.upcoming-badge {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--c-accent-light);
    color: var(--c-accent);
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid var(--c-accent-mid);
}

/* Muted / "And many more" Card */
.focus-more {
    border-style: dashed;
    background: transparent;
    cursor: default;
}
.focus-more:hover {
    background: transparent;
    transform: none;
    box-shadow: none;
    border-color: var(--c-border);
}
.focus-more .focus-icon-wrap {
    color: var(--c-text-light);
    background: transparent;
    border-style: dashed;
}
.focus-more .focus-title {
    color: var(--c-text-muted);
}

/* ── Reports Section ───────────────────────────────────────── */
.reports-section {
    padding: 88px 0;
    border-bottom: 1px solid var(--c-border);
}

.section-header-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 48px;
}

.reports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 24px;
}

/* Report Cards */
.report-card {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 0;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.report-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 3px; height: 100%;
    background: var(--c-border-dark);
    transition: background 0.2s ease;
}
.report-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
    border-color: var(--c-border-dark);
}
.report-card:hover::after {
    background: var(--c-accent);
}

.card-premium::after {
    background: var(--c-premium);
    opacity: 0.5;
}
.card-premium:hover::after {
    background: var(--c-premium);
    opacity: 1;
}

.card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.card-category {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--c-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: flex;
    align-items: center;
    gap: 6px;
}

.card-status {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 20px;
}
.status-free {
    background: var(--c-free-bg);
    color: var(--c-free);
    border: 1px solid var(--c-free-border);
}
.status-premium {
    background: var(--c-premium-bg);
    color: var(--c-premium);
    border: 1px solid var(--c-premium-border);
}

.card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--c-text);
    margin-bottom: 10px;
    line-height: 1.35;
}

.card-excerpt {
    font-size: 0.88rem;
    color: var(--c-text-muted);
    line-height: 1.65;
    margin-bottom: 16px;
    flex-grow: 1;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
}
.tag {
    font-size: 0.74rem;
    font-weight: 500;
    color: var(--c-text-2);
    background: var(--c-surface-2);
    border: 1px solid var(--c-border);
    padding: 3px 9px;
    border-radius: 4px;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--c-border);
    padding-top: 16px;
    margin-top: auto;
    gap: 12px;
}

.card-meta {
    display: flex;
    gap: 14px;
    font-size: 0.8rem;
    color: var(--c-text-light);
}
.card-meta i { margin-right: 4px; }

.btn-card {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    white-space: nowrap;
    cursor: pointer;
    border: none;
    font-family: var(--font);
    background: var(--c-accent);
    color: #ffffff;
}
.btn-card:hover {
    background: #3a6fa0;
    transform: translateX(2px);
}

.btn-locked {
    background: var(--c-surface-2);
    color: var(--c-text-muted);
    border: 1.5px solid var(--c-border);
}
.btn-locked:hover {
    background: var(--c-premium-bg);
    color: var(--c-premium);
    border-color: var(--c-premium-border);
}

/* ── Approach Section ──────────────────────────────────────── */
.approach-section {
    padding: 88px 0;
    background: var(--c-surface);
    border-bottom: 1px solid var(--c-border);
}

.approach-grid {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 680px;
    gap: 32px;
}

.approach-body {
    font-size: 1rem;
    color: var(--c-text-muted);
    line-height: 1.75;
    margin-bottom: 32px;
}

.approach-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.approach-list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.list-icon {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    background: var(--c-accent-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-accent);
    font-size: 0.9rem;
    margin-top: 2px;
}
.approach-list li strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--c-text);
    margin-bottom: 2px;
}
.approach-list li span {
    font-size: 0.875rem;
    color: var(--c-text-muted);
    line-height: 1.55;
}

/* Visual Card (Fake Chart) */
.visual-card {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}
.vc-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--c-border);
    background: var(--c-surface-2);
}
.vc-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
}
.dot-blue { background: var(--c-accent); }
.dot-grey { background: var(--c-border-dark); }
.vc-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--c-text-muted);
    margin-left: 4px;
}
.vc-chart {
    padding: 24px 24px 8px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.vc-bar-row {
    display: flex;
    align-items: center;
    gap: 12px;
}
.vc-bar-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--c-text-2);
    width: 130px;
    flex-shrink: 0;
}
.vc-bar-track {
    flex: 1;
    height: 8px;
    background: var(--c-surface-2);
    border-radius: 4px;
    overflow: hidden;
}
.vc-bar {
    height: 100%;
    border-radius: 4px;
    animation: bar-grow 1.2s cubic-bezier(0.4,0,0.2,1) both;
}
@keyframes bar-grow {
    from { width: 0 !important; }
}
.vc-bar-val {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--c-text);
    width: 36px;
    text-align: right;
    flex-shrink: 0;
}
.vc-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    border-top: 1px solid var(--c-border);
    margin-top: 8px;
}
.vc-src {
    font-size: 0.73rem;
    color: var(--c-text-light);
}
.vc-conf {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--c-text-light);
    background: var(--c-surface-2);
    border: 1px solid var(--c-border);
    padding: 2px 8px;
    border-radius: 4px;
}

/* ── Experts Section ───────────────────────────────────────── */
.experts-section {
    padding: 88px 0;
    border-bottom: 1px solid var(--c-border);
    background: var(--c-bg);
}

.experts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.expert-card {
    display: flex;
    gap: 24px;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    align-items: flex-start;
}
.expert-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--c-border-dark);
    transform: translateY(-2px);
}

.expert-photo-wrap {
    flex-shrink: 0;
    width: 90px;
    height: 90px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 2px solid var(--c-border);
    background: var(--c-surface-2);
}
.expert-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.expert-info {
    flex: 1;
}

.expert-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--c-text);
    margin-bottom: 3px;
}

.expert-role {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--c-accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}

.expert-bio {
    font-size: 0.875rem;
    color: var(--c-text-muted);
    line-height: 1.65;
    margin-bottom: 14px;
}

.expert-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

/* ── Consulting Section ─────────────────────────────────────── */
.consulting-section {
    padding: 88px 0;
    background: var(--c-surface);
}

.consulting-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: start;
}

.consulting-benefits {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}
.consulting-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.92rem;
    color: var(--c-text-2);
}
.consulting-benefits li i {
    color: var(--c-accent);
    flex-shrink: 0;
    font-size: 0.85rem;
}

.consulting-actions {
    display: flex;
    gap: 12px;
}

/* Process Steps */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.process-step {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.step-num {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: var(--c-accent);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 3px;
}

.step-content strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--c-text);
    margin-bottom: 3px;
}
.step-content span {
    font-size: 0.85rem;
    color: var(--c-text-muted);
    line-height: 1.6;
}

.process-connector {
    width: 1px;
    height: 32px;
    background: var(--c-border);
    margin-left: 19px;
}

/* ── Footer ────────────────────────────────────────────────── */
.main-footer {
    background: var(--c-text);
    color: #94a3b8;
    padding: 56px 0 0;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo-mark { color: var(--c-accent); }
.footer-brand .logo-sub  { color: #e2e8f0; }

.footer-brand p {
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 12px;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    gap: 48px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-col h4 {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #e2e8f0;
    margin-bottom: 4px;
}
.footer-col a {
    font-size: 0.87rem;
    color: #64748b;
    transition: color 0.2s;
}
.footer-col a:hover { color: #e2e8f0; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    font-size: 0.8rem;
    color: #475569;
}

/* ── Modal ─────────────────────────────────────────────────── */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    animation: fade-in 0.2s ease;
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

.modal-box {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-xl);
    padding: 40px;
    max-width: 440px;
    width: 100%;
    position: relative;
    box-shadow: var(--shadow-lg);
    animation: slide-up 0.25s cubic-bezier(0.4,0,0.2,1);
}
@keyframes slide-up {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

.modal-close {
    position: absolute;
    top: 16px; right: 16px;
    width: 30px; height: 30px;
    border-radius: 50%;
    background: var(--c-surface-2);
    border: 1px solid var(--c-border);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.85rem;
    color: var(--c-text-muted);
    transition: var(--transition);
}
.modal-close:hover {
    background: var(--c-border);
    color: var(--c-text);
}

.modal-icon {
    width: 48px; height: 48px;
    background: var(--c-accent-light);
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    color: var(--c-accent);
    font-size: 1.2rem;
    margin-bottom: 16px;
}

.modal-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.modal-desc {
    font-size: 0.88rem;
    color: var(--c-text-muted);
    margin-bottom: 24px;
    line-height: 1.65;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.form-field label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--c-text-2);
}
.form-field input {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid var(--c-border);
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 0.9rem;
    color: var(--c-text);
    background: var(--c-bg);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}
.form-field input:focus {
    border-color: var(--c-accent);
    box-shadow: 0 0 0 3px var(--c-accent-light);
}
.form-field input::placeholder { color: var(--c-text-light); }

.form-success {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: var(--c-free-bg);
    border: 1px solid var(--c-free-border);
    border-radius: var(--radius-sm);
    color: var(--c-free);
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 16px;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 900px) {
    .hero-heading { font-size: 2.4rem; }
    .approach-grid,
    .consulting-box { grid-template-columns: 1fr; gap: 40px; }
    .experts-grid { grid-template-columns: 1fr; }
    .footer-top { flex-direction: column; gap: 32px; }
    .footer-links { flex-wrap: wrap; gap: 32px; }
}

@media (max-width: 680px) {
    .hero-heading { font-size: 2rem; }
    .section-heading { font-size: 1.7rem; }
    .hero-actions { flex-direction: column; align-items: flex-start; }
    .metrics-row { flex-wrap: wrap; }
    .metric-divider { display: none; }
    .metric-item { min-width: 45%; border: 1px solid var(--c-border); border-radius: var(--radius-sm); }
    .section-header-row { flex-direction: column; }
    .main-nav { display: none; }
    .expert-card { flex-direction: column; }
    .consulting-box { grid-template-columns: 1fr; }
    .header-cta { display: none; }
}

/* ── Language Switcher & Toggling ───────────────────────────── */
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lang-switch-wrap {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.82rem;
    font-weight: 700;
    background: var(--c-surface-2);
    border: 1px solid var(--c-border);
    padding: 2px;
    border-radius: 6px;
}

.lang-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--c-text-muted);
    transition: var(--transition);
    padding: 3px 8px;
    font-family: var(--font);
    font-size: 0.76rem;
    font-weight: 700;
    border-radius: 4px;
    line-height: 1;
}

.lang-btn:hover {
    color: var(--c-text);
}

.lang-btn.active {
    color: var(--c-accent);
    background: var(--c-surface);
    box-shadow: var(--shadow-sm);
}

/* Language Toggling rules */
body.lang-en .lang-de { display: none !important; }
body.lang-de .lang-en { display: none !important; }

