/* ═══════════════════════════════════════════════════════ */
/* pfisterer.digital — Stylesheet                         */
/* Coming Soon + Full Site in one file                    */
/* ═══════════════════════════════════════════════════════ */

/* ── FONTS (lokal, DSGVO-konform) ─────────────────────── */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('/fonts/jetbrains-mono-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('/fonts/jetbrains-mono-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── RESET & VARIABLES ────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #06060b;
  --bg-2: #0c0c14;
  --bg-card: rgba(255,255,255,0.03);
  --bg-card-hover: rgba(255,255,255,0.06);
  --text: #e4e4e7;
  --text-muted: #71717a;
  --text-heading: #fafafa;
  --accent: #a78bfa;
  --accent-2: #c084fc;
  --accent-3: #e879f9;
  --gradient: linear-gradient(135deg, #a78bfa, #c084fc, #e879f9);
  --border: rgba(255,255,255,0.06);
  --border-hover: rgba(167,139,250,0.3);
  --glow: rgba(167,139,250,0.15);
  --shadow: 0 4px 30px rgba(0,0,0,0.3);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.5);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-full: 100px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', monospace;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --nav-height: 72px;
}

[data-theme="light"] {
  --bg: #fafafa;
  --bg-2: #f4f4f5;
  --bg-card: rgba(0,0,0,0.02);
  --bg-card-hover: rgba(0,0,0,0.04);
  --text: #27272a;
  --text-muted: #71717a;
  --text-heading: #09090b;
  --border: rgba(0,0,0,0.08);
  --border-hover: rgba(167,139,250,0.4);
  --shadow: 0 4px 30px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.12);
}

html { font-size: 16px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-2); }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.container-narrow { max-width: 800px; }
.text-gradient { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* ═══════════════════════════════════════════════════════ */
/* COMING SOON STYLES (cs- prefix)                        */
/* ═══════════════════════════════════════════════════════ */
@keyframes csGlowPulse { 0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); } 50% { opacity: 1; transform: translateX(-50%) scale(1.1); } }

@keyframes csParticleFloat { 0% { opacity: 0; transform: translateY(100vh) scale(0); } 10% { opacity: 0.6; } 90% { opacity: 0.6; } 100% { opacity: 0; transform: translateY(-10vh) scale(1); } }

.logo-dot { color: var(--accent); }

@keyframes csDotPulse { 0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(167,139,250,0.4); } 50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(167,139,250,0); } }

/* Terminal */
@keyframes csBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
@keyframes csTypeIn { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: translateX(0); } }

/* Services Preview */

/* Notify */

/* Footer (Coming Soon) */

@keyframes csFadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 600px) {
}

/* ═══════════════════════════════════════════════════════ */
/* FULL SITE STYLES                                       */
/* ═══════════════════════════════════════════════════════ */

/* ── NAVIGATION ───────────────────────────────────────── */
.navbar { position: fixed; top: 0; left: 0; right: 0; height: var(--nav-height); z-index: 1000; transition: all var(--transition); }
.navbar.scrolled { background: rgba(6,6,11,0.85); backdrop-filter: blur(20px) saturate(180%); border-bottom: 1px solid var(--border); }
[data-theme="light"] .navbar.scrolled { background: rgba(250,250,250,0.85); }
.nav-container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; height: 100%; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 0.5rem; font-size: 1.2rem; font-weight: 700; color: var(--text-heading); text-decoration: none; }

.nav-menu { display: flex; list-style: none; gap: 0.5rem; }
.nav-link { padding: 0.5rem 1rem; font-size: 0.875rem; font-weight: 500; color: var(--text-muted); border-radius: var(--radius-sm); transition: all var(--transition); text-decoration: none; }
.nav-link:hover { color: var(--text); background: var(--bg-card); }
.nav-actions { display: flex; align-items: center; gap: 0.75rem; }

.theme-toggle { width: 40px; height: 40px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg-card); color: var(--text-muted); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all var(--transition); }
.theme-toggle:hover { color: var(--accent); border-color: var(--border-hover); }
.theme-toggle .fa-sun { display: none; }
[data-theme="light"] .theme-toggle .fa-moon { display: none; }
[data-theme="light"] .theme-toggle .fa-sun { display: block; }

