/* ========================================
   FIG — Dark Minimalist Website
======================================== */

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

:root {
    --bg:           #0a0a0a;
    --bg-2:         #111111;
    --bg-3:         #1a1a1a;
    --border:       #222222;
    --border-hover: #333333;
    --accent:       #6366f1;
    --accent-hover: #818cf8;
    --accent-glow:  rgba(99, 102, 241, 0.12);
    --accent-border:rgba(99, 102, 241, 0.35);
    --text:         #ffffff;
    --text-muted:   #a1a1aa;
    --text-dim:     #52525b;
    --success:      #22c55e;
    --radius:       12px;
    --radius-lg:    20px;
    --max-w:        1200px;
}

html {
    scroll-behavior: smooth;
}

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

/* ---- Typography ---- */
h1 {
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--text);
}
h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text);
}
h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text);
}
p { color: var(--text-muted); }
a { color: inherit; }

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

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
}
.btn-primary {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}
.btn-primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
}
.btn-ghost {
    background: transparent;
    color: var(--text-muted);
    border-color: var(--border);
}
.btn-ghost:hover {
    border-color: var(--accent);
    color: var(--text);
}
.btn-full { width: 100%; }

/* ---- Navigation ---- */
#nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: rgba(10, 10, 10, 0.75);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
    transition: background 0.3s ease;
}
.nav-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
    height: 68px;
    display: flex;
    align-items: center;
    gap: 40px;
}
.logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text);
    text-decoration: none;
    letter-spacing: 0.08em;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}
.logo-img {
    height: 28px;
    width: auto;
    display: block;
    mix-blend-mode: screen;
}
.footer-logo-img {
    height: 32px;
    margin-bottom: 12px;
}
.nav-links {
    display: flex;
    gap: 28px;
    flex: 1;
}
.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 6px;
}
.lang-sep { color: var(--text-dim); font-size: 0.75rem; }
.lang-btn {
    background: none;
    border: none;
    color: var(--text-dim);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    padding: 4px 2px;
    transition: color 0.2s;
    letter-spacing: 0.05em;
}
.lang-btn.active,
.lang-btn:hover { color: var(--text); }

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    flex-shrink: 0;
}
.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s ease;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
    display: none;
    flex-direction: column;
    padding: 16px 24px 24px;
    border-top: 1px solid var(--border);
    gap: 20px;
    background: rgba(10, 10, 10, 0.97);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--text); }
.mobile-cta {
    color: var(--accent) !important;
    font-weight: 600 !important;
}

/* ---- Sections ---- */
section {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 120px 24px;
}
.section-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 14px;
}
.section-sub {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-top: 14px;
    max-width: 500px;
}

/* ---- Hero ---- */
#hero {
    padding-top: 180px;
    padding-bottom: 120px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-glow);
    border: 1px solid var(--accent-border);
    color: var(--accent-hover);
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 32px;
    animation: pulse-badge 3s ease-in-out infinite;
}
@keyframes pulse-badge {
    0%, 100% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0); }
    50% { box-shadow: 0 0 0 6px rgba(99, 102, 241, 0.05); }
}
#hero h1 { margin-bottom: 24px; }
.hero-sub {
    font-size: 1.15rem;
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.7;
}
.hero-ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}
.hero-stats {
    display: flex;
    align-items: center;
    gap: 48px;
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}
.stat { text-align: center; }
.stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text);
}
.stat-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    white-space: nowrap;
}
.stat-divider {
    width: 1px;
    height: 44px;
    background: var(--border);
    flex-shrink: 0;
}

