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;
}
+145
View File
@@ -0,0 +1,145 @@
/* Grundelemente und Typografie, gemeinsam für Website, Anmeldung und Mitgliederbereich. */
*,
*::before,
*::after {
box-sizing: border-box;
}
html {
background: var(--color-surface);
color: var(--color-text);
font-family: var(--font-reading);
font-size: 100%;
line-height: var(--leading-body);
-webkit-text-size-adjust: 100%;
}
body {
margin: 0;
min-height: 100vh;
font-size: var(--text-body);
background: var(--color-surface);
color: var(--color-text);
}
img,
video,
svg {
max-width: 100%;
}
img {
height: auto;
}
a {
color: var(--color-link);
text-decoration-thickness: 1px;
text-underline-offset: 0.18em;
}
a:hover {
color: var(--color-link-hover);
text-decoration-thickness: 2px;
}
:focus-visible {
outline: 3px solid var(--color-focus);
outline-offset: 3px;
}
h1,
h2,
h3 {
font-family: var(--font-display);
color: var(--color-heading);
line-height: var(--leading-heading);
letter-spacing: -0.02em;
font-weight: 800;
overflow-wrap: break-word;
hyphens: auto;
}
h1 {
font-size: var(--text-h1);
margin: 0 0 var(--space-4);
}
h2 {
font-size: var(--text-h2);
margin: 0 0 var(--space-3);
}
h3 {
font-size: var(--text-h3);
margin: 0 0 var(--space-2);
font-weight: 700;
}
p {
margin: 0 0 var(--space-4);
}
.lede {
font-size: var(--text-lede);
color: var(--color-text);
max-width: var(--measure);
}
.prose {
max-width: var(--measure);
}
.prose > :last-child,
.lede:last-child {
margin-bottom: 0;
}
.prose ul,
.prose ol {
margin: 0 0 var(--space-4);
padding-left: 1.4rem;
}
.prose li > p {
margin: 0;
}
.visually-hidden {
position: absolute !important;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0 0 0 0);
white-space: nowrap;
border: 0;
}
.skip {
position: absolute;
left: var(--space-4);
top: -4rem;
z-index: 100;
background: var(--lf-white);
color: var(--lf-navy);
padding: var(--space-2) var(--space-3);
border-radius: var(--radius-small);
}
.skip:focus {
top: var(--space-4);
}
@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
scroll-behavior: auto !important;
transition-duration: 0.01ms !important;
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
}
}
+288
View File
@@ -0,0 +1,288 @@
/*
* Gemeinsame Grundkomponenten (Standardmuster, nur mit Tokens eingefärbt). Sie werden von Website,
* Anmeldung und Mitgliederbereich verwendet und können später gezielt veredelt werden.
*/
/* Container */
.ui-container {
width: min(var(--container-standard), 100% - 2 * var(--gutter));
margin-inline: auto;
}
.ui-container-wide {
width: min(var(--container-wide), 100% - 2 * var(--gutter));
}
/* Schaltflächen und Schaltflächen-Links: Haupt, Neben, Text. Mindestgröße 44 px. */
.button,
.ui-button {
display: inline-flex;
align-items: center;
justify-content: center;
gap: var(--space-2);
min-height: var(--touch-target);
padding: 0.55rem 1.25rem;
border: 2px solid transparent;
border-radius: var(--radius-pill);
background: var(--color-action);
color: var(--color-action-text);
font: inherit;
font-weight: 700;
line-height: 1.2;
text-decoration: none;
cursor: pointer;
transition: background-color 0.15s ease, border-color 0.15s ease;
}
.button:hover,
.ui-button:hover {
background: var(--color-action-hover);
color: var(--color-action-text);
text-decoration: none;
}
.button-secondary,
.ui-button-secondary {
background: transparent;
border-color: var(--color-border-strong);
color: var(--color-action-secondary-text);
}
.button-secondary:hover,
.ui-button-secondary:hover {
background: transparent;
border-color: currentColor;
color: var(--color-action-secondary-text);
}
.button-quiet,
.ui-button-quiet {
background: transparent;
color: var(--color-link);
padding-inline: var(--space-2);
text-decoration: underline;
}
.button-quiet:hover,
.ui-button-quiet:hover {
background: transparent;
color: var(--color-link-hover);
}
.button[disabled],
.ui-button[disabled],
.ui-button[aria-disabled='true'] {
background: var(--color-disabled-surface);
border-color: transparent;
color: var(--color-disabled);
cursor: not-allowed;
}
/* Formulare: sichtbare Beschriftung, Fehlertext am Feld. */
.form {
display: grid;
gap: var(--space-4);
max-width: 28rem;
}
.form label,
.ui-field {
display: grid;
gap: var(--space-1);
font-weight: 600;
}
.form input,
.form select,
.form textarea,
.ui-input {
font: inherit;
font-weight: 400;
min-height: var(--touch-target);
padding: 0.5rem 0.75rem;
border: 1px solid var(--color-border-strong);
border-radius: var(--radius-small);
background: var(--lf-white);
color: var(--lf-ink);
width: 100%;
}
.form input[aria-invalid='true'],
.ui-input[aria-invalid='true'] {
border-color: var(--color-danger);
}
.form button {
width: fit-content;
}
.form button:not(.button-quiet):not(.button-secondary) {
display: inline-flex;
align-items: center;
min-height: var(--touch-target);
padding: 0.55rem 1.25rem;
border: 0;
border-radius: var(--radius-pill);
background: var(--color-action);
color: var(--color-action-text);
font: inherit;
font-weight: 700;
cursor: pointer;
}
.check {
display: grid;
grid-template-columns: auto 1fr;
align-items: start;
gap: var(--space-2);
font-weight: 400;
}
.check input {
width: 1.25rem;
height: 1.25rem;
min-height: 0;
margin-top: 0.2rem;
}
.ui-field-error {
color: var(--color-danger);
font-weight: 400;
font-size: var(--text-small);
}
/* Statusanzeigen: Farbe, Symbol und Text tragen gemeinsam (nie Farbe allein). */
.status,
.errors,
.ui-notice {
display: block;
border-left: 4px solid currentColor;
border-radius: var(--radius-small);
padding: var(--space-3) var(--space-4);
margin: 0 0 var(--space-5);
max-width: var(--measure);
}
.status,
.ui-notice-success {
background: var(--color-success-surface);
color: var(--color-success);
}
.errors,
.ui-notice-danger {
background: var(--color-danger-surface);
color: var(--color-danger);
}
.ui-notice-warning {
background: var(--color-warning-surface);
color: var(--color-warning);
}
.ui-notice-info {
background: var(--color-info-surface);
color: var(--color-info);
}
.ui-notice-title {
font-weight: 700;
}
.errors ul {
margin: var(--space-2) 0 0;
padding-left: 1.2rem;
}
/* Karten-Grundkomponente */
.ui-card,
.empty {
background: var(--color-surface-raised);
border: 1px solid var(--color-border);
border-radius: var(--radius-card);
padding: var(--space-5);
}
.empty {
max-width: var(--measure);
}
/* Dialog (natives dialog-Element) */
.ui-dialog {
border: 0;
border-radius: var(--radius-panel);
padding: var(--space-6);
max-width: min(36rem, 100% - 2rem);
background: var(--lf-white);
color: var(--lf-ink);
box-shadow: var(--shadow-raised);
}
.ui-dialog::backdrop {
background: rgb(3 37 81 / 55%);
}
/* Kennzeile über Überschriften */
.ui-flag {
display: inline-flex;
align-items: center;
gap: var(--space-2);
font-size: 0.8125rem;
font-weight: 700;
letter-spacing: 0.08em;
text-transform: uppercase;
color: var(--color-text-muted);
}
.ui-flag::before {
content: '';
width: 1.6rem;
height: 4px;
border-radius: 4px;
background: var(--color-accent);
}
/* Themensignatur: Nummer und Name tragen die Unterscheidung; Symbol erst nach Freigabe. */
.ui-theme-signature {
display: inline-flex;
align-items: center;
gap: var(--space-2);
font-weight: 600;
}
.ui-theme-signature-mark {
display: inline-grid;
place-items: center;
min-width: 2rem;
height: 2rem;
border-radius: var(--radius-small);
border: 1px solid var(--color-border-strong);
background: var(--theme-tint, var(--color-surface-subtle));
color: var(--lf-navy);
font-family: var(--font-display);
font-weight: 800;
}
.ui-theme-signature[data-theme='1'] { --theme-tint: var(--color-theme-1); }
.ui-theme-signature[data-theme='2'] { --theme-tint: var(--color-theme-2); }
.ui-theme-signature[data-theme='3'] { --theme-tint: var(--color-theme-3); }
.ui-theme-signature[data-theme='4'] { --theme-tint: var(--color-theme-4); }
.ui-theme-signature[data-theme='5'] { --theme-tint: var(--color-theme-5); }
/* Redaktionelle Hinweise in der Vorschau (öffentlich nie sichtbar). */
.preview-note,
.preview-banner {
background: var(--color-warning-surface);
color: var(--color-warning);
border-left: 4px solid currentColor;
border-radius: var(--radius-small);
font-size: var(--text-small);
padding: var(--space-2) var(--space-3);
margin: var(--space-2) 0 0;
}
.preview-banner {
margin: 0;
border-radius: 0;
text-align: center;
}
+163
View File
@@ -0,0 +1,163 @@
/*
* Abschnitte des Seiteneditors (Seite → Abschnitte → Slots → Widgets).
* Gestaltung nur über Aufzählungswerte; jede Fläche setzt die Bedeutungswerte neu (tokens.css).
*
* Responsive Regeln (siehe SectionLayouts::columns):
* - Abschnitt unter 40rem: alle Slots untereinander in Slot-Reihenfolge.
* - 40 bis 60rem: gleich breite Slots nebeneinander, ungleiche untereinander.
* - ab 60rem: Verhältnis der Rastereinheiten.
* Jeder Slot ist ein eigener Container; Widgets richten sich nach der Slotbreite, nicht nach dem Fenster.
*/
.page-sections {
display: block;
}
.page-section {
position: relative;
isolation: isolate;
background: var(--color-surface);
color: var(--color-text);
padding-block: var(--section-space);
--section-space: clamp(3rem, 2rem + 4vw, 6rem);
}
.section-space-compact {
--section-space: clamp(1.5rem, 1rem + 2vw, 3rem);
}
.section-space-large {
--section-space: clamp(4.5rem, 3rem + 5vw, 8rem);
}
/* Aufeinanderfolgende Abschnitte ohne eigene Fläche teilen sich den Abstand, statt ihn zu verdoppeln. */
.section-bg-default + .section-bg-default {
padding-top: 0;
}
.section-divider-space {
margin-bottom: var(--section-space);
}
.page-section-inner {
position: relative;
z-index: 1;
width: min(var(--section-width), 100% - 2 * var(--gutter));
margin-inline: auto;
container-type: inline-size;
container-name: section;
--section-width: var(--container-standard);
}
.section-width-narrow .page-section-inner {
--section-width: var(--container-narrow);
}
.section-width-wide .page-section-inner {
--section-width: var(--container-wide);
}
.section-width-full .page-section-inner {
--section-width: 100%;
}
.section-grid {
display: grid;
gap: var(--grid-gap);
grid-template-columns: minmax(0, 1fr);
align-items: start;
}
@container section (min-width: 40rem) {
.section-grid {
grid-template-columns: var(--section-cols-md, minmax(0, 1fr));
}
}
@container section (min-width: 60rem) {
.section-grid {
grid-template-columns: var(--section-cols-lg, minmax(0, 1fr));
}
}
.section-slot {
min-width: 0;
container-type: inline-size;
container-name: slot;
}
/* Flächen */
.section-bg-light {
--color-surface: var(--color-surface-subtle);
}
/* Dunkle Fläche und Markenakzent: Bedeutungswerte aus .scope-dark / .scope-accent (tokens.css). */
.section-bg-dark,
.section-bg-accent {
background: var(--color-surface);
}
/* Hintergrundbild mit Fokuspunkt (object-position) und Überlagerung für ausreichenden Kontrast. */
.section-bg-image {
--color-surface: var(--lf-navy);
overflow: hidden;
}
.page-section-image {
position: absolute;
inset: 0;
z-index: -2;
width: 100%;
height: 100%;
object-fit: cover;
}
.section-bg-image::before {
content: '';
position: absolute;
inset: 0;
z-index: -1;
pointer-events: none;
}
.section-overlay-light::before {
background: rgb(255 255 255 / 84%);
}
.section-overlay-dark::before {
background: rgb(3 37 81 / 78%);
}
/* Ohne Überlagerung bleibt die Schrift dunkel; geeignet für Widgets mit eigener heller Fläche. */
.section-overlay-none {
--color-surface: transparent;
}
/* Trenner zwischen Abschnitten */
.section-divider {
width: min(var(--container-standard), 100% - 2 * var(--gutter));
margin-inline: auto;
}
.section-divider-line {
padding-block: var(--space-5);
}
.section-divider-line span {
display: block;
border-top: 1px solid var(--lf-line);
}
.section-divider-accent {
display: flex;
justify-content: center;
padding-block: var(--space-2);
}
.section-divider-accent span {
display: block;
width: 4.5rem;
height: 5px;
border-radius: 5px;
background: var(--lf-yellow);
}
+416
View File
@@ -0,0 +1,416 @@
/* Globales Website-Gerüst: Kopfzeile, Hauptnavigation, mobile Navigation, Fußbereich, Seitenfläche. */
/* Wortmarke (vorläufiger Schriftzug, bis eine freigegebene Logodatei vorliegt). */
.brand {
display: inline-flex;
flex-direction: column;
gap: 0.1rem;
color: var(--color-heading);
text-decoration: none;
line-height: 1;
min-height: var(--touch-target);
justify-content: center;
}
.brand:hover {
color: var(--color-heading);
}
.brand-name {
font-family: var(--font-display);
font-weight: 800;
font-size: 1.375rem;
letter-spacing: -0.02em;
white-space: nowrap;
}
.brand-claim {
font-size: 0.8125rem;
font-weight: 600;
color: var(--color-text-muted);
white-space: nowrap;
}
/* Kopfzeile: kompakt und klebend; nimmt höchstens 4,5 rem ein. */
.site-header {
position: sticky;
top: 0;
z-index: 50;
background: var(--lf-white);
border-bottom: 1px solid var(--color-border);
}
.site-header.is-scrolled {
box-shadow: 0 6px 18px rgb(3 37 81 / 8%);
}
.site-header-inner {
display: flex;
align-items: center;
gap: var(--space-4) var(--space-6);
min-height: var(--header-height);
}
.site-header-actions {
display: flex;
align-items: center;
gap: var(--space-2);
margin-left: auto;
}
.site-icon-link,
.site-menu-button {
display: inline-flex;
align-items: center;
justify-content: center;
gap: var(--space-2);
min-width: var(--touch-target);
min-height: var(--touch-target);
padding: 0 var(--space-3);
border: 1px solid var(--color-border-strong);
border-radius: var(--radius-pill);
background: transparent;
color: var(--color-heading);
font: inherit;
font-weight: 600;
text-decoration: none;
cursor: pointer;
}
.site-icon-link:hover,
.site-menu-button:hover {
border-color: var(--color-heading);
color: var(--color-heading);
}
.site-icon-link svg,
.site-menu-button svg {
width: 1.25rem;
height: 1.25rem;
flex: none;
}
/* Hauptnavigation (Desktop) */
.site-nav-list,
.site-subnav {
list-style: none;
margin: 0;
padding: 0;
}
.site-nav {
flex: 1 1 auto;
min-width: 0;
}
.site-nav-list {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: var(--space-1) 0;
}
.site-nav-item {
position: relative;
display: flex;
align-items: center;
}
.site-nav a {
display: inline-flex;
align-items: center;
min-height: var(--touch-target);
padding: 0 0.6rem;
font-size: 1rem;
color: var(--color-heading);
font-weight: 600;
text-decoration: none;
border-radius: var(--radius-small);
}
.site-nav a:hover {
text-decoration: underline;
}
.site-nav a[aria-current='page'],
.site-nav .is-active-trail > a {
box-shadow: inset 0 -3px 0 var(--color-accent);
}
.site-nav-toggle {
display: inline-flex;
align-items: center;
justify-content: center;
width: 2rem;
min-height: var(--touch-target);
border: 0;
background: transparent;
color: var(--color-heading);
cursor: pointer;
border-radius: var(--radius-small);
}
.site-nav-toggle svg {
width: 1rem;
height: 1rem;
transition: transform 0.15s ease;
}
.site-nav-toggle[aria-expanded='true'] svg {
transform: rotate(180deg);
}
.site-subnav {
display: none;
}
.site-subnav a {
width: 100%;
}
@media (min-width: 75rem) {
.site-subnav {
position: absolute;
top: 100%;
left: 0;
min-width: 15rem;
padding: var(--space-2);
background: var(--lf-white);
border: 1px solid var(--color-border);
border-radius: var(--radius-card);
box-shadow: var(--shadow-raised);
}
.site-nav-item.is-open > .site-subnav {
display: block;
}
}
.site-menu-button {
display: none;
}
/*
* Mobile Navigation (unter 75 rem, nur mit JavaScript): Menü-Schaltfläche in der Kopfzeile öffnet eine
* Fläche unter der Kopfzeile. Ohne JavaScript bleibt die Navigation als umbrechende Liste sichtbar.
*/
@media (max-width: 74.99rem) {
.site-header-inner {
flex-wrap: wrap;
}
.site-account-label {
position: absolute;
width: 1px;
height: 1px;
overflow: hidden;
clip: rect(0 0 0 0);
white-space: nowrap;
}
html:not(.js) .site-nav {
order: 3;
flex-basis: 100%;
padding-bottom: var(--space-2);
}
html.js .site-menu-button {
display: inline-flex;
}
html.js .site-nav {
display: none;
position: fixed;
inset: var(--header-height) 0 0;
z-index: 49;
overflow-y: auto;
overscroll-behavior: contain;
background: var(--lf-white);
padding: var(--space-4) var(--gutter) var(--space-8);
border-top: 1px solid var(--color-border);
}
html.js .site-header.is-menu-open .site-nav {
display: block;
}
html.js .site-nav-list {
display: block;
}
html.js .site-nav-item {
display: block;
border-bottom: 1px solid var(--color-border);
}
html.js .site-nav a {
min-height: 3rem;
font-size: 1.125rem;
width: 100%;
}
html.js .site-nav-toggle {
display: none;
}
html.js .site-subnav {
display: block;
padding: 0 0 var(--space-2) var(--space-4);
}
html.js .site-subnav a {
font-size: 1rem;
font-weight: 400;
min-height: var(--touch-target);
}
body.has-open-menu {
overflow: hidden;
}
}
/* Inhaltsfläche */
.site-main {
display: block;
min-height: 50vh;
}
/* Klassische Inhaltsseiten (Programme, Themen, Anmeldung): ein Blatt in Standardbreite. */
.sheet {
width: min(var(--container-standard), 100% - 2 * var(--gutter));
margin-inline: auto;
padding: clamp(1.5rem, 4vw, 3.5rem) 0 clamp(3rem, 6vw, 5rem);
}
.sheet > .block + .block {
margin-top: var(--space-6);
}
.themes {
list-style: none;
padding: 0;
margin: var(--space-5) 0 0;
}
.themes li {
border-top: 1px solid var(--color-border);
padding: var(--space-4) 0;
}
.themes a {
font-family: var(--font-display);
font-weight: 700;
font-size: var(--text-h3);
text-decoration: none;
}
.themes p {
max-width: var(--measure);
margin: var(--space-1) 0 0;
}
.catalog,
.course {
list-style: none;
padding: 0;
display: grid;
gap: var(--space-4);
}
.catalog li,
.course li {
background: var(--color-surface-raised);
border: 1px solid var(--color-border);
border-radius: var(--radius-card);
padding: var(--space-4) var(--space-5);
display: grid;
gap: var(--space-2);
}
.catalog video,
.course video {
width: min(100%, 40rem);
background: #111;
}
.course h2 {
font-size: var(--text-h3);
margin: 0 0 var(--space-2);
}
.course-actions {
display: flex;
flex-wrap: wrap;
gap: var(--space-2);
}
/* Fußbereich */
.site-footer {
background: var(--color-surface);
color: var(--color-text);
padding: var(--space-8) 0 var(--space-7);
margin-top: 0;
}
.site-footer-inner {
display: grid;
gap: var(--space-6) var(--space-7);
}
@media (min-width: 48rem) {
.site-footer-inner {
grid-template-columns: minmax(12rem, 1.2fr) repeat(auto-fit, minmax(11rem, 1fr));
}
}
.site-footer .brand {
color: var(--color-heading);
}
.site-footer-brand p {
margin: var(--space-3) 0 0;
color: var(--color-text-muted);
font-size: var(--text-small);
max-width: 22rem;
}
.site-footer h2 {
font-family: var(--font-reading);
font-size: 0.875rem;
font-weight: 700;
letter-spacing: 0.08em;
text-transform: uppercase;
color: var(--color-text-muted);
margin: 0 0 var(--space-3);
}
.site-footer ul {
list-style: none;
margin: 0;
padding: 0;
}
.site-footer li a {
display: inline-flex;
align-items: center;
min-height: var(--touch-target);
color: var(--color-link);
}
.site-footer-meta {
grid-column: 1 / -1;
border-top: 1px solid var(--color-border);
padding-top: var(--space-4);
font-size: var(--text-small);
color: var(--color-text-muted);
}
/* Fußbereich schließt auch kurze Seiten am unteren Rand ab (nicht im Mitgliederbereich). */
body:not(.member) {
display: flex;
flex-direction: column;
}
body:not(.member) > main {
flex: 1 0 auto;
}
+168
View File
@@ -0,0 +1,168 @@
/*
* Lara & Felix – gemeinsames Designsystem, Ebene 1 und 2 (ADR-36, Website-Zielkonzept 7.1).
*
* VORLÄUFIG: Die Markenwerte stammen aus docs/Brand-UI-Kit/02_design_tokens (Entwurf vom 15.11.2026,
* aus den Originalmotiven abgeleitet, nicht freigegeben). Schriften nach Website-Zielkonzept 7.2
* (Empfehlung, nicht freigegeben). Eine Freigabe ändert nur diese Datei.
*
* Regeln:
* - Komponenten und Widgets verwenden ausschließlich Bedeutungswerte (--color-text, --color-surface, …).
* - Markengelb nie als Textfarbe auf hellem Grund; Markengrün #5b8625 nur für Flächen ohne Text.
* - Abschnittsflächen (.section-bg-*) und Komponenten mit eigener Fläche setzen die Bedeutungswerte neu.
*/
@theme {
--font-sans: 'Source Sans 3', 'Segoe UI', system-ui, sans-serif;
--font-display: 'Nunito', 'Trebuchet MS', 'Segoe UI', system-ui, sans-serif;
}
:root {
/* Ebene 1: Markenwerte (vorläufig) */
--lf-navy: #032551;
--lf-navy-deep: #01244c;
--lf-green: #5b8625;
--lf-green-deep: #3b7b09;
--lf-yellow: #fcd10a;
--lf-cream: #f7f6f2;
--lf-white: #ffffff;
--lf-ink: #15243a;
/* Ergänzende UI-Werte (eigene Ableitung, Kontrast geprüft) */
--lf-ink-muted: #3e4c5c;
--lf-line: #d5ddd6;
--lf-line-strong: #8a9a92;
--lf-focus: #1769aa;
--lf-green-tint: #e8f0de;
--lf-yellow-tint: #fff4d6;
/* Ebene 2: Bedeutungswerte (heller Grund) */
--color-text: var(--lf-ink);
--color-text-muted: var(--lf-ink-muted);
--color-heading: var(--lf-navy);
--color-link: var(--lf-navy);
--color-link-hover: var(--lf-green-deep);
--color-surface: var(--lf-white);
--color-surface-subtle: var(--lf-cream);
--color-surface-raised: var(--lf-white);
--color-border: var(--lf-line);
--color-border-strong: var(--lf-line-strong);
--color-focus: var(--lf-focus);
--color-accent: var(--lf-yellow);
--color-action: var(--lf-green-deep);
--color-action-hover: #2f6407;
--color-action-text: var(--lf-white);
--color-action-secondary-text: var(--lf-navy);
--color-success: #1b5e32;
--color-success-surface: #e5f4ec;
--color-warning: #6b4a00;
--color-warning-surface: var(--lf-yellow-tint);
--color-danger: #8e1b24;
--color-danger-surface: #fbe9ea;
--color-info: var(--lf-navy);
--color-info-surface: #e8eef6;
--color-disabled: #6b7682;
--color-disabled-surface: #eceeec;
/* Themensignaturen der fünf Themenbereiche: vorbereitet, Tönungen und Symbole sind nicht freigegeben.
Bis zur Freigabe tragen Nummer und Name die Unterscheidung; alle Tönungen sind neutral. */
--color-theme-1: var(--color-surface-subtle);
--color-theme-2: var(--color-surface-subtle);
--color-theme-3: var(--color-surface-subtle);
--color-theme-4: var(--color-surface-subtle);
--color-theme-5: var(--color-surface-subtle);
/* Typografie (Website-Zielkonzept 7.2: Fließtext 17 → 18 px, H1 34 → 52 px) */
--font-reading: var(--font-sans);
--text-small: 0.9375rem;
--text-body: clamp(1.0625rem, 1.03rem + 0.15vw, 1.125rem);
--text-lede: clamp(1.125rem, 1.05rem + 0.4vw, 1.3125rem);
--text-h3: clamp(1.25rem, 1.16rem + 0.4vw, 1.375rem);
--text-h2: clamp(1.625rem, 1.35rem + 1.2vw, 2.125rem);
--text-h1: clamp(2.125rem, 1.6rem + 2.4vw, 3.25rem);
--leading-body: 1.6;
--leading-heading: 1.15;
--measure: 70ch;
/* Abstände (Grundmaß 4 px) */
--space-1: 0.25rem;
--space-2: 0.5rem;
--space-3: 0.75rem;
--space-4: 1rem;
--space-5: 1.5rem;
--space-6: 2rem;
--space-7: 3rem;
--space-8: 4rem;
--space-9: 6rem;
/* Rundungen und Schatten */
--radius-small: 8px;
--radius-card: 14px;
--radius-panel: 22px;
--radius-pill: 999px;
--shadow-raised: 0 10px 28px rgb(3 37 81 / 8%);
/* Layoutmaße */
--gutter: clamp(1rem, 4vw, 2rem);
--grid-gap: clamp(1.25rem, 2.5vw, 2rem);
--container-narrow: 45rem;
--container-standard: 75rem;
--container-wide: 90rem;
--header-height: 4rem;
--touch-target: 2.75rem;
}
@media (min-width: 75rem) {
:root {
--header-height: 4.5rem;
}
}
/* Dunkle Fläche: helle Schrift, gelber Fokus (Navy/Weiß 15:1). */
.scope-dark {
--color-text: #f4f6f8;
--color-text-muted: #d3dde8;
--color-heading: var(--lf-white);
--color-link: var(--lf-white);
--color-link-hover: var(--lf-yellow);
--color-surface: var(--lf-navy);
--color-border: rgb(255 255 255 / 28%);
--color-border-strong: rgb(255 255 255 / 55%);
--color-focus: var(--lf-yellow);
--color-action: var(--lf-yellow);
--color-action-hover: #ffe05c;
--color-action-text: var(--lf-navy);
--color-action-secondary-text: var(--lf-white);
}
/* Markenakzent: dunkles Grün mit weißer Schrift (5,2:1). */
.scope-accent {
--color-text: var(--lf-white);
--color-text-muted: #eef4e8;
--color-heading: var(--lf-white);
--color-link: var(--lf-white);
--color-link-hover: var(--lf-yellow);
--color-surface: var(--lf-green-deep);
--color-border: rgb(255 255 255 / 35%);
--color-border-strong: rgb(255 255 255 / 65%);
--color-focus: var(--lf-yellow);
--color-action: var(--lf-white);
--color-action-hover: var(--lf-cream);
--color-action-text: var(--lf-navy);
--color-action-secondary-text: var(--lf-white);
}
/* Heller Grund, zum Beispiel Karten auf dunklen Abschnitten. */
.scope-light {
--color-text: var(--lf-ink);
--color-text-muted: var(--lf-ink-muted);
--color-heading: var(--lf-navy);
--color-link: var(--lf-navy);
--color-link-hover: var(--lf-green-deep);
--color-border: var(--lf-line);
--color-border-strong: var(--lf-line-strong);
--color-focus: var(--lf-focus);
--color-action: var(--lf-green-deep);
--color-action-hover: #2f6407;
--color-action-text: var(--lf-white);
--color-action-secondary-text: var(--lf-navy);
}
+331
View File
@@ -0,0 +1,331 @@
/*
* Widget-Ansichten. Jede Regel verwendet Bedeutungswerte und richtet sich nach der Slotbreite
* (Container „slot“), nicht nach dem Fenster. Die visuelle Veredelung einzelner Widgets erfolgt später;
* Struktur und Klassen bleiben dafür stabil.
*/
.widget {
color: var(--color-text);
}
.widget > :last-child,
.widget .prose > :last-child {
margin-bottom: 0;
}
/* Überschrift */
.widget-heading h1,
.widget-heading h2 {
max-width: 22ch;
}
/* Einstieg (Hero). Varianten: standard, highlight. Stufen: schmal (Bild unter Text), breit (nebeneinander). */
.hero {
display: grid;
gap: var(--space-5);
align-items: center;
}
.hero h1,
.hero h2 {
font-size: clamp(2rem, 1.1rem + 4.2cqi, 3.5rem);
max-width: 16ch;
}
.hero .lede {
max-width: 52ch;
}
.hero .button {
margin-top: var(--space-2);
}
.hero-image {
width: 100%;
display: block;
border-radius: var(--radius-panel);
aspect-ratio: 4 / 3;
object-fit: cover;
}
@container slot (min-width: 48rem) {
.hero-with-image {
grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
gap: var(--space-7);
}
}
.hero-highlight {
padding: clamp(1.5rem, 5cqi, 3.5rem);
border-radius: var(--radius-panel);
background: var(--lf-navy);
--color-text: #f4f6f8;
--color-heading: var(--lf-white);
--color-link: var(--lf-white);
--color-focus: var(--lf-yellow);
--color-action: var(--lf-yellow);
--color-action-hover: #ffe05c;
--color-action-text: var(--lf-navy);
color: var(--color-text);
}
/* Fließtext */
.widget-prose .prose p {
margin: 0 0 var(--space-4);
}
/* Bild und Text. Varianten: image_left, image_right. Stufen: schmal (gestapelt), breit (nebeneinander ab 36rem). */
.image-text {
display: grid;
gap: var(--space-5);
}
.image-text img {
width: 100%;
display: block;
border-radius: var(--radius-card);
}
@container slot (min-width: 36rem) {
.image-text {
grid-template-columns: minmax(12rem, 0.8fr) minmax(0, 1.2fr);
align-items: center;
gap: var(--space-6);
}
.image-text-right {
grid-template-columns: minmax(0, 1.2fr) minmax(12rem, 0.8fr);
}
.image-text-right > img {
order: 2;
}
.image-text-no-image {
grid-template-columns: minmax(0, 1fr);
}
}
.image-text-copy > :first-child {
margin-top: 0;
}
/* Redaktionelle Karten. Varianten: Raster (cards-grid), kompakte Liste (cards-compact). */
.cards {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(min(14rem, 100%), 1fr));
gap: var(--space-4);
list-style: none;
padding: 0;
margin: 0;
}
.card {
background: var(--lf-white);
border: 1px solid var(--lf-line);
border-radius: var(--radius-card);
padding: var(--space-5);
overflow: hidden;
color: var(--lf-ink);
--color-text: var(--lf-ink);
--color-heading: var(--lf-navy);
--color-link: var(--lf-navy);
--color-focus: var(--lf-focus);
}
.card h3 {
margin: 0 0 var(--space-2);
}
.card p {
margin: 0;
color: var(--lf-ink-muted);
}
.card a {
color: inherit;
text-decoration: none;
display: block;
}
.card a:hover h3 {
text-decoration: underline;
}
.card-image {
display: block;
width: calc(100% + 2 * var(--space-5));
max-width: none;
aspect-ratio: 4 / 3;
object-fit: cover;
margin: calc(-1 * var(--space-5)) calc(-1 * var(--space-5)) var(--space-4);
}
.cards-compact {
grid-template-columns: minmax(0, 1fr);
gap: 0;
}
.cards-compact .card {
border-width: 0 0 1px;
border-radius: 0;
background: transparent;
padding: var(--space-3) 0;
color: var(--color-text);
--color-heading: inherit;
border-color: var(--color-border);
}
.cards-compact .card p {
color: var(--color-text-muted);
}
.cards-compact .card-image {
display: none;
}
/* Programm- und Modulkarten. Inhalte kommen aus den Fachdaten. */
.catalog-list {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(min(16rem, 100%), 1fr));
gap: var(--space-4);
list-style: none;
padding: 0;
margin: var(--space-4) 0 0;
}
.catalog-card {
background: var(--lf-white);
border: 1px solid var(--lf-line);
border-radius: var(--radius-card);
overflow: hidden;
display: flex;
flex-direction: column;
color: var(--lf-ink);
--color-text: var(--lf-ink);
--color-heading: var(--lf-navy);
--color-link: var(--lf-navy);
--color-focus: var(--lf-focus);
}
.catalog-card-visual {
background: var(--lf-cream);
border-bottom: 4px solid var(--lf-yellow);
min-height: 6rem;
display: flex;
align-items: flex-end;
padding: var(--space-3) var(--space-4);
}
.catalog-card-visual span {
font-family: var(--font-display);
font-weight: 800;
font-size: 1.125rem;
color: var(--lf-navy);
}
.catalog-card-body {
padding: var(--space-4) var(--space-5) var(--space-5);
}
.catalog-card-body h3 {
margin: 0 0 var(--space-2);
}
.catalog-card-body p {
margin: 0 0 var(--space-2);
}
.catalog-card-kind {
font-size: 0.8125rem;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.08em;
color: var(--lf-ink-muted);
}
.catalog-cards-compact .catalog-list {
grid-template-columns: minmax(0, 1fr);
gap: 0;
}
.catalog-cards-compact .catalog-card {
border-width: 0 0 1px;
border-radius: 0;
background: transparent;
color: var(--color-text);
--color-text: inherit;
--color-heading: inherit;
--color-link: inherit;
border-color: var(--color-border);
}
.catalog-cards-compact .catalog-card-body {
padding: var(--space-3) 0;
}
.catalog-cards-compact .catalog-card-kind {
color: inherit;
opacity: 0.85;
}
.catalog-card-internal {
border-style: dashed;
}
/* Handlungsaufruf */
.cta {
background: var(--color-surface-subtle);
border-radius: var(--radius-panel);
padding: clamp(1.25rem, 5cqi, 2.5rem);
color: var(--lf-ink);
--color-heading: var(--lf-navy);
--color-text: var(--lf-ink);
--color-link: var(--lf-navy);
--color-focus: var(--lf-focus);
--color-action: var(--lf-green-deep);
--color-action-hover: #2f6407;
--color-action-text: var(--lf-white);
}
.cta h2 {
font-size: clamp(1.5rem, 1.1rem + 2cqi, 2.125rem);
}
.cta p {
max-width: var(--measure);
}
.cta a {
margin-top: var(--space-2);
}
@container slot (max-width: 20rem) {
.cta a {
width: 100%;
}
}
/* Häufige Fragen */
.faq {
margin: 0;
}
.faq dt {
font-family: var(--font-display);
font-weight: 700;
font-size: 1.125rem;
color: var(--color-heading);
padding-top: var(--space-4);
border-top: 1px solid var(--color-border);
}
.faq dt:first-child {
border-top: 0;
padding-top: 0;
}
.faq dd {
margin: var(--space-2) 0 var(--space-4);
max-width: var(--measure);
}
+1
View File
@@ -1,4 +1,5 @@
import Hls from 'hls.js';
import './site-nav.js';
function attachPlayback(video) {
if (!(video instanceof HTMLVideoElement) || video.dataset.playbackReady === '1') {
+137
View File
@@ -0,0 +1,137 @@
/**
* Website-Kopfzeile: mobile Navigation, Untermenüs und Schatten beim Scrollen.
* Ohne JavaScript bleibt die Navigation als umbrechende Liste bedienbar (CSS: html:not(.js)).
*/
const DESKTOP = window.matchMedia('(min-width: 75rem)');
function focusableIn(element) {
return [...element.querySelectorAll('a[href], button:not([disabled])')].filter((node) => node.offsetParent !== null);
}
function setupMenu(header) {
const button = header.querySelector('[data-site-menu-button]');
const nav = header.querySelector('#site-nav');
if (!button || !nav) {
return;
}
const label = button.querySelector('[data-menu-label]');
const iconOpen = button.querySelector('[data-icon-open]');
const iconClose = button.querySelector('[data-icon-close]');
const setOpen = (open, { restoreFocus = true } = {}) => {
header.classList.toggle('is-menu-open', open);
document.body.classList.toggle('has-open-menu', open);
button.setAttribute('aria-expanded', String(open));
if (label) {
label.textContent = open ? 'Schließen' : 'Menü';
}
iconOpen?.toggleAttribute('hidden', open);
iconClose?.toggleAttribute('hidden', !open);
if (open) {
focusableIn(nav)[0]?.focus();
} else if (restoreFocus) {
button.focus();
}
};
button.addEventListener('click', () => setOpen(button.getAttribute('aria-expanded') !== 'true'));
header.addEventListener('keydown', (event) => {
if (!header.classList.contains('is-menu-open')) {
return;
}
if (event.key === 'Escape') {
event.preventDefault();
setOpen(false);
return;
}
// Fokus bleibt in Menü und Menü-Schaltfläche, solange das Menü offen ist.
if (event.key === 'Tab') {
const items = [button, ...focusableIn(nav)];
const index = items.indexOf(document.activeElement);
const next = event.shiftKey ? index - 1 : index + 1;
if (index === -1 || next < 0 || next >= items.length) {
event.preventDefault();
items[event.shiftKey ? items.length - 1 : 0].focus();
}
}
});
nav.addEventListener('click', (event) => {
if (event.target.closest('a[href]:not([data-site-subnav-label])') && header.classList.contains('is-menu-open')) {
setOpen(false, { restoreFocus: false });
}
});
DESKTOP.addEventListener('change', (event) => {
if (event.matches && header.classList.contains('is-menu-open')) {
setOpen(false, { restoreFocus: false });
}
});
}
function setupSubmenus(header) {
const items = [...header.querySelectorAll('.site-nav-item.has-children')];
const close = (item, focusToggle = false) => {
item.classList.remove('is-open');
const toggle = item.querySelector('[data-site-subnav-toggle]');
toggle?.setAttribute('aria-expanded', 'false');
if (focusToggle) {
toggle?.focus();
}
};
items.forEach((item) => {
const toggle = item.querySelector('[data-site-subnav-toggle]');
const label = item.querySelector('[data-site-subnav-label]');
const open = () => {
items.filter((other) => other !== item).forEach((other) => close(other));
item.classList.add('is-open');
toggle?.setAttribute('aria-expanded', 'true');
};
toggle?.addEventListener('click', () => (item.classList.contains('is-open') ? close(item) : open()));
label?.addEventListener('click', (event) => {
event.preventDefault();
item.classList.contains('is-open') ? close(item) : open();
});
item.addEventListener('keydown', (event) => {
if (event.key === 'Escape' && item.classList.contains('is-open')) {
event.stopPropagation();
close(item, true);
}
});
item.addEventListener('focusout', (event) => {
if (DESKTOP.matches && !item.contains(event.relatedTarget)) {
close(item);
}
});
});
document.addEventListener('click', (event) => {
items.filter((item) => !item.contains(event.target)).forEach((item) => close(item));
});
}
function setupShadow(header) {
const update = () => header.classList.toggle('is-scrolled', window.scrollY > 8);
window.addEventListener('scroll', update, { passive: true });
update();
}
document.querySelectorAll('[data-site-header]').forEach((header) => {
setupMenu(header);
setupSubmenus(header);
setupShadow(header);
});
@@ -1,10 +1,10 @@
{{--
Markenzeichen der Website. Solange keine freigegebene Wortmarke als Datei vorliegt
(docs/Brand-UI-Kit/README.md, Abschnitt Markenleitlinien Nr. 5), bleibt es die Textwortmarke.
Eine freigegebene Datei wird ausschließlich hier eingesetzt.
Wortmarke. VORLÄUFIG: Es liegt keine freigegebene Logodatei vor (docs/Brand-UI-Kit/README.md, Markenleitlinie 5).
Bis dahin steht hier ein schlichter Schriftzug in der vorläufigen Auszeichnungsschrift, ohne Nachbildung der
Filmwortmarke (keine Drehung, kein Unterstrich-Schwung). Eine freigegebene SVG-Datei wird ausschließlich hier eingesetzt.
--}}
@props(['compact' => false])
<div {{ $attributes->class(['wordmark', 'wordmark-compact' => $compact]) }}>
<a href="{{ route('home') }}"><strong>Lara &amp; Felix</strong></a>
<span>Stark im Alltag</span>
</div>
@props(['href' => null, 'claim' => 'Stark im Alltag'])
<a {{ $attributes->class(['brand']) }} href="{{ $href ?? route('home') }}" data-brand-status="vorlaeufig">
<span class="brand-name">Lara &amp; Felix</span>
<span class="brand-claim">{{ $claim }}</span>
</a>
@@ -0,0 +1,10 @@
{{--
Vorbereiteter Warenkorbzugang. Der Warenkorb gehört zum kommerziellen Anwendungssystem, nicht zum CMS.
Solange cms.cart.enabled nicht gesetzt ist, wird nichts ausgegeben: kein funktionsloser Kaufknopf.
--}}
@if (config('cms.cart.enabled') && filled(config('cms.cart.url')))
<a class="site-icon-link" href="{{ config('cms.cart.url') }}">
<x-heroicon-o-shopping-bag aria-hidden="true" />
<span class="site-account-label">Warenkorb</span>
</a>
@endif
@@ -1,13 +1,33 @@
@props(['navigation'])
<footer class="site-footer">
<div class="site-footer-inner">
<x-site.brand compact />
<nav aria-label="Rechtliches und Service">
@foreach ($navigation->where('placement', 'footer') as $item)
@if ($item->href())
<a href="{{ $item->href() }}">{{ $item->label }}</a>
@endif
@endforeach
</nav>
@props(['navigation', 'path' => null])
@php
$groups = \App\Domain\Cms\SiteNavigation::forPath($navigation, $path ?? request()->path())->footerGroups();
$themes = \App\Domain\Catalog\Pillar::query()->published()->get(['id', 'name', 'slug']);
@endphp
{{-- Fußbereich: Links aus der CMS-Navigation (Plätze „Fußbereich: …“) und die veröffentlichten Themenbereiche. Keine erfundenen Kontakt- oder Rechtstexte. --}}
<footer class="site-footer scope-dark">
<div class="site-footer-inner ui-container">
<div class="site-footer-brand">
<x-site.brand />
</div>
@if ($themes->isNotEmpty())
<nav aria-labelledby="fuss-themen">
<h2 id="fuss-themen">Themenbereiche</h2>
<ul>
@foreach ($themes as $theme)
<li><a href="{{ $theme->publicUrl() }}">{{ $theme->name }}</a></li>
@endforeach
</ul>
</nav>
@endif
@foreach ($groups as $group)
<nav aria-labelledby="fuss-{{ $group['key'] }}">
<h2 id="fuss-{{ $group['key'] }}">{{ $group['heading'] }}</h2>
<ul>
@foreach ($group['links'] as $link)
<li><a href="{{ $link['href'] }}" @if ($link['current']) aria-current="page" @endif>{{ $link['label'] }}</a></li>
@endforeach
</ul>
</nav>
@endforeach
</div>
</footer>
@@ -1,18 +1,46 @@
@props(['navigation', 'page' => null])
<header class="masthead">
<div class="masthead-inner">
@props(['navigation', 'path' => null])
@php
$entries = \App\Domain\Cms\SiteNavigation::forPath($navigation, $path ?? request()->path())->header();
@endphp
{{-- Gleiche Ausgabe für Gäste und Mitglieder (ADR-32): Der Kontozugang führt zum Mitgliederbereich, der bei Bedarf zur Anmeldung leitet. --}}
<header class="site-header" data-site-header>
<div class="site-header-inner ui-container ui-container-wide">
<x-site.brand />
<nav class="site-nav" aria-label="Hauptnavigation">
@foreach ($navigation->where('placement', 'header') as $item)
@if ($item->href())
<a href="{{ $item->href() }}" @if($page !== null && $item->page_id === $page->id) aria-current="page" @endif>{{ $item->label }}</a>
@endif
@endforeach
@auth('web')
<a href="{{ route('member.dashboard') }}">Mitgliederbereich</a>
@else
<a href="{{ route('register') }}">Registrieren</a>
@endauth
<nav class="site-nav" id="site-nav" aria-label="Hauptnavigation">
<ul class="site-nav-list">
@foreach ($entries as $entry)
<li @class(['site-nav-item', 'has-children' => $entry['children'] !== [], 'is-active-trail' => $entry['activeTrail']])>
@if ($entry['href'])
<a href="{{ $entry['href'] }}" @if ($entry['current']) aria-current="page" @endif>{{ $entry['label'] }}</a>
@else
<a href="#untermenue-{{ $entry['id'] }}" data-site-subnav-label>{{ $entry['label'] }}</a>
@endif
@if ($entry['children'] !== [])
<button type="button" class="site-nav-toggle" aria-expanded="false" aria-controls="untermenue-{{ $entry['id'] }}" data-site-subnav-toggle>
<x-heroicon-o-chevron-down aria-hidden="true" />
<span class="visually-hidden">Untermenü {{ $entry['label'] }}</span>
</button>
<ul class="site-subnav" id="untermenue-{{ $entry['id'] }}">
@foreach ($entry['children'] as $child)
<li><a href="{{ $child['href'] }}" @if ($child['current']) aria-current="page" @endif>{{ $child['label'] }}</a></li>
@endforeach
</ul>
@endif
</li>
@endforeach
</ul>
</nav>
<div class="site-header-actions">
<a class="site-icon-link" href="{{ route('member.dashboard') }}">
<x-heroicon-o-user-circle aria-hidden="true" />
<span class="site-account-label">Mitgliederbereich</span>
</a>
<x-site.cart-link />
<button type="button" class="site-menu-button" aria-expanded="false" aria-controls="site-nav" data-site-menu-button>
<x-heroicon-o-bars-3 aria-hidden="true" data-icon-open />
<x-heroicon-o-x-mark aria-hidden="true" data-icon-close hidden />
<span data-menu-label>Menü</span>
</button>
</div>
</div>
</header>
+62 -1
View File
@@ -1,9 +1,70 @@
<style>
/* Widget-Auswahl */
.luf-widget-pick { display: flex; gap: .75rem; align-items: flex-start; text-align: start; white-space: normal; }
.luf-widget-pick-schematic { flex: none; border: 1px solid rgb(0 0 0 / 12%); border-radius: 3px; }
.luf-widget-pick-text { display: flex; flex-direction: column; gap: .15rem; }
.luf-widget-pick-name { font-weight: 600; }
.luf-widget-pick-desc { font-size: .8rem; line-height: 1.3; opacity: .8; }
.luf-widget-preview-frame { display: block; width: 100%; min-height: 4rem; border: 0; pointer-events: none; background: #f7faf8; }
.luf-widget-pick-units { font-size: .75rem; line-height: 1.3; opacity: .7; font-style: italic; }
/* Widget-Vorschau: kompakt, ohne eigene Bildlaufleiste; lange Inhalte werden gekürzt angezeigt. */
.luf-widget-preview { position: relative; }
.luf-widget-preview-frame { display: block; width: 100%; min-height: 3rem; max-height: 22rem; border: 0; overflow: hidden; pointer-events: none; background: #fff; }
.luf-widget-preview.is-clipped::after {
content: 'Vorschau gekürzt – vollständig in der Seitenvorschau';
position: absolute; inset: auto 0 0 0; padding: 2.5rem .75rem .5rem;
font-size: .75rem; font-weight: 600; text-align: center; color: #15243a;
background: linear-gradient(to bottom, rgb(255 255 255 / 0), rgb(255 255 255 / .96) 55%);
}
.luf-widget-preview-empty { margin: 0; padding: 1rem; font-size: .875rem; opacity: .75; }
/* Abschnitte: breite Arbeitsfläche, deutlich abgesetzte Abschnitte */
.luf-sections > .fi-fo-repeater-items { gap: 1.25rem; }
.luf-sections > .fi-fo-repeater-items > .fi-fo-repeater-item { border-left: 4px solid rgb(3 37 81 / 70%); }
.luf-sections .fi-fo-repeater-item-header-label { font-weight: 600; white-space: normal; }
/* Rasterauswahl als grafische Kacheln */
.luf-layout-picker .fi-btn-group { flex-wrap: wrap; gap: .5rem; }
.luf-layout-picker .fi-btn { min-height: 3.25rem; padding: .35rem .6rem; border-radius: .5rem !important; }
.luf-layout-option { display: inline-flex; align-items: center; gap: .5rem; }
.luf-layout-schematic { fill: currentColor; opacity: .55; }
.luf-layout-picker .fi-btn[aria-pressed='true'] .luf-layout-schematic,
.luf-layout-picker input:checked + label .luf-layout-schematic { opacity: 1; }
.luf-layout-option-text { font-variant-numeric: tabular-nums; font-weight: 600; }
/* Plätze im Verhältnis des Desktop-Rasters; auf schmalen Bildschirmen untereinander. */
.luf-slots > .fi-fo-repeater-items { display: grid; gap: .75rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 64rem) {
.luf-slots > .fi-fo-repeater-items { grid-template-columns: var(--luf-slot-cols, minmax(0, 1fr)); }
}
.luf-slots .fi-fo-repeater-item { background: rgb(247 246 242 / 60%); border-style: dashed; }
.luf-slots .fi-fo-repeater-item-header { padding-block: .4rem; }
.luf-slots .fi-fo-repeater-item-header-label { font-size: .8rem; font-weight: 600; }
.luf-slots .fi-fo-builder-add-action-ctn,
.luf-slots .fi-fo-builder .fi-fo-builder-add-btn-ctn { justify-content: center; }
/* Aktionen gut sichtbar und mit ausreichender Trefferfläche */
.luf-sections .fi-fo-repeater-item-header .fi-icon-btn,
.luf-sections .fi-fo-builder-item-header .fi-icon-btn { min-width: 2.25rem; min-height: 2.25rem; opacity: 1; }
.luf-sections .fi-fo-builder-item-header { flex-wrap: wrap; }
</style>
<script>
// Vorschau-Iframes an ihren Inhalt anpassen (nach Bildern und Schriften erneut), Höhe begrenzen.
window.lufFitPreview = window.lufFitPreview || function (frame) {
const max = 352;
const fit = () => {
const doc = frame.contentDocument;
if (!doc || !doc.documentElement) return;
const height = doc.documentElement.scrollHeight;
frame.style.height = Math.min(height, max) + 'px';
frame.parentElement?.classList.toggle('is-clipped', height > max + 4);
};
fit();
try {
const doc = frame.contentDocument;
doc.fonts?.ready.then(fit);
doc.querySelectorAll('img').forEach((img) => img.complete || img.addEventListener('load', fit, { once: true }));
if (window.ResizeObserver) new ResizeObserver(fit).observe(doc.body);
} catch (error) {}
};
</script>
@@ -1,22 +1,25 @@
{{--
Blockvorschau im Seiteneditor. Das Widget wird mit derselben Ansicht wie auf der öffentlichen Seite gerendert
und in einem eigenen Dokument angezeigt, damit Website- und Verwaltungsstile sich nicht überlagern.
Widget-Vorschau im Seiteneditor. Das Widget wird mit derselben Ansicht wie auf der öffentlichen Seite gerendert
und in einem eigenen Dokument angezeigt, damit Website- und Verwaltungsstile sich nicht überlagern. Das Dokument
hat die Breite des Platzes; Container-Abfragen der Widgets greifen dadurch wie auf der Website.
--}}
@php
$document = '<!DOCTYPE html><html lang="de"><head><meta charset="utf-8"><base target="_blank">'
.$stylesheets
.'<style>html{background:var(--color-sheet,#f7faf8)}body{margin:0;padding:1.25rem 1.5rem;min-height:0}main{display:block}</style>'
.'</head><body><main class="sheet-preview">'.$html.'</main></body></html>';
.'<style>html,body{background:#fff;overflow:hidden}body{margin:0;padding:1rem 1.25rem;min-height:0}main{display:block}</style>'
.'</head><body><main class="sheet-preview"><div class="section-slot">'.$html.'</div></main></body></html>';
@endphp
@if (trim($html) === '')
<p class="luf-widget-preview-empty">Dieser Abschnitt zeigt öffentlich nichts an. Bitte Inhalte ergänzen.</p>
<p class="luf-widget-preview-empty">Dieses Widget zeigt öffentlich nichts an. Bitte Inhalte ergänzen.</p>
@else
<iframe
class="luf-widget-preview-frame"
title="Vorschau des Abschnitts"
tabindex="-1"
srcdoc="{{ $document }}"
loading="lazy"
onload="this.style.height = (this.contentDocument?.documentElement?.scrollHeight ?? 200) + 'px'"
></iframe>
<div class="luf-widget-preview">
<iframe
class="luf-widget-preview-frame"
title="Vorschau des Widgets"
tabindex="-1"
scrolling="no"
srcdoc="{{ $document }}"
onload="window.lufFitPreview && window.lufFitPreview(this)"
></iframe>
</div>
@endif
+3 -8
View File
@@ -4,6 +4,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>@yield('title', 'Mitgliederbereich')</title>
<script>document.documentElement.classList.add('js');</script>
@fonts
@vite(['resources/css/app.css', 'resources/js/app.js'])
</head>
@@ -11,10 +12,7 @@
<a class="skip" href="#inhalt">Zum Inhalt</a>
<div class="member-shell">
<aside class="member-side">
<a class="member-mark" href="{{ route('member.dashboard') }}">
<strong>Lara &amp; Felix</strong>
<span>Mitgliederbereich</span>
</a>
<x-site.brand class="member-mark" :href="route('member.dashboard')" claim="Mitgliederbereich" />
@include('member.partials.nav')
<form class="member-logout" method="post" action="{{ route('logout') }}">
@csrf
@@ -23,10 +21,7 @@
</aside>
<div class="member-main">
<header class="member-top">
<a class="member-mark member-mark-compact" href="{{ route('member.dashboard') }}">
<strong>Lara &amp; Felix</strong>
<span>Mitgliederbereich</span>
</a>
<x-site.brand class="member-mark member-mark-compact" :href="route('member.dashboard')" claim="Mitgliederbereich" />
<nav class="member-quick" aria-label="Konto">
<a href="{{ route('member.offers') }}">Angebote</a>
<a href="{{ route('member.profile') }}">Profil</a>
+5 -3
View File
@@ -10,18 +10,20 @@
@hasSection('canonical')
<link rel="canonical" href="@yield('canonical')">
@endif
@stack('head')
<script>document.documentElement.classList.add('js');</script>
@fonts
@vite(['resources/css/app.css', 'resources/js/app.js'])
</head>
<body>
<a class="skip" href="#inhalt">Zum Inhalt</a>
<x-site.header :navigation="$navigation ?? collect()" :page="$page ?? null" />
<main id="inhalt" class="sheet">
<x-site.header :navigation="$navigation ?? collect()" :path="$activePath ?? null" />
<main id="inhalt" class="@yield('main_class', 'sheet')">
@if (session('status'))
<p class="status" role="status">{{ session('status') }}</p>
@endif
@yield('content')
</main>
<x-site.footer :navigation="$navigation ?? collect()" />
<x-site.footer :navigation="$navigation ?? collect()" :path="$activePath ?? null" />
</body>
</html>
+7
View File
@@ -3,6 +3,13 @@
@section('title', $documentTitle)
@section('description', $documentDescription ?? '')
@section('canonical', $page->publicUrl())
@section('main_class', 'site-main page-sections')
@push('head')
@if ($preview)
<meta name="robots" content="noindex, nofollow">
@endif
@endpush
@section('content')
@if ($preview)
@@ -1,10 +1,12 @@
{{-- Seitenvorlage „standard“: Widgets in voller Inhaltsbreite untereinander. --}}
<div class="page-template page-template-standard">
{{ $content }}
@if ($page->path === '/' && $themes->isNotEmpty())
<section class="block">
<h2>Themenbereiche</h2>
@include('public.themes.list', ['themes' => $themes])
</section>
@endif
</div>
{{-- Seitenvorlage „standard“: Abschnitte untereinander; jeder Abschnitt bestimmt Raster, Fläche und Breite selbst. --}}
{{ $content }}
@if ($page->path === '/' && $themes->isNotEmpty())
<div class="page-section section-bg-default section-width-standard section-space-normal">
<div class="page-section-inner">
<section class="block">
<h2>Themenbereiche</h2>
@include('public.themes.list', ['themes' => $themes])
</section>
</div>
</div>
@endif
@@ -4,6 +4,6 @@
<p>{{ $data['text'] }}</p>
@endif
@if (\App\Domain\Cms\Widgets\Support\SafeUrl::isSafe($data['url'] ?? null))
<a href="{{ $data['url'] }}">{{ $data['label'] ?? '' }}</a>
<a class="button" href="{{ $data['url'] }}">{{ $data['label'] ?? '' }}</a>
@endif
</div>