.nav-cta { padding: 0.55rem 1.3rem; background: var(--gradient); color: #000; font-size: 0.85rem; font-weight: 600; border-radius: var(--radius-sm); text-decoration: none; transition: all var(--transition); }
.nav-cta:hover { color: #000; transform: translateY(-1px); box-shadow: 0 8px 30px rgba(167,139,250,0.3); }

.nav-hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all var(--transition); }
.nav-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Nav */
.mobile-nav { position: fixed; inset: 0; top: var(--nav-height); z-index: 999; background: var(--bg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2rem; opacity: 0; pointer-events: none; transition: opacity var(--transition); }
.mobile-nav.active { opacity: 1; pointer-events: auto; }
.mobile-nav-menu { list-style: none; text-align: center; }
.mobile-nav-link { display: block; padding: 0.8rem; font-size: 1.5rem; font-weight: 700; color: var(--text-heading); text-decoration: none; }
.mobile-nav-cta { width: 80%; max-width: 300px; text-align: center; justify-content: center; }
.mobile-nav-parent { font-size: 0.8rem; color: var(--text-muted); }

/* ── BUTTONS ──────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font); font-weight: 600; border: none; border-radius: var(--radius-sm); cursor: pointer; transition: all var(--transition); text-decoration: none; white-space: nowrap; }
.btn-lg { padding: 0.9rem 1.8rem; font-size: 0.95rem; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.8rem; }
.btn-primary { background: var(--gradient); color: #000; }
.btn-primary:hover { color: #000; transform: translateY(-2px); box-shadow: 0 8px 30px rgba(167,139,250,0.3); }
.btn-ghost { background: var(--bg-card); color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { color: var(--text); background: var(--bg-card-hover); border-color: var(--border-hover); }
.btn-outline { background: transparent; color: var(--text-muted); border: 1px solid var(--border); }
.btn-outline:hover { color: var(--text); border-color: var(--border-hover); background: var(--bg-card); }
.btn-full { width: 100%; justify-content: center; }

/* ── HERO ─────────────────────────────────────────────── */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: calc(var(--nav-height) + 2rem) 2rem 4rem; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px); background-size: 60px 60px; }
[data-theme="light"] .hero-grid { background-image: linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px); }
.hero-glow { position: absolute; top: -30%; left: 50%; transform: translateX(-50%); width: 900px; height: 900px; background: radial-gradient(circle, rgba(167,139,250,0.1) 0%, rgba(192,132,252,0.05) 40%, transparent 70%); border-radius: 50%; animation: heroGlow 8s ease-in-out infinite; }
@keyframes heroGlow { 0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); } 50% { opacity: 1; transform: translateX(-50%) scale(1.15); } }

.hero-particles { position: absolute; inset: 0; overflow: hidden; }
.hero-particle { position: absolute; background: var(--accent); border-radius: 50%; opacity: 0; animation: heroParticleDrift linear infinite; }
@keyframes heroParticleDrift { 0% { opacity: 0; transform: translateY(100vh) scale(0); } 10% { opacity: .5; } 90% { opacity: .5; } 100% { opacity: 0; transform: translateY(-10vh) scale(1); } }

.hero-container { position: relative; z-index: 1; text-align: center; max-width: 800px; }
.animate-in { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.animate-in.visible { opacity: 1; transform: translateY(0); }

.hero-badge { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.4rem 1.2rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-full); font-size: 0.82rem; color: var(--text-muted); margin-bottom: 2rem; backdrop-filter: blur(10px); }
.badge-dot { width: 6px; height: 6px; background: #22c55e; border-radius: 50%; animation: badgePulse 2s ease-in-out infinite; }
@keyframes badgePulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.4); } 50% { box-shadow: 0 0 0 6px rgba(34,197,94,0); } }
.hero-badge a { color: var(--text-muted); }
.hero-badge a:hover { color: var(--accent); }