/* ---- Services ---- */
#leistungen { text-align: center; }
#leistungen .section-sub { margin: 14px auto 56px; }
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    text-align: left;
}
.service-card {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 60%, rgba(99, 102, 241, 0.04) 100%);
    opacity: 0;
    transition: opacity 0.3s;
}
.service-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 24px 60px rgba(99, 102, 241, 0.1);
}
.service-card:hover::before { opacity: 1; }
.service-card.featured {
    border-color: var(--accent);
    background: linear-gradient(160deg, var(--bg-2) 0%, rgba(99, 102, 241, 0.06) 100%);
}
.service-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}
.service-icon {
    font-size: 2.4rem;
    margin-bottom: 20px;
    display: block;
}
.service-card h3 { margin-bottom: 10px; }
.service-card > p {
    font-size: 0.92rem;
    margin-bottom: 24px;
    line-height: 1.65;
}
.service-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 9px;
}
.service-list li {
    color: var(--text-muted);
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 9px;
}
.service-list li::before {
    content: '✓';
    color: var(--accent);
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* ---- Process ---- */
#prozess { text-align: center; }
#prozess .section-sub { margin: 14px auto 56px; }
.process-steps {
    display: flex;
    align-items: flex-start;
    max-width: 1100px;
    margin: 0 auto;
    text-align: left;
}
.process-step {
    flex: 1;
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px 24px;
    transition: border-color 0.3s;
}
.process-step:hover { border-color: var(--accent); }
.process-connector {
    width: 36px;
    flex-shrink: 0;
    height: 1px;
    background: var(--border);
    margin-top: 50px;
}
.step-number {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--accent);
    opacity: 0.35;
    line-height: 1;
    margin-bottom: 14px;
    letter-spacing: -0.03em;
}
.step-content h3 { margin-bottom: 8px; }
.step-content p { font-size: 0.88rem; line-height: 1.65; }

/* ---- Portfolio ---- */
#portfolio { text-align: center; }
#portfolio .section-sub { margin: 14px auto 32px; }

.pf-filter {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}
.filter-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 9px 22px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s ease;
}
.filter-btn.active, .filter-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.pf-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    text-align: left;
}

.pf-card {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color 0.3s ease, transform 0.35s ease, box-shadow 0.35s ease;
    cursor: default;
}
.pf-card:hover {
    border-color: var(--cc, var(--accent));
    transform: translateY(-7px);
    box-shadow: 0 24px 64px rgba(0,0,0,0.45);
}
.pf-card.hidden { display: none; }

/* Preview */
.pf-preview {
    height: 230px;
    background: var(--cbg, #111);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pf-preview::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, var(--cc, #6366f1) 0%, transparent 68%);
    opacity: 0.18;
    transition: opacity 0.35s;
    pointer-events: none;
}
.pf-card:hover .pf-preview::before { opacity: 0.32; }

/* Body */
.pf-body { padding: 24px 26px; }
.pf-tag {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 8px;
}
.pf-card h3 { font-size: 1.08rem; margin-bottom: 7px; color: var(--text); }
.pf-card p  { font-size: 0.87rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 16px; }
.pf-tech { display: flex; gap: 6px; flex-wrap: wrap; }
.pf-tech span {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--text-dim);
    background: var(--bg-3);
    border: 1px solid var(--border);
    padding: 3px 10px;
    border-radius: 100px;
}

/* =====================
   PREVIEW ELEMENTS
===================== */

