High-converting Astro-powered landing page positioning Codariq as "KI-Automatisierungsexperte für Selbstständige und kleine Teams bis 50 Personen"
Codariq is a KI-Automatisierung (AI automation) service provider specializing in self-employed professionals and small teams (1-50 people) across Germany, Austria, and Switzerland.
- Company Size: Self-employed individuals and small teams (1-50 people)
- Market Focus: German-speaking solo entrepreneurs and small businesses (DACH region)
- Industries: Professional services, consulting, freelancers, agencies
- Pain Points: Email overload, document processing, backoffice tasks, repetitive manual work
- Prozess-Automatisierung - Business process automation
- Kundenservice-KI - AI-powered customer service solutions
- Document Workflows - Automated document processing
- Intelligente Datenanalyse - One-time data analysis package
- Node.js 18 LTS (managed via Volta)
- Git for version control
- GitHub account for repository management
# Clone the repository
git clone https://github.com/bpnace/codariq_v1.git
cd codariq_v1
# Install Node.js 18 LTS via Volta
volta install node@18
# Install dependencies
npm ci# Start development server
npm run dev # → localhost:4321
# Build for production
npm run build # → outputs to dist/
# Preview production build
npm run preview # → test build locally
# Run all tests
npm run test # → vitest + playwright + axe + lighthouse
# Lint and format
npm run lint # → ESLint + Prettier
npm run format # → Auto-fix formattingNote: CI/CD is currently manual - GitHub Actions pipeline is not yet configured.
# Unit tests (Vitest)
npm run test # → Watch mode for development
npm run test:run # → Single run (ideal for CI/CD)
# E2E tests (Playwright)
npm run test:e2e # → Headless browser tests
npm run test:e2e:ui # → Interactive UI for debuggingVitest (Unit Tests)
- Environment: happy-dom (browser-like DOM)
- Location:
src/**/*.test.{js,ts,jsx,tsx} - Configuration: vitest.config.ts
- Setup: src/test/setup.ts
Playwright (E2E Tests)
- Environment: Chromium (headless)
- Location:
src/test/**/*.spec.ts - Configuration: playwright.config.ts
- Features: Auto-start dev server, trace on retry
Test Files:
- src/test/helpers.test.ts - Utility function tests
- src/test/quiz.spec.ts - Quiz component E2E
- src/test/quiz-flow.spec.ts - Complete quiz flow
- src/test/home.spec.ts - Homepage E2E
codariq/
├── src/
│ ├── components/ # 14 Reusable UI components
│ │ ├── Hero.astro # Main hero with dual CTA
│ │ ├── TrustBar.astro # Trust badges (TÜV, ISO, DSGVO)
│ │ ├── PainList.astro # Problem identification
│ │ ├── Benefits.astro # 4-column features grid
│ │ ├── Testimonials.astro # Social proof with photos
│ │ ├── Process.astro # 4-step timeline
│ │ ├── FinalCTA.astro # Calendly booking widget
│ │ ├── FAQ.astro # Accordion FAQ
│ │ ├── FAQSchema.astro # Structured data for FAQ
│ │ ├── BreadcrumbSchema.astro # Breadcrumb schema
│ │ ├── BlogPreview.astro # Blog post previews
│ │ ├── BlogCTA.astro # Blog CTA component
│ │ ├── BlogCtaSection.astro # Blog CTA wrapper
│ │ └── UseCaseGrid.astro # Use case grid
│ │
│ ├── layouts/
│ │ └── Base.astro # Main layout with navigation
│ │
│ ├── pages/
│ │ ├── index.astro # Landing page
│ │ ├── faq.astro # FAQ page
│ │ ├── datenschutz.astro # Privacy policy (DSGVO)
│ │ ├── impressum.astro # Legal notice (DDG)
│ │ ├── agb.astro # Terms of service
│ │ ├── cookie-richtlinien.astro # Cookie policy
│ │ ├── automatisierungs-check.astro # Interactive quiz
│ │ ├── automatisierung-selbststaendige.astro
│ │ ├── automatisierung-kleine-teams.astro
│ │ ├── automatisierung-gruender.astro
│ │ │
│ │ ├── api/ # Server-side endpoints
│ │ │ ├── newsletter.ts # Newsletter signup
│ │ │ ├── dashboard-waitlist.ts # Waitlist signup
│ │ │ └── submit.ts # Quiz submission
│ │ │
│ │ └── blog/ # Blog system (5 posts)
│ │ ├── index.astro # Blog listing
│ │ ├── [slug].astro # Dynamic template
│ │ ├── ki-teams-vorbereiten.astro
│ │ ├── automatisierung-roi-maximieren.astro
│ │ ├── ki-integration-5-schritte.astro
│ │ ├── ki-compliance-2025.astro
│ │ └── ki-projekte-retten.astro
│ │
│ ├── utils/ # Utility functions
│ │ ├── quiz.ts # Quiz logic & calculations
│ │ ├── validation.ts # Form validation
│ │ └── submit.ts # Form submission helpers
│ │
│ ├── lib/
│ │ └── drupal.ts # Drupal integration
│ │
│ ├── scripts/ # Client-side scripts
│ │ └── automatisierungs-check.ts # Quiz behavior
│ │
│ ├── test/ # Test files
│ │ ├── setup.ts # Vitest setup
│ │ ├── helpers.test.ts # Unit tests
│ │ ├── home.spec.ts # Homepage E2E
│ │ ├── quiz.spec.ts # Quiz E2E
│ │ └── quiz-flow.spec.ts # Quiz flow E2E
│ │
│ └── styles/
│ └── global.css # Global styles & animations
│
├── public/ # Static assets
│ ├── images/
│ │ ├── logos/ # Company logos
│ │ ├── badges/ # Trust badges
│ │ ├── hero/ # Hero images
│ │ ├── dashboard/ # Dashboard mockups
│ │ └── testimonials/ # Testimonial photos
│ ├── fonts/
│ │ ├── Satoshi-Variable.woff2
│ │ └── Satoshi-Variable.ttf
│ ├── .htaccess # Server config
│ ├── robots.txt # SEO directives
│ ├── manifest.json # PWA manifest
│ └── [favicons] # Various icon sizes
│
├── Configuration Files
│ ├── astro.config.mjs # Astro framework
│ ├── tailwind.config.js # Tailwind CSS
│ ├── vitest.config.ts # Unit testing
│ ├── playwright.config.ts # E2E testing
│ ├── tsconfig.json # TypeScript
│ ├── eslint.config.js # Linting rules
│ ├── package.json # Dependencies
│ └── .env # Environment vars (not in git)
│
└── dist/ # Build output (generated)
- Primary: Orange (#EA580C) - CTA buttons and accents
- Text: Gray scale (900-600) for hierarchy
- Background: White with gray-50 for cards
- Navigation: Milky glass effect with backdrop blur
- Font: Satoshi Variable (custom font family)
- Hierarchy: Bold headlines, medium body text
- Responsive: Scales from mobile to desktop
- Milky Glass Navigation - Fixed header with backdrop blur
- Gradient CTA Buttons - Orange gradient from top-left to bottom-right
- Process Component Redesign - Numbers top-left, icons top-right, fixed heights
- Testimonial Real Photos - Replaced SVG graphics with randomuser.me images
- Calendly Integration - Non-scrollable booking widget in FinalCTA
- Card-based Layout - Consistent spacing and text alignment
All legal pages are DSGVO-compliant and include real business information:
- Datenschutz - DSGVO-compliant privacy policy with structured data processing table
- Impressum - Legal notice per § 5 DDG with Codariq business details
- AGB - Comprehensive B2B terms for KI-automation services
- Cookie-Richtlinien - TTDSG-compliant cookie policy
- FAQ - 8 detailed questions about AI automation
Recent Updates (January 2025):
- Updated all legal texts with legitimate Codariq business information
- Added proper DDG compliance tables for Impressum
- Implemented DSGVO Art. 6 structured data processing overview
- Included real contact details: Tarik Arthur Marshall, Berlin address
- Added professional service terms covering analysis, design, development phases
The site uses price ranges instead of specific amounts:
- Simple automations: Low five-digit range
- Complex projects: Mid to high five-digit range
- Cost savings: Mid to high five-digit annual savings
- ROI: Typically achieved within 6-12 months
Package pricing in Process section maintains specific pricing for transparency.
- Static Site Generation via Astro v5
- Minimal JavaScript - No heavy animations or interactions
- Optimized Images - WebP format with lazy loading
- Font Loading - Preloaded variable fonts
- n8n Webhook - Automated email collection workflow
- Google Sheets - Real-time data storage and management
- Duplicate Detection - Prevents multiple entries from same email
- Basic Auth Security - Protected webhook endpoints
- German Error Messages - Localized user feedback
- Response Handling - Success, duplicate, and error states
- WCAG 2.1 AA compliance
- Semantic HTML structure
- Focus management for keyboard navigation
- Screen reader optimized content
- Structured Data - Organization and services schema
- Meta Tags - Comprehensive OpenGraph and Twitter cards
- German Language - Proper hreflang and locale settings
- Performance - Core Web Vitals optimized
vitest.config.ts - Unit test configuration
{
environment: "happy-dom", // Browser-like DOM
globals: true, // Global test APIs
include: ["src/**/*.test.{js,ts,jsx,tsx}"],
exclude: ["src/**/*.spec.{js,ts,jsx,tsx}"],
setupFiles: ["src/test/setup.ts"]
}playwright.config.ts - E2E test configuration
{
testDir: "src/test",
testMatch: "**/*.spec.ts",
baseURL: "http://localhost:4321",
webServer: {
command: "npm run dev", // Auto-start dev server
reuseExistingServer: true
}
}astro.config.mjs - Astro framework settings
- Site URL:
https://codariq.de - Sitemap generation with German locale (de-DE)
- Trailing slash:
never(clean URLs) - Build format:
file(generates .html files) - Vite integration with Tailwind CSS plugin
tailwind.config.js - Tailwind CSS customization
- Content paths: All Astro, HTML, JS, TS files in
src/ - Custom fonts: Satoshi Variable font family
- Extended theme with custom typography
tsconfig.json - TypeScript compiler options
- Extends:
astro/tsconfigs/strict - Includes:
.astro/types.d.tsand all source files - Excludes:
dist/build output
eslint.config.js - Code quality rules
- Parser: TypeScript ESLint parser
- Plugins: TypeScript ESLint
- Rules: Unused vars detection, no-console warnings, prefer-const
- Ignores:
dist/,.astro/, and.astrofiles
- Repository: https://github.com/bpnace/codariq_v1.git
- Domain: codariq.de (configured for German market)
- Hosting: Strato Web Hosting
- SSL: Automatically managed
# Build for production
npm run build
# Deploy to Strato via SFTP (automated script)
expect sftp_full_upload.expectDeployment Script: The sftp_full_upload.expect script automatically uploads the entire dist/ folder to the Strato server, including:
- All HTML files
- Static assets (images, fonts, logos)
.htaccessconfiguration- Sitemap and robots.txt
Post-Deployment Verification:
# Test main pages for redirect chains
curl -I https://codariq.de/faq
# Should return: HTTP/2 200
# Test redirect handling
curl -I https://www.codariq.de/faq
# Should return: HTTP/2 301 → https://codariq.de/faqAfter deploying SEO fixes:
-
Verify .htaccess is active:
curl -I https://codariq.de/faq # Must return HTTP 200, not 301 -
Request Google re-indexing:
- Visit Google Search Console
- Use URL Inspection tool for main pages
- Click "Request Indexing" for each URL
-
Monitor for 2 weeks:
- Check "Page Indexing" report daily
- Watch for "Seite mit Weiterleitung" to drop to 0
- Verify all blog posts get indexed
See DEPLOYMENT_SUMMARY.md for detailed deployment test results and SEO_FIXES_DOCUMENTATION.md for technical implementation details.
- Cookie-free analytics preferred
- Data minimization - Only collect necessary data
- German servers - EU data residency
- Transparent policies - Clear privacy notices
- Content Security Policy implemented
- HTTPS enforced across all pages
- No third-party tracking without consent
- ✅ Moved webhook credentials from client-side to server-side API endpoints
- ✅ Created
/api/newsletterand/api/dashboard-waitlistendpoints - ✅ Credentials stored in
.envfile (not committed to git) - ✅ Verified: No credentials exposed in build output
- ✅ All newsletter forms (footer, blog, dashboard) use secure server-side endpoints
- Orange CTA buttons - Consistent brand color
- Social proof - Testimonials with company references
- Clear value props - Benefits focused on SME pain points
- Trust signals - Compliance badges and guarantees
- Reduced friction - Simple contact forms
- Hero headline variations (problem vs. solution focused)
- CTA button text ("Termin buchen" vs. "Demo anfragen")
- Trust badge placement and messaging
- Testimonial layout and emphasis
- ESLint + Prettier for consistent formatting
- Component-based architecture
- Responsive design mandatory
- Accessibility testing required
- Feature branches from main
- Pull request reviews
- Automated testing via CI/CD
- Performance budget enforcement
✅ Completed Features:
- Complete Codariq rebranding from zynapse/stackwerkhaus
- Real legal pages with legitimate business information
- KI-Dashboard Waitlist Integration - Fully functional with n8n webhook + Google Sheets
- Blog System - 4 comprehensive blog posts with SEO optimization
- Enhanced Navigation - Added "Insights" link to blog section
- Footer Redesign - 4-column layout with newsletter signup
- Responsive Animations - Scroll-triggered animations throughout
- Process component redesign with fixed text alignment
- Testimonial photos from randomuser.me
- Gradient CTA buttons with consistent styling
- DSGVO/DDG/TTDSG compliance implementation
- Pricing Updates - Real pricing with customer discounts
- Meta Tags & Structured Data - Complete SEO implementation
- 🆕 SEO Redirect Fixes - Eliminated all redirect chains for perfect indexing
🔄 Recent Major Updates (October 2025):
Problem Solved: Eliminated all "Seite mit Weiterleitung" errors in Google Search Console
What Was Fixed:
- ✅ Zero redirect chains - All canonical URLs now return HTTP 200 directly
- ✅ Removed SearchAction - No more fake search URLs being indexed
- ✅ Optimized .htaccess - Single combined redirects for www/HTTPS
- ✅ DirectorySlash Off - Internal rewrites serve index.html without external redirects
Test Results (Production - Oct 15, 2025):
✅ https://codariq.de/faq → HTTP 200 (no redirect)
✅ https://codariq.de/impressum → HTTP 200 (no redirect)
✅ https://codariq.de/blog/ki-teams-vorbereiten → HTTP 200 (no redirect)
✅ https://codariq.de/blog/automatisierung-roi-maximieren → HTTP 200 (no redirect)
✅ https://codariq.de/faq/ → 301 → /faq (single redirect)
✅ https://www.codariq.de/faq → 301 → /faq (single redirect)
✅ http://codariq.de/faq → 301 → /faq (single redirect)
✅ http://www.codariq.de/faq → 301 → /faq (single redirect)
Expected Impact:
- Week 1-2: "Seite mit Weiterleitung" errors drop to 0
- Week 2-4: All pages properly indexed in Google
- Month 1-3: Increased organic traffic from blog content, better keyword connections
Files Modified:
public/.htaccess- Added DirectorySlash Off, combined redirects, internal rewritessrc/layouts/Base.astro- Removed SearchAction, added noindex for search params- See SEO_FIXES_DOCUMENTATION.md for complete technical details
Previous Updates:
- Waitlist Functionality: Email collection for KI-Dashboard with duplicate detection
- Blog Content: 4 detailed German blog posts (2000+ words each)
- Navigation Enhancement: Removed "Vorgehen" link, added "Insights"
- Footer Optimization: Dark theme with industry leader logos
- Performance: Optimized for mobile and desktop viewing
- CTA Updates: Changed from "Jetzt anfragen" to "Jetzt starten"
📋 Next Tasks:
- ✅
Eliminate Google Search Console redirect errors(COMPLETED Oct 15, 2025) - Request re-indexing in Google Search Console (immediate action)
- Monitor indexing improvements over 2-4 weeks
- Mobile-first performance optimization
- Core Web Vitals improvement
- Advanced analytics implementation
For questions about this project:
- Technical Issues: Create GitHub issue
- Business Questions: kontakt@codariq.de
- Performance Monitoring: Core Web Vitals dashboard
Built with love • © 2025 Codariq