.hero-title { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.03em; color: var(--text-heading); margin-bottom: 1.5rem; }
.hero-gradient { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-subtitle { font-size: 1.15rem; line-height: 1.7; color: var(--text-muted); max-width: 620px; margin: 0 auto 2.5rem; }
.hero-ctas { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }

.hero-stats { display: flex; justify-content: center; align-items: center; gap: 2.5rem; }
.stat { text-align: center; }
.stat-number { font-size: 2rem; font-weight: 800; color: var(--text-heading); }
.stat-unit { font-size: 1rem; font-weight: 600; color: var(--accent); margin-left: 2px; }
.stat-label { display: block; font-size: 0.75rem; color: var(--text-muted); margin-top: 0.2rem; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

.hero-scroll { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 1; }
.scroll-indicator { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; color: var(--text-muted); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; text-decoration: none; }
.scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, var(--accent), transparent); animation: scrollPulse 2s ease-in-out infinite; }
@keyframes scrollPulse { 0%, 100% { opacity: 0.3; height: 30px; } 50% { opacity: 1; height: 50px; } }

/* ── SECTIONS ─────────────────────────────────────────── */
section { padding: 6rem 0; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-tag { display: inline-block; padding: 0.3rem 0.9rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-full); font-size: 0.75rem; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1.2rem; }
.section-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; color: var(--text-heading); margin-bottom: 1rem; }
.section-subtitle { font-size: 1.05rem; color: var(--text-muted); max-width: 560px; margin: 0 auto; }

/* ── SERVICES ─────────────────────────────────────────── */
.services { background: var(--bg-2); }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.service-card { position: relative; padding: 2rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); transition: all var(--transition); overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--gradient); opacity: 0; transition: opacity var(--transition); }
.service-card:hover { border-color: var(--border-hover); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card:hover::before { opacity: 1; }
.service-card.featured { border-color: rgba(167,139,250,0.2); }
.service-badge { position: absolute; top: 1rem; right: 1rem; padding: 0.2rem 0.6rem; background: var(--gradient); color: #000; font-size: 0.65rem; font-weight: 700; border-radius: var(--radius-full); text-transform: uppercase; }
.service-icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: var(--bg-card-hover); border: 1px solid var(--border); border-radius: 12px; margin-bottom: 1.2rem; font-size: 1.2rem; color: var(--accent); }
.service-number { font-size: 0.7rem; font-weight: 700; color: var(--text-muted); font-family: var(--mono); margin-bottom: 0.5rem; opacity: 0.5; }
.service-title { font-size: 1.1rem; font-weight: 700; color: var(--text-heading); margin-bottom: 0.7rem; line-height: 1.3; }
.service-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 1.2rem; }
.service-features { list-style: none; margin-bottom: 1.5rem; }
.service-features li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; color: var(--text-muted); padding: 0.3rem 0; }
.service-features li i { color: var(--accent); font-size: 0.65rem; }
.service-link { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.82rem; font-weight: 600; color: var(--accent); }
.service-link:hover { gap: 0.7rem; }

