Führe Abschnitte mit Raster, gemeinsames Designsystem und globales Website-Gerüst ein.
CI Feature / test (push) Failing after 20s

- Seite → Abschnitte → Plätze → Widgets: sechs Raster mit höchstens vier Einheiten,
  Hintergrund, Breite, Abstand und Trenner als Aufzählungswerte; je Platz ein Widget
  aus dem bestehenden Register. Neue Spalte page_revisions.sections (ergänzend);
  blocks erhält weiterhin alle Widgets in Lesereihenfolge als Rollback-Fassung.
- Widgets erhalten Mindest- und Vorzugsbreite; Darstellung über Container-Abfragen.
- Editor: Abschnitts-Repeater mit grafischer Rasterauswahl, Plätzen im Rasterverhältnis,
  breiter Arbeitsfläche, kompakten Vorschauen ohne Bildlaufleiste, Meldungen mit
  Abschnitt und Platz; Rasterwechsel entfernt nie ein Widget. Seite duplizieren.
- Designsystem: Marken- und Bedeutungs-Tokens (vorläufig), gemeinsame Grundkomponenten,
  Nunito/Source Sans 3 lokal; Mitgliederbereich nutzt dieselben Tokens und die Wortmarke.
- Kopfzeile, mobile Navigation, Untermenü (parent_id, ergänzend), Fußbereichsgruppen,
  vorbereiteter Warenkorbzugang (abgeschaltet). Öffentliche Seiten gleich für alle Besucher.
- cms:revert-published als Wiederherstellungsweg vor einem Code-Rollback.

Die Editor-Tests der ersten Iteration sind bewusst auf den neuen Formularzustand
(sections statt blocks) umgestellt; ihre Prüfungen gelten unverändert für die Widgets.
Der Vorschautest erwartet keine anmeldeabhängige Kopfzeile mehr (ADR-32).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
LarsandClaude Opus 5.5 committed 2026-11-17 20:34:06 +01:00
1 parent db4bd30319
commit 480d55989b
57 files changed
+4730 -818

No files matched your search

