Add native cookie consent and move hero intro above CTA

- Restore CookieConsent banner behavior with the new dependency
- Reposition the right-panel intro above the Projekt anfragen button
- Add focused tests and update build metadata
This commit is contained in:
2026-05-06 21:22:12 +02:00
parent ed74fd0652
commit d2ba994fad
8 changed files with 174 additions and 4 deletions

View File

@@ -0,0 +1,40 @@
---
id: TASK-3
title: Move right-panel intro above inquiry button
status: In Progress
assignee: []
created_date: '2026-05-06 19:20'
updated_date: '2026-05-06 19:21'
labels: []
dependencies: []
priority: medium
---
## Description
<!-- SECTION:DESCRIPTION:BEGIN -->
Reposition the red-panel 01 headline and supporting copy so it sits directly above the Projekt anfragen button.
<!-- SECTION:DESCRIPTION:END -->
## Acceptance Criteria
<!-- AC:BEGIN -->
- [x] #1 The 01 headline and supporting copy appear above the Projekt anfragen button on the right panel
- [x] #2 Responsive layout remains intact without overlapping content
<!-- AC:END -->
## Implementation Plan
<!-- SECTION:PLAN:BEGIN -->
1. Locate the right-panel intro markup and layout rules
2. Reposition the intro block above the CTA while preserving responsive spacing
3. Run focused checks and report verification
<!-- SECTION:PLAN:END -->
## Implementation Notes
<!-- SECTION:NOTES:BEGIN -->
Moved the right-panel intro block out of vertical centering and placed it directly above the project inquiry CTA. Removed the CTA mt-auto so it follows the intro block naturally.
Verification: pnpm build passed.
Additional verification: node --test tests/landing-content.test.mjs tests/cookie-banner-info.test.mjs fails because tests/landing-content.test.mjs still expects the removed/renamed phrase Projektbrief. This appears unrelated to the layout-only change; pnpm build remains passing.
<!-- SECTION:NOTES:END -->