/* ── PORTFOLIO ────────────────────────────────────────── */
.portfolio-filter { display: flex; justify-content: center; gap: 0.5rem; margin-bottom: 3rem; flex-wrap: wrap; }
.filter-btn { padding: 0.5rem 1.2rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-full); color: var(--text-muted); font-family: var(--font); font-size: 0.82rem; font-weight: 500; cursor: pointer; transition: all var(--transition); }
.filter-btn:hover, .filter-btn.active { background: var(--gradient); color: #000; border-color: transparent; }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.portfolio-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all var(--transition); }
.portfolio-card:hover { border-color: var(--border-hover); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.portfolio-card.hidden { display: none; }
.card-image { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition); }
.portfolio-card:hover .card-image img { transform: scale(1.03); }
.card-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 3rem; color: rgba(255,255,255,0.3); }
.card-overlay { position: absolute; inset: 0; background: rgba(6,6,11,0.6); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity var(--transition); }
.card-image:hover .card-overlay { opacity: 1; }
.card-btn-demo { width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.15); backdrop-filter: blur(10px); border-radius: 50%; color: #fff; font-size: 1.1rem; text-decoration: none; transition: all var(--transition); }
.card-btn-demo:hover { background: var(--accent); color: #000; transform: scale(1.1); }
.card-badge { position: absolute; top: 0.8rem; left: 0.8rem; padding: 0.25rem 0.7rem; background: rgba(6,6,11,0.7); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-full); font-size: 0.7rem; font-weight: 600; color: var(--accent); }
.card-content { padding: 1.5rem; }
.card-title { font-size: 1.1rem; font-weight: 700; color: var(--text-heading); margin-bottom: 0.5rem; }
.card-desc { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 1rem; }
.card-results { display: flex; gap: 1.2rem; margin-bottom: 1.2rem; padding: 0.8rem; background: var(--bg-card); border-radius: var(--radius-sm); }
.result { text-align: center; flex: 1; }
.result-number { display: block; font-size: 0.95rem; font-weight: 800; color: var(--accent); }
.result-label { font-size: 0.65rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.card-actions { display: flex; gap: 0.5rem; }
.card-actions .btn { flex: 1; justify-content: center; }

/* ── PROCESS ──────────────────────────────────────────── */
.process { background: var(--bg-2); }
.process-timeline { position: relative; max-width: 700px; margin: 0 auto; }
.process-line { position: absolute; left: 28px; top: 0; bottom: 0; width: 2px; background: linear-gradient(to bottom, var(--accent), var(--accent-3), transparent); }
.process-step { position: relative; display: flex; gap: 2rem; padding-bottom: 3rem; }
.process-step:last-child { padding-bottom: 0; }
.step-marker { flex-shrink: 0; width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; background: var(--bg); border: 2px solid var(--accent); border-radius: 50%; z-index: 1; }
.step-marker span { font-size: 0.85rem; font-weight: 800; color: var(--accent); font-family: var(--mono); }
.step-content { padding-top: 0.6rem; }
.step-content h3 { font-size: 1.15rem; font-weight: 700; color: var(--text-heading); margin-bottom: 0.5rem; }
.step-content p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

/* ── PROMISE ──────────────────────────────────────────── */
.promise-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.promise-text { font-size: 1rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 1rem; }
.promise-text a { color: var(--accent); border-bottom: 1px solid transparent; }
.promise-text a:hover { border-bottom-color: var(--accent); }
.promise-facts { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
.fact { display: flex; align-items: center; gap: 1rem; padding: 1rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm); transition: all var(--transition); }
.fact:hover { border-color: var(--border-hover); }
.fact-icon { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: var(--bg-card-hover); border-radius: 10px; color: var(--accent); flex-shrink: 0; }
.fact strong { display: block; font-size: 0.9rem; color: var(--text-heading); }
.fact span { font-size: 0.8rem; color: var(--text-muted); }

/* Orbits */
.promise-visual { display: flex; justify-content: center; }
.visual-card { width: 400px; height: 400px; position: relative; }
.visual-orbits { position: relative; width: 100%; height: 100%; }
.orbit { position: absolute; border: 1px solid var(--border); border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.orbit-1 { width: 160px; height: 160px; }
.orbit-2 { width: 260px; height: 260px; border-style: dashed; }
.orbit-3 { width: 360px; height: 360px; }
.orbit-center { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; background: var(--gradient); border-radius: 50%; color: #000; font-size: 1.4rem; box-shadow: 0 0 40px rgba(167,139,250,0.3); }
.orbit-node { position: absolute; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: var(--bg); border: 1px solid var(--border); border-radius: 50%; color: var(--accent); font-size: 0.9rem; animation: orbitFloat 3s ease-in-out infinite; }
.node-1 { top: 5%; left: 50%; transform: translateX(-50%); }
.node-2 { top: 50%; right: 0; transform: translateY(-50%); animation-delay: 0.75s; }
.node-3 { bottom: 5%; left: 50%; transform: translateX(-50%); animation-delay: 1.5s; }
.node-4 { top: 50%; left: 0; transform: translateY(-50%); animation-delay: 2.25s; }
@keyframes orbitFloat { 0%, 100% { box-shadow: 0 0 0 rgba(167,139,250,0); } 50% { box-shadow: 0 0 20px rgba(167,139,250,0.15); transform: scale(1.05); } }

/* ── BLOG ─────────────────────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.blog-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all var(--transition); }
.blog-card:hover { border-color: var(--border-hover); transform: translateY(-4px); }
.blog-image { position: relative; aspect-ratio: 16/9; }
.blog-image img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition); }
.blog-card:hover .blog-image img { transform: scale(1.03); }
.blog-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 2rem; color: rgba(255,255,255,0.3); }
.blog-date { position: absolute; bottom: 0.8rem; right: 0.8rem; padding: 0.2rem 0.6rem; background: rgba(6,6,11,0.7); backdrop-filter: blur(10px); border-radius: var(--radius-full); font-size: 0.7rem; color: var(--text-muted); }
.blog-content { padding: 1.5rem; }
.blog-tag { display: inline-block; padding: 0.2rem 0.5rem; background: var(--bg-card-hover); border-radius: var(--radius-full); font-size: 0.7rem; font-weight: 600; color: var(--accent); margin-bottom: 0.6rem; }
.blog-content h3 { font-size: 1rem; font-weight: 700; color: var(--text-heading); margin-bottom: 0.5rem; line-height: 1.3; }
.blog-content p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 1rem; }
.blog-link { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.82rem; font-weight: 600; color: var(--accent); }
.blog-link:hover { gap: 0.6rem; }

/* ── CTA BANNER ───────────────────────────────────────── */
.cta-banner { padding: 4rem 0; background: var(--bg-2); }
.cta-inner { position: relative; text-align: center; padding: 4rem 2rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.cta-glow { position: absolute; top: -50%; left: 50%; transform: translateX(-50%); width: 600px; height: 400px; background: radial-gradient(circle, rgba(167,139,250,0.12) 0%, transparent 60%); pointer-events: none; }
.cta-title { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; color: var(--text-heading); margin-bottom: 0.8rem; position: relative; }
.cta-text { color: var(--text-muted); margin-bottom: 2rem; position: relative; }
.cta-inner .btn { position: relative; }

/* ── CONTACT ──────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 3rem; align-items: start; }
.contact-form { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--text); margin-bottom: 0.4rem; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 0.75rem 1rem; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text); font-family: var(--font); font-size: 0.9rem; outline: none; transition: border-color var(--transition); }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-muted); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--accent); }
.form-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2371717a' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.8rem; text-align: center; }

.contact-info { display: flex; flex-direction: column; gap: 1rem; }
.info-card { display: flex; align-items: center; gap: 1rem; padding: 1.2rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm); transition: all var(--transition); }
.info-card:hover { border-color: var(--border-hover); }
.info-icon { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: var(--bg-card-hover); border-radius: 10px; color: var(--accent); flex-shrink: 0; }
.info-card strong { display: block; font-size: 0.82rem; color: var(--text-heading); }
.info-card a, .info-card span { font-size: 0.82rem; color: var(--text-muted); }

/* ── FOOTER ───────────────────────────────────────────── */
.footer { padding: 4rem 0 2rem; border-top: 1px solid var(--border); background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; margin-top: 1rem; }
.footer-parent { margin-top: 0.5rem; font-size: 0.78rem; }
.footer-links h4 { font-size: 0.85rem; font-weight: 700; color: var(--text-heading); margin-bottom: 1rem; }
.footer-links ul { list-style: none; }
.footer-links ul li { padding: 0.3rem 0; }
.footer-links ul a { font-size: 0.82rem; color: var(--text-muted); text-decoration: none; transition: color var(--transition); }
.footer-links ul a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 2rem; border-top: 1px solid var(--border); }
.footer-bottom p { font-size: 0.78rem; color: var(--text-muted); }
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--accent); }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { font-size: 0.78rem; color: var(--text-muted); }

/* ── PAGE HERO (Subpages) ─────────────────────────────── */

/* ── FOOTER SOCIAL ────────────────────────────────────── */
.footer-social { display: flex; gap: 0.8rem; margin-top: 1rem; }
.footer-social a { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 50%; color: var(--text-muted); font-size: 1rem; transition: all var(--transition); text-decoration: none; }
.footer-social a:hover { color: var(--accent); border-color: var(--border-hover); transform: translateY(-2px); }

.page-hero { padding: calc(var(--nav-height) + 4rem) 0 3rem; background: var(--bg-2); }
.page-hero-inner { max-width: 700px; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; color: var(--text-heading); margin-bottom: 0.8rem; line-height: 1.15; }
.page-hero-desc { font-size: 1.05rem; color: var(--text-muted); line-height: 1.6; }
.back-link { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.82rem; color: var(--text-muted); margin-bottom: 1.5rem; text-decoration: none; }
.back-link:hover { color: var(--accent); }

/* ── PROSE (Content) ──────────────────────────────────── */
.prose { font-size: 1rem; line-height: 1.8; color: var(--text); }
.prose h2 { font-size: 1.5rem; font-weight: 700; color: var(--text-heading); margin: 2rem 0 1rem; }
.prose h3 { font-size: 1.2rem; font-weight: 700; color: var(--text-heading); margin: 1.5rem 0 0.8rem; }
.prose p { margin-bottom: 1rem; color: var(--text-muted); }
.prose ul, .prose ol { margin: 1rem 0; padding-left: 1.5rem; color: var(--text-muted); }
.prose li { margin-bottom: 0.5rem; }
.prose strong { color: var(--text-heading); }
.prose a { color: var(--accent); border-bottom: 1px solid transparent; }
.prose a:hover { border-bottom-color: var(--accent); }
.prose img { border-radius: var(--radius-sm); border: 1px solid var(--border); margin: 1.5rem 0; max-width: 280px; }

/* ── CASE STUDY ───────────────────────────────────────── */
.case-study { padding: 3rem 0 6rem; }
.case-hero-image { margin-bottom: 2rem; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.case-hero-image img { width: 100%; display: block; }
.case-results { display: flex; gap: 1.5rem; padding: 1.5rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 3rem; }
.case-results .result { flex: 1; text-align: center; }
.case-cta { text-align: center; padding: 3rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); margin-top: 3rem; }
.case-cta h3 { font-size: 1.3rem; font-weight: 800; color: var(--text-heading); margin-bottom: 0.5rem; }
.case-cta p { color: var(--text-muted); margin-bottom: 1.5rem; }

/* Article meta & nav */
.article-meta { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: var(--text-muted); margin-top: 0.8rem; }
.article-page { padding: 3rem 0 6rem; }
.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.article-nav-link { padding: 1rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm); text-decoration: none; transition: all var(--transition); }
.article-nav-link:hover { border-color: var(--border-hover); }
.article-nav-link.next { text-align: right; }
.article-nav-label { display: block; font-size: 0.75rem; color: var(--text-muted); margin-bottom: 0.3rem; }
.article-nav-title { font-size: 0.9rem; font-weight: 600; color: var(--text-heading); }