+48 -626
View File
@@ -1,632 +1,49 @@
@import 'tailwindcss';
@theme {
--font-sans: 'Source Sans 3', 'Segoe UI', sans-serif;
--font-serif: 'Source Serif 4', Georgia, serif;
--color-ink: #1b2838;
--color-paper: #e7eee9;
--color-sheet: #f7faf8;
--color-pine: #0f6e56;
--color-line: #c5d2cb;
}
html {
background: var(--color-paper);
color: var(--color-ink);
font-family: var(--font-sans);
font-size: 1.0625rem;
line-height: 1.6;
}
body {
margin: 0;
min-height: 100vh;
}
a {
color: var(--color-pine);
}
a:hover {
text-decoration: none;
}
:focus-visible {
outline: 3px solid #0b5cab;
outline-offset: 3px;
}
.skip {
position: absolute;
left: 1rem;
top: -4rem;
background: white;
padding: 0.5rem 0.75rem;
}
.skip:focus {
top: 1rem;
}
.masthead {
background: var(--color-ink);
color: #f4f7f5;
}
.masthead a {
color: inherit;
text-decoration: none;
}
.masthead-inner,
.sheet,
.site-footer-inner {
width: min(72rem, calc(100% - 2rem));
margin-inline: auto;
}
.wordmark {
display: flex;
justify-content: space-between;
gap: 1rem;
align-items: baseline;
padding-top: 1.5rem;
}
.wordmark strong {
font-family: var(--font-serif);
font-size: clamp(2rem, 4vw, 3.25rem);
font-weight: 600;
letter-spacing: -0.03em;
line-height: 1;
}
.wordmark span {
font-size: 0.95rem;
}
.site-nav {
display: flex;
flex-wrap: wrap;
gap: 0.35rem 1.1rem;
padding: 1.25rem 0 1.1rem;
border-top: 1px solid rgb(255 255 255 / 18%);
margin-top: 1.25rem;
}
.site-nav a[aria-current='page'] {
text-decoration: underline;
text-underline-offset: 0.35rem;
}
.sheet {
background: var(--color-sheet);
padding: clamp(1.5rem, 4vw, 3.5rem) clamp(1.25rem, 4vw, 3rem);
margin-top: -1px;
}
.preview-banner {
background: #fff4d6;
color: #3d2e04;
padding: 0.75rem 1rem;
margin: -1rem -1rem 1.5rem;
}
.block + .block {
margin-top: 2.25rem;
}
main h1 {
font-family: var(--font-serif);
font-weight: 600;
letter-spacing: -0.03em;
line-height: 1.15;
font-size: clamp(2rem, 4vw, 3rem);
margin: 0 0 0.75rem;
}
.block h1,
.block h2 {
font-family: var(--font-serif);
font-weight: 600;
letter-spacing: -0.03em;
line-height: 1.15;
margin: 0 0 0.75rem;
}
.block h1 {
font-size: clamp(2.4rem, 6vw, 4.4rem);
max-width: 12ch;
}
.block h2 {
font-size: clamp(1.8rem, 3vw, 2.6rem);
max-width: 18ch;
}
.lede,
.prose,
.cta p,
.card p,
.faq dd {
max-width: 62ch;
}
.themes {
list-style: none;
padding: 0;
margin: 1.5rem 0 0;
}
.themes li {
border-top: 1px solid var(--color-line);
padding: 1rem 0;
}
.themes a {
font-family: var(--font-serif);
font-size: 1.5rem;
text-decoration: none;
}
.themes p {
max-width: 62ch;
margin: 0.35rem 0 0;
}
.prose p {
margin: 0 0 1rem;
}
.cards {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
gap: 1rem;
list-style: none;
padding: 0;
margin: 0;
}
.card {
border-top: 3px solid var(--color-pine);
background: white;
padding: 1rem 1rem 1.15rem;
}
.card h3 {
font-family: var(--font-serif);
font-size: 1.35rem;
margin: 0 0 0.4rem;
}
.card a {
color: inherit;
text-decoration: none;
}
.card a:hover h3 {
text-decoration: underline;
}
.cta {
background: var(--color-ink);
color: #f4f7f5;
padding: 1.5rem;
}
.cta h2,
.cta p {
color: inherit;
}
.cta a {
display: inline-block;
margin-top: 0.8rem;
background: #f4f7f5;
color: var(--color-ink);
text-decoration: none;
padding: 0.55rem 0.9rem;
}
.image-text {
display: grid;
gap: 1.25rem;
}
@media (min-width: 48rem) {
.image-text {
grid-template-columns: minmax(12rem, 22rem) 1fr;
align-items: start;
}
.image-text-right {
grid-template-columns: 1fr minmax(12rem, 22rem);
}
.image-text-right > img {
order: 2;
}
.image-text-no-image {
grid-template-columns: 1fr;
}
}
.image-text img {
width: 100%;
height: auto;
}
.image-text-copy > :first-child {
margin-top: 0;
}
.prose ul,
.prose ol {
margin: 0 0 1rem;
padding-left: 1.4rem;
}
.prose li > p {
margin: 0;
}
/* Widgets: Einstieg (Hero). Varianten: standard, highlight. */
.hero {
display: grid;
gap: 1.5rem;
align-items: center;
}
.hero .lede {
font-size: 1.2rem;
}
.hero-image {
width: 100%;
height: auto;
display: block;
}
@media (min-width: 48rem) {
.hero-with-image {
grid-template-columns: 1.1fr 1fr;
}
}
.hero-highlight {
background: var(--color-ink);
color: #f4f7f5;
padding: clamp(1.5rem, 4vw, 3rem);
}
.hero-highlight h1,
.hero-highlight h2,
.hero-highlight .lede {
color: inherit;
}
.button {
display: inline-block;
margin-top: 0.5rem;
background: var(--color-pine);
color: #ffffff;
text-decoration: none;
padding: 0.65rem 1.05rem;
font-weight: 600;
}
.button:hover {
text-decoration: underline;
}
.hero-highlight .button {
background: #f4f7f5;
color: var(--color-ink);
}
/* Widgets: redaktionelle Karten. Varianten: Raster (cards-grid), kompakte Liste (cards-compact). */
.card-image {
display: block;
width: calc(100% + 2rem);
max-width: none;
height: auto;
aspect-ratio: 16 / 9;
object-fit: cover;
margin: -1rem -1rem 0.85rem;
}
.cards-compact {
grid-template-columns: 1fr;
gap: 0;
}
.cards-compact .card {
border-top: 0;
border-bottom: 1px solid var(--color-line);
background: transparent;
padding: 0.85rem 0;
}
.cards-compact .card-image {
display: none;
}
.cards-compact .card h3 {
font-size: 1.15rem;
}
/* Widgets: Programm- und Modulkarten. Inhalte kommen aus den Fachdaten. */
.catalog-list {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
gap: 1rem;
list-style: none;
padding: 0;
margin: 1rem 0 0;
}
.catalog-card {
background: white;
border: 1px solid var(--color-line);
display: flex;
flex-direction: column;
}
.catalog-card-visual {
background: var(--color-paper);
border-bottom: 3px solid var(--color-pine);
min-height: 6rem;
display: flex;
align-items: flex-end;
padding: 0.75rem 1rem;
}
.catalog-card-visual span {
font-family: var(--font-serif);
font-size: 1.1rem;
color: var(--color-pine);
}
.catalog-card-body {
padding: 0.9rem 1rem 1.1rem;
}
.catalog-card-body h3 {
font-family: var(--font-serif);
font-size: 1.35rem;
margin: 0 0 0.4rem;
}
.catalog-card-body p {
margin: 0 0 0.5rem;
}
.catalog-card-kind {
font-size: 0.85rem;
text-transform: uppercase;
letter-spacing: 0.06em;
color: #3f5248;
}
.catalog-cards-compact .catalog-list {
grid-template-columns: 1fr;
gap: 0;
}
.catalog-cards-compact .catalog-card {
border-width: 0 0 1px;
background: transparent;
}
.catalog-cards-compact .catalog-card-body {
padding: 0.75rem 0;
}
.catalog-card-internal {
border-style: dashed;
}
.preview-note {
background: #fff4d6;
color: #3d2e04;
font-size: 0.9rem;
padding: 0.5rem 0.75rem;
margin: 0.5rem 0 0;
}
.faq {
margin: 0;
}
.faq dt {
font-weight: 600;
margin-top: 1rem;
}
.faq dd {
margin: 0.25rem 0 0;
}
.member-nav {
display: flex;
flex-wrap: wrap;
gap: 0.75rem 1.25rem;
margin-bottom: 2rem;
padding-bottom: 0.75rem;
border-bottom: 1px solid var(--color-line);
}
.member-nav a {
color: inherit;
text-decoration: none;
}
.member-nav a[aria-current='page'] {
text-decoration: underline;
text-underline-offset: 0.3rem;
}
.catalog {
list-style: none;
padding: 0;
display: grid;
gap: 1rem;
}
.catalog li {
background: white;
border: 1px solid var(--color-line);
padding: 1rem 1.1rem;
display: grid;
gap: 0.4rem;
}
.catalog video,
.course video {
width: min(100%, 40rem);
background: #111;
}
.course {
list-style: none;
padding: 0;
display: grid;
gap: 1.5rem;
}
.course li {
background: white;
border: 1px solid var(--color-line);
padding: 1rem 1.1rem;
}
.course h2 {
font-size: 1.25rem;
margin: 0 0 0.6rem;
}
.course-actions {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
}
.empty {
background: white;
border: 1px solid var(--color-line);
padding: 1.25rem;
max-width: 62ch;
}
.form {
display: grid;
gap: 0.9rem;
max-width: 28rem;
}
.form label {
display: grid;
gap: 0.3rem;
font-weight: 600;
}
.form input {
font: inherit;
padding: 0.55rem 0.65rem;
border: 1px solid #8ea399;
background: white;
width: 100%;
box-sizing: border-box;
}
.form button,
.button {
font: inherit;
background: var(--color-pine);
color: white;
border: 0;
padding: 0.6rem 0.9rem;
width: fit-content;
cursor: pointer;
}
.check {
font-weight: 400;
grid-template-columns: auto 1fr;
align-items: start;
}
.errors {
background: #fde8e4;
color: #6d2016;
padding: 0.75rem 1rem;
}
.status {
background: #e5f4ec;
padding: 0.75rem 1rem;
}
.site-footer {
padding: 2rem 0 3rem;
}
.site-footer-inner {
display: flex;
flex-wrap: wrap;
gap: 1rem 2rem;
align-items: baseline;
justify-content: space-between;
}
.wordmark-compact {
padding-top: 0;
}
.wordmark-compact strong {
font-size: 1.5rem;
}
.site-footer nav {
display: flex;
flex-wrap: wrap;
gap: 0.5rem 1rem;
}
.site-footer a {
color: inherit;
}
/*
* Lara & Felix – gemeinsames Stylesheet für Website, Anmeldung und Mitgliederbereich (ADR-36).
* Reihenfolge: Tokens → Grundelemente → Grundkomponenten → Website-Gerüst → Abschnitte → Widgets → Mitgliederbereich.
*/
@import './tokens.css';
@import './base.css';
@import './components.css';
@import './site.css';
@import './sections.css';
@import './widgets.css';
/*
* Mitgliederbereich: eigene Anwendungsoberfläche mit eigener Navigation. Er verwendet die gemeinsamen
* Tokens über seine bisherigen Variablennamen; Layout und Navigation bleiben unverändert.
*/
body.member {
--marke-navy: #032551;
--marke-gruen: #5b8625;
--marke-aktion: #3b7b09;
--marke-gelb: #fcd10a;
--marke-creme: #f7f6f2;
--marke-tinte: #15243a;
--text: var(--marke-tinte);
--text-leise: #3e4c5c;
--flaeche: var(--marke-creme);
--flaeche-karte: #ffffff;
--linie: #d5ddd6;
--aktion: var(--marke-aktion);
--aktion-text: #ffffff;
--akzent: var(--marke-gelb);
--fokus: #1769aa;
--erfolg: #1b5e32;
--hinweis: #6b4a00;
--fehler: #8e1b24;
--radius-karte: 14px;
--radius-flaeche: 22px;
--radius-pille: 999px;
--schatten: 0 10px 28px rgb(3 37 81 / 8%);
--schrift-lesen: var(--font-sans);
--schrift-auszeichnung: var(--font-serif);
--marke-navy: var(--lf-navy);
--marke-gruen: var(--lf-green);
--marke-aktion: var(--lf-green-deep);
--marke-gelb: var(--lf-yellow);
--marke-creme: var(--lf-cream);
--marke-tinte: var(--lf-ink);
--text: var(--color-text);
--text-leise: var(--color-text-muted);
--flaeche: var(--color-surface-subtle);
--flaeche-karte: var(--color-surface-raised);
--linie: var(--color-border);
--aktion: var(--color-action);
--aktion-text: var(--color-action-text);
--akzent: var(--color-accent);
--fokus: var(--color-focus);
--erfolg: var(--color-success);
--hinweis: var(--color-warning);
--fehler: var(--color-danger);
--radius-karte: var(--radius-card);
--radius-flaeche: var(--radius-panel);
--radius-pille: var(--radius-pill);
--schatten: var(--shadow-raised);
--schrift-lesen: var(--font-reading);
--schrift-auszeichnung: var(--font-display);
background: var(--flaeche);
color: var(--text);
font-family: var(--schrift-lesen);
font-size: 1.0625rem;
font-size: var(--text-body);
}
body.member :focus-visible {
@@ -636,7 +53,7 @@ body.member :focus-visible {
body.member h1,
body.member h2,
body.member .member-mark strong,
body.member .member-mark .brand-name,
body.member .entry strong {
font-family: var(--schrift-auszeichnung);
letter-spacing: -0.02em;
@@ -690,12 +107,12 @@ body.member .member-mark {
line-height: 1.1;
}
body.member .member-mark strong {
body.member .member-mark .brand-name {
font-size: 1.35rem;
white-space: nowrap;
}
body.member .member-mark span,
body.member .member-mark .brand-claim,
body.member .quiet {
color: var(--text-leise);
font-size: 0.9rem;
@@ -1147,3 +564,8 @@ @media (prefers-reduced-motion: reduce) {
scroll-behavior: auto;
}
}
/* Wortmarke in der dunklen Seitenleiste: heller Zusatz für ausreichenden Kontrast. */
body.member .member-side .member-mark .brand-claim {
color: #d3dde8;
}