feat(ui): Leseerlebnis fuer Wissen und rechtliche Seiten

- Artikel: Lesefortschritt als feine Honiglinie am oberen Rand, Initiale
  in Serifenschrift und Honig, groesserer Titel, angenehme Zeilenlaenge
- Wissen-Uebersicht und "Weitere Artikel" als ruhige Liste mit grossen
  Serifen-Titeln, Unterstrich und gezeichnetem Pfeil statt "→"
- Rechtliche Seiten mit klarerer Ueberschriften-Hierarchie

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
This commit is contained in:
Nick SzaunigandClaude Opus 5.5 committed 2026-09-25 13:09:22 +02:00
1 parent e75392c75b
commit dfda94ddfc
4 files changed
+62 -17

No files matched your search

+2 -2
View File
@@ -23,14 +23,14 @@ export function LegalPage({
return (
<div className="py-20">
<Container className="max-w-3xl">
<h1 className="text-3xl text-forest">{title}</h1>
<h1 className="text-4xl md:text-5xl leading-[1.05] tracking-[-0.01em] text-forest">{title}</h1>
{noticeText ? (
<p className="mt-2 text-xs text-honey-dark tracking-wide-caps">{noticeText}</p>
) : null}
<div className="mt-10 space-y-10">
{sections.map((section) => (
<section key={section.heading}>
<h2 className="text-lg text-forest">{section.heading}</h2>
<h2 className="text-2xl text-forest">{section.heading}</h2>
<div className="mt-3 space-y-3 text-sm text-ink/70 leading-relaxed">
{section.paragraphs.map((p, i) => (
<p key={i}>{p}</p>
+21
View File
@@ -0,0 +1,21 @@
"use client";
import { motion, useScroll, useSpring } from "motion/react";
/**
* Feine Honiglinie am oberen Rand, die sich beim Lesen eines Artikels
* fuellt — zeigt, wie weit man ist, ohne vom Text abzulenken. Rein
* dekorativ fuer Sehende; die Seite bleibt ohne sie vollstaendig lesbar.
*/
export function ReadingProgress() {
const { scrollYProgress } = useScroll();
const scaleX = useSpring(scrollYProgress, { stiffness: 140, damping: 26, mass: 0.4 });
return (
<motion.div
aria-hidden="true"
style={{ scaleX }}
className="fixed inset-x-0 top-0 z-[55] h-[3px] origin-left bg-gradient-to-r from-honey-dark to-honey"
/>
);
}