/* News/Portfolio page */
.news-page, .portfolio-page { padding: 3rem 0 6rem; }

/* Shake animation for wrong password */
  20%, 40%, 60%, 80% { transform: translateX(4px); }
}

/* ── PRICING ─────────────────────────────────────────── */
.pricing {
  background: var(--bg-2);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.pricing-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.pricing-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.pricing-card.featured {
  border-color: rgba(167,139,250,0.3);
  background: rgba(167,139,250,0.03);
}
.pricing-card.featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient);
}
.pricing-badge {
  display: inline-block;
  padding: 0.25rem 0.8rem;
  background: var(--gradient);
  color: #000;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 1rem;
  align-self: flex-start;
}
.pricing-badge.free {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
}
.pricing-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 0.8rem;
}
.pricing-price {
  margin-bottom: 1rem;
}
.price-amount {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-heading);
}
.pricing-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.pricing-features {
  list-style: none;
  margin-bottom: 1.5rem;
  flex: 1;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 0.35rem 0;
}
.pricing-features li i {
  color: var(--accent);
  font-size: 0.65rem;
  flex-shrink: 0;
}

/* Pricing extra items */
.pricing-extra {
  margin-top: 1rem;
}
.pricing-extra-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.pricing-extra-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.pricing-extra-item:hover {
  border-color: var(--border-hover);
}
.pricing-extra-item i {
  color: var(--accent);
  font-size: 1.2rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}