/* Browser shell */
.pm-browser {
    width: 88%;
    background: #111118;
    border-radius: 9px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.07);
    box-shadow: 0 16px 48px rgba(0,0,0,0.7);
}
.pm-bar {
    background: #0c0c12;
    padding: 7px 10px;
    display: flex;
    align-items: center;
    gap: 5px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.pm-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.pm-dot.r { background: #ff5f57; }
.pm-dot.y { background: #febc2e; }
.pm-dot.g { background: #28c840; }
.pm-url {
    flex: 1;
    text-align: center;
    font-size: 0.58rem;
    color: #444;
    background: #080810;
    padding: 2px 12px;
    border-radius: 4px;
    margin-left: 6px;
}
.pm-screen {
    padding: 0;
    overflow: hidden;
}
.pm-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    background: rgba(0,0,0,0.3);
}
.pm-nav-links { display: flex; gap: 10px; }
.pm-nav-links span { width: 22px; height: 2px; background: rgba(255,255,255,0.1); border-radius: 2px; }
.pm-cta-mini {
    margin-left: auto;
    font-size: 0.54rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 4px;
}
.pm-hero-content { padding: 12px 14px; display: flex; flex-direction: column; gap: 7px; }
.pm-eyebrow { font-size: 0.52rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.pm-h1 { font-size: 0.88rem; font-weight: 800; color: #fff; line-height: 1.3; }
.pm-sub { height: 4px; width: 70%; background: rgba(255,255,255,0.12); border-radius: 2px; }
.pm-sub.short { width: 45%; }

/* Shop products */
.pm-products { display: flex; gap: 8px; padding: 10px 12px; }
.pm-product {
    flex: 1;
    border-radius: 7px;
    padding: 10px 7px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    border: 1px solid rgba(255,255,255,0.05);
    background: rgba(255,255,255,0.03);
}
.pm-shoe { font-size: 1.6rem; }
.pm-pline { height: 3px; width: 80%; background: rgba(255,255,255,0.1); border-radius: 2px; }

/* Phone shell */
.pm-phone {
    width: 118px;
    height: 200px;
    background: #0a0a0a;
    border-radius: 22px;
    border: 2.5px solid #1e1e1e;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.8), inset 0 0 0 1px rgba(255,255,255,0.04);
    position: relative;
    display: flex;
    flex-direction: column;
}
.pm-phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 38px;
    height: 9px;
    background: #0a0a0a;
    border-radius: 0 0 7px 7px;
    border: 2px solid #1e1e1e;
    border-top: none;
    z-index: 2;
}
.pm-phone-screen {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.pm-app-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 10px 6px;
    font-size: 0.58rem;
    font-weight: 700;
    color: #fff;
}

/* Ring chart */
.pm-ring {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: conic-gradient(var(--rc, #8b5cf6) 0% var(--rp, 82%), rgba(100,100,100,0.12) var(--rp, 82%) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 4px auto 10px;
}
.pm-ring-inner {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.56rem;
    font-weight: 800;
}
.pm-stats { display: flex; justify-content: space-around; padding: 4px 8px; }
.pm-stat { text-align: center; }
.pm-stat b { display: block; font-size: 0.62rem; font-weight: 800; color: #fff; }
.pm-stat small { font-size: 0.42rem; color: rgba(255,255,255,0.38); }

/* Map + tracker (delivery) */
.pm-map {
    flex: 1;
    margin: 5px 8px;
    border-radius: 7px;
    border: 1px solid rgba(255,255,255,0.06);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pm-map-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 16px 16px;
}
.pm-pin { position: relative; z-index: 1; font-size: 1.4rem; }
.pm-tracker {
    display: flex;
    align-items: center;
    padding: 6px 10px;
    gap: 4px;
    flex-shrink: 0;
}
.pm-track-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255,255,255,0.14);
    flex-shrink: 0;
}
.pm-track-line { flex: 1; height: 2px; border-radius: 1px; }
.pm-eta { font-size: 0.45rem; font-weight: 700; margin-left: 3px; white-space: nowrap; }

/* Chat window */
.pm-chat {
    width: 86%;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.07);
    box-shadow: 0 16px 48px rgba(0,0,0,0.7);
}
.pm-chat-hdr {
    padding: 9px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.pm-chat-name { font-size: 0.64rem; font-weight: 700; color: #fff; }
.pm-chat-status { font-size: 0.5rem; }
.pm-chat-msgs {
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.pm-msg {
    padding: 6px 9px;
    border-radius: 7px;
    font-size: 0.53rem;
    line-height: 1.55;
    max-width: 84%;
    color: rgba(255,255,255,0.88);
}
.pm-msg-bot { align-self: flex-start; border-radius: 2px 7px 7px 7px; }
.pm-msg-user { align-self: flex-end; border-radius: 7px 2px 7px 7px; }

/* Typing indicator */
.pm-typing {
    display: flex;
    gap: 4px;
    align-items: center;
    padding: 5px 9px;
    align-self: flex-start;
}
.pm-typing span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(99,102,241,0.5);
    animation: typing-dot 1.3s ease-in-out infinite;
}
.pm-typing span:nth-child(2) { animation-delay: 0.2s; }
.pm-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing-dot {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.35; }
    30% { transform: translateY(-5px); opacity: 1; }
}

/* ---- About ---- */
#ueber-mich { padding-top: 60px; }
.about-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 80px;
    align-items: center;
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 80px;
}
.about-visual { display: flex; justify-content: center; }
.about-img-placeholder {
    width: 100%;
    max-width: 360px;
    aspect-ratio: 3 / 2;
    background: linear-gradient(135deg, var(--bg-3) 0%, rgba(99, 102, 241, 0.1) 100%);
    border: 1px solid var(--accent-border);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
}
.about-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: screen;
}
.about-content .section-label { margin-bottom: 12px; }
.about-content h2 { margin-bottom: 20px; }
.about-content > p { margin-bottom: 32px; line-height: 1.75; }
.about-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.highlight {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 500;
}
.highlight-icon { font-size: 1.1rem; }

/* ---- Contact ---- */
#kontakt { text-align: center; }
#kontakt .section-sub { margin: 14px auto 56px; }
.contact-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 28px;
    text-align: left;
}
.contact-form {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.form-group label {
    font-size: 0.83rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: 0.01em;
}
.form-group input,
.form-group select,
.form-group textarea {
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px 14px;
    color: var(--text);
    font-size: 0.93rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    -webkit-appearance: none;
    appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-dim); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}
.form-group textarea { resize: vertical; }
.form-group select { cursor: pointer; }
.form-group select option { background: #1a1a1a; }

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.contact-card {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: border-color 0.3s, transform 0.2s;
    text-decoration: none;
    color: inherit;
}
.contact-card:not(.no-link):hover {
    border-color: var(--accent);
    transform: translateX(3px);
}
.contact-icon { font-size: 1.7rem; flex-shrink: 0; }
.contact-card strong {
    display: block;
    color: var(--text);
    font-size: 0.88rem;
    margin-bottom: 3px;
}
.contact-card span {
    color: var(--accent);
    font-size: 0.88rem;
}
.contact-card.no-link span { color: var(--text-muted); }

/* ---- Footer ---- */
footer {
    border-top: 1px solid var(--border);
    margin-top: 40px;
}
.footer-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 64px 24px 48px;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 48px;
}
.footer-brand .logo {
    font-size: 1.6rem;
    display: block;
    margin-bottom: 10px;
    text-decoration: none;
}
.footer-brand p { font-size: 0.88rem; color: var(--text-muted); }
.footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-heading {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 4px;
}
.footer-col a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s;
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 20px 24px;
    border-top: 1px solid var(--border);
}
.footer-bottom p { font-size: 0.78rem; color: var(--text-dim); }

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

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        padding: 48px 40px;
        gap: 40px;
    }
    .about-visual { display: none; }
    .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 900px) {
    .nav-links { display: none; }
    .nav-cta { display: none; }
    .menu-toggle { display: flex; }

    .services-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
    .pf-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
    .process-steps { flex-direction: column; max-width: 480px; }
    .process-connector { width: 2px; height: 28px; margin: 0 0 0 28px; background: var(--border); }
    .contact-grid { grid-template-columns: 1fr; }
    .hero-stats { gap: 28px; flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 640px) {
    section { padding: 80px 16px; }
    #hero { padding-top: 130px; padding-bottom: 80px; }
    h1 { font-size: 2.8rem; }
    .about-grid { padding: 36px 24px; }
    .contact-form { padding: 28px 20px; }
    .form-row { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; gap: 28px; }
    .hero-stats { gap: 20px; }
    .stat-divider { display: none; }
}