.pricing-extra-item strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-heading);
  margin-bottom: 0.2rem;
}
.pricing-extra-item span {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── VISUAL QUOTE & HOOKS (Promise section) ──────────── */
.visual-quote {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.visual-quote blockquote {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-heading);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  padding-left: 1rem;
  border-left: 3px solid var(--accent);
  font-style: italic;
}
.visual-hooks {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.hook {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem 1rem;
  background: var(--bg-card-hover);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.hook:hover {
  background: rgba(167,139,250,0.06);
  transform: translateX(4px);
}
.hook i {
  color: var(--accent);
  font-size: 0.9rem;
  width: 24px;
  text-align: center;
  flex-shrink: 0;
}
.hook span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ── CTA BUTTONS (two-button layout) ─────────────────── */
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  position: relative;
}

/* ═══════════════════════════════════════════════════════ */
/* CHATBOT WIDGET                                         */
/* ═══════════════════════════════════════════════════════ */

/* Floating Action Button */
.chat-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9000;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient);
  border: none;
  color: #000;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(167,139,250,0.3);
  transition: all 0.3s ease;
}
.chat-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 30px rgba(167,139,250,0.4);
}
.chat-fab.active {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  box-shadow: var(--shadow);
}

/* Chat Window */
.chat-window {
  position: fixed;
  bottom: 5.5rem;
  right: 1.5rem;
  z-index: 8999;
  width: 400px;
  max-width: calc(100vw - 2rem);
  height: 550px;
  max-height: calc(100vh - 8rem);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px) scale(0.95);
  transition: all 0.3s ease;
}
.chat-window.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

/* Header */
.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1rem;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.chat-header-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.chat-header-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: badgePulse 2s ease-in-out infinite;
}
.chat-header-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-heading);
}
.chat-header-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1rem;
  cursor: pointer;
  padding: 0.3rem;
  transition: color 0.3s;
}
.chat-header-close:hover { color: var(--text); }

/* Messages Area */
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

/* Message Bubbles */
.chat-msg { display: flex; }
.chat-msg-bot { justify-content: flex-start; }
.chat-msg-user { justify-content: flex-end; }

.chat-bubble {
  max-width: 85%;
  padding: 0.6rem 0.9rem;
  border-radius: 12px;
  font-size: 0.82rem;
  line-height: 1.5;
  animation: chatFadeIn 0.3s ease;
}
.chat-bubble-bot {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  border-bottom-left-radius: 4px;
}
.chat-bubble-user {
  background: var(--gradient);
  color: #000;
  border-bottom-right-radius: 4px;
  font-weight: 500;
}
.chat-bubble a {
  color: var(--accent);
  text-decoration: underline;
}
.chat-bubble-user a { color: #000; }

@keyframes chatFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Input Area */
.chat-input-area {
  padding: 0.8rem;
  border-top: 1px solid var(--border);
  background: var(--bg-2);
  flex-shrink: 0;
}

/* Topic Buttons */
.chat-topics {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.chat-topic-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.6rem 0.8rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s;
}
.chat-topic-btn:hover {
  border-color: var(--accent);
  background: var(--bg-card-hover);
  color: var(--accent);
}
.chat-topic-btn i { color: var(--accent); width: 18px; text-align: center; }

/* Choice Buttons */
.chat-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.chat-btn {
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 500;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  padding: 0.5rem 0.8rem;
}
.chat-btn-primary {
  background: var(--gradient);
  color: #000;
  width: 100%;
  padding: 0.6rem;
  font-weight: 600;
}
.chat-btn-primary:hover { box-shadow: 0 4px 15px rgba(167,139,250,0.3); }
.chat-btn-choice {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
}
.chat-btn-choice:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.chat-btn-send {
  background: var(--gradient);
  color: #000;
  padding: 0.5rem 0.7rem;
  flex-shrink: 0;
}
.chat-btn-copy {
  background: var(--bg-card-hover);
  color: var(--accent);
  border: 1px solid var(--border);
  margin-top: 0.5rem;
  width: 100%;
}

/* Multi Select */
.chat-multi {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 0.5rem;
  max-height: 180px;
  overflow-y: auto;
}
.chat-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.6rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.78rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}
.chat-checkbox:hover {
  border-color: var(--border-hover);
  color: var(--text);
}
.chat-checkbox input {
  accent-color: var(--accent);
}
.chat-multi-submit { width: 100%; }

/* Text Input */
.chat-text-form {
  display: flex;
  gap: 0.4rem;
}
.chat-text-input {
  flex: 1;
  padding: 0.5rem 0.7rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.82rem;
  outline: none;
  transition: border-color 0.3s;
}
.chat-text-input:focus { border-color: var(--accent); }
.chat-text-input::placeholder { color: var(--text-muted); }

/* Summary */
.chat-summary {
  font-size: 0.78rem;
  line-height: 1.6;
}
.chat-summary strong { color: var(--text-heading); }

/* Prompt Block */
.chat-prompt-block {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.6rem;
}
.chat-prompt-block pre {
  font-family: var(--mono);
  font-size: 0.7rem;
  line-height: 1.5;
  color: var(--text-muted);
  white-space: pre-wrap;
  word-wrap: break-word;
  max-height: 200px;
  overflow-y: auto;
  margin: 0;
}

/* Final Actions */
.chat-final-actions {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

/* ── SECTION FOOTER (Alle News link etc.) ────────────── */
.section-footer {
  text-align: center;
  margin-top: 2.5rem;
}

/* ── SCROLLBAR ────────────────────────────────────────── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }
::selection { background: rgba(167,139,250,0.3); color: var(--text-heading); }

/* ── RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav-menu { display: none; }
  .nav-hamburger { display: flex; }
  .nav-cta { display: none; }
}

@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .promise-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-extra-inner { grid-template-columns: 1fr; }

  .hero { min-height: auto; min-height: 100dvh; padding-bottom: 3rem; }
  .hero-stats { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
  .stat-divider { display: none; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .visual-card { width: 100%; height: auto; }
  .article-nav { grid-template-columns: 1fr; }
  .case-results { flex-wrap: wrap; }

  /* iOS: prevent auto-zoom on input focus */
  .form-group input,
  .form-group select,
  .form-group textarea,
}

@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .hero-subtitle { font-size: 1rem; }
  section { padding: 4rem 0; }
  .container { padding: 0 1.2rem; }
  .section-title { font-size: 1.8rem; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .cta-buttons .btn { width: 100%; justify-content: center; }
}

/* ── CHATBOT MOBILE ──────────────────────────────────── */
@media (max-width: 768px) {
  .chat-fab {
    bottom: 1rem;
    right: 1rem;
    width: 50px;
    height: 50px;
    font-size: 1.1rem;
  }
  /* When chat is open, hide FAB — the chat has its own close button */
  .chat-fab.active {
    display: none;
  }
  .chat-window {
    bottom: 0;
    right: 0;
    left: 0;
    width: 100vw;
    max-width: 100vw;
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    border-radius: 0;
  }
  .chat-window.active {
    transform: translateY(0) scale(1);
  }
  .chat-messages {
    padding: 0.8rem;
    gap: 0.5rem;
  }
  .chat-bubble {
    font-size: 0.85rem;
    max-width: 90%;
  }
  .chat-input-area {
    padding: 0.6rem;
    padding-bottom: max(0.6rem, env(safe-area-inset-bottom));
  }
  .chat-text-input {
    font-size: 16px; /* Prevents iOS zoom on focus */
  }
}
