Nimm die Brand-UI-Kit-Stände 1.2 bis 1.7 ohne Originalmotive auf.
Design-Tokens, SVG-Entwürfe, Cursor-Übergabe, Branding-Freigabe, freigegebene Logovarianten, Hero-, Bild-und-Text- und Premium-Widgets (v1.6) sowie den Kartenentwurf v1.7 mit Ergänzungsdokumenten; die Architektur- und Analysedokumente verweisen bereits auf diese Ordner. Bewusst nicht aufgenommen: 01_originale/ und die Kopien der Originalmotive in 09_hero_widget/assets und 13_premium_karten_v1.7_entwurf/assets (zusammen etwa 30 MB, Veröffentlichung nicht freigegeben, bleiben sonst dauerhaft in der Historie) sowie das Zip des Kartenentwurfs (Duplikat des Ordners). Die Vorschauen dieser beiden Ordner zeigen deshalb im Repository keine Originalmotive. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
No files matched your search
@@ -0,0 +1,25 @@
|
||||
/* Lara & Felix – draft brand tokens; source imagery sampled 2026-11-15.
|
||||
Do not treat these color values or fonts as final without approval. */
|
||||
:root {
|
||||
--lf-navy: #032551;
|
||||
--lf-navy-deep: #01244C;
|
||||
--lf-green: #5B8625;
|
||||
--lf-green-deep: #3B7B09;
|
||||
--lf-yellow: #FCD10A;
|
||||
--lf-cream: #F7F6F2;
|
||||
--lf-white: #FFFFFF;
|
||||
--lf-surface: #F9FAF7;
|
||||
--lf-ink: #15243A;
|
||||
--lf-muted: #5D6A78;
|
||||
--lf-border: #DDE5E3;
|
||||
--lf-focus: #1769AA;
|
||||
--lf-error: #B92F38;
|
||||
--lf-radius-sm: 8px;
|
||||
--lf-radius-md: 14px;
|
||||
--lf-radius-lg: 22px;
|
||||
--lf-radius-pill: 999px;
|
||||
--lf-shadow-card: 0 12px 30px rgb(3 37 81 / .07);
|
||||
--lf-max-container: 1180px;
|
||||
--lf-font-ui: "Nunito Sans", "Segoe UI", system-ui, sans-serif;
|
||||
--lf-font-display: "Nunito", "Trebuchet MS", system-ui, sans-serif;
|
||||
}
|
||||
@@ -0,0 +1,147 @@
|
||||
{
|
||||
"$schema": "https://design-tokens.github.io/community-group/format/",
|
||||
"status": "working draft, needs formal brand approval",
|
||||
"source": "sampled colors from uploaded title/denkpause, with supporting UI tokens chosen for accessibility",
|
||||
"color": {
|
||||
"navy": {
|
||||
"$type": "color",
|
||||
"$value": "#032551"
|
||||
},
|
||||
"navy_deep": {
|
||||
"$type": "color",
|
||||
"$value": "#01244C"
|
||||
},
|
||||
"green": {
|
||||
"$type": "color",
|
||||
"$value": "#5B8625"
|
||||
},
|
||||
"green_deep": {
|
||||
"$type": "color",
|
||||
"$value": "#3B7B09"
|
||||
},
|
||||
"yellow": {
|
||||
"$type": "color",
|
||||
"$value": "#FCD10A"
|
||||
},
|
||||
"cream": {
|
||||
"$type": "color",
|
||||
"$value": "#F7F6F2"
|
||||
},
|
||||
"white": {
|
||||
"$type": "color",
|
||||
"$value": "#FFFFFF"
|
||||
},
|
||||
"surface": {
|
||||
"$type": "color",
|
||||
"$value": "#F9FAF7"
|
||||
},
|
||||
"ink": {
|
||||
"$type": "color",
|
||||
"$value": "#15243A"
|
||||
},
|
||||
"muted": {
|
||||
"$type": "color",
|
||||
"$value": "#5D6A78"
|
||||
},
|
||||
"border": {
|
||||
"$type": "color",
|
||||
"$value": "#DDE5E3"
|
||||
},
|
||||
"focus": {
|
||||
"$type": "color",
|
||||
"$value": "#1769AA"
|
||||
},
|
||||
"error": {
|
||||
"$type": "color",
|
||||
"$value": "#B92F38"
|
||||
}
|
||||
},
|
||||
"radius": {
|
||||
"sm": {
|
||||
"$type": "dimension",
|
||||
"$value": "8px"
|
||||
},
|
||||
"md": {
|
||||
"$type": "dimension",
|
||||
"$value": "14px"
|
||||
},
|
||||
"lg": {
|
||||
"$type": "dimension",
|
||||
"$value": "22px"
|
||||
},
|
||||
"pill": {
|
||||
"$type": "dimension",
|
||||
"$value": "999px"
|
||||
}
|
||||
},
|
||||
"space": {
|
||||
"1": {
|
||||
"$type": "dimension",
|
||||
"$value": "4px"
|
||||
},
|
||||
"2": {
|
||||
"$type": "dimension",
|
||||
"$value": "8px"
|
||||
},
|
||||
"3": {
|
||||
"$type": "dimension",
|
||||
"$value": "12px"
|
||||
},
|
||||
"4": {
|
||||
"$type": "dimension",
|
||||
"$value": "16px"
|
||||
},
|
||||
"5": {
|
||||
"$type": "dimension",
|
||||
"$value": "20px"
|
||||
},
|
||||
"6": {
|
||||
"$type": "dimension",
|
||||
"$value": "24px"
|
||||
},
|
||||
"7": {
|
||||
"$type": "dimension",
|
||||
"$value": "28px"
|
||||
},
|
||||
"8": {
|
||||
"$type": "dimension",
|
||||
"$value": "32px"
|
||||
},
|
||||
"9": {
|
||||
"$type": "dimension",
|
||||
"$value": "36px"
|
||||
},
|
||||
"10": {
|
||||
"$type": "dimension",
|
||||
"$value": "40px"
|
||||
},
|
||||
"11": {
|
||||
"$type": "dimension",
|
||||
"$value": "44px"
|
||||
},
|
||||
"12": {
|
||||
"$type": "dimension",
|
||||
"$value": "48px"
|
||||
},
|
||||
"13": {
|
||||
"$type": "dimension",
|
||||
"$value": "52px"
|
||||
},
|
||||
"14": {
|
||||
"$type": "dimension",
|
||||
"$value": "56px"
|
||||
},
|
||||
"15": {
|
||||
"$type": "dimension",
|
||||
"$value": "60px"
|
||||
},
|
||||
"16": {
|
||||
"$type": "dimension",
|
||||
"$value": "64px"
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"display": "Rounded friendly display – select licensed font",
|
||||
"body": "Highly readable sans – select licensed font"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><rect width="64" height="64" rx="17" fill="#032551"/><path d="M10 45V17h8v20h12v8z" fill="#fff"/><text x="31" y="42" font-family="system-ui,sans-serif" font-size="19" font-weight="900" fill="white">F</text><path d="M9 53Q28 43 55 49" stroke="#FCD10A" stroke-width="5" fill="none" stroke-linecap="round"/></svg>
|
||||
|
After Width: | Height: | Size: 370 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><g fill="none" stroke="#032551" stroke-width="5" stroke-linejoin="round" stroke-linecap="round"><path d="M20 53V30c0-9 13-9 13 0V16c0-9 13-9 13 0v11-17c0-9 13-9 13 0v18-14c0-9 13-9 13 0v36l7-10c7-9 20-3 15 7L76 82C67 93 43 94 30 86L9 64C2 56 13 47 20 53z"/></g></svg>
|
||||
|
After Width: | Height: | Size: 329 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 360 258"><path d="M59 68C72 19 132 6 165 35c39-37 103-10 113 30 56-3 78 45 56 86 10 45-42 89-95 75-39 30-94 12-109-11-38 21-100-11-99-56-27-29-20-78 28-91z" fill="#FFFFFF" stroke="#032551" stroke-width="7" stroke-linejoin="round"/><circle cx="48" cy="233" r="14" fill="white" stroke="#032551" stroke-width="6"/><circle cx="17" cy="253" r="6" fill="white" stroke="#032551" stroke-width="4"/></svg>
|
||||
|
After Width: | Height: | Size: 449 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 85"><g fill="none" stroke="#FCD10A" stroke-linecap="round" stroke-width="11"><path d="M23 52L6 40"/><path d="M48 29L46 9"/><path d="M74 44L89 23"/></g></svg>
|
||||
|
After Width: | Height: | Size: 214 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 280 28"><path d="M9 18 Q102 1 270 12" fill="none" stroke="#FCD10A" stroke-width="13" stroke-linecap="round"/></svg>
|
||||
|
After Width: | Height: | Size: 168 B |
@@ -0,0 +1,13 @@
|
||||
# Cursor-Übergabe: Brand & UI Kit
|
||||
|
||||
**Noch nicht umsetzen, bevor der funktionale MVP praktisch überprüft und korrigiert wurde.**
|
||||
|
||||
1. Lies `docs/prinzipien/design-prinzipien.md` und `docs/prinzipien/seo-und-content-prinzipien.md` sowie `CLAUDE.md`.
|
||||
2. Nutze das Brand & UI Kit v1.0 als **Entwurfs- und Vergleichsmaterial**, nicht als unhinterfragte, finale Markenfreigabe.
|
||||
3. Inventarisiere zuerst den tatsächlichen Stand des bestehenden Laravel/Filament-Frontends und der Originalmedien.
|
||||
4. Mache mit den originalen Lara-&-Felix-Assets und einem ruhigen Erwachsenen-UI-Design konkrete Layoutvarianten. Die Denkpause wird gezielt didaktisch eingesetzt.
|
||||
5. Übernehme nur explizit freigegebene Logo-, Typografie- und Farbvarianten. Markenfarben im Kit sind abgeleitete Vorschläge.
|
||||
6. Bewahre die fachlich bestehende CMS-/Katalog-/Lizenzstruktur. Die statischen HTML-Screens sind keine technische Architekturvorgabe.
|
||||
7. Alle öffentlichen Produkt- und SEO-Texte kommen aus dem echten Katalog/CMS; keine Demo-Preise, keine KI-erfundenen Filme, keine erfundenen Wirkungsversprechen.
|
||||
8. Validierung: Screenshots in 390/768/1440 px, Tastatur, Kontrast, Reduced Motion, LCP/CLS, Auth-/Berechtigungsregressionen.
|
||||
9. Kein Produktionsdeployment ohne die in `CLAUDE.md` vorgesehene Freigabe.
|
||||
@@ -0,0 +1,386 @@
|
||||
\# Lara \& Felix – Verbindliche Design- und UX-Anforderungen
|
||||
|
||||
|
||||
|
||||
\## 1. Designqualität ist ein gleichrangiges Projektziel
|
||||
|
||||
|
||||
|
||||
Die Benutzeroberfläche von Lara \& Felix muss gestalterisch, funktional und technisch dem Niveau einer hochwertigen, professionell entwickelten digitalen Plattform entsprechen.
|
||||
|
||||
|
||||
|
||||
\*\*Ein gewöhnliches, erkennbar KI-generiertes Standardtemplate ist ausdrücklich nicht akzeptabel.\*\*
|
||||
|
||||
|
||||
|
||||
Die Plattform muss eine eigenständige visuelle Identität besitzen, die konsistent über Marketing-Webseite, Anmeldung, Mitgliederbereich, Katalog, Bibliothek und Kursplayer umgesetzt wird.
|
||||
|
||||
|
||||
|
||||
Designqualität ist ein verbindliches Abnahmekriterium und darf nicht zugunsten einer schnelleren rein funktionalen Implementierung entfallen.
|
||||
|
||||
|
||||
|
||||
\## 2. Gestalterische Richtung
|
||||
|
||||
|
||||
|
||||
Entwickle ein zeitgemäßes Premium-Design mit folgenden Eigenschaften:
|
||||
|
||||
|
||||
|
||||
\- Eigenständige, wiedererkennbare Markenidentität
|
||||
|
||||
\- Hochwertige Editorial-Typografie mit differenzierter Schriftgrößenhierarchie
|
||||
|
||||
\- Bewusst gestaltete, teilweise asymmetrische Layouts
|
||||
|
||||
\- Großzügige, aber funktional eingesetzte Weißräume
|
||||
|
||||
\- Präzise abgestimmte Farben und Kontraste
|
||||
|
||||
\- Hochwertige Bild- und Videointegration
|
||||
|
||||
\- Professionelle, dezente Mikroanimationen
|
||||
|
||||
\- Ausgefeilte Hover-, Fokus-, Lade- und Übergangszustände
|
||||
|
||||
\- Konsistentes Erscheinungsbild über alle Bereiche
|
||||
|
||||
\- Sehr gute Bedienbarkeit auf Smartphone, Tablet und Desktop
|
||||
|
||||
|
||||
|
||||
Die Bildsprache soll selbstbewusst, freundlich, vertrauenswürdig und authentisch sein.
|
||||
|
||||
|
||||
|
||||
Die Plattform richtet sich an erwachsene Trainer und pädagogische Fachkräfte. Das Design darf modern und emotional sein, soll aber nicht kindlich, verspielt oder sensationsorientiert wirken.
|
||||
|
||||
|
||||
|
||||
Gewaltprävention ist ein ernsthaftes Bildungsthema. Vermeide dramatisierende Darstellungen von Gewalt oder Angst.
|
||||
|
||||
|
||||
|
||||
\## 3. Austauschbares KI-Design ausdrücklich vermeiden
|
||||
|
||||
|
||||
|
||||
Vermeide insbesondere:
|
||||
|
||||
|
||||
|
||||
\- Beliebige Blau-Violett-Verläufe als dominantes Standardmotiv
|
||||
|
||||
\- Austauschbare Hero-Sektionen mit generischen Marketingfloskeln
|
||||
|
||||
\- Endlose Reihen identischer abgerundeter Karten
|
||||
|
||||
\- Beliebige Stockfotos ohne inhaltlichen Bezug
|
||||
|
||||
\- Dekorative Glaseffekte ohne funktionalen Nutzen
|
||||
|
||||
\- Übertriebene Schatten und Leuchteffekte
|
||||
|
||||
\- Belanglose, inflationär eingesetzte Icons
|
||||
|
||||
\- Unnötige Animationen, die die Nutzung verlangsamen
|
||||
|
||||
\- Generische SaaS-Dashboards ohne Bezug zum Lern- und Trainingskontext
|
||||
|
||||
\- Einheitliche Standardlayouts auf jeder Seite
|
||||
|
||||
|
||||
|
||||
Wichtig: Diese Stilmittel sind nicht grundsätzlich verboten. Sie sollen nur eingesetzt werden, wenn sie eine nachvollziehbare gestalterische Funktion erfüllen.
|
||||
|
||||
|
||||
|
||||
\*\*Bevorzuge eine bewusst komponierte und differenzierte Gestaltung gegenüber einer Aneinanderreihung vorgefertigter UI-Komponenten.\*\*
|
||||
|
||||
|
||||
|
||||
\## 4. Professionelles Designsystem
|
||||
|
||||
|
||||
|
||||
Lege früh ein wiederverwendbares Designsystem an.
|
||||
|
||||
|
||||
|
||||
Es soll enthalten:
|
||||
|
||||
|
||||
|
||||
\- Farbpalette mit semantischen Design-Tokens
|
||||
|
||||
\- Typografiesystem
|
||||
|
||||
\- Abstands- und Rastersystem
|
||||
|
||||
\- Responsive Layoutregeln
|
||||
|
||||
\- Schaltflächen und Links
|
||||
|
||||
\- Formulare und Eingabefelder
|
||||
|
||||
\- Navigationselemente
|
||||
|
||||
\- Karten, Listen und Inhaltsvorschauen
|
||||
|
||||
\- Statusanzeigen und Rückmeldungen
|
||||
|
||||
\- Modale Dialoge
|
||||
|
||||
\- Lade-, Leer- und Fehlerzustände
|
||||
|
||||
\- Animationen und Übergänge
|
||||
|
||||
|
||||
|
||||
Dieses Designsystem gilt für die öffentliche Webseite und den Mitgliederbereich.
|
||||
|
||||
|
||||
|
||||
Die interne Filament-Administration darf funktionaler gestaltet sein, soll aber eine saubere und konsistente Bedienung aufweisen.
|
||||
|
||||
|
||||
|
||||
Nutze bestehende Komponentenbibliotheken, wo sie helfen. Die sichtbare Produktoberfläche darf dennoch nicht wie eine unveränderte Komponentenbibliothek aussehen.
|
||||
|
||||
|
||||
|
||||
\## 5. Marketing-Webseite
|
||||
|
||||
|
||||
|
||||
Die öffentliche Startseite soll wie der Auftritt einer eigenständigen, hochwertigen Bildungsmarke wirken.
|
||||
|
||||
|
||||
|
||||
Besondere Aufmerksamkeit verdienen:
|
||||
|
||||
|
||||
|
||||
\- Der erste sichtbare Bildschirmbereich
|
||||
|
||||
\- Die visuelle Einführung in das Konzept
|
||||
|
||||
\- Die Präsentation von Filmen und Materialien
|
||||
|
||||
\- Die Erklärung des didaktischen Ansatzes
|
||||
|
||||
\- Die Darstellung von Zielgruppen
|
||||
|
||||
\- Übersichtliche Handlungsaufrufe
|
||||
|
||||
\- Der Übergang zur Anmeldung beziehungsweise zum Mitgliederbereich
|
||||
|
||||
|
||||
|
||||
Nutze die tatsächlich vorhandenen Lara-\&-Felix-Filme und ihre Bildwelt als Grundlage für die spätere Markenkommunikation, sofern passende freigegebene Assets verfügbar sind.
|
||||
|
||||
|
||||
|
||||
Keine erfundenen Kundenbewertungen, Partnerlogos, Qualifikationen oder Wirkungsversprechen.
|
||||
|
||||
|
||||
|
||||
\## 6. Mitgliederbereich
|
||||
|
||||
|
||||
|
||||
Der Mitgliederbereich muss sich wie ein eigenständiges, hochwertiges digitales Produkt anfühlen.
|
||||
|
||||
|
||||
|
||||
Die Oberfläche soll:
|
||||
|
||||
|
||||
|
||||
\- Eine besonders übersichtliche Bibliothek bieten
|
||||
|
||||
\- Filme, Übungen und Materialien visuell klar unterscheiden
|
||||
|
||||
\- Unterschiedliche Inhaltsarten und Pakete verständlich darstellen
|
||||
|
||||
\- Berechtigungen nachvollziehbar anzeigen
|
||||
|
||||
\- Eine ausgezeichnete Suche und Orientierung ermöglichen
|
||||
|
||||
\- Auch bei umfangreichen Inhaltsbeständen übersichtlich bleiben
|
||||
|
||||
\- Einen besonders sorgfältig gestalteten Kursplayer besitzen
|
||||
|
||||
|
||||
|
||||
Der Mitgliederbereich darf nicht einfach eine umbenannte Filament-Administrationsoberfläche sein.
|
||||
|
||||
|
||||
|
||||
\## 7. Interaktionen und Feinschliff
|
||||
|
||||
|
||||
|
||||
Implementiere durchdachte Mikrointeraktionen und visuelle Rückmeldungen.
|
||||
|
||||
|
||||
|
||||
Dazu gehören beispielsweise:
|
||||
|
||||
|
||||
|
||||
\- Konsistente Hover- und Fokuszustände
|
||||
|
||||
\- Sanfte, gezielte Übergänge
|
||||
|
||||
\- Verständliche Ladezustände
|
||||
|
||||
\- Hochwertige leere Bibliotheksansichten
|
||||
|
||||
\- Klare Erfolgsmeldungen und Fehlermeldungen
|
||||
|
||||
\- Sinnvolle Tastaturinteraktionen
|
||||
|
||||
\- Gute Formularvalidierung
|
||||
|
||||
\- Keine unnötigen Layoutsprünge
|
||||
|
||||
|
||||
|
||||
Animationen müssen bei aktivierter Einstellung `prefers-reduced-motion` entsprechend reduziert werden.
|
||||
|
||||
|
||||
|
||||
\## 8. Zugänglichkeit und Performance
|
||||
|
||||
|
||||
|
||||
Gestalterische Qualität darf nicht auf Kosten der Zugänglichkeit oder Geschwindigkeit entstehen.
|
||||
|
||||
|
||||
|
||||
Richte dich nach WCAG 2.2 AA.
|
||||
|
||||
|
||||
|
||||
Prüfe insbesondere:
|
||||
|
||||
|
||||
|
||||
\- Kontraste
|
||||
|
||||
\- Tastaturbedienbarkeit
|
||||
|
||||
\- Sichtbare Fokuszustände
|
||||
|
||||
\- Semantische Struktur
|
||||
|
||||
\- Verständliche Formulare
|
||||
|
||||
\- Responsives Verhalten
|
||||
|
||||
\- Untertitel und Bedienelemente des Players
|
||||
|
||||
|
||||
|
||||
Orientiere dich bei der Performance an den Core Web Vitals.
|
||||
|
||||
|
||||
|
||||
Optimiere große Bilder und Videos, vermeide unnötiges JavaScript und achte auf stabile Layouts.
|
||||
|
||||
|
||||
|
||||
\## 9. Verbindliche visuelle Qualitätssicherung
|
||||
|
||||
|
||||
|
||||
\*\*Technisch erfolgreiche Tests allein reichen für den Abschluss einer Benutzeroberfläche nicht aus.\*\*
|
||||
|
||||
|
||||
|
||||
Führe nach der Implementierung jedes wesentlichen Bildschirmbereichs eine visuelle Kontrolle durch.
|
||||
|
||||
|
||||
|
||||
Prüfe mindestens:
|
||||
|
||||
|
||||
|
||||
\- Desktop bei etwa 1440 Pixeln Breite
|
||||
|
||||
\- Tablet bei etwa 768 Pixeln Breite
|
||||
|
||||
\- Smartphone bei etwa 390 Pixeln Breite
|
||||
|
||||
|
||||
|
||||
Kontrolliere gerenderte Screenshots beziehungsweise die tatsächliche Browserdarstellung, soweit die Entwicklungsumgebung dies ermöglicht.
|
||||
|
||||
|
||||
|
||||
Achte auf:
|
||||
|
||||
|
||||
|
||||
\- Typografische Qualität
|
||||
|
||||
\- Ausgewogene Layouts
|
||||
|
||||
\- Lesbarkeit
|
||||
|
||||
\- Konsistente Abstände
|
||||
|
||||
\- Bildzuschnitte
|
||||
|
||||
\- Navigationsverhalten
|
||||
|
||||
\- Interaktionszustände
|
||||
|
||||
\- Visuelle Hierarchie
|
||||
|
||||
\- Responsives Verhalten
|
||||
|
||||
|
||||
|
||||
Beseitige erkennbare gestalterische Schwächen eigenständig.
|
||||
|
||||
|
||||
|
||||
Behaupte keine visuelle Prüfung, wenn die Seite nicht tatsächlich gerendert und betrachtet wurde.
|
||||
|
||||
|
||||
|
||||
\## 10. Umsetzung ohne zusätzliche Planungs-Gates
|
||||
|
||||
|
||||
|
||||
Erarbeite vor der Gestaltung ein kompaktes visuelles Konzept und ein Designsystem.
|
||||
|
||||
|
||||
|
||||
Setze dieses anschließend unmittelbar in der Anwendung um.
|
||||
|
||||
|
||||
|
||||
\*\*Kein zusätzlicher Freigabe-Stopp für reine Designkonzepte.\*\*
|
||||
|
||||
|
||||
|
||||
Die erste fachliche Abnahme erfolgt anhand der tatsächlich implementierten Marketing-Webseite und des Mitgliederbereichs.
|
||||
|
||||
|
||||
|
||||
Überarbeite die Oberflächen eigenständig, bis sowohl die funktionalen als auch die gestalterischen Qualitätsziele erfüllt sind.
|
||||
|
||||
|
||||
|
||||
Ein optisch generisches, offensichtlich unfertiges Frontend erfüllt den Entwicklungsauftrag nicht.
|
||||
|
||||
|
||||
|
||||
\*\*Ziel ist eine individuelle, hochwertige, moderne und langfristig erweiterbare digitale Marke – nicht nur eine funktionierende Laravel-Anwendung.\*\*
|
||||
|
||||
@@ -0,0 +1,85 @@
|
||||
# Lara & Felix – Webmarke und globaler Header | Designfreigabe-Vorlage v1.1
|
||||
|
||||
**Datum:** 18.11.2026
|
||||
**Status:** Zur fachlichen/visuellen Freigabe vorgeschlagen; keine automatische Markenfreigabe.
|
||||
**Basis:** Brand & UI Kit v1.0, Originalmotive, `design-prinzipien.md`, bestehendes CMS.
|
||||
|
||||
## A. Gesicherter Bestand
|
||||
|
||||
- Die sechs Bilder unter `01_originale/` sind Quellen/Referenzen und unverändert; ihre Freigabe zur öffentlichen Verwendung ist im Quellenmanifest nicht bestätigt.
|
||||
- Die eigentliche Lara-&-Felix-Wortmarke ist in Titel-/Outro-Motiven enthalten, aber **nicht als isolierte, offiziell freigegebene Logo-Datei** vorhanden.
|
||||
- Die SVG-Datei `favicon-monogram-entwurf.svg` ist ausdrücklich **kein** freigegebenes Logo.
|
||||
- `02_design_tokens/` enthält Arbeitswerte, keine formal freigegebene Markenpalette.
|
||||
- Der visuelle Homepage-Entwurf ist eine Gestaltungsreferenz. Der statische HTML-Prototyp ist keine Produktionsarchitektur.
|
||||
|
||||
## B. Weblogo: vorgeschlagene freizugebende Varianten
|
||||
|
||||
**W1 – Primäre farbige Wortmarke**
|
||||
- Originalwirkung der Lara-&-Felix-Wortmarke mit grüner Zeile „Stark im Alltag“ und gezieltem gelbem Akzent erhalten.
|
||||
- Für helle Headerflächen; als sauberes, separat exportiertes Asset, bevorzugt SVG **nur bei originalgetreuer Freigabe**, alternativ hochauflösendes transparentes PNG/WebP.
|
||||
- Keine Neuschöpfung oder freie KI-Nachzeichnung. Im Originalmotiv enthaltene Hintergründe nicht als Logo-Hintergrund mit ausschneiden.
|
||||
|
||||
**W2 – Kompaktvariante für Sticky-/Mobile-Header**
|
||||
- Gleiche Markenidentität, aber kleinere Mindestabmessungen und geprüfte Lesbarkeit.
|
||||
- Vorzug: identische Wortmarke mit korrekten Proportionen. Nur wenn diese in kleinen Größen unlesbar ist, eine gesondert freizugebende vereinfachte Variante.
|
||||
- Kein neues L&F-Monogramm ohne Freigabe.
|
||||
|
||||
**W3 – Negativ-/Footer-Variante**
|
||||
- Auf Navy kontrastreich, markentreu und aus demselben Original abgeleitet; nicht pauschal invertieren, wenn gelbe/grüne Details dadurch verändert werden.
|
||||
|
||||
### Noch zu entscheiden
|
||||
- Gibt es eine separierte Original-Logodatei aus dem Filmprojekt?
|
||||
- Wird die Trennung der Wortmarke aus dem Titelbild als **originalgetreue Asset-Aufbereitung** freigegeben?
|
||||
- Welche Varianten W1/W2/W3 sind nach Sichtprüfung verbindlich?
|
||||
|
||||
## C. Stabiler Header: funktionale Spezifikation
|
||||
|
||||
1. **Ein globaler Header für alle öffentlichen CMS-Seiten**, keine separaten pro-Seite-Header.
|
||||
2. Header-Inhalt orientiert sich an **demselben horizontalen Markenraster auf jeder Seite**; seine Nutzbreite bleibt unabhängig von Seitentitel, Navigationseintrag und Scrollbar stabil.
|
||||
3. **Desktop initial:** sichtbare originale Wortmarke links; CMS-Navigation als mittlere Funktionszone; Konto-/später Warenkorb-Aktionen rechts. Keine ungeplanten Umbrüche der Navigation.
|
||||
4. **Desktop kompakt/sticky:** geringere definierte Höhe; Wortmarke proportional kleiner; Navigation und Aktionen stabil. Zustandswechsel allein scrollabhängig, ohne Layoutsprung des Inhalts; CSS/JS technisch mit reservierter Headerfläche oder vergleichbarem stabilen Mechanismus.
|
||||
5. **Mobil:** kompakter Top-Header mit Wortmarke, Menü und Mitgliedszugang. Öffentlich keine Bottom-Navigation. Hauptmenü als zugängliches Overlay/Drawer.
|
||||
6. **Kein seitenabhängiges „Wackeln“:** identische Logo-x-Position und definierte Headerhöhe je Zustand; aktive Nav-Markierung belegt keinen zusätzlichen Platz und ändert keine Breite.
|
||||
7. **Barrierefreiheit:** Tastatur-/Fokusbedienung, korrekte aria-Zustände, ausreichende Touchflächen, Kontrast, `prefers-reduced-motion`.
|
||||
8. **Browserabnahme:** Wechsel zwischen Start-, Themen-, kurzer und langer Seite bei 390/768/1440/1920 px und Browserzoom 100 %; kontrollierter Scrolltest, Prüfung auf Layoutverschiebungen.
|
||||
|
||||
## D. Globale Seitenbreiten
|
||||
|
||||
- Hintergründe: **Full Bleed** bis zum Fensterrand möglich.
|
||||
- **Breit** für Hero und Editorial-Bilder: vorläufig maximal etwa 1440 px.
|
||||
- **Standard** für gemischte Inhaltsabschnitte: vorläufig etwa 1200 px.
|
||||
- **Lesebereich** für lange Texte: etwa 720–800 px.
|
||||
- Definierte responsive Seitenränder und gemeinsame zentral gepflegte Tokens, nicht pro Seite CSS-Sonderfälle.
|
||||
- Die CMS-Einstellungen „Schmal“, „Standard“, „Breit“, „Vollbreite“ müssen diese Semantik tatsächlich abbilden; keine fixierten Pixeldimensionen für alle Bildschirmgrößen.
|
||||
- Werte sind **Abnahmevorschläge**; Endwerte anhand echter Seite und vorhandener Marke testen.
|
||||
|
||||
## E. Wiederkehrende Markensignaturen
|
||||
|
||||
- Gelbe Unterstreichungen und kurze Signalstrahlen aus `03_svg_entwuerfe/` als **optionale** grafische Mittel; nicht als dekoratives Dauerrauschen.
|
||||
- Grüner Akzent für Themen/CTA nach Kontrastprüfung.
|
||||
- Denkpause-Hand und Denkblase **nur** im passenden didaktischen Kontext.
|
||||
- Keine neuen Pflanzenmotive oder fremde Markenwelt; Originalfiguren nur nach Freigabe.
|
||||
|
||||
## F. Freigabematrix
|
||||
|
||||
| Gegenstand | Status | Nächster Prüfschritt |
|
||||
|---|---|---|
|
||||
| Wortmarke aus Originalmotiven | Quelle vorhanden, isoliertes Asset fehlt | Originalgetreue Extraktion/Export vorführen |
|
||||
| Mobile Kompaktmarke | Konzeptioneller Vorschlag | Visueller Vergleich bei Zielgrößen |
|
||||
| Footer-Negativmarke | Konzeptioneller Vorschlag | Kontrast-/Originaltreue-Test |
|
||||
| Navy/Grün/Gelb/Creme | Token-Entwürfe | Markenfarben explizit abnehmen |
|
||||
| Nunito/Nunito Sans | Schriftvorschläge | Lesbarkeit, Lizenz, lokale Bereitstellung prüfen |
|
||||
| Header normal/kompakt | Funktional beschlossen, Gestaltung offen | Zwei Zustände mit Originalmarke im Browser prüfen |
|
||||
| Seitenbreiten | Semantisches Konzept beschlossen, Zahlen vorläufig | 390/768/1440/1920 px prüfen |
|
||||
| Gelbe Signaturen | SVG-Entwurf | Dosierung und Einsatzbeispiele freigeben |
|
||||
|
||||
## G. Grenzen zur laufenden CMS-Implementierung
|
||||
|
||||
- Die vorhandene Widget-Registry und das Abschnitts-/Slot-Modell bleiben maßgeblich.
|
||||
- Header und Footer sind **globale Layoutkomponenten**, keine frei kopierten CMS-Widgets.
|
||||
- Die öffentliche Seitennavigation bleibt CMS-gesteuert, die Mitgliederbibliothek behält eine eigene fachliche Navigation.
|
||||
- Diese Spezifikation gibt keine öffentlichen Medien, Firmenangaben, Produkte, Lizenzen oder Kurse frei.
|
||||
|
||||
## H. Empfohlene nächste Designabnahme
|
||||
|
||||
**Erst** zwei bis drei echte Headerzustände mit Original- bzw. nachvollziehbar vorläufiger Wortmarke sichtbar machen (Desktop initial, Desktop sticky, Mobil); dabei Logo-Originaltreue, Breitenraster und Stabilität prüfen. Danach Hero- und Karten-Familien im selben Markensystem ausarbeiten. Keine erneute CMS-Architekturarbeit.
|
||||
@@ -0,0 +1,3 @@
|
||||
# Brand & UI Kit – Ergänzung v1.1
|
||||
|
||||
Diese Ergänzung enthält eine **Freigabevorlage** zu Weblogo und globalem Header. Die Originaldateien des v1.0-Kits sind unverändert übernommen. Das Dokument ist kein Nachweis einer formalen Markenfreigabe.
|
||||
@@ -0,0 +1,10 @@
|
||||
# Freigegebene Logo-Gestaltungsrichtung – Stand 18.11.2026
|
||||
|
||||
Die Freigabe im Chat betrifft die zuletzt dargestellte Wortmarken-Gestaltung. Hier liegen zwei **Rastergrößen** derselben Wortmarke: `standard` für großflächige Darstellung und `kompakt` für kleinere Einbindungen. Schriftgestaltung und Layout bleiben unverändert.
|
||||
|
||||
- `logo_lara_felix_standard.png`: volle Auflösung, Bildfassung der freigegebenen Darstellung.
|
||||
- `logo_lara_felix_kompakt.png`: proportional verkleinerte Variante, keine neu gezeichnete Schrift.
|
||||
|
||||
**Technischer Vorbehalt:** Diese Dateien enthalten den ursprünglich generierten **dunklen Hintergrund**. Sie sind keine freigestellten transparenten Logos oder Vektordateien und dürfen nicht als solche bezeichnet werden. Für einen hellen Website-Header ist die freigestellte Fassung weiterhin herzustellen und gesondert visuell zu prüfen. Die beiden Dateien sind verwertbare Original-Referenzbilder für die Design-Umsetzung, nicht bereits finale transparente Weblogos.
|
||||
|
||||
Die SVG-Strahlen und die gelbe Unterstreichung unter `03_svg_entwuerfe/` bleiben eigenständige Grafikressourcen. Keine nachträgliche Neuzeichnung als Logo.
|
||||
|
After Width: | Height: | Size: 344 KiB |
|
After Width: | Height: | Size: 1.2 MiB |
@@ -0,0 +1,21 @@
|
||||
# Lara & Felix – Hero-Widget v1.3 (Design-Arbeitsstand)
|
||||
|
||||
## Direkt ansehen
|
||||
`09_hero_widget/preview/index.html` im Browser öffnen. Diese Vorschau ist interaktiv: Titel, Text, Buttontexte, Variante und Bildfokus ändern sich unmittelbar. Die beiden Buttons führen absichtlich nur zu einem Demo-Anker.
|
||||
|
||||
## Enthalten
|
||||
- `assets/lara-felix-park-original.png`: **unverändert übernommene Kling-Datei**, Figuren nicht neu generiert.
|
||||
- `assets/lara-felix-park-hero.webp`: effiziente 1:1-Konvertierung derselben Aufnahme.
|
||||
- `assets/yellow-rays.svg`, `yellow-underline.svg`: unveränderte Entwurfsassets aus dem Brand-Kit.
|
||||
- `components/lf-hero.css`: isolierte responsive Komponente.
|
||||
- `components/widget-contract.json`: vorgeschlagene CMS-Felder/Varianten.
|
||||
- `preview/index.html`: eigenständige HTML-Demo mit veränderbaren Eingaben.
|
||||
|
||||
## CMS-Integration
|
||||
Die vorhandene zentrale Widget-Registry soll die Felder nach `components/widget-contract.json` abbilden. HTML-Preview ist **kein zweiter Editor** und kein Ersatz der bestehenden Blade-Komponente. Text serverseitig escapen; URL-Schema prüfen; nur öffentlich freigegebene Medien als Bildquelle nutzen. Die vorhandene Laravel-/Filament-Speicherung und Medienberechtigungen beibehalten.
|
||||
|
||||
## Freigabestatus
|
||||
**Vorlage/Designvorschlag**, nicht fachlich bzw. produktiv freigegeben. Das Kling-Motiv wurde vom Nutzer bereitgestellt; eine eigenständige öffentliche Asset-Freigabe ist nicht automatisch vorausgesetzt. Demo-Texte und Links sind Platzhalter. Die Figuren wurden beim Bau dieses Pakets nicht verändert.
|
||||
|
||||
## Responsive Verhalten
|
||||
Ab 850px Bild als große Hintergrundfläche, Texte vor hellem Verlauf links. Auf schmalen Screens Bild oberhalb der Textfläche, mit steuerbarer Objektposition; keine über das Bild gerenderte Überschrift.
|
||||
|
After Width: | Height: | Size: 221 KiB |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 85"><g fill="none" stroke="#FCD10A" stroke-linecap="round" stroke-width="11"><path d="M23 52L6 40"/><path d="M48 29L46 9"/><path d="M74 44L89 23"/></g></svg>
|
||||
|
After Width: | Height: | Size: 214 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 280 28"><path d="M9 18 Q102 1 270 12" fill="none" stroke="#FCD10A" stroke-width="13" stroke-linecap="round"/></svg>
|
||||
|
After Width: | Height: | Size: 168 B |
@@ -0,0 +1,9 @@
|
||||
/* Lara & Felix brand hero v1.3: standalone CSS, scoped to lf-hero. */
|
||||
.lf-hero{--lf-navy:#032551;--lf-green:#3B7B09;--lf-yellow:#FCD10A;--lf-cream:#F7F6F2;isolation:isolate;position:relative;overflow:hidden;border-radius:clamp(1rem,2.5vw,1.75rem);min-height:clamp(430px,43vw,650px);display:grid;align-items:center;background:var(--lf-cream);font-family:Nunito,'Trebuchet MS',system-ui,sans-serif;color:var(--lf-navy)}
|
||||
.lf-hero *{box-sizing:border-box}.lf-hero__photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:68% center;z-index:-2}.lf-hero__photo[data-focus="right"]{object-position:80% center}.lf-hero__photo[data-focus="center-right"]{object-position:68% center}.lf-hero__photo[data-focus="center-left"]{object-position:35% center}.lf-hero__photo[data-focus="center"]{object-position:center}
|
||||
.lf-hero--photo-split::before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(250,249,243,.99) 0%,rgba(250,249,243,.97) 25%,rgba(250,249,243,.8) 39%,rgba(250,249,243,.20) 56%,rgba(250,249,243,0) 68%)}
|
||||
.lf-hero--editorial-solid{background:var(--lf-navy);color:white;min-height:350px}.lf-hero--editorial-solid .lf-hero__photo{display:none}.lf-hero--editorial-solid::before{content:'';position:absolute;width:55%;aspect-ratio:1;right:-25%;bottom:-75%;background:var(--lf-green);border-radius:50%;opacity:.75;z-index:-1}
|
||||
.lf-hero__inner{width:min(100%,1440px);margin:auto;padding:clamp(2rem,5vw,5rem);padding-block:clamp(3rem,6vw,5.5rem)}.lf-hero__copy{max-width:min(620px,57%)}.lf-hero__eyebrow{display:inline-block;padding:.35em .75em;border-radius:999px;background:#dff0c0;color:#17370b;font-weight:800;font-size:clamp(.8rem,.95vw,1rem)}.lf-hero__title{margin:.22em 0 .28em;font-size:clamp(2.5rem,4.8vw,5.25rem);line-height:1.05;letter-spacing:-.035em;font-weight:900;text-wrap:balance}.lf-hero__title-accent{width:clamp(110px,19vw,245px);height:7px;background:var(--lf-yellow);border-radius:90% 30% 45% 25%;transform:rotate(-1deg);margin-bottom:1.5rem}.lf-hero__description{max-width:56ch;font-size:clamp(1.05rem,1.45vw,1.35rem);line-height:1.48;margin:0 0 2rem}.lf-hero__actions{display:flex;gap:.8rem;flex-wrap:wrap}.lf-hero__button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:.8rem 1.25rem;border-radius:999px;text-decoration:none;font-weight:800;line-height:1.2;transition:transform .15s ease,background .15s ease;box-shadow:none}.lf-hero__button:hover{transform:translateY(-2px)}.lf-hero__button:focus-visible{outline:3px solid #1769aa;outline-offset:3px}.lf-hero__button--primary{background:var(--lf-green);color:#fff}.lf-hero__button--secondary{background:rgba(255,255,255,.92);color:var(--lf-navy);border:2px solid var(--lf-navy)}.lf-hero--editorial-solid .lf-hero__button--secondary{border-color:white}.lf-hero__bottom{position:absolute;inset:auto 0 0;height:17px;background:linear-gradient(105deg,var(--lf-yellow) 0%,var(--lf-yellow) 22%,var(--lf-green) 72%);clip-path:polygon(0 45%,30% 90%,65% 75%,100% 0,100% 100%,0 100%)}
|
||||
@media(max-width:850px){.lf-hero{min-height:unset;display:block}.lf-hero__photo{position:relative;display:block;width:100%;height:clamp(260px,53vw,440px);object-position:72% center}.lf-hero--photo-split::before{display:none}.lf-hero__inner{padding:2rem 1.5rem 2.8rem}.lf-hero__copy{max-width:100%}.lf-hero__title{font-size:clamp(2.15rem,7vw,3.6rem)}.lf-hero__description{font-size:1.05rem}.lf-hero--editorial-solid .lf-hero__copy{max-width:650px}}
|
||||
@media(max-width:420px){.lf-hero__photo{height:300px;object-position:72% center}.lf-hero__actions{display:grid;grid-template-columns:1fr}.lf-hero__button{width:100%}.lf-hero__inner{padding-inline:1.25rem}}
|
||||
@media(prefers-reduced-motion:reduce){.lf-hero__button{transition:none}.lf-hero__button:hover{transform:none}}
|
||||
@@ -0,0 +1,85 @@
|
||||
{
|
||||
"id": "lf-brand-hero",
|
||||
"version": 1,
|
||||
"status": "design candidate; not yet final code approval",
|
||||
"purpose": "CMS-wiederverwendbarer Marken-Hero; Darstellung und Inhalt getrennt",
|
||||
"layout_role": "single widget, full 4/4 slot recommended, minimum container width 320px",
|
||||
"variants": [
|
||||
"photo-split",
|
||||
"editorial-solid"
|
||||
],
|
||||
"fields": {
|
||||
"eyebrow": {
|
||||
"type": "string",
|
||||
"optional": true
|
||||
},
|
||||
"title": {
|
||||
"type": "string",
|
||||
"required": true
|
||||
},
|
||||
"description": {
|
||||
"type": "text",
|
||||
"optional": true
|
||||
},
|
||||
"image": {
|
||||
"type": "public_media_reference",
|
||||
"optional": true,
|
||||
"note": "Use approved public images, never member-restricted media"
|
||||
},
|
||||
"image_alt": {
|
||||
"type": "string",
|
||||
"optional": true,
|
||||
"note": "Meaningful if content image; alt empty if decorative"
|
||||
},
|
||||
"image_focal_point": {
|
||||
"type": "enum",
|
||||
"values": [
|
||||
"center",
|
||||
"center-right",
|
||||
"right",
|
||||
"center-left"
|
||||
],
|
||||
"default": "center-right"
|
||||
},
|
||||
"variant": {
|
||||
"type": "enum",
|
||||
"values": [
|
||||
"photo-split",
|
||||
"editorial-solid"
|
||||
],
|
||||
"default": "photo-split"
|
||||
},
|
||||
"primary_cta": {
|
||||
"type": "link",
|
||||
"optional": true,
|
||||
"fields": [
|
||||
"label",
|
||||
"url"
|
||||
]
|
||||
},
|
||||
"secondary_cta": {
|
||||
"type": "link",
|
||||
"optional": true,
|
||||
"fields": [
|
||||
"label",
|
||||
"url"
|
||||
]
|
||||
},
|
||||
"accent": {
|
||||
"type": "enum",
|
||||
"values": [
|
||||
"underline",
|
||||
"rays",
|
||||
"none"
|
||||
],
|
||||
"default": "underline"
|
||||
}
|
||||
},
|
||||
"security": [
|
||||
"use public media authorization logic",
|
||||
"escape textual fields by default",
|
||||
"validate destinations and block unsafe URL schemes",
|
||||
"no fake purchasable products or rights"
|
||||
],
|
||||
"integration": "Map fields to existing central Widget Registry; no separate schema or media database"
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<!doctype html><html lang="de"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Lara & Felix – Hero Komponenten-Vorschau</title><link rel="stylesheet" href="../components/lf-hero.css"><style>body{margin:0;background:#eef0ec;color:#032551;font-family:system-ui,sans-serif}.demo{max-width:1600px;margin:auto;padding:24px}.panel{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px;margin:20px 0 28px;padding:18px;border-radius:14px;background:white}.panel label{display:grid;gap:5px;font-size:13px;font-weight:600}.panel input,.panel select,.panel textarea{font:inherit;padding:9px;border:1px solid #abbab6;border-radius:7px}.panel textarea{resize:vertical;min-height:60px}.note{font-size:14px;color:#405366;line-height:1.5}.preview{background:white;border-radius:22px;padding:12px}.foot{margin-top:32px}h1{font-size:22px}h2{font-size:18px}</style></head><body><main class="demo"><h1>Lara & Felix – konfigurierbarer Hero (Arbeitsstand)</h1><p class="note">Echtes Kling-Motiv unverändert verwendet. Text, CTA, Hintergrundvariante und Bildfokus sind unabhängig vom Bild editierbar. Dies ist ein statischer Demonstrator, noch keine Laravel-/Filament-Implementierung.</p><div class="panel" id="controls"><label>Variante<select id="variant"><option value="photo-split">Foto + Text</option><option value="editorial-solid">Navy Editorial</option></select></label><label>Überschrift<input id="title" value="Kinder stark im Alltag"></label><label>Einleitung<textarea id="description">Alltagsnahe Filme, Übungen und didaktische Materialien für die Präventionsarbeit mit Kindern.</textarea></label><label>Erster Button<input id="cta1" value="Materialien entdecken"></label><label>Zweiter Button<input id="cta2" value="Für Trainer und Einrichtungen"></label><label>Bildfokus<select id="focal"><option value="center-right">Mitte rechts</option><option value="right">Rechts</option><option value="center">Mitte</option><option value="center-left">Mitte links</option></select></label></div><div class="preview"><section class="lf-hero lf-hero--photo-split" id="hero"><img class="lf-hero__photo" src="../assets/lara-felix-park-hero.webp" alt="Lara und Felix stehen gemeinsam in einem Park" data-focus="center-right"><div class="lf-hero__inner"><div class="lf-hero__copy"><span class="lf-hero__eyebrow">Lara & Felix · Stark im Alltag</span><h2 class="lf-hero__title" id="heroTitle">Kinder stark im Alltag</h2><div class="lf-hero__title-accent" aria-hidden="true"></div><p class="lf-hero__description" id="heroDescription">Alltagsnahe Filme, Übungen und didaktische Materialien für die Präventionsarbeit mit Kindern.</p><div class="lf-hero__actions"><a href="#demo" class="lf-hero__button lf-hero__button--primary" id="button1">Materialien entdecken</a><a href="#demo" class="lf-hero__button lf-hero__button--secondary" id="button2">Für Trainer und Einrichtungen</a></div></div></div><span class="lf-hero__bottom" aria-hidden="true"></span></section></div><p class="note foot" id="demo">Demo-Links sind absichtlich nicht mit realen Zielseiten verbunden. Bildrechte und öffentliche Freigabe im CMS prüfen. Auf Mobilgeräten wird das Foto oberhalb des Textes gezeigt, damit Gesichter nicht durch eine Textüberlagerung verdeckt werden.</p></main><script>const $=x=>document.getElementById(x);const render=()=>{const h=$('hero');h.className='lf-hero lf-hero--'+$('variant').value;$('heroTitle').textContent=$('title').value;$('heroDescription').textContent=$('description').value;$('button1').textContent=$('cta1').value;$('button2').textContent=$('cta2').value;$('button1').hidden=!$('cta1').value.trim();$('button2').hidden=!$('cta2').value.trim();document.querySelector('.lf-hero__photo').dataset.focus=$('focal').value};$('controls').addEventListener('input',render);$('controls').addEventListener('change',render);</script></body></html>
|
||||
@@ -0,0 +1,11 @@
|
||||
# Lara & Felix – Bild & Text (Designentwurf v1.4)
|
||||
|
||||
Öffne `preview/index.html`. Die Vorschau funktioniert lokal ohne Server.
|
||||
|
||||
**Lieferumfang:** HTML-Demo, separates CSS, Original-Kling-Bild als WebP, JSON-Feldvertrag.
|
||||
|
||||
**Varianten:** Bild links/rechts; creme/transparente/Navy-Fläche; responsive Aufteilung anhand Slotbreite.
|
||||
|
||||
**Status:** Gestalterischer Arbeitsstand, noch nicht vom Auftraggeber freigegeben und nicht in Laravel/Filament integriert. Text ist Demonstrationsinhalt, keine abgestimmte Website-Redaktion.
|
||||
|
||||
**Integration:** An bestehende CMS-Widget-Registry anschließen; vorhandene Medienauswahl nutzen. Kein neues Datenmodell. Widget-Klasse, Formularfelder und Blade-View müssen im Repository passend angelegt werden. Originales Foto bleibt als eigenständiges Bild erhalten.
|
||||
|
After Width: | Height: | Size: 244 KiB |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 280 28"><path d="M9 18 Q102 1 270 12" fill="none" stroke="#FCD10A" stroke-width="13" stroke-linecap="round"/></svg>
|
||||
|
After Width: | Height: | Size: 168 B |
@@ -0,0 +1,54 @@
|
||||
/* Lara & Felix | Bild-und-Text-Widget | Design-Arbeitsstand v1.4 */
|
||||
:root{
|
||||
--lf-navy:#032551; --lf-green:#3B7B09; --lf-yellow:#FCD10A; --lf-cream:#F7F6F2;
|
||||
--lf-ink:#032551; --lf-muted:#46556B; --lf-radius:24px;
|
||||
--lf-font: "Nunito Sans", "Arial", system-ui, sans-serif;
|
||||
}
|
||||
.lf-bt-host{container-type:inline-size;container-name:lf-bildtext;width:100%;}
|
||||
.lf-bt{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.04fr);gap:clamp(24px,4vw,76px);align-items:center;
|
||||
min-width:0;color:var(--lf-navy);border-radius:28px;padding:clamp(22px,4.4vw,72px);background:var(--lf-cream);
|
||||
font-family:var(--lf-font);isolation:isolate;overflow:hidden;}
|
||||
.lf-bt--clear{background:transparent;}
|
||||
.lf-bt--navy{background:var(--lf-navy);color:#fff;}
|
||||
.lf-bt--navy .lf-bt__text{color:#f3f6fa;}
|
||||
.lf-bt--navy .lf-bt__eyebrow{color:#fdf4b7;}
|
||||
.lf-bt--image-left .lf-bt__media{order:-1;}
|
||||
.lf-bt__copy{min-width:0;max-width:640px;}
|
||||
.lf-bt__eyebrow{display:inline-flex;align-items:center;gap:9px;color:#295b08;font-weight:850;
|
||||
letter-spacing:.095em;font-size:clamp(11px,.95vw,13px);text-transform:uppercase;margin-bottom:20px;}
|
||||
.lf-bt__eyebrow:before{content:"";display:block;width:25px;height:4px;background:var(--lf-yellow);border-radius:99px;}
|
||||
.lf-bt__headline{font-size:clamp(32px,3.2vw,56px);line-height:1.1;letter-spacing:-.035em;font-weight:850;
|
||||
margin:0 0 23px;max-width:660px;}
|
||||
.lf-bt__accent{width:112px;height:7px;background:var(--lf-yellow);border-radius:90% 40% 80% 40%;margin: -8px 0 26px 3px;transform:rotate(-1deg);}
|
||||
.lf-bt__text{font-size:clamp(16px,1.12vw,20px);line-height:1.65;margin:0 0 30px;color:var(--lf-muted);max-width:580px;}
|
||||
.lf-bt__actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;}
|
||||
.lf-bt__button{display:inline-flex;align-items:center;gap:13px;padding:13px 22px;background:var(--lf-green);color:white;
|
||||
border:2px solid var(--lf-green);font-weight:800;text-decoration:none;border-radius:100px;min-height:50px;font-size:15px;
|
||||
transition:transform .12s ease,background .12s ease;}
|
||||
.lf-bt__button:hover{background:#285a06;transform:translateY(-1px)}
|
||||
.lf-bt__button:focus-visible{outline:3px solid var(--lf-yellow);outline-offset:4px;}
|
||||
.lf-bt__button--secondary{background:transparent;color:inherit;border-color:currentColor;}
|
||||
.lf-bt__button--secondary:hover{background:rgba(255,255,255,.09)}
|
||||
.lf-bt__media{position:relative;min-width:0;align-self:stretch;display:flex;align-items:stretch;}
|
||||
.lf-bt__photo{display:block;width:100%;height:100%;min-height:365px;max-height:650px;object-fit:cover;object-position:var(--lf-object-position,64% center);
|
||||
border-radius:22px;box-shadow:0 20px 42px rgba(3,37,81,.12);position:relative;z-index:1;}
|
||||
.lf-bt__media:before{content:"";position:absolute;inset:auto -13px -13px 28px;height:55%;background:#8ab848;
|
||||
border-radius:25px;z-index:0;transform:rotate(1.8deg);}
|
||||
.lf-bt--navy .lf-bt__media:before{background:var(--lf-yellow);}
|
||||
.lf-bt__media-label{position:absolute;z-index:2;left:20px;bottom:20px;background:#fff;color:var(--lf-navy);
|
||||
padding:9px 14px;border-radius:14px;font-size:13px;font-weight:850;box-shadow:0 8px 24px rgba(3,37,81,.15);}
|
||||
@container lf-bildtext (max-width: 780px){
|
||||
.lf-bt{grid-template-columns:1fr;padding:clamp(20px,4vw,36px);gap:25px;border-radius:19px;}
|
||||
.lf-bt__media,.lf-bt--image-left .lf-bt__media{order:-1;}
|
||||
.lf-bt__photo{min-height:0;aspect-ratio:1.45 / 1;max-height:430px;}
|
||||
.lf-bt__headline{font-size:clamp(28px,5.7cqw,42px);margin-bottom:17px;}
|
||||
.lf-bt__text{font-size:16px;}
|
||||
.lf-bt__media:before{inset:auto -8px -8px 25px;}
|
||||
}
|
||||
@container lf-bildtext (max-width: 450px){
|
||||
.lf-bt__photo{aspect-ratio:1.45 / 1;object-position:right center;}
|
||||
.lf-bt__actions{display:grid;}
|
||||
.lf-bt__button{justify-content:center;width:100%;box-sizing:border-box;}
|
||||
.lf-bt__media-label{font-size:11px;left:10px;bottom:10px;}
|
||||
}
|
||||
@media (prefers-reduced-motion:reduce){.lf-bt__button{transition:none}.lf-bt__button:hover{transform:none}}
|
||||
@@ -0,0 +1,60 @@
|
||||
{
|
||||
"widget_id": "lf-editorial-bild-text",
|
||||
"version": 1,
|
||||
"status": "design-draft, not integrated with Laravel",
|
||||
"layout_scope": "one CMS widget slot, width-responsive through container queries",
|
||||
"fields": {
|
||||
"eyebrow": {
|
||||
"type": "string",
|
||||
"optional": true
|
||||
},
|
||||
"headline": {
|
||||
"type": "string",
|
||||
"required": true
|
||||
},
|
||||
"body": {
|
||||
"type": "richtext",
|
||||
"required": true
|
||||
},
|
||||
"image_reference": {
|
||||
"type": "public-media-reference",
|
||||
"required": true
|
||||
},
|
||||
"image_alt": {
|
||||
"type": "string",
|
||||
"required": true
|
||||
},
|
||||
"image_focus": {
|
||||
"type": "focal_point",
|
||||
"optional": true
|
||||
},
|
||||
"primary_cta": {
|
||||
"type": "internal-link+label",
|
||||
"optional": true
|
||||
},
|
||||
"secondary_cta": {
|
||||
"type": "internal-link+label",
|
||||
"optional": true
|
||||
}
|
||||
},
|
||||
"variant_fields": {
|
||||
"image_side": [
|
||||
"left",
|
||||
"right"
|
||||
],
|
||||
"surface": [
|
||||
"cream",
|
||||
"clear",
|
||||
"navy"
|
||||
]
|
||||
},
|
||||
"assets": {
|
||||
"demo_image": "assets/lara-felix-park.webp",
|
||||
"accent": "assets/yellow-underline.svg"
|
||||
},
|
||||
"notes": [
|
||||
"Uses publicly permitted images only in public version; protection must be checked in Laravel",
|
||||
"Front-end markup and CSS are a portable preview, not a Filament widget implementation",
|
||||
"No content copied into separate program/module model"
|
||||
]
|
||||
}
|
||||
|
After Width: | Height: | Size: 829 KiB |
@@ -0,0 +1,39 @@
|
||||
<!doctype html><html lang="de"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
<title>Lara & Felix – Bild & Text | Komponenten-Vorschau</title>
|
||||
<link rel="stylesheet" href="../components/lf-bild-text.css">
|
||||
<style>
|
||||
body{margin:0;background:#e8e9e6;color:#032551;font:16px/1.5 system-ui,Arial,sans-serif}*,*:before,*:after{box-sizing:border-box}
|
||||
.panel{background:white;padding:18px 24px;display:flex;gap:16px;align-items:center;flex-wrap:wrap;border-bottom:1px solid #d3d8d0;position:sticky;top:0;z-index:6}
|
||||
.panel strong{font-size:17px;margin-right:auto}.panel label{font-size:14px;font-weight:650}.panel select{padding:10px;border-radius:8px;border:1px solid #a5b4a0;background:white}
|
||||
main{max-width:1500px;margin:35px auto;padding:0 22px 50px}.sample{background:white;border-radius:20px;padding:26px;margin-bottom:24px;box-shadow:0 4px 24px rgba(0,0,0,.05)}
|
||||
.sample h2{font-size:18px;margin:0 0 15px}.hint{color:#54657c;font-size:13px;margin:0 0 14px}
|
||||
#dynamic{max-width:1450px;margin:auto}.small-preview{max-width:450px;margin:0 auto}.small-preview .lf-bt__photo{min-height:0}
|
||||
@media(max-width:640px){.panel{position:static}main{margin:14px auto;padding:0 9px}.sample{padding:12px}}
|
||||
</style></head><body>
|
||||
<header class="panel"><strong>Lara & Felix · Bild & Text</strong>
|
||||
<label>Bildposition <select id="side"><option value="right">rechts</option><option value="left">links</option></select></label>
|
||||
<label>Fläche <select id="theme"><option value="cream">Creme</option><option value="clear">Transparent</option><option value="navy">Navy</option></select></label>
|
||||
<label>Slotbreite <select id="width"><option value="wide">Breit</option><option value="narrow">Schmal (460 px)</option></select></label></header>
|
||||
<main><section class="sample"><h2>Variante A · Redaktionelle Bild-Text-Komposition</h2><p class="hint">Ändere oben die Optionen. Bild, Text, Button und Farbfläche sind getrennte Elemente.</p>
|
||||
<div id="dynamic"><div class="lf-bt-host">
|
||||
<article id="widget" class="lf-bt lf-bt--cream lf-bt--image-right" style="--lf-object-position:64% center">
|
||||
<div class="lf-bt__copy"><span class="lf-bt__eyebrow">Lara & Felix · Unser Ansatz</span>
|
||||
<h1 class="lf-bt__headline">Geschichten, die Kinder zum Mitdenken bringen.</h1><div class="lf-bt__accent" aria-hidden="true"></div>
|
||||
<p class="lf-bt__text">Die Filme zeigen Situationen aus dem Alltag. Trainerinnen und Trainer können sie mit Gesprächen, Übungen und weiteren Materialien in ihrer Präventionsarbeit einsetzen.</p>
|
||||
<div class="lf-bt__actions"><a class="lf-bt__button" href="#" onclick="event.preventDefault()">Konzept kennenlernen <span aria-hidden="true">→</span></a>
|
||||
<a class="lf-bt__button lf-bt__button--secondary" href="#" onclick="event.preventDefault()">Materialien ansehen</a></div></div>
|
||||
<div class="lf-bt__media"><img class="lf-bt__photo" src="../assets/lara-felix-park.webp" alt="Lara und Felix stehen gemeinsam im Park" loading="eager" />
|
||||
<span class="lf-bt__media-label">Originales Kling-Motiv</span></div></article></div></div></section>
|
||||
<section class="sample"><h2>Variante B · Markenfläche, Bild links</h2><p class="hint">Zweite Gestaltung mit identischer Komponentenstruktur und anderer Varianteneinstellung.</p>
|
||||
<div class="lf-bt-host"><article class="lf-bt lf-bt--navy lf-bt--image-left" style="--lf-object-position:60% center">
|
||||
<div class="lf-bt__copy"><span class="lf-bt__eyebrow">Für Kursleitende & Einrichtungen</span>
|
||||
<h2 class="lf-bt__headline">Anschaulich. Alltagstauglich. Gemeinsam besprechen.</h2><div class="lf-bt__accent" aria-hidden="true"></div>
|
||||
<p class="lf-bt__text">Eine Filmsequenz kann den Einstieg in ein Gespräch bilden. Die passenden Übungen und Begleitmaterialien werden in den Trainingsmodulen zusammengestellt.</p>
|
||||
<div class="lf-bt__actions"><a class="lf-bt__button" href="#" onclick="event.preventDefault()">Module entdecken <span aria-hidden="true">→</span></a></div></div>
|
||||
<div class="lf-bt__media"><img class="lf-bt__photo" src="../assets/lara-felix-park.webp" alt="Lara und Felix im Park" loading="lazy"/></div></article></div></section>
|
||||
</main><script>
|
||||
const widget=document.getElementById('widget');const slot=document.getElementById('dynamic');
|
||||
const sync=()=>{widget.className=`lf-bt lf-bt--${document.getElementById('theme').value} lf-bt--image-${document.getElementById('side').value}`;
|
||||
slot.style.maxWidth=document.getElementById('width').value==='narrow'?'460px':'1450px';};
|
||||
for(const id of ['theme','side','width'])document.getElementById(id).addEventListener('change',sync);
|
||||
</script></body></html>
|
||||
|
After Width: | Height: | Size: 378 KiB |
@@ -0,0 +1,11 @@
|
||||
# Erweiterungsverlauf
|
||||
|
||||
## v1.5.0 — 18.11.2026
|
||||
|
||||
- Additives Unterverzeichnis `11_bild_text_widget_v1.5/`; **kein Überschreiben oder Ersetzen** der v1.0–v1.4-Dateien.
|
||||
- Layoutprofil 1–4 logische Rastereinheiten, Slot-/Mindestbreiten und benannte CSS-Containergrenze.
|
||||
- Höhen `compact`, `normal`, `spacious`, kein Abschneiden längerer Texte.
|
||||
- Bildfokus wird auch mobil nicht mehr durch einen CSS-Wert erzwungen.
|
||||
- Reusable Blade-/CSS-Code, optionale CTA-Links und überprüfbare Konfigurationsbeispiele.
|
||||
- Desktop-/Tablet-/Mobilvorschau mit originaler Kling-Bildwelt aus v1.4.
|
||||
- Kein Repository, kein Deployment und keine formale Freigabe behauptet.
|
||||
@@ -0,0 +1,33 @@
|
||||
# Lara & Felix – Bild & Text v1.5 (Add-on zu v1.4)
|
||||
|
||||
**Status:** Technischer/gestalterischer Implementierungskandidat, **keine Betreiber- oder Produktionsfreigabe**. Die bisherige v1.4 ist unverändert im Archiv enthalten.
|
||||
|
||||
## Sofort ansehen
|
||||
|
||||
- `preview/index.html` — interaktive, lokale Vorschau: 1–4 Rastereinheiten, reale Containerbreite, Bildseite, Fläche, Höhe und Bildfokus.
|
||||
- `preview/matrix.html` — vier nach Containerbreite gestaffelte Muster.
|
||||
- `preview/*.png` — statische Layoutvisualisierungen (1440/768/390 px) aus den unveränderten Bildassets; **keine echten Browser-Screenshots**.
|
||||
|
||||
## Sofort wiederverwenden
|
||||
|
||||
- `components/lf-bild-text.v1.5.css` — isoliertes CSS mit benannten Container-Queries und bestehenden Kit-Tokens, bei Laravel über Vite/Tailwind 4 importieren.
|
||||
- `laravel/resources/views/components/lf/bild-text.blade.php` — echte HTML-Elemente für Text, Bild, Links.
|
||||
- `laravel/app/Support/LfBildTextPayload.php` — URL-/Enum-/Bildfokus-Prüfungen, sicherer Plain-Text-Fallback.
|
||||
- `laravel/examples/block-instance.json` — keine neue Datenbank, nur Beispiel einer CMS-Instanz.
|
||||
- `docs/widget-contract.v2.json` und `docs/layout-profile.json` — konfigurierbare, dokumentierte Eigenschaften.
|
||||
|
||||
**Wichtig:** Die Blade-Ansicht benötigt von der existierenden CMS-Registry das **bereits überprüfte, öffentlich verwendbare** Bild samt URL/Abmessungen. Sie greift nicht selbst auf Medien-/Lizenzdaten zu und ersetzt weder Registry noch Medienpicker. Richtext wird nur als kontrolliert bereinigtes `HtmlString` formatiert gerendert; sonst sicher als einfacher Text. Das ist Absicht: unkontrolliertes HTML darf nicht in den Seitenrenderer gelangen.
|
||||
|
||||
## Varianten / Raster
|
||||
|
||||
1, 2, 3 oder 4 logische Einheiten werden vom vorhandenen Abschnittsraster zugeteilt — die Komponente belegt dabei **immer genau einen Widget-Slot**. Ob sie horizontal oder vertikal rendert, hängt **ausschließlich** davon ab, ob ihr tatsächlicher Container mindestens 840 px breit ist. Bei schmalen Slots wird das Foto oberhalb des Texts angezeigt. **Mindestbreite:** 240 px (empfohlen 280 px). Die CMS-Rasterregeln und Slotzuweisung werden nicht verändert.
|
||||
|
||||
Höhen: `compact`, `normal` (v1.4-Standard), `spacious`. **Keine feste Gesamthöhe**: Text und Buttons werden niemals abgeschnitten. Flächen: `cream`, `clear`, `navy`. Bildposition: `left`/`right` ab 840 px; schmal bleibt Bild oben. Konfigurierbarer Fokus: `x,y` von 0 bis 100 % und über alle Breiten wirksam.
|
||||
|
||||
## Medien / Quellenidentität
|
||||
|
||||
Es werden **keine neuen Kinderfiguren** erzeugt. Für die lokale Demo wird ausschließlich `../10_bild_text_widget/assets/lara-felix-park.webp` (bestehende Ableitung) benutzt; das unveränderte originale PNG verbleibt unter `09_hero_widget/assets/lara-felix-park-original.png`. Siehe `docs/asset-manifest.json` mit Prüfsummen. Die internen Figurenreferenzen unter `01_originale/` bleiben privat und werden nicht in Demos genutzt. **Öffentliche Verwendungsfreigabe ist noch separat zu prüfen.**
|
||||
|
||||
## Integration & Abnahme
|
||||
|
||||
`docs/integration-und-abnahme.md` enthält den Einbauablauf und unverfälschten Status. ADR-28 (Editorentscheidung) und ADR-30 (Widget-Registry-Architektur) sind noch nicht durch dieses Add-on entschieden. Für tatsächliche Repo-Integration muss der real vorhandene BlockRegistry-Code geprüft werden; hier liegt nur das Kit, **kein Laravel-Repository**, vor.
|
||||
@@ -0,0 +1,113 @@
|
||||
/* Lara & Felix · Bild & Text v1.5 — additive Erweiterung von v1.4.
|
||||
Scoped classes, keine fremden globalen Resets oder neuen Markenwerte.
|
||||
Responsivität nach *tatsächlicher Widget-Containerbreite*. */
|
||||
.lf-bt-host {
|
||||
container: lf-bt / inline-size;
|
||||
inline-size:100%; min-inline-size:0; max-inline-size:100%;
|
||||
}
|
||||
.lf-bt-host, .lf-bt-host * { box-sizing:border-box; }
|
||||
.lf-bt {
|
||||
--bt-navy:var(--lf-navy, #032551);
|
||||
--bt-green:var(--lf-green-deep, #3B7B09);
|
||||
--bt-yellow:var(--lf-yellow, #FCD10A);
|
||||
--bt-cream:var(--lf-cream, #F7F6F2);
|
||||
--bt-muted:var(--lf-muted, #46556B);
|
||||
--bt-focus-x:60%; --bt-focus-y:50%;
|
||||
display:grid; grid-template-columns:minmax(0,1fr);
|
||||
gap:clamp(1.05rem,3.3cqi,2.2rem);
|
||||
align-items:center; padding:clamp(1rem,3.6cqi,3.8rem);
|
||||
border-radius:clamp(1rem,1.8cqi,1.65rem);
|
||||
min-inline-size:0; max-inline-size:100%; overflow:hidden;
|
||||
background:var(--bt-cream); color:var(--bt-navy);
|
||||
font-family:var(--lf-font-ui, 'Nunito Sans', 'Segoe UI', system-ui, sans-serif);
|
||||
font-size:1rem; line-height:1.6;
|
||||
}
|
||||
.lf-bt--clear { background:transparent; }
|
||||
.lf-bt--navy { background:var(--bt-navy); color:#fff; }
|
||||
.lf-bt__copy { min-inline-size:0; max-inline-size:43rem; }
|
||||
.lf-bt__eyebrow {
|
||||
display:inline-flex;align-items:center;gap:.65rem;
|
||||
color:#295B08; font-size:clamp(.7rem,1.5cqi,.82rem);
|
||||
font-weight:800; line-height:1.45; letter-spacing:.095em; text-transform:uppercase;
|
||||
margin:0 0 clamp(.65rem,1.9cqi,1.2rem);
|
||||
}
|
||||
.lf-bt__eyebrow::before {
|
||||
content:''; display:block; inline-size:1.45rem; block-size:.25rem;
|
||||
background:var(--bt-yellow);border-radius:999px;flex:0 0 auto;
|
||||
}
|
||||
.lf-bt--navy .lf-bt__eyebrow { color:#FFF2B0; }
|
||||
.lf-bt__headline {
|
||||
font-size:clamp(1.58rem,4.8cqi,3.38rem);
|
||||
line-height:1.13; letter-spacing:-.032em; font-weight:850;
|
||||
margin:0; text-wrap:balance; overflow-wrap:break-word;
|
||||
}
|
||||
.lf-bt__accent {
|
||||
display:block; inline-size:clamp(4.8rem,13cqi,7rem); block-size:.39rem;
|
||||
margin:clamp(.65rem,1.8cqi,1.2rem) 0 clamp(.85rem,2.3cqi,1.45rem) .12rem;
|
||||
background:var(--bt-yellow); border-radius:90% 35% 75% 40%; transform:rotate(-1deg);
|
||||
}
|
||||
.lf-bt__body { color:var(--bt-muted); font-size:clamp(.96rem,1.65cqi,1.12rem);line-height:1.7;overflow-wrap:anywhere; }
|
||||
.lf-bt__body > :first-child {margin-block-start:0}
|
||||
.lf-bt__body > :last-child {margin-block-end:0}
|
||||
.lf-bt__body p {margin:0 0 .85em}
|
||||
.lf-bt__body ul,.lf-bt__body ol {padding-inline-start:1.35em; margin:.5em 0}
|
||||
.lf-bt__body a {color:inherit;text-decoration:underline;text-underline-offset:.15em}
|
||||
.lf-bt--navy .lf-bt__body {color:#F0F4F9}
|
||||
.lf-bt__actions {display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;margin-block-start:clamp(1.1rem,2.5cqi,1.8rem)}
|
||||
.lf-bt__button {
|
||||
display:inline-flex;align-items:center;justify-content:center;gap:.7rem;
|
||||
padding:.76rem 1.2rem; min-block-size:3rem; border-radius:999px;
|
||||
border:2px solid var(--bt-green);background:var(--bt-green);color:#fff;
|
||||
font-weight:800;font-size:.91rem;line-height:1.25;text-decoration:none;text-align:center;
|
||||
transition:transform .14s ease, background-color .14s ease;
|
||||
}
|
||||
.lf-bt__button:visited {color:#fff}
|
||||
.lf-bt__button:hover {background:#285A06;transform:translateY(-1px)}
|
||||
.lf-bt__button:focus-visible, .lf-bt__body a:focus-visible {outline:3px solid var(--bt-yellow);outline-offset:4px}
|
||||
.lf-bt__button--secondary {color:inherit;background:transparent;border-color:currentColor}
|
||||
.lf-bt__button--secondary:visited {color:inherit}
|
||||
.lf-bt__button--secondary:hover {background:rgba(3,37,81,.05)}
|
||||
.lf-bt--navy .lf-bt__button--secondary:hover {background:rgba(255,255,255,.1)}
|
||||
.lf-bt__media {
|
||||
position:relative; display:flex; min-inline-size:0; align-self:stretch;
|
||||
order:-1; isolation:isolate;
|
||||
}
|
||||
.lf-bt__media::before {
|
||||
content:''; position:absolute;inset:auto -.5rem -.5rem 1.35rem;
|
||||
block-size:55%;border-radius:1.2rem;background:#8AB848;
|
||||
transform:rotate(1.6deg);z-index:-1;
|
||||
}
|
||||
.lf-bt--navy .lf-bt__media::before {background:var(--bt-yellow)}
|
||||
.lf-bt__image {
|
||||
display:block;inline-size:100%;block-size:auto;aspect-ratio:16/10;
|
||||
object-fit:cover;object-position:var(--bt-focus-x) var(--bt-focus-y);
|
||||
border-radius:clamp(.85rem,1.8cqi,1.3rem);
|
||||
box-shadow:0 13px 34px rgb(3 37 81 / .12);
|
||||
}
|
||||
/* Höhe heißt Bildproportion/Innenraum. TEXT BLEIBT VOLLSTÄNDIG. */
|
||||
.lf-bt--height-compact {gap:clamp(.85rem,2.4cqi,1.6rem)}
|
||||
.lf-bt--height-compact .lf-bt__image {aspect-ratio:16/9}
|
||||
.lf-bt--height-compact .lf-bt__actions {margin-block-start:1rem}
|
||||
.lf-bt--height-spacious {gap:clamp(1.35rem,4.4cqi,3rem)}
|
||||
.lf-bt--height-spacious .lf-bt__image {aspect-ratio:4/3}
|
||||
@container lf-bt (min-width: 840px) {
|
||||
.lf-bt {grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(1.9rem,4.2cqi,4.5rem)}
|
||||
.lf-bt__media {order:0;align-self:stretch;min-block-size:0}
|
||||
.lf-bt--image-left .lf-bt__media {order:-1}
|
||||
.lf-bt__image {block-size:100%;min-block-size:19rem;max-block-size:36rem;aspect-ratio:4/3}
|
||||
.lf-bt--height-compact .lf-bt__image {min-block-size:15rem;max-block-size:26rem;aspect-ratio:3/2}
|
||||
.lf-bt--height-spacious .lf-bt__image {min-block-size:24rem;max-block-size:41rem;aspect-ratio:1/1}
|
||||
.lf-bt--height-compact {padding-block:clamp(1.5rem,3cqi,3rem)}
|
||||
.lf-bt--height-spacious {padding-block:clamp(2.2rem,5cqi,5rem)}
|
||||
}
|
||||
@container lf-bt (max-width: 420px) {
|
||||
.lf-bt__actions {display:grid;grid-template-columns:minmax(0,1fr)}
|
||||
.lf-bt__button {inline-size:100%;white-space:normal}
|
||||
.lf-bt__headline {font-size:clamp(1.48rem,7.5cqi,2rem)}
|
||||
.lf-bt__body {font-size:.96rem}
|
||||
.lf-bt__eyebrow {letter-spacing:.045em}
|
||||
}
|
||||
@media (prefers-reduced-motion:reduce) {
|
||||
.lf-bt__button {transition:none}
|
||||
.lf-bt__button:hover {transform:none}
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
# Prüfbericht v1.5 · 18.11.2026
|
||||
|
||||
**Prüfbereich:** Additives Komponentenpaket, keine produktive CMS-Instanz.
|
||||
|
||||
| Prüfschritt | Befund |
|
||||
|---|---|
|
||||
| Unversehrtheit des v1.4-Archivs | 56 von 56 ursprünglichen Dateien binär verglichen, unverändert |
|
||||
| Vorhandene Kling-Fotodateien | Original-PNG und vorhandene WebP-Datei unverändert; SHA-256 dokumentiert |
|
||||
| Neue JSON-Dateien | 4 Dateien erfolgreich syntaktisch geparst |
|
||||
| Komponenten-CSS | 39 top-level Regeln mit tinycss2 geparst, keine Parserfehler |
|
||||
| PHP-Helper | PHP 8.4 `php -l` erfolgreich; direkte Fälle für URL-Sicherheit, Fokusgrenzen und HTML-Text-Fallback erfolgreich |
|
||||
| Blade-Template | liegt vor; keine Kompilierung im echten Laravel-Projekt durchgeführt |
|
||||
| Interactive HTML | im Kit enthalten; keine erfolgreiche Browserausführung in dieser Umgebung |
|
||||
| Desktop/Tablet/Smartphone PNG | als **statische Layoutvisualisierung mit unverändertem Foto** erstellt, manuell betrachtet; **keine echten DOM-/Browser-Screenshots** |
|
||||
| Laravel Registry/Filament | nicht geprüft, da reales Repository nicht vorliegt |
|
||||
| Tastatur, WCAG-Audit, Geräte | im echten Browser nach Integration prüfen |
|
||||
| Marken-/öffentliche Bildfreigabe | nicht durch das technische Kit erteilt |
|
||||
|
||||
**Hinweis zur Browserprüfung:** Versuche, die lokale HTML-Vorschau aus Chromium/Playwright zu öffnen, wurden durch eine Administrationssperre (`ERR_BLOCKED_BY_ADMINISTRATOR`) verhindert. Auch ein alternativer Headless-Aufruf lieferte keine Aufnahme. Aus diesem Grund sind weder Viewport-E2E-Nachweise noch Pixelübereinstimmung behauptet.
|
||||
|
||||
**Ergebnis:** prüfbarer **Implementierungskandidat**, keine CMS-/Produktionsfreigabe.
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"status": "all existing files referenced; no character generation; public release unverified",
|
||||
"original": {
|
||||
"path": "09_hero_widget/assets/lara-felix-park-original.png",
|
||||
"sha256": "dbcb393be9904592c2d8b206b66840c69f42f499be78238869123822892a2f54",
|
||||
"unchanged": true
|
||||
},
|
||||
"web_preview_derivative": {
|
||||
"path": "10_bild_text_widget/assets/lara-felix-park.webp",
|
||||
"sha256": "bddb10c456b08005f5cb2d647426c89e29711f66bdcf9b78cea6a0edf0f47c38",
|
||||
"unchanged": true
|
||||
},
|
||||
"internal_characters": "01_originale/*referenz*: not used in public previews"
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
# Integration, Tests und Freigabe – Bild & Text v1.5
|
||||
|
||||
## Geltung: Komponente vs. bestehendes CMS
|
||||
|
||||
- **Aus v1.4 übernommen:** visueller Aufbau, Fotomotiv, Bereichskennzeile, Unterstreichung, CTA, Bild links/rechts, Creme/Transparent/Navy, Bildfokus.
|
||||
- **v1.5 neu:** Höhe compact/normal/spacious, Einheitenprofil 1–4, nachvollziehbare Containergrenze (840 px), sichere Linkbehandlung, Blade-Ansicht und Beispielvertrag. Bildfokus wird auch bei engen Slots respektiert; v1.4 überschrieb ihn unter 450 px.
|
||||
- **Nicht entschieden:** Änderung der zentralen Registry-API, Medienauswahl, neues CMS-Feldschema, dauerhaftes Referenzformat, Seiten-/Abschnittsregeln. ADR-28 und ADR-30 bleiben in der Projektführung zu prüfen.
|
||||
|
||||
## Einbau ohne parallelen Datenbestand
|
||||
|
||||
1. Im bestehenden Laravel-Projekt die CSS-Datei nach `resources/css/components/` kopieren und **einmal** in die bereits verwendete Tailwind-4-/Vite-Datei importieren.
|
||||
2. PHP-Hilfsklasse in `app/Support/` und Blade-Komponente in `resources/views/components/lf/` übernehmen.
|
||||
3. Die **existierende** zentrale Widget-Registry um die Art `lf-editorial-bild-text` erweitern **oder** den bestehenden Bild-Text-Typ gezielt um einen Renderer ergänzen; genaue API nur nach Repo-Sichtung festlegen. `v1.4`-Felder bleiben per Leseadapter erhalten, keine Bestandsrevision überschreiben.
|
||||
4. Bild-ID über bestehenden Medienpicker wählen; **vor öffentlichem Rendern** die ausdrückliche Medienfreigabe prüfen, dann URL/`srcset`/Abmessungen liefern. Keine internen Referenzporträts freigeben.
|
||||
5. CMS-Richtext mit **vorhandenem erlaubtem Sanitizer** bereinigen und als `Illuminate\Support\HtmlString` an die Blade-Ansicht übergeben. Ohne Sanitizer gibt die Komponente lediglich sicheren Text aus. Keine unkontrollierten `<script>`/HTML-Attribute akzeptieren.
|
||||
6. Editor-Vorschau und öffentliche Seite verwenden **dieselbe Blade-Komponente**, keine zweite Darstellungsimplementierung.
|
||||
7. An bestehendes Slotraster anbinden; ein Widget belegt einen Slot, der Abschnitt sorgt für höchstens vier logische Einheiten und seinen mobilen Umbruch.
|
||||
|
||||
## Testmatrix
|
||||
|
||||
| Prüfung | Soll | Lokaler Status |
|
||||
| --- | --- | --- |
|
||||
| Raster-Slots 1–4 | keine Überläufe, Umschaltung nach tatsächlicher Breite | HTML-Vorschau angelegt; Ausführung im Browser hier gesperrt |
|
||||
| Höhe compact/normal/spacious | kein Text-Cropping, unterschiedliche Bildhöhe | CSS und statische Layoutvisualisierung; Browserprüfung offen |
|
||||
| Fokus 0/0, 64/50, 100/100 | Bildobjektposition wird nicht überschrieben | CSS-Code statisch geprüft, Browserinteraktion offen |
|
||||
| Bild links/rechts | zweispaltig ab 840 px, sonst Bild oben | CSS und statische Layoutvisualisierung; Browserprüfung offen |
|
||||
| Fokus/Hover | sichtbare Fokus-Ringe, reduzierte Bewegung | CSS-Code geprüft, Tastatur-E2E offen |
|
||||
| Originalasset | Original-PNG im Kit unverändert | SHA-256 im Manifest |
|
||||
| Medienrechte | nur öffentlich freigegebene Bilder | **nicht geprüft**, Repo erforderlich |
|
||||
| Registry & bestehende Revisionen | kompatibel, keine Datenduplizierung | **nicht geprüft**, Repo erforderlich |
|
||||
| Laravel/Filament-Editor | gleiches Blade in Vorschau und Frontend | **nicht geprüft**, Repo erforderlich |
|
||||
| PHP Unit / Laravel E2E | Dateien im echten Projekt lauffähig | **nicht ausgeführt**, Repository fehlt |
|
||||
|
||||
**Freigabestatus:** `DESIGN: zur UX-Sichtprüfung`; `KOMPONENTE: Implementierungskandidat`; `CMS-INTEGRATION: ausstehend`; `PRODUKTION: nicht freigegeben`.
|
||||
|
||||
## Übergreifend zurück an Architektur-/Steuerungschat
|
||||
|
||||
- Die genaue API/Schemaversion des vorhandenen Widget-Registers (ADR-30) ist **Vorschlag, nicht beschlossen**. Das Kit liefert nur die Komponentenspezifikation und einen read-only v1-Leseadapter.
|
||||
- Ob die vorgeschlagene CMS-Erweiterung den Editor-UX-Vorbehalt ADR-28 erfüllt, bleibt Aufgabe des praktischen Prototyps.
|
||||
- Öffentliche Medienfreigabe und kuratierte Asset-Identität sind mit der zentralen Bildauswahl abzustimmen. Kein Automatismus durch einen vorhandenen Kling-Frame.
|
||||
|
||||
Referenzen: `design-prinzipien.md` §§4, 5, 6, 9, 13; `12_Entscheidungsprotokoll_ADR.md` ADR-28/30/36; `website-cms-marketing-zielarchitektur.md` §5.3–5.5 (Entwurf); v1.4 `10_bild_text_widget/`.
|
||||
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"component": "lf-editorial-bild-text",
|
||||
"kit_version": "1.5.0",
|
||||
"status": "implementation-candidate: pending visual/CMS sign-off",
|
||||
"slots": {"supported_spans": [1,2,3,4], "max_widgets_per_slot": 1},
|
||||
"width": {
|
||||
"required_min_inline_px": 240,
|
||||
"recommended_min_inline_px": 280,
|
||||
"two_column_min_inline_px": 840,
|
||||
"rule": "Containerbreite nach CMS-Slotberechnung ist maßgeblich; Einheiten steuern keine CSS-Breakpoints. Unter 840 px immer vertikal, ab 840 px zweispaltig."
|
||||
},
|
||||
"height_variants": {
|
||||
"compact": "kürzere Medienansicht, knapperer Innenabstand; Inhalt nicht gekürzt",
|
||||
"normal": "Standardproportion der Medienansicht",
|
||||
"spacious": "größere Medienansicht, mehr Luft; Inhalt nicht gekürzt"
|
||||
},
|
||||
"image_side": ["left","right"],
|
||||
"surface": ["cream","clear","navy"],
|
||||
"full_section": false,
|
||||
"section_handling": "Das Layout des CMS-Abschnitts bestimmt Rasterumbrüche. Die Komponente nutzt genau einen Slot. Keine eigenständige Erzeugung, Reservierung oder Überschreibung weiterer Slots.",
|
||||
"overflow": "auto-height, no fixed card height, no line-clamp or forced text truncation",
|
||||
"content_priority": "Bei Einspaltigkeit Bild vor Text, unabhängig von image_side",
|
||||
"compatibility": "V1-Felder und Varianten werden nicht entfernt; fehlende height-Option ergibt normal."
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
{
|
||||
"widget_id": "lf-editorial-bild-text",
|
||||
"component_version": "1.5.0",
|
||||
"suggested_schema_version": 2,
|
||||
"status": "component contract for review; registry architecture ADR-30 not hereby approved",
|
||||
"cms_envelope_proposal": {
|
||||
"id": "stable-existing-block-id",
|
||||
"type": "lf-editorial-bild-text",
|
||||
"v": 2,
|
||||
"variant": "editorial",
|
||||
"settings": {"surface":"cream", "image_side":"right", "height":"normal", "heading_level":"h2", "image_focus":{"x":64,"y":50}},
|
||||
"data": {"eyebrow":"", "headline":"", "body":"", "image_alt":"", "primary_cta":null, "secondary_cta":null},
|
||||
"refs": {"image_reference":"existing-public-media-id"}
|
||||
},
|
||||
"supported_slots": [1,2,3,4],
|
||||
"field_contract_v1_compatibility": {
|
||||
"eyebrow":"data.eyebrow",
|
||||
"headline":"data.headline",
|
||||
"body":"data.body (HTML from existing editor must be sanitized before rendering)",
|
||||
"image_reference":"refs.image_reference or legacy data.image_reference; keep same reference identity",
|
||||
"image_alt":"data.image_alt",
|
||||
"image_focus":"settings.image_focus or legacy data.image_focus",
|
||||
"primary_cta":"data.primary_cta",
|
||||
"secondary_cta":"data.secondary_cta",
|
||||
"image_side":"settings.image_side or legacy variant field",
|
||||
"surface":"settings.surface or legacy variant field"
|
||||
},
|
||||
"new_optional_configuration": {"height":["compact","normal","spacious"],"heading_level":["h2","h3","h1"]},
|
||||
"constraints": {
|
||||
"image_reference": "required, resolve only public-use approved media before render",
|
||||
"image_alt": "required descriptive string unless explicitly decorative under existing media policy",
|
||||
"headline": "required, max length is editorial concern",
|
||||
"body": "existing CMS sanitizer; no raw user-controlled HTML",
|
||||
"primary_cta": "optional {label,url}; URLs allowed if root-relative, #anchor, HTTPS",
|
||||
"secondary_cta": "optional {label,url}; URLs allowed if root-relative, #anchor, HTTPS",
|
||||
"image_focus": "x and y percent, [0,100]"
|
||||
},
|
||||
"non_goals": ["no new media storage", "no second CMS", "no product/offer domain duplication", "no runtime user-installable plugins"]
|
||||
}
|
||||
@@ -0,0 +1,73 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Support;
|
||||
|
||||
/** Pure helpers, independent of storage or CMS internals. */
|
||||
final class LfBildTextPayload
|
||||
{
|
||||
public static function oneOf(mixed $value, array $choices, string $fallback): string
|
||||
{
|
||||
return is_string($value) && in_array($value, $choices, true) ? $value : $fallback;
|
||||
}
|
||||
|
||||
public static function focus(mixed $raw): array
|
||||
{
|
||||
if (is_array($raw)) {
|
||||
$x = $raw['x'] ?? 64;
|
||||
$y = $raw['y'] ?? 50;
|
||||
} else {
|
||||
$x = 64;
|
||||
$y = 50;
|
||||
}
|
||||
|
||||
return [
|
||||
'x' => is_numeric($x) ? max(0, min(100, (float) $x)) : 64,
|
||||
'y' => is_numeric($y) ? max(0, min(100, (float) $y)) : 50,
|
||||
];
|
||||
}
|
||||
|
||||
/** These links are redactional CTAs, never raw HTML/JavaScript. */
|
||||
public static function safeUrl(mixed $raw): ?string
|
||||
{
|
||||
if (! is_string($raw)) {
|
||||
return null;
|
||||
}
|
||||
$url = trim($raw);
|
||||
if ($url === '' || preg_match('/[\x00-\x1F\x7F\\\\]/u', $url)) {
|
||||
return null;
|
||||
}
|
||||
if (str_starts_with($url, '/') && ! str_starts_with($url, '//')) {
|
||||
return $url;
|
||||
}
|
||||
if (preg_match('/^#[A-Za-z0-9_-]+$/D', $url)) {
|
||||
return $url;
|
||||
}
|
||||
if (str_starts_with(strtolower($url), 'https://') && filter_var($url, FILTER_VALIDATE_URL)) {
|
||||
return $url;
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
public static function cta(mixed $raw): ?array
|
||||
{
|
||||
if (! is_array($raw)) {
|
||||
return null;
|
||||
}
|
||||
$label = isset($raw['label']) && is_string($raw['label']) ? trim($raw['label']) : '';
|
||||
$url = self::safeUrl($raw['url'] ?? null);
|
||||
|
||||
return $label !== '' && $url ? ['label' => $label, 'url' => $url] : null;
|
||||
}
|
||||
|
||||
/** Safe readable fallback, if the host app has not supplied sanitized HtmlString. */
|
||||
public static function plainTextFromHtml(string $raw): string
|
||||
{
|
||||
$withBreaks = preg_replace('~</(?:p|div|li|h[1-6])\s*>|<br\s*/?>~i', "\n", $raw) ?? $raw;
|
||||
$plain = trim(html_entity_decode(strip_tags($withBreaks), ENT_QUOTES | ENT_HTML5, 'UTF-8'));
|
||||
|
||||
return $plain;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"id":"existing-block-uuid-example",
|
||||
"type":"lf-editorial-bild-text",
|
||||
"v":2,
|
||||
"variant":"editorial",
|
||||
"settings": {"surface":"cream","image_side":"right","height":"normal","heading_level":"h2","image_focus":{"x":64,"y":50}},
|
||||
"data": {
|
||||
"eyebrow":"Lara & Felix · Unser Ansatz",
|
||||
"headline":"Geschichten, die Kinder zum Mitdenken bringen.",
|
||||
"body":"<p>Alltagsszenen eröffnen Gespräche. Praktische Übungen und passende Materialien unterstützen die Durchführung.</p>",
|
||||
"image_alt":"Lara und Felix stehen gemeinsam in einem sonnigen Park",
|
||||
"primary_cta":{"label":"Konzept kennenlernen","url":"/konzept"},
|
||||
"secondary_cta":{"label":"Themen ansehen","url":"/themen"}
|
||||
},
|
||||
"refs":{"image_reference":"public-media-id-only-after-approval"}
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* INTEGRATIONSSKIZZE — kein Ersatz für die vorhandene BlockRegistry.
|
||||
* Existing CMS owns: ID, slot/span, image picker, public media approval and URL resolution.
|
||||
* Names BlockRegistry / MediaResolver here are ONLY illustrative, not statements of the real API.
|
||||
*/
|
||||
$block = $existingCmsBlock; // Existing page revision payload; do not create another model.
|
||||
$data = $block['data'] ?? [];
|
||||
$settings = $block['settings'] ?? [];
|
||||
|
||||
// Compatible read-only mapping from v1.4 field placement to proposed component v2.
|
||||
$settings['surface'] ??= $block['variant_fields']['surface'] ?? $data['surface'] ?? 'cream';
|
||||
$settings['image_side'] ??= $block['variant_fields']['image_side'] ?? $data['image_side'] ?? 'right';
|
||||
$settings['height'] ??= 'normal';
|
||||
$settings['heading_level'] ??= 'h2';
|
||||
$settings['image_focus'] ??= $data['image_focus'] ?? ['x' => 64, 'y' => 50];
|
||||
|
||||
$mediaId = $block['refs']['image_reference'] ?? $data['image_reference'] ?? null;
|
||||
// $media = $existingPublicMediaService->resolveApprovedImage($mediaId);
|
||||
// If not public-use-approved, do not render. Do not substitute a protected film frame.
|
||||
// $safeHtml = $existingCmsSanitizer->toSafeHtmlString($data['body'] ?? '');
|
||||
// return view('components.lf.bild-text', [
|
||||
// 'data' => [...$data, 'body' => $safeHtml],
|
||||
// 'settings' => $settings,
|
||||
// 'image' => ['src' => $media->url, 'srcset' => $media->srcset, 'width' => ..., 'height' => ...],
|
||||
// ]);
|
||||
|
||||
// Blade invocation with an already-resolved image (same template for preview and public):
|
||||
// <x-lf.bild-text :data="$data" :settings="$settings" :image="$publicImage" />
|
||||
@@ -0,0 +1,14 @@
|
||||
# Einbau in bestehendes Tailwind-4-CSS
|
||||
|
||||
Die vorhandene zentrale `resources/css/app.css` bleibt führend. Zusätzlich importieren:
|
||||
|
||||
```css
|
||||
@import "tailwindcss";
|
||||
/* vorhandene Kit-/Projekt-Tokens bleiben unverändert führend */
|
||||
@import "./components/lf-bild-text.v1.5.css";
|
||||
```
|
||||
|
||||
Die CSS-Datei aus `components/lf-bild-text.v1.5.css` nach
|
||||
`resources/css/components/lf-bild-text.v1.5.css` kopieren. Ist `@import "tailwindcss"` bereits vorhanden, **nicht doppeln**.
|
||||
|
||||
Die Komponente nutzt vorhandene `--lf-*`-Tokens, scoped Klassen und native `@container`-Regeln. Es werden keine neuen globalen Tailwind Utilities und keine neue Marke definiert. `@source` ist für diese CSS-Klassen nicht erforderlich. Kein Browser-JavaScript für das reale Widget nötig.
|
||||
@@ -0,0 +1,58 @@
|
||||
{{-- Lara & Felix v1.5. The calling CMS registry resolves a public, permitted image.
|
||||
No media upload, entitlement decision or second content store here. --}}
|
||||
@props(['data' => [], 'settings' => [], 'image' => []])
|
||||
@php
|
||||
$surface = \App\Support\LfBildTextPayload::oneOf($settings['surface'] ?? null, ['cream','clear','navy'], 'cream');
|
||||
$side = \App\Support\LfBildTextPayload::oneOf($settings['image_side'] ?? null, ['left','right'], 'right');
|
||||
$height = \App\Support\LfBildTextPayload::oneOf($settings['height'] ?? null, ['compact','normal','spacious'], 'normal');
|
||||
$heading = \App\Support\LfBildTextPayload::oneOf($settings['heading_level'] ?? null, ['h1','h2','h3'], 'h2');
|
||||
$focus = \App\Support\LfBildTextPayload::focus($settings['image_focus'] ?? $data['image_focus'] ?? null);
|
||||
$mainCta = \App\Support\LfBildTextPayload::cta($data['primary_cta'] ?? null);
|
||||
$otherCta = \App\Support\LfBildTextPayload::cta($data['secondary_cta'] ?? null);
|
||||
$headline = (string) ($data['headline'] ?? '');
|
||||
$eyebrow = (string) ($data['eyebrow'] ?? '');
|
||||
$body = $data['body'] ?? '';
|
||||
$isSanitized = $body instanceof \Illuminate\Support\HtmlString;
|
||||
$src = (string)($image['src'] ?? '');
|
||||
$alt = (string)($data['image_alt'] ?? '');
|
||||
$srcset = (string)($image['srcset'] ?? '');
|
||||
$sizes = (string)($image['sizes'] ?? '(min-width: 1200px) 45vw, 100vw');
|
||||
$imageWidth = max(1, (int)($image['width'] ?? 2048));
|
||||
$imageHeight = max(1, (int)($image['height'] ?? 1156));
|
||||
@endphp
|
||||
<div {{ $attributes->class(['lf-bt-host']) }}>
|
||||
<article class="lf-bt lf-bt--{{ $surface }} lf-bt--image-{{ $side }} lf-bt--height-{{ $height }}"
|
||||
style="--bt-focus-x:{{ $focus['x'] }}%;--bt-focus-y:{{ $focus['y'] }}%;">
|
||||
<div class="lf-bt__copy">
|
||||
@if (trim($eyebrow) !== '')<p class="lf-bt__eyebrow">{{ $eyebrow }}</p>@endif
|
||||
@if ($heading === 'h1')
|
||||
<h1 class="lf-bt__headline">{{ $headline }}</h1>
|
||||
@elseif ($heading === 'h3')
|
||||
<h3 class="lf-bt__headline">{{ $headline }}</h3>
|
||||
@else
|
||||
<h2 class="lf-bt__headline">{{ $headline }}</h2>
|
||||
@endif
|
||||
<span class="lf-bt__accent" aria-hidden="true"></span>
|
||||
<div class="lf-bt__body">
|
||||
@if ($isSanitized)
|
||||
{!! $body !!}
|
||||
@else
|
||||
<p>{!! nl2br(e(\App\Support\LfBildTextPayload::plainTextFromHtml((string)$body))) !!}</p>
|
||||
@endif
|
||||
</div>
|
||||
@if ($mainCta || $otherCta)
|
||||
<div class="lf-bt__actions">
|
||||
@if ($mainCta)<a class="lf-bt__button" href="{{ $mainCta['url'] }}">{{ $mainCta['label'] }} <span aria-hidden="true">→</span></a>@endif
|
||||
@if ($otherCta)<a class="lf-bt__button lf-bt__button--secondary" href="{{ $otherCta['url'] }}">{{ $otherCta['label'] }}</a>@endif
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
@if ($src !== '')
|
||||
<div class="lf-bt__media">
|
||||
<img class="lf-bt__image" src="{{ $src }}" alt="{{ $alt }}"
|
||||
@if ($srcset !== '') srcset="{{ $srcset }}" sizes="{{ $sizes }}" @endif
|
||||
width="{{ $imageWidth }}" height="{{ $imageHeight }}" loading="lazy" decoding="async" />
|
||||
</div>
|
||||
@endif
|
||||
</article>
|
||||
</div>
|
||||
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
use App\Support\LfBildTextPayload;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
final class LfBildTextPayloadTest extends TestCase
|
||||
{
|
||||
public function test_url_safety(): void
|
||||
{
|
||||
self::assertNull(LfBildTextPayload::safeUrl('javascript:alert(1)'));
|
||||
self::assertNull(LfBildTextPayload::safeUrl('//evil.example'));
|
||||
self::assertNull(LfBildTextPayload::safeUrl('http://example.org'));
|
||||
self::assertSame('/themen', LfBildTextPayload::safeUrl('/themen'));
|
||||
self::assertSame('https://example.org/ok', LfBildTextPayload::safeUrl('https://example.org/ok'));
|
||||
}
|
||||
|
||||
public function test_clamped_focus_and_safe_fallbacks(): void
|
||||
{
|
||||
self::assertSame(['x' => 100.0, 'y' => 0.0], LfBildTextPayload::focus(['x' => 999, 'y' => -9]));
|
||||
self::assertSame('normal', LfBildTextPayload::oneOf('huge', ['compact', 'normal', 'spacious'], 'normal'));
|
||||
self::assertSame('A & B', LfBildTextPayload::plainTextFromHtml('<p>A & B</p>'));
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 383 KiB |
@@ -0,0 +1,57 @@
|
||||
<!doctype html>
|
||||
<html lang="de"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
<meta name="robots" content="noindex,nofollow"><title>Lara & Felix · Bild & Text v1.5 · Vorschau</title>
|
||||
<link rel="stylesheet" href="../components/lf-bild-text.v1.5.css">
|
||||
<style>
|
||||
:root{--lf-navy:#032551;--lf-green-deep:#3B7B09;--lf-yellow:#FCD10A;--lf-cream:#F7F6F2;--lf-muted:#46556B;--lf-font-ui:'Nunito Sans','Segoe UI',system-ui,sans-serif}
|
||||
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#F0F1ED;color:#032551;font:15px/1.55 'Segoe UI',system-ui,sans-serif}
|
||||
.head{background:#fff;border-bottom:1px solid #e0e5e4}.head__inner{max-width:1440px;margin:auto;padding:23px 26px;display:flex;align-items:center;gap:20px;justify-content:space-between;flex-wrap:wrap}
|
||||
.kit-name{display:flex;align-items:center;gap:15px;font-weight:850;font-size:19px;letter-spacing:-.02em}.kit-name__mark{display:inline-flex;inline-size:42px;block-size:42px;align-items:center;justify-content:center;background:#032551;color:#FCD10A;border-radius:12px;font-weight:850}
|
||||
.kit-name small{display:block;color:#56657a;font-size:12px;font-weight:600;letter-spacing:.04em;text-transform:uppercase}.chip{border:1px solid #DCE4DC;border-radius:999px;color:#3a5a33;padding:6px 12px;background:#F3F8F0;font-size:12px;font-weight:800}
|
||||
.toolbar{max-width:1440px;margin:auto;padding:16px 26px;display:flex;gap:14px;flex-wrap:wrap;align-items:end}.toolbar label{display:grid;gap:5px;color:#53617a;font-size:12px;font-weight:700}
|
||||
.toolbar select,.toolbar input{font:inherit;color:#032551;background:#fff;border:1px solid #BAC6C9;border-radius:11px;min-height:42px;padding:7px 11px}
|
||||
.toolbar input[type=range]{padding:0 5px;width:105px}.status{margin-inline-start:auto;color:#2f5c24;font-weight:800;font-size:12px;align-self:center}
|
||||
.main{max-width:1440px;margin:0 auto;padding:8px 26px 65px}.panel{background:white;border-radius:23px;box-shadow:0 8px 32px rgb(3 37 81/.045);padding:30px;overflow:hidden}
|
||||
.panel-head{display:flex;align-items:start;justify-content:space-between;gap:16px;margin-block-end:20px}.panel-head h1{font-size:clamp(22px,2.2vw,30px);margin:0 0 6px;letter-spacing:-.035em;line-height:1.2}.panel-head p{margin:0;color:#53617a;font-size:14px}.overline{color:#386524;font-size:11px;letter-spacing:.1em;font-weight:850;text-transform:uppercase;margin:0 0 4px}.width-pill{background:#F3F7F2;color:#285D25;border-radius:999px;padding:7px 12px;font-size:12px;font-weight:800;white-space:nowrap}
|
||||
.frame{width:100%;max-width:var(--frame-width,1320px);margin:auto;transition:max-width .16s ease;container:preview-stage/inline-size}.fake-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));column-gap:16px;min-width:0}.widget-cell{min-width:0;grid-column:span var(--slot-span,4)}
|
||||
@container preview-stage (max-width:850px){.fake-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.widget-cell{grid-column:span 2}}
|
||||
@container preview-stage (max-width:530px){.fake-grid{grid-template-columns:1fr}.widget-cell{grid-column:1/-1}}
|
||||
.demo-footer{margin:20px auto 0;max-width:var(--frame-width,1320px);display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;align-items:center;font-size:12px;color:#65717c}
|
||||
.demo-footer strong{color:#143658}.demo-footer a{color:#215b37}.disclaimer{background:#F7F6F2;border-left:3px solid #FCD10A;padding:9px 13px;border-radius:0 9px 9px 0}
|
||||
@media(max-width:700px){.head__inner{padding:14px 15px}.kit-name{font-size:16px;gap:10px}.kit-name__mark{inline-size:35px;block-size:35px}.toolbar{padding:12px 12px;gap:10px}.toolbar label{flex:1 1 130px}.toolbar select{width:100%}.toolbar label:has(input){flex:1 1 120px}.status{margin-inline-start:0;width:100%}.main{padding:7px 8px 45px}.panel{padding:13px;border-radius:15px}.panel-head{display:block;margin-block-end:16px}.width-pill{display:inline-block;margin-block-start:7px}.demo-footer{display:block}.demo-footer>*{margin-bottom:9px}}
|
||||
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.frame{transition:none}}
|
||||
</style>
|
||||
</head><body>
|
||||
<header class="head"><div class="head__inner"><div class="kit-name"><span class="kit-name__mark">L&F</span><div>Lara & Felix <small>Brand & UI Kit · Baustein v1.5</small></div></div><span class="chip">Implementierungskandidat · Freigabe offen</span></div></header>
|
||||
<div class="toolbar" role="group" aria-label="Komponenten-Vorschau anpassen">
|
||||
<label>Rastereinheiten <select id="span"><option value="1">1 Einheit</option><option value="2">2 Einheiten</option><option value="3">3 Einheiten</option><option selected value="4">4 Einheiten</option></select></label>
|
||||
<label>Ansichtsbreite <select id="width"><option value="390">390 px</option><option value="768">768 px</option><option value="1024">1024 px</option><option value="1320" selected>1320 px</option></select></label>
|
||||
<label>Höhe <select id="height"><option value="compact">Kompakt</option><option selected value="normal">Normal</option><option value="spacious">Großzügig</option></select></label>
|
||||
<label>Bildseite <select id="side"><option value="right" selected>Rechts</option><option value="left">Links</option></select></label>
|
||||
<label>Fläche <select id="surface"><option value="cream" selected>Creme</option><option value="clear">Transparent</option><option value="navy">Navy</option></select></label>
|
||||
<label>Bildfokus X <input aria-label="Bildfokus horizontal" type="range" min="0" max="100" value="64" id="focus"></label>
|
||||
<span class="status" id="current" aria-live="polite">Vier Rastereinheiten · zweispaltig</span>
|
||||
</div>
|
||||
<main class="main"><section class="panel"><div class="panel-head"><div><p class="overline">Wiederverwendbares Editorial-Widget</p><h1>Bild & Text – Raster- und Höhenvarianten</h1><p>Ein identischer Baustein in schmalen und breiten CMS-Slots, ohne neue Figurenbilder.</p></div><span class="width-pill">Containerbasierter Umbruch · 840 px</span></div>
|
||||
<div class="frame" id="frame" style="--frame-width:1320px;--slot-span:4"><div class="fake-grid"><div class="widget-cell" id="cell"><div class="lf-bt-host"><article id="widget" class="lf-bt lf-bt--cream lf-bt--image-right lf-bt--height-normal" style="--bt-focus-x:64%;--bt-focus-y:50%;">
|
||||
<div class="lf-bt__copy">
|
||||
<p class="lf-bt__eyebrow">Lara & Felix · Unser Ansatz</p>
|
||||
<h2 class="lf-bt__headline">Geschichten, die Kinder zum Mitdenken bringen.</h2><span class="lf-bt__accent" aria-hidden="true"></span>
|
||||
<div class="lf-bt__body"><p>Alltagsszenen eröffnen Gespräche über persönliche Grenzen und sichere Entscheidungen. Trainerinnen und Trainer vertiefen die Themen mit passenden Übungen und Begleitmaterialien.</p></div>
|
||||
<div class="lf-bt__actions"><a class="lf-bt__button" href="#demo-konzept">Konzept kennenlernen <span aria-hidden="true">→</span></a><a class="lf-bt__button lf-bt__button--secondary" href="#demo-themen">Themen ansehen</a></div></div>
|
||||
<div class="lf-bt__media"><img class="lf-bt__image" src="../../10_bild_text_widget/assets/lara-felix-park.webp" width="2048" height="1156" loading="eager" alt="Lara und Felix stehen zusammen in einem sonnigen Park"></div>
|
||||
</article></div></div></div></div><div class="demo-footer"><span class="disclaimer"><strong>Nur lokale Komponenten-Demo:</strong> Beispieltexte und Demo-Anker; keine veröffentlichte Angebotsseite.</span><span>1 Widget belegt genau 1 CMS-Slot · Darstellung wird nach Containerbreite umgebrochen</span></div>
|
||||
<div id="demo-konzept" style="height:1px" aria-hidden="true"></div><div id="demo-themen" style="height:1px" aria-hidden="true"></div>
|
||||
</section></main>
|
||||
<script>
|
||||
const s=id=>document.getElementById(id);const frame=s('frame'),widget=s('widget'),cell=s('cell');
|
||||
function sync(){
|
||||
const span=Number(s('span').value), width=Number(s('width').value),height=s('height').value,side=s('side').value,surface=s('surface').value,focus=Number(s('focus').value);
|
||||
frame.style.setProperty('--frame-width',width+'px');frame.style.setProperty('--slot-span',span);const frameActual=frame.getBoundingClientRect().width;const columns=frameActual<=530?1:(frameActual<=850?2:4);cell.style.gridColumn='span '+Math.min(span,columns);
|
||||
widget.className='lf-bt lf-bt--'+surface+' lf-bt--image-'+side+' lf-bt--height-'+height;
|
||||
widget.style.setProperty('--bt-focus-x',focus+'%');widget.style.setProperty('--bt-focus-y','50%');
|
||||
requestAnimationFrame(()=>{const actual=Math.round(cell.getBoundingClientRect().width);s('current').textContent=actual+' px tatsächliche Widgetbreite · '+(actual>=840?'zweispaltig':'gestapelt');});
|
||||
}
|
||||
for(const id of ['span','width','height','side','surface','focus'])s(id).addEventListener('input',sync);
|
||||
window.addEventListener('resize',sync);sync();
|
||||
</script></body></html>
|
||||
@@ -0,0 +1,59 @@
|
||||
<!doctype html>
|
||||
<html lang="de"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
<meta name="robots" content="noindex,nofollow"><title>Lara & Felix · Bild & Text v1.5 · Vorschau</title>
|
||||
<link rel="stylesheet" href="../components/lf-bild-text.v1.5.css">
|
||||
<style>
|
||||
:root{--lf-navy:#032551;--lf-green-deep:#3B7B09;--lf-yellow:#FCD10A;--lf-cream:#F7F6F2;--lf-muted:#46556B;--lf-font-ui:'Nunito Sans','Segoe UI',system-ui,sans-serif}
|
||||
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#F0F1ED;color:#032551;font:15px/1.55 'Segoe UI',system-ui,sans-serif}
|
||||
.head{background:#fff;border-bottom:1px solid #e0e5e4}.head__inner{max-width:1440px;margin:auto;padding:23px 26px;display:flex;align-items:center;gap:20px;justify-content:space-between;flex-wrap:wrap}
|
||||
.kit-name{display:flex;align-items:center;gap:15px;font-weight:850;font-size:19px;letter-spacing:-.02em}.kit-name__mark{display:inline-flex;inline-size:42px;block-size:42px;align-items:center;justify-content:center;background:#032551;color:#FCD10A;border-radius:12px;font-weight:850}
|
||||
.kit-name small{display:block;color:#56657a;font-size:12px;font-weight:600;letter-spacing:.04em;text-transform:uppercase}.chip{border:1px solid #DCE4DC;border-radius:999px;color:#3a5a33;padding:6px 12px;background:#F3F8F0;font-size:12px;font-weight:800}
|
||||
.toolbar{max-width:1440px;margin:auto;padding:16px 26px;display:flex;gap:14px;flex-wrap:wrap;align-items:end}.toolbar label{display:grid;gap:5px;color:#53617a;font-size:12px;font-weight:700}
|
||||
.toolbar select,.toolbar input{font:inherit;color:#032551;background:#fff;border:1px solid #BAC6C9;border-radius:11px;min-height:42px;padding:7px 11px}
|
||||
.toolbar input[type=range]{padding:0 5px;width:105px}.status{margin-inline-start:auto;color:#2f5c24;font-weight:800;font-size:12px;align-self:center}
|
||||
.main{max-width:1440px;margin:0 auto;padding:8px 26px 65px}.panel{background:white;border-radius:23px;box-shadow:0 8px 32px rgb(3 37 81/.045);padding:30px;overflow:hidden}
|
||||
.panel-head{display:flex;align-items:start;justify-content:space-between;gap:16px;margin-block-end:20px}.panel-head h1{font-size:clamp(22px,2.2vw,30px);margin:0 0 6px;letter-spacing:-.035em;line-height:1.2}.panel-head p{margin:0;color:#53617a;font-size:14px}.overline{color:#386524;font-size:11px;letter-spacing:.1em;font-weight:850;text-transform:uppercase;margin:0 0 4px}.width-pill{background:#F3F7F2;color:#285D25;border-radius:999px;padding:7px 12px;font-size:12px;font-weight:800;white-space:nowrap}
|
||||
.frame{width:100%;max-width:var(--frame-width,1320px);margin:auto;transition:max-width .16s ease;container:preview-stage/inline-size}.fake-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));column-gap:16px;min-width:0}.widget-cell{min-width:0;grid-column:span var(--slot-span,4)}
|
||||
@container preview-stage (max-width:850px){.fake-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.widget-cell{grid-column:span min(var(--slot-span,4),2)}}
|
||||
@container preview-stage (max-width:530px){.fake-grid{grid-template-columns:1fr}.widget-cell{grid-column:1/-1}}
|
||||
.demo-footer{margin:20px auto 0;max-width:var(--frame-width,1320px);display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;align-items:center;font-size:12px;color:#65717c}
|
||||
.demo-footer strong{color:#143658}.demo-footer a{color:#215b37}.disclaimer{background:#F7F6F2;border-left:3px solid #FCD10A;padding:9px 13px;border-radius:0 9px 9px 0}
|
||||
@media(max-width:700px){.head__inner{padding:14px 15px}.kit-name{font-size:16px;gap:10px}.kit-name__mark{inline-size:35px;block-size:35px}.toolbar{padding:12px 12px;gap:10px}.toolbar label{flex:1 1 130px}.toolbar select{width:100%}.toolbar label:has(input){flex:1 1 120px}.status{margin-inline-start:0;width:100%}.main{padding:7px 8px 45px}.panel{padding:13px;border-radius:15px}.panel-head{display:block;margin-block-end:16px}.width-pill{display:inline-block;margin-block-start:7px}.demo-footer{display:block}.demo-footer>*{margin-bottom:9px}}
|
||||
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.frame{transition:none}}
|
||||
</style>
|
||||
</head><body>
|
||||
<style>
|
||||
.matrix-main{max-width:1440px;padding:26px 24px 50px;margin:auto}.matrix-main h1{margin:0;font-size:30px;letter-spacing:-.03em}.matrix-main>p{color:#53617a;margin:5px 0 28px}.matrix-row{padding:24px;border-radius:20px;background:#fff;margin-bottom:24px}.matrix-row__head{display:flex;align-items:center;flex-wrap:wrap;gap:14px;margin-bottom:17px;color:#65717c;font-size:13px}.matrix-row__head b{margin-left:auto;color:#123d35}.unit{font-size:14px;font-weight:850;color:#032551}.matrix-card{margin:0 auto;max-width:100%}
|
||||
@media(max-width:700px){.matrix-main{padding:16px 8px}.matrix-row{padding:12px}.matrix-main h1{font-size:24px}}
|
||||
</style>
|
||||
<header class="head"><div class="head__inner"><div class="kit-name"><span class="kit-name__mark">L&F</span><div>Lara & Felix <small>v1.5 · visuelle Vergleichsübersicht</small></div></div><span class="chip">4 Rasterprofile · 3 Höhen</span></div></header>
|
||||
<main class="matrix-main"><h1>Ein Widget. Vier Containerbreiten.</h1><p>Die Rastereinheiten sind Empfehlungen; die Darstellung folgt der tatsächlich verfügbaren Slotbreite.</p>
|
||||
<section class="matrix-row"><div class="matrix-row__head"><span class="unit">1 Rastereinheit</span><span>Kleine Randspalte · Bild oben</span><b>270px</b></div><div class="matrix-card" style="width:min(100%,270px)"><div class="lf-bt-host"><article class="lf-bt lf-bt--cream lf-bt--image-right lf-bt--height-compact" style="--bt-focus-x:64%;--bt-focus-y:50%;">
|
||||
<div class="lf-bt__copy">
|
||||
<p class="lf-bt__eyebrow">Lara & Felix · Unser Ansatz</p>
|
||||
<h2 class="lf-bt__headline">Geschichten, die Kinder zum Mitdenken bringen.</h2><span class="lf-bt__accent" aria-hidden="true"></span>
|
||||
<div class="lf-bt__body"><p>Alltagsszenen regen zum Nachdenken an. Praktische Übungen und Materialien unterstützen Trainerinnen und Trainer in der gemeinsamen Arbeit mit Kindern.</p></div>
|
||||
<div class="lf-bt__actions"><a class="lf-bt__button" href="#demo-konzept">Konzept kennenlernen <span aria-hidden="true">→</span></a><a class="lf-bt__button lf-bt__button--secondary" href="#demo-themen">Themen ansehen</a></div></div>
|
||||
<div class="lf-bt__media"><img class="lf-bt__image" src="../../10_bild_text_widget/assets/lara-felix-park.webp" width="2048" height="1156" loading="eager" alt="Lara und Felix stehen zusammen in einem sonnigen Park"></div>
|
||||
</article></div></div></section><section class="matrix-row"><div class="matrix-row__head"><span class="unit">2 Rastereinheiten</span><span>Mittlerer Inhalt · Bild oben</span><b>590px</b></div><div class="matrix-card" style="width:min(100%,590px)"><div class="lf-bt-host"><article class="lf-bt lf-bt--clear lf-bt--image-right lf-bt--height-normal" style="--bt-focus-x:64%;--bt-focus-y:50%;">
|
||||
<div class="lf-bt__copy">
|
||||
<p class="lf-bt__eyebrow">Lara & Felix · Unser Ansatz</p>
|
||||
<h2 class="lf-bt__headline">Geschichten, die Kinder zum Mitdenken bringen.</h2><span class="lf-bt__accent" aria-hidden="true"></span>
|
||||
<div class="lf-bt__body"><p>Alltagsszenen regen zum Nachdenken an. Praktische Übungen und Materialien unterstützen Trainerinnen und Trainer in der gemeinsamen Arbeit mit Kindern.</p></div>
|
||||
<div class="lf-bt__actions"><a class="lf-bt__button" href="#demo-konzept">Konzept kennenlernen <span aria-hidden="true">→</span></a><a class="lf-bt__button lf-bt__button--secondary" href="#demo-themen">Themen ansehen</a></div></div>
|
||||
<div class="lf-bt__media"><img class="lf-bt__image" src="../../10_bild_text_widget/assets/lara-felix-park.webp" width="2048" height="1156" loading="eager" alt="Lara und Felix stehen zusammen in einem sonnigen Park"></div>
|
||||
</article></div></div></section><section class="matrix-row"><div class="matrix-row__head"><span class="unit">3 Rastereinheiten</span><span>Großer Inhalt · zweispaltig</span><b>890px</b></div><div class="matrix-card" style="width:min(100%,890px)"><div class="lf-bt-host"><article class="lf-bt lf-bt--cream lf-bt--image-left lf-bt--height-normal" style="--bt-focus-x:64%;--bt-focus-y:50%;">
|
||||
<div class="lf-bt__copy">
|
||||
<p class="lf-bt__eyebrow">Lara & Felix · Unser Ansatz</p>
|
||||
<h2 class="lf-bt__headline">Geschichten, die Kinder zum Mitdenken bringen.</h2><span class="lf-bt__accent" aria-hidden="true"></span>
|
||||
<div class="lf-bt__body"><p>Alltagsszenen regen zum Nachdenken an. Praktische Übungen und Materialien unterstützen Trainerinnen und Trainer in der gemeinsamen Arbeit mit Kindern.</p></div>
|
||||
<div class="lf-bt__actions"><a class="lf-bt__button" href="#demo-konzept">Konzept kennenlernen <span aria-hidden="true">→</span></a><a class="lf-bt__button lf-bt__button--secondary" href="#demo-themen">Themen ansehen</a></div></div>
|
||||
<div class="lf-bt__media"><img class="lf-bt__image" src="../../10_bild_text_widget/assets/lara-felix-park.webp" width="2048" height="1156" loading="eager" alt="Lara und Felix stehen zusammen in einem sonnigen Park"></div>
|
||||
</article></div></div></section><section class="matrix-row"><div class="matrix-row__head"><span class="unit">4 Rastereinheiten</span><span>Abschnittsbreite · zweispaltig</span><b>1240px</b></div><div class="matrix-card" style="width:min(100%,1240px)"><div class="lf-bt-host"><article class="lf-bt lf-bt--navy lf-bt--image-right lf-bt--height-spacious" style="--bt-focus-x:64%;--bt-focus-y:50%;">
|
||||
<div class="lf-bt__copy">
|
||||
<p class="lf-bt__eyebrow">Lara & Felix · Unser Ansatz</p>
|
||||
<h2 class="lf-bt__headline">Geschichten, die Kinder zum Mitdenken bringen.</h2><span class="lf-bt__accent" aria-hidden="true"></span>
|
||||
<div class="lf-bt__body"><p>Alltagsszenen regen zum Nachdenken an. Praktische Übungen und Materialien unterstützen Trainerinnen und Trainer in der gemeinsamen Arbeit mit Kindern.</p></div>
|
||||
<div class="lf-bt__actions"><a class="lf-bt__button" href="#demo-konzept">Konzept kennenlernen <span aria-hidden="true">→</span></a><a class="lf-bt__button lf-bt__button--secondary" href="#demo-themen">Themen ansehen</a></div></div>
|
||||
<div class="lf-bt__media"><img class="lf-bt__image" src="../../10_bild_text_widget/assets/lara-felix-park.webp" width="2048" height="1156" loading="eager" alt="Lara und Felix stehen zusammen in einem sonnigen Park"></div>
|
||||
</article></div></div></section></main></body></html>
|
||||
|
After Width: | Height: | Size: 152 KiB |
|
After Width: | Height: | Size: 513 KiB |
|
After Width: | Height: | Size: 392 KiB |
@@ -0,0 +1,6 @@
|
||||
# Versionshistorie
|
||||
|
||||
- **v1.3:** Hero-Markenwelt, Variantenauswahl und Fokuseinstellungen (unverändert im Ordner `09_hero_widget`).
|
||||
- **v1.4:** Bild-&-Text-Gestaltung (unverändert im Ordner `10_bild_text_widget`).
|
||||
- **v1.5:** Blade-Fassung, Höhenparameter, Containerbreiten-Grundregel und Integrationsskizze (unverändert im Ordner `11_bild_text_widget_v1.5`).
|
||||
- **v1.6 (18.11.2026):** Ergänzung nur unter `12_premium_widgets_adaptiv_v1.6/`: Hero-Höhen `compact/normal/large` auf breiten Containern; Bild-&-Text-Kompaktlayout für mittlere Realbreiten (insbesondere zwei Einheiten); browsergerenderte Vorschauen und Text-/CTA-Overflow-Stresstests. Keine Schema-/CMS-Entscheidung und keine geänderten Markenbilder.
|
||||
@@ -0,0 +1,23 @@
|
||||
# Lara & Felix · adaptive Premium-Widgets v1.6
|
||||
|
||||
**Additive Erweiterung:** Vorhandene Ordner 01–11 aus Kit v1.5 bleiben bytegenau erhalten. Neue Dateien liegen nur unter `12_premium_widgets_adaptiv_v1.6/`.
|
||||
|
||||
**Designfortführung:** Hero aus v1.3 und Bild & Text aus v1.4/v1.5; freigegebene Gestaltungsrichtung, keine neue Markenwelt, keine neuen Figuren. Original-Kling-PNG und vorhandene WebP-Ableitung werden unverändert referenziert. Figurenreferenz-Collagen werden nicht veröffentlicht.
|
||||
|
||||
## Was neu ist
|
||||
|
||||
- **Hero:** eine breite Premiumkomposition mit drei wählbaren Mindesthöhen `compact` (400 px), `normal` (512 px) und `large` (640 px). Nur 3–4 Rastereinheiten vorgesehen, empfohlen ab 860 px realer Containerbreite. Bei schmalerem Container ausschließlich Sicherheitsumbruch. Kein Clipping bei längeren Inhalten.
|
||||
- **Bild & Text:** Unterstützt 1–4 Rastereinheiten. Ein Container mit **540–899 px** (typischerweise 2 Einheiten) verwendet automatisch einen flachen Bildstreifen und kompaktere Innenabstände. Ab 900 px wird zweispaltig, darunter mobil gestapelt. Drei vorhandene Höhenvarianten `compact`, `normal`, `spacious` bleiben erhalten.
|
||||
- **Beide:** Text und CTAs sind eigenständige HTML-Elemente, wachsen nach Bedarf, umbrechen statt abgeschnitten zu werden. Keine feste Gesamthöhe, keine `line-clamp`-Texte. Alle Entscheidungen erfolgen über `@container` und reale `inline-size`, nicht anhand des CMS-Spans.
|
||||
|
||||
## Direkt prüfen
|
||||
|
||||
`preview/index.html` → interaktiver Demonstrator mit Widget, Breite, Höhe, Oberfläche und Text-Stresstest. Weitere Browser-Matrizen: `preview/bild-text-matrix.html` und `preview/hero-matrix.html`. Screenshots aus Chromium mit inline eingebundenen **unveränderten** Quellbild-Bytes: `preview/screenshots/`. Technischer QA-Bericht: `docs/qa-browser.json`.
|
||||
|
||||
## Einbau
|
||||
|
||||
`laravel/resources/views/components/lf/{hero,bild-text}.blade.php`, `laravel/resources/css/components/*.css` und `laravel/app/Support/LfBildTextPayload.php`. Die vorhandene zentrale Widget-Registry bleibt unangetastet; Installationsregeln siehe `laravel/examples/registry-adapter.hinweise.md`. Neue CSS-Dateien **ersetzen** die entsprechenden früheren Stylesheets beim Einbau; nicht gleichzeitig laden.
|
||||
|
||||
## Status
|
||||
|
||||
**Design:** Anpassungsentwurf zur UX-Abnahme. **Komponenten:** statisch in Chromium geprüft, nicht im Ziel-Laravel ausgeführt. **CMS-Integration:** offen. **Produktivfreigabe:** nein. Öffentliche Bildverwendung ist unabhängig vom vorhandenen Bildbestand freizugeben.
|
||||
@@ -0,0 +1,90 @@
|
||||
/* Lara & Felix – Bild & Text v1.6; replaces v1.5 CSS at integration, not alongside it.
|
||||
The layout reacts to container WIDTH, not CMS span count. Source artwork unchanged. */
|
||||
.lf-bt-host { container: lf-bt / inline-size; inline-size:100%;min-inline-size:0;max-inline-size:100%; }
|
||||
.lf-bt-host,.lf-bt-host *{box-sizing:border-box}
|
||||
.lf-bt{
|
||||
--bt-navy:var(--lf-navy,#032551);--bt-green:var(--lf-green-deep,#3B7B09);
|
||||
--bt-yellow:var(--lf-yellow,#FCD10A);--bt-cream:var(--lf-cream,#F7F6F2);
|
||||
--bt-muted:var(--lf-muted,#46556B);--bt-focus-x:64%;--bt-focus-y:43%;
|
||||
display:grid;grid-template-columns:minmax(0,1fr);align-items:start;
|
||||
gap:clamp(.9rem,2.65cqi,2rem);padding:clamp(1rem,2.8cqi,3.25rem);
|
||||
border-radius:clamp(1rem,1.8cqi,1.65rem);
|
||||
min-inline-size:0;max-inline-size:100%;
|
||||
background:var(--bt-cream);color:var(--bt-navy);
|
||||
font:400 1rem/1.6 var(--lf-font-ui,'Nunito Sans','Segoe UI',system-ui,sans-serif);
|
||||
overflow-wrap:break-word;
|
||||
}
|
||||
.lf-bt--clear{background:transparent}.lf-bt--navy{background:var(--bt-navy);color:#fff}
|
||||
.lf-bt__copy{min-inline-size:0;max-inline-size:49rem;align-self:center}
|
||||
.lf-bt__eyebrow{display:flex;align-items:center;gap:.6rem;margin:0 0 .8rem;
|
||||
color:#295B08;font-size:.73rem;line-height:1.45;font-weight:800;letter-spacing:.065em;text-transform:uppercase;overflow-wrap:anywhere}
|
||||
.lf-bt__eyebrow::before{content:'';inline-size:1.35rem;block-size:.25rem;flex:0 0 auto;background:var(--bt-yellow);border-radius:999px}
|
||||
.lf-bt--navy .lf-bt__eyebrow{color:#FFF2B0}
|
||||
.lf-bt__headline{font-size:clamp(1.55rem,4.5cqi,3.35rem);line-height:1.14;letter-spacing:-.03em;
|
||||
font-weight:850;margin:0;overflow-wrap:anywhere;text-wrap:balance}
|
||||
.lf-bt__accent{display:block;inline-size:clamp(4.6rem,12cqi,7rem);block-size:.36rem;
|
||||
margin:clamp(.55rem,1.7cqi,1rem) 0 clamp(.8rem,2.3cqi,1.25rem) .12rem;
|
||||
background:var(--bt-yellow);border-radius:90% 35% 75% 40%;transform:rotate(-1deg)}
|
||||
.lf-bt__body{color:var(--bt-muted);font-size:clamp(.97rem,1.45cqi,1.12rem);line-height:1.62;overflow-wrap:anywhere}
|
||||
.lf-bt__body>:first-child{margin-block-start:0}.lf-bt__body>:last-child{margin-block-end:0}
|
||||
.lf-bt__body p{margin:0 0 .9em}.lf-bt__body ul,.lf-bt__body ol{padding-inline-start:1.35em;margin:.6em 0}
|
||||
.lf-bt__body a{color:inherit;text-decoration:underline;text-underline-offset:.15em}
|
||||
.lf-bt--navy .lf-bt__body{color:#F0F4F9}
|
||||
.lf-bt__actions{display:flex;align-items:stretch;gap:.65rem;flex-wrap:wrap;
|
||||
margin-block-start:clamp(1rem,2cqi,1.5rem);min-inline-size:0}
|
||||
.lf-bt__button{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
|
||||
max-inline-size:100%;min-inline-size:0;min-block-size:2.95rem;padding:.7rem 1rem;
|
||||
background:var(--bt-green);border:2px solid var(--bt-green);color:#fff;
|
||||
border-radius:999px;text-decoration:none;text-align:center;font-size:.89rem;font-weight:800;
|
||||
line-height:1.33;overflow-wrap:anywhere;white-space:normal;transition:background-color .14s ease,transform .14s ease}
|
||||
.lf-bt__button:visited{color:#fff}.lf-bt__button:hover{background:#285A06;transform:translateY(-1px)}
|
||||
.lf-bt__button--secondary{background:transparent;border-color:currentColor;color:inherit}
|
||||
.lf-bt__button--secondary:visited{color:inherit}.lf-bt__button--secondary:hover{background:rgb(3 37 81 / .06)}
|
||||
.lf-bt--navy .lf-bt__button--secondary:hover{background:rgb(255 255 255 / .12)}
|
||||
.lf-bt__button:focus-visible,.lf-bt__body a:focus-visible{outline:3px solid var(--lf-focus,#1769AA);outline-offset:3px}
|
||||
.lf-bt__media{position:relative;display:block;min-inline-size:0;order:-1;isolation:isolate}
|
||||
.lf-bt__media::before{content:'';position:absolute;inset:auto -.42rem -.45rem 1rem;
|
||||
block-size:53%;border-radius:1.1rem;background:#8AB848;transform:rotate(1.5deg);z-index:-1}
|
||||
.lf-bt--navy .lf-bt__media::before{background:var(--bt-yellow)}
|
||||
.lf-bt__image{display:block;inline-size:100%;block-size:auto;aspect-ratio:16/10;
|
||||
object-fit:cover;object-position:var(--bt-focus-x) var(--bt-focus-y);
|
||||
border-radius:clamp(.78rem,1.8cqi,1.3rem);box-shadow:0 10px 28px rgb(3 37 81 / .11)}
|
||||
.lf-bt--height-compact .lf-bt__image{aspect-ratio:16/9}
|
||||
.lf-bt--height-spacious .lf-bt__image{aspect-ratio:4/3}
|
||||
.lf-bt--height-compact{gap:clamp(.75rem,2cqi,1.45rem)}
|
||||
.lf-bt--height-spacious{gap:clamp(1.15rem,3.4cqi,2.7rem)}
|
||||
.lf-bt--without-image{grid-template-columns:minmax(0,1fr)}
|
||||
/* Narrow slots: full text and links, no forced block height. */
|
||||
@container lf-bt (max-width: 539.99px){
|
||||
.lf-bt__actions{display:grid;grid-template-columns:minmax(0,1fr)}
|
||||
.lf-bt__button{inline-size:100%}
|
||||
.lf-bt__headline{font-size:clamp(1.42rem,6.8cqi,2.2rem)}
|
||||
.lf-bt__eyebrow{letter-spacing:.03em}
|
||||
}
|
||||
/* Mid-size real container (usually 2 CMS units): compact editorial picture band, not a squeezed 2-col.
|
||||
Only media proportions / spacings change; text is never clamped or hidden. */
|
||||
@container lf-bt (min-width: 540px) and (max-width: 899.99px){
|
||||
.lf-bt{gap:clamp(.8rem,1.6cqi,1.2rem);padding:clamp(1.1rem,2.4cqi,1.65rem)}
|
||||
.lf-bt__media{inline-size:100%}
|
||||
.lf-bt__image{aspect-ratio:2.15/1}
|
||||
.lf-bt--height-compact .lf-bt__image{aspect-ratio:2.5/1}
|
||||
.lf-bt--height-spacious .lf-bt__image{aspect-ratio:1.8/1}
|
||||
.lf-bt__headline{font-size:clamp(1.65rem,3.6cqi,2.28rem)}
|
||||
.lf-bt__body{font-size:1.01rem;line-height:1.59}
|
||||
.lf-bt__actions{margin-block-start:.95rem}
|
||||
.lf-bt__button{flex:1 1 13rem}
|
||||
}
|
||||
/* Wide container: original two-column premium editorial composition. */
|
||||
@container lf-bt (min-width: 900px){
|
||||
.lf-bt{grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);
|
||||
align-items:center;gap:clamp(1.8rem,4cqi,4.5rem);padding:clamp(1.8rem,4cqi,4.5rem)}
|
||||
.lf-bt__media{order:0;align-self:stretch}
|
||||
.lf-bt--image-left .lf-bt__media{order:-1}
|
||||
.lf-bt__image{block-size:100%;min-block-size:18rem;max-block-size:none;aspect-ratio:4/3}
|
||||
.lf-bt--height-compact .lf-bt__image{min-block-size:14rem;aspect-ratio:3/2}
|
||||
.lf-bt--height-spacious .lf-bt__image{min-block-size:24rem;aspect-ratio:1/1}
|
||||
.lf-bt--height-compact{padding-block:clamp(1.25rem,2.8cqi,2.6rem)}
|
||||
.lf-bt--height-spacious{padding-block:clamp(2.15rem,4.5cqi,4.75rem)}
|
||||
.lf-bt--without-image{grid-template-columns:minmax(0,1fr)}
|
||||
}
|
||||
@media(prefers-reduced-motion:reduce){.lf-bt__button{transition:none}.lf-bt__button:hover{transform:none}}
|
||||
@@ -0,0 +1,70 @@
|
||||
/* Lara & Felix Hero v1.6 – non-destructive update of v1.3 visuals.
|
||||
CMS assigns 3 or 4 units; this component reads resulting real container width.
|
||||
Height presets are MINIMUM heights, never clipping text or CTAs. */
|
||||
.lf-hero-host{container:lf-hero/inline-size;inline-size:100%;min-inline-size:0;max-inline-size:100%}
|
||||
.lf-hero-host,.lf-hero-host *{box-sizing:border-box}
|
||||
.lf-hero{
|
||||
--lf-hero-navy:var(--lf-navy,#032551);--lf-hero-green:var(--lf-green-deep,#3B7B09);
|
||||
--lf-hero-yellow:var(--lf-yellow,#FCD10A);--lf-hero-cream:var(--lf-cream,#F7F6F2);
|
||||
--lf-hero-focus-x:68%;--lf-hero-focus-y:50%;
|
||||
isolation:isolate;position:relative;display:grid;align-items:center;min-inline-size:0;
|
||||
min-block-size:32rem;max-inline-size:100%;border-radius:clamp(1rem,1.9cqi,1.75rem);
|
||||
background:var(--lf-hero-cream);color:var(--lf-hero-navy);
|
||||
font-family:var(--lf-font-display,'Nunito','Trebuchet MS',system-ui,sans-serif)
|
||||
}
|
||||
.lf-hero--height-compact{min-block-size:25rem}
|
||||
.lf-hero--height-normal{min-block-size:32rem}
|
||||
.lf-hero--height-large{min-block-size:40rem}
|
||||
.lf-hero__photo{position:absolute;inset:0;inline-size:100%;block-size:100%;object-fit:cover;
|
||||
object-position:var(--lf-hero-focus-x) var(--lf-hero-focus-y);z-index:-2;border-radius:inherit}
|
||||
.lf-hero--photo-split::before{content:'';position:absolute;inset:0;z-index:-1;border-radius:inherit;
|
||||
background:linear-gradient(90deg,rgba(250,249,243,.99) 0%,rgba(250,249,243,.98) 28%,rgba(250,249,243,.85) 41%,rgba(250,249,243,.12) 69%,transparent 80%)}
|
||||
.lf-hero--editorial-solid{background:var(--lf-hero-navy);color:white}
|
||||
.lf-hero--editorial-solid .lf-hero__photo{display:none}
|
||||
.lf-hero--editorial-solid::before{content:'';position:absolute;inset:auto -7% -50% auto;inline-size:40%;aspect-ratio:1;
|
||||
background:var(--lf-hero-green);border-radius:50%;opacity:.8;z-index:-1}
|
||||
.lf-hero__inner{inline-size:100%;max-inline-size:1440px;margin-inline:auto;padding:clamp(1.8rem,4.3cqi,5rem);
|
||||
padding-block:clamp(2.1rem,5cqi,5rem);min-inline-size:0}
|
||||
.lf-hero__copy{max-inline-size:min(660px,58%);min-inline-size:0}
|
||||
.lf-hero--editorial-solid .lf-hero__copy{max-inline-size:760px}
|
||||
.lf-hero__eyebrow{display:inline-block;margin:0;padding:.35em .75em;border-radius:999px;background:#DFF0C0;
|
||||
color:#17370B;font-weight:800;font-size:clamp(.78rem,1.25cqi,.95rem);overflow-wrap:anywhere}
|
||||
.lf-hero__title{margin:.25em 0 .25em;font-size:clamp(2.1rem,5.4cqi,4.9rem);line-height:1.06;
|
||||
letter-spacing:-.035em;font-weight:900;text-wrap:balance;overflow-wrap:anywhere}
|
||||
.lf-hero__title-accent{inline-size:clamp(6rem,15cqi,15rem);block-size:.42rem;margin:0 0 clamp(1.1rem,2cqi,1.5rem);
|
||||
background:var(--lf-hero-yellow);border-radius:90% 30% 45% 25%;transform:rotate(-1deg)}
|
||||
.lf-hero__description{max-inline-size:56ch;margin:0 0 clamp(1.25rem,2.1cqi,2rem);
|
||||
font-family:var(--lf-font-ui,'Nunito Sans','Segoe UI',system-ui,sans-serif);
|
||||
font-size:clamp(1.05rem,1.7cqi,1.3rem);line-height:1.5;overflow-wrap:anywhere}
|
||||
.lf-hero__actions{display:flex;gap:.75rem;flex-wrap:wrap;align-items:stretch;min-inline-size:0}
|
||||
.lf-hero__button{display:inline-flex;align-items:center;justify-content:center;min-inline-size:0;max-inline-size:100%;
|
||||
min-block-size:3rem;padding:.77rem 1.2rem;border:2px solid transparent;border-radius:999px;
|
||||
font:800 .96rem/1.28 var(--lf-font-ui,'Nunito Sans',system-ui,sans-serif);
|
||||
text-decoration:none;text-align:center;white-space:normal;overflow-wrap:anywhere;transition:transform .15s ease,background-color .15s ease}
|
||||
.lf-hero__button:hover{transform:translateY(-1px)}
|
||||
.lf-hero__button:focus-visible{outline:3px solid var(--lf-focus,#1769AA);outline-offset:3px}
|
||||
.lf-hero__button--primary{background:var(--lf-hero-green);color:#fff}
|
||||
.lf-hero__button--primary:visited{color:#fff}.lf-hero__button--primary:hover{background:#285A06}
|
||||
.lf-hero__button--secondary{background:rgba(255,255,255,.95);color:var(--lf-hero-navy);border-color:var(--lf-hero-navy)}
|
||||
.lf-hero__button--secondary:visited{color:var(--lf-hero-navy)}
|
||||
.lf-hero__bottom{position:absolute;inset:auto 0 0;block-size:15px;border-radius:0 0 1.5rem 1.5rem;
|
||||
background:linear-gradient(105deg,var(--lf-hero-yellow) 0%,var(--lf-hero-yellow) 22%,var(--lf-hero-green) 72%);
|
||||
clip-path:polygon(0 45%,30% 90%,65% 75%,100% 0,100% 100%,0 100%);pointer-events:none}
|
||||
/* Safety fallback ONLY when a CSS container turns out physically too narrow;
|
||||
not an additional author-selectable Hero design. */
|
||||
@container lf-hero (max-width: 859.99px){
|
||||
.lf-hero{display:block;min-block-size:0}
|
||||
.lf-hero__photo{position:relative;display:block;block-size:auto;aspect-ratio:16/9;
|
||||
border-radius:inherit;object-position:var(--lf-hero-focus-x) var(--lf-hero-focus-y)}
|
||||
.lf-hero--photo-split::before{display:none}
|
||||
.lf-hero__inner{padding:clamp(1.2rem,3.5cqi,2rem);padding-block-end:2.4rem}
|
||||
.lf-hero__copy{max-inline-size:100%}
|
||||
.lf-hero__title{font-size:clamp(2rem,5.5cqi,3.1rem)}
|
||||
.lf-hero__description{font-size:1.07rem}
|
||||
.lf-hero--editorial-solid .lf-hero__copy{max-inline-size:100%}
|
||||
}
|
||||
@container lf-hero (max-width: 440px){
|
||||
.lf-hero__actions{display:grid;grid-template-columns:minmax(0,1fr)}
|
||||
.lf-hero__button{inline-size:100%}
|
||||
}
|
||||
@media(prefers-reduced-motion:reduce){.lf-hero__button{transition:none}.lf-hero__button:hover{transform:none}}
|
||||
@@ -0,0 +1,15 @@
|
||||
# Prüfbericht – Premium-Widgets v1.6
|
||||
|
||||
**Stand:** 18.11.2026 · **Status:** Komponentenkandidat für UX-Abnahme, nicht produktiv freigegeben
|
||||
|
||||
- Bestand: **77 Dateien** aus dem vollständigen v1.5-Paket bytegenau per SHA-256 verglichen und beibehalten; die neue Implementierung liegt ausschließlich im zusätzlichen v1.6-Ordner.
|
||||
- Bildquellen: unverändertes Original-Kling-PNG und bereits vorhandene WebP-Ableitung; keine KI-Neugenerierung. SHA-256: `asset-integrity.json`.
|
||||
- **Chromium-Rendering:** reale Browser-Renders über `page.set_content()` mit inlined CSS und inlined Bytes der bestehenden WebP-Datei, weil direkte lokale URL-Navigation in der Umgebung blockiert ist. Keine gezeichneten Ersatzscreenshots.
|
||||
- **Breiten:** 18 kombinierte Text-/CTA-Stresstests (Bild & Text 240–1180 px, Hero 740–1180 px) ohne horizontalen Scroll-Überlauf oder abgeschnittene Texte/Schaltflächen. Testdaten: `qa-stress-breiten.json`.
|
||||
- **Designfälle:** 10 visuelle / geometrische Komponententests inklusive Bild & Text bei 320/590/860/1180 px und Hero in kompakt, normal, groß, langem Text. Alle bestanden. Screenshots unter `../preview/screenshots/`.
|
||||
- Interaktive HTML-Demo: Wechsel zwischen Hero und Bild & Text, tatsächlicher Breite, Höhe, Oberfläche und Langtext in Chromium ausgelöst; Vorschau sichtbar. Testdaten: `qa-browser.json`.
|
||||
- Portable Hilfsklasse mit PHP-Syntaxprüfung geprüft; Blade-Dateien statisch betrachtet, **nicht in einem laufenden Laravel-/Filament-Projekt gerendert oder gegen die bestehende Registry getestet**.
|
||||
|
||||
**Weiter offen:** UX-Freigabe für Bildausschnitt/Proportionen; Repositoriumsabgleich mit realem `BlockRegistry`-Interface; öffentliches Medienrecht; echte Editor-/Frontend-Parität und End-to-End-Tests; CMS/Architekturentscheidungen ADR-28 und ADR-30.
|
||||
|
||||
**Referenzbasis:** Vorhandenes Kit v1.3–v1.5, `design-prinzipien.md` §§4–6 und 13, Projektkompass (17.11.2026), `12_Entscheidungsprotokoll_ADR.md` (17.11.2026).
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"previous_files_verified_unchanged": 77,
|
||||
"source_kit": "v1.5 full ZIP",
|
||||
"assets_sha256": {
|
||||
"09_hero_widget/assets/lara-felix-park-original.png": "dbcb393be9904592c2d8b206b66840c69f42f499be78238869123822892a2f54",
|
||||
"09_hero_widget/assets/lara-felix-park-hero.webp": "b6c5d59074cdce51065b35bc78cbd632c5245536728e5d3021c78b46dbd6c115",
|
||||
"10_bild_text_widget/assets/lara-felix-park.webp": "bddb10c456b08005f5cb2d647426c89e29711f66bdcf9b78cea6a0edf0f47c38"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,74 @@
|
||||
{
|
||||
"kit_version": "1.6.0",
|
||||
"status": "Design- und Implementierungskandidaten; keine produktive CMS-Freigabe",
|
||||
"shared_section_rules": {
|
||||
"max_logical_units": 4,
|
||||
"max_widgets_per_slot": 1,
|
||||
"layout_basis": "Tatsächliche Containerbreite nach Slotzuweisung, nicht Anzahl Rastereinheiten",
|
||||
"container_query_unit": "inline-size",
|
||||
"auto_height": true,
|
||||
"overflow": "Keine feste Gesamthöhe, kein line-clamp, kein text-overflow:ellipsis. Bildausschnitt darf mit object-fit:cover zugeschnitten werden."
|
||||
},
|
||||
"widgets": {
|
||||
"lf-brand-hero": {
|
||||
"design_source": "09_hero_widget v1.3 – bestehender Marken-Hero, keine neuen Figuren",
|
||||
"supported_spans": [3,4],
|
||||
"recommended_real_min_width_px": 860,
|
||||
"narrow_behavior": "Unter 860 px ausschließlich technischer Sicherheitsumbruch; keine zusätzliche auswählbare schmale Hero-Variante",
|
||||
"layout": "photo-split oder editorial-solid aus dem bisherigen Kit",
|
||||
"height_variants": {
|
||||
"compact": "min-height 400 px bei breitem Container",
|
||||
"normal": "min-height 512 px bei breitem Container",
|
||||
"large": "min-height 640 px bei breitem Container"
|
||||
},
|
||||
"height_note": "Minimum, nie feste Höhe; Inhalt darf jede Variante vertikal vergrößern",
|
||||
"full_section_behavior": "Kann einen breiten Slot füllen; darf nicht andere Slots verdecken oder zusätzliche Slots reservieren",
|
||||
"config": {
|
||||
"variant": ["photo-split", "editorial-solid"],
|
||||
"height": ["compact", "normal", "large"],
|
||||
"heading_level": ["h1", "h2", "h3"],
|
||||
"image_focus": "{x:0..100,y:0..100}",
|
||||
"eyebrow": "Text",
|
||||
"title": "Text, verpflichtend",
|
||||
"description": "Text",
|
||||
"image": "bestehende freigegebene öffentliche Medienreferenz",
|
||||
"image_alt": "Text/Leer nur bei dekorativem Motiv",
|
||||
"primary_cta": "{label,url}, optional",
|
||||
"secondary_cta": "{label,url}, optional"
|
||||
}
|
||||
},
|
||||
"lf-editorial-bild-text": {
|
||||
"design_source": "10_bild_text_widget v1.4 + 11_bild_text_widget_v1.5",
|
||||
"supported_spans": [1,2,3,4],
|
||||
"technical_real_min_width_px": 240,
|
||||
"recommended_real_min_width_px": 280,
|
||||
"breakpoint_policy": {
|
||||
"under_540_px": "vertikal, normales Seitenverhältnis, CTAs untereinander",
|
||||
"540_to_899_px": "kompakter redaktioneller Bildstreifen oberhalb des vollständigen Inhalts; Buttons umbrechen, ohne zu kürzen",
|
||||
"from_900_px": "breites Bild/Text-Zweispaltenlayout, Bild links/rechts"
|
||||
},
|
||||
"height_variants": {
|
||||
"compact": "flacheres Bild, engere Abstände",
|
||||
"normal": "Standardbild und Standardabstand",
|
||||
"spacious": "höherer Bildanteil und großzügigerer Abstand"
|
||||
},
|
||||
"height_note": "Nur Bildproportionen und Innenabstände, niemals feste Kartenhöhe",
|
||||
"full_section_behavior": false,
|
||||
"config": {
|
||||
"surface": ["cream","clear","navy"],
|
||||
"image_side": ["left","right"],
|
||||
"height": ["compact","normal","spacious"],
|
||||
"heading_level": ["h1","h2","h3"],
|
||||
"image_focus": "{x:0..100,y:0..100}",
|
||||
"eyebrow": "Text",
|
||||
"headline": "Text, verpflichtend",
|
||||
"body": "sanitisierter Richtext oder reiner Text",
|
||||
"image": "freigegebene öffentliche Medienreferenz",
|
||||
"image_alt": "Text/Leer nur bei dekorativem Motiv",
|
||||
"primary_cta": "{label,url}, optional",
|
||||
"secondary_cta": "{label,url}, optional"
|
||||
}
|
||||
}
|
||||
},
|
||||
"integration_rule": "Keine Änderungen an der Struktur der bestehenden zentralen Widget-Registry oder an den Seiten-/Katalog-/Medien-Datenmodellen. Adapter erst nach Repository-Sichtung."
|
||||
}
|
||||
@@ -0,0 +1,422 @@
|
||||
[
|
||||
{
|
||||
"hostWidth": 320,
|
||||
"hostHeight": 586.375,
|
||||
"innerWidth": 320,
|
||||
"innerHeight": 586.375,
|
||||
"scrollWidth": 320,
|
||||
"clientWidth": 320,
|
||||
"scrollHeight": 586,
|
||||
"clientHeight": 586,
|
||||
"copyBounds": {
|
||||
"bottom": 2736.765625,
|
||||
"top": 2356.390625,
|
||||
"left": 58,
|
||||
"right": 346
|
||||
},
|
||||
"cardBottom": 2752.765625,
|
||||
"buttons": [
|
||||
{
|
||||
"text": "Konzept kennenlernen",
|
||||
"visible": true,
|
||||
"bounds": {
|
||||
"left": 58,
|
||||
"right": 346,
|
||||
"top": 2632,
|
||||
"bottom": 2679.1875
|
||||
}
|
||||
},
|
||||
{
|
||||
"text": "Themen ansehen",
|
||||
"visible": true,
|
||||
"bounds": {
|
||||
"left": 58,
|
||||
"right": 346,
|
||||
"top": 2689.578125,
|
||||
"bottom": 2736.765625
|
||||
}
|
||||
}
|
||||
],
|
||||
"id": "bt-320",
|
||||
"file": "bild-text-matrix.html",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"hostWidth": 590,
|
||||
"hostHeight": 528.59375,
|
||||
"innerWidth": 590,
|
||||
"innerHeight": 528.59375,
|
||||
"scrollWidth": 590,
|
||||
"clientWidth": 590,
|
||||
"scrollHeight": 529,
|
||||
"clientHeight": 529,
|
||||
"copyBounds": {
|
||||
"bottom": 731.09375,
|
||||
"top": 472.40625,
|
||||
"left": 59.59375,
|
||||
"right": 614.40625
|
||||
},
|
||||
"cardBottom": 748.6875,
|
||||
"buttons": [
|
||||
{
|
||||
"text": "Konzept kennenlernen",
|
||||
"visible": true,
|
||||
"bounds": {
|
||||
"left": 59.59375,
|
||||
"right": 331.796875,
|
||||
"top": 683.90625,
|
||||
"bottom": 731.09375
|
||||
}
|
||||
},
|
||||
{
|
||||
"text": "Themen ansehen",
|
||||
"visible": true,
|
||||
"bounds": {
|
||||
"left": 342.1875,
|
||||
"right": 614.40625,
|
||||
"top": 683.90625,
|
||||
"bottom": 731.09375
|
||||
}
|
||||
}
|
||||
],
|
||||
"id": "bt-590",
|
||||
"file": "bild-text-matrix.html",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"hostWidth": 590,
|
||||
"hostHeight": 601.40625,
|
||||
"innerWidth": 590,
|
||||
"innerHeight": 601.40625,
|
||||
"scrollWidth": 590,
|
||||
"clientWidth": 590,
|
||||
"scrollHeight": 601,
|
||||
"clientHeight": 601,
|
||||
"copyBounds": {
|
||||
"bottom": 1445.5,
|
||||
"top": 1114,
|
||||
"left": 59.59375,
|
||||
"right": 614.40625
|
||||
},
|
||||
"cardBottom": 1463.09375,
|
||||
"buttons": [
|
||||
{
|
||||
"text": "Das Trainingskonzept und alle Materialien kennenlernen",
|
||||
"visible": true,
|
||||
"bounds": {
|
||||
"left": 59.59375,
|
||||
"right": 331.796875,
|
||||
"top": 1381.28125,
|
||||
"bottom": 1445.5
|
||||
}
|
||||
},
|
||||
{
|
||||
"text": "Praxisbeispiele und Themenbereiche ansehen",
|
||||
"visible": true,
|
||||
"bounds": {
|
||||
"left": 342.1875,
|
||||
"right": 614.40625,
|
||||
"top": 1381.28125,
|
||||
"bottom": 1445.5
|
||||
}
|
||||
}
|
||||
],
|
||||
"id": "bt-stress",
|
||||
"file": "bild-text-matrix.html",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"hostWidth": 860,
|
||||
"hostHeight": 654.703125,
|
||||
"innerWidth": 860,
|
||||
"innerHeight": 654.703125,
|
||||
"scrollWidth": 860,
|
||||
"clientWidth": 860,
|
||||
"scrollHeight": 655,
|
||||
"clientHeight": 655,
|
||||
"copyBounds": {
|
||||
"bottom": 3487.84375,
|
||||
"top": 3268.953125,
|
||||
"left": 62.625,
|
||||
"right": 846.625
|
||||
},
|
||||
"cardBottom": 3508.46875,
|
||||
"buttons": [
|
||||
{
|
||||
"text": "Konzept kennenlernen",
|
||||
"visible": true,
|
||||
"bounds": {
|
||||
"left": 62.625,
|
||||
"right": 449.421875,
|
||||
"top": 3440.65625,
|
||||
"bottom": 3487.84375
|
||||
}
|
||||
},
|
||||
{
|
||||
"text": "Themen ansehen",
|
||||
"visible": true,
|
||||
"bounds": {
|
||||
"left": 459.8125,
|
||||
"right": 846.625,
|
||||
"top": 3440.65625,
|
||||
"bottom": 3487.84375
|
||||
}
|
||||
}
|
||||
],
|
||||
"id": "bt-860",
|
||||
"file": "bild-text-matrix.html",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"hostWidth": 1180,
|
||||
"hostHeight": 501.296875,
|
||||
"innerWidth": 1180,
|
||||
"innerHeight": 501.296875,
|
||||
"scrollWidth": 1180,
|
||||
"clientWidth": 1180,
|
||||
"scrollHeight": 501,
|
||||
"clientHeight": 501,
|
||||
"copyBounds": {
|
||||
"bottom": 2018.203125,
|
||||
"top": 1611.28125,
|
||||
"left": 89.1875,
|
||||
"right": 618.78125
|
||||
},
|
||||
"cardBottom": 2065.390625,
|
||||
"buttons": [
|
||||
{
|
||||
"text": "Konzept kennenlernen",
|
||||
"visible": true,
|
||||
"bounds": {
|
||||
"left": 89.1875,
|
||||
"right": 289.578125,
|
||||
"top": 1971.015625,
|
||||
"bottom": 2018.203125
|
||||
}
|
||||
},
|
||||
{
|
||||
"text": "Themen ansehen",
|
||||
"visible": true,
|
||||
"bounds": {
|
||||
"left": 299.96875,
|
||||
"right": 459.546875,
|
||||
"top": 1971.015625,
|
||||
"bottom": 2018.203125
|
||||
}
|
||||
}
|
||||
],
|
||||
"id": "bt-1180",
|
||||
"file": "bild-text-matrix.html",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"hostWidth": 980,
|
||||
"hostHeight": 408.484375,
|
||||
"innerWidth": 980,
|
||||
"innerHeight": 408.484375,
|
||||
"scrollWidth": 980,
|
||||
"clientWidth": 980,
|
||||
"scrollHeight": 408,
|
||||
"clientHeight": 408,
|
||||
"copyBounds": {
|
||||
"bottom": -1128.421875,
|
||||
"top": -1438.90625,
|
||||
"left": 84.125,
|
||||
"right": 603.65625
|
||||
},
|
||||
"cardBottom": -1079.421875,
|
||||
"buttons": [
|
||||
{
|
||||
"text": "Konzept kennenlernen",
|
||||
"visible": true,
|
||||
"bounds": {
|
||||
"left": 84.125,
|
||||
"right": 303.875,
|
||||
"top": -1176.703125,
|
||||
"bottom": -1128.421875
|
||||
}
|
||||
},
|
||||
{
|
||||
"text": "Programme ansehen",
|
||||
"visible": true,
|
||||
"bounds": {
|
||||
"left": 315.875,
|
||||
"right": 520.25,
|
||||
"top": -1176.703125,
|
||||
"bottom": -1128.421875
|
||||
}
|
||||
}
|
||||
],
|
||||
"id": "hero-c",
|
||||
"file": "hero-matrix.html",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"hostWidth": 1180,
|
||||
"hostHeight": 512,
|
||||
"innerWidth": 1180,
|
||||
"innerHeight": 512,
|
||||
"scrollWidth": 1180,
|
||||
"clientWidth": 1180,
|
||||
"scrollHeight": 512,
|
||||
"clientHeight": 512,
|
||||
"copyBounds": {
|
||||
"bottom": -541.09375,
|
||||
"top": -903.765625,
|
||||
"left": 92.734375,
|
||||
"right": 718.28125
|
||||
},
|
||||
"cardBottom": -466.421875,
|
||||
"buttons": [
|
||||
{
|
||||
"text": "Konzept kennenlernen",
|
||||
"visible": true,
|
||||
"bounds": {
|
||||
"left": 92.734375,
|
||||
"right": 312.484375,
|
||||
"top": -589.375,
|
||||
"bottom": -541.09375
|
||||
}
|
||||
},
|
||||
{
|
||||
"text": "Programme ansehen",
|
||||
"visible": true,
|
||||
"bounds": {
|
||||
"left": 324.484375,
|
||||
"right": 528.859375,
|
||||
"top": -589.375,
|
||||
"bottom": -541.09375
|
||||
}
|
||||
}
|
||||
],
|
||||
"id": "hero-n",
|
||||
"file": "hero-matrix.html",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"hostWidth": 1180,
|
||||
"hostHeight": 640,
|
||||
"innerWidth": 1180,
|
||||
"innerHeight": 640,
|
||||
"scrollWidth": 1180,
|
||||
"clientWidth": 1180,
|
||||
"scrollHeight": 640,
|
||||
"clientHeight": 640,
|
||||
"copyBounds": {
|
||||
"bottom": 135.90625,
|
||||
"top": -226.765625,
|
||||
"left": 92.734375,
|
||||
"right": 718.28125
|
||||
},
|
||||
"cardBottom": 274.578125,
|
||||
"buttons": [
|
||||
{
|
||||
"text": "Konzept kennenlernen",
|
||||
"visible": true,
|
||||
"bounds": {
|
||||
"left": 92.734375,
|
||||
"right": 312.484375,
|
||||
"top": 87.625,
|
||||
"bottom": 135.90625
|
||||
}
|
||||
},
|
||||
{
|
||||
"text": "Programme ansehen",
|
||||
"visible": true,
|
||||
"bounds": {
|
||||
"left": 324.484375,
|
||||
"right": 528.859375,
|
||||
"top": 87.625,
|
||||
"bottom": 135.90625
|
||||
}
|
||||
}
|
||||
],
|
||||
"id": "hero-l",
|
||||
"file": "hero-matrix.html",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"hostWidth": 980,
|
||||
"hostHeight": 637.046875,
|
||||
"innerWidth": 980,
|
||||
"innerHeight": 637.046875,
|
||||
"scrollWidth": 980,
|
||||
"clientWidth": 980,
|
||||
"scrollHeight": 637,
|
||||
"clientHeight": 637,
|
||||
"copyBounds": {
|
||||
"bottom": 963.625,
|
||||
"top": 424.578125,
|
||||
"left": 84.125,
|
||||
"right": 603.65625
|
||||
},
|
||||
"cardBottom": 1012.625,
|
||||
"buttons": [
|
||||
{
|
||||
"text": "Das gesamte Trainingskonzept kennenlernen",
|
||||
"visible": true,
|
||||
"bounds": {
|
||||
"left": 84.125,
|
||||
"right": 479.359375,
|
||||
"top": 855.0625,
|
||||
"bottom": 903.34375
|
||||
}
|
||||
},
|
||||
{
|
||||
"text": "Programme und Themenbereiche im Überblick",
|
||||
"visible": true,
|
||||
"bounds": {
|
||||
"left": 84.125,
|
||||
"right": 490,
|
||||
"top": 915.34375,
|
||||
"bottom": 963.625
|
||||
}
|
||||
}
|
||||
],
|
||||
"id": "hero-long",
|
||||
"file": "hero-matrix.html",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"hostWidth": 590,
|
||||
"hostHeight": 528.59375,
|
||||
"innerWidth": 590,
|
||||
"innerHeight": 528.59375,
|
||||
"scrollWidth": 590,
|
||||
"clientWidth": 590,
|
||||
"scrollHeight": 529,
|
||||
"clientHeight": 529,
|
||||
"copyBounds": {
|
||||
"bottom": 784.59375,
|
||||
"top": 525.90625,
|
||||
"left": 462.59375,
|
||||
"right": 1017.40625
|
||||
},
|
||||
"cardBottom": 802.1875,
|
||||
"buttons": [
|
||||
{
|
||||
"text": "Konzept kennenlernen",
|
||||
"visible": true,
|
||||
"bounds": {
|
||||
"left": 462.59375,
|
||||
"right": 734.796875,
|
||||
"top": 737.40625,
|
||||
"bottom": 784.59375
|
||||
}
|
||||
},
|
||||
{
|
||||
"text": "Programme ansehen",
|
||||
"visible": true,
|
||||
"bounds": {
|
||||
"left": 745.1875,
|
||||
"right": 1017.40625,
|
||||
"top": 737.40625,
|
||||
"bottom": 784.59375
|
||||
}
|
||||
}
|
||||
],
|
||||
"id": "bt-live",
|
||||
"file": "index.html",
|
||||
"pass": true
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,290 @@
|
||||
[
|
||||
{
|
||||
"widget": "bt",
|
||||
"requested_width_px": 240,
|
||||
"status": "pass",
|
||||
"w": 240,
|
||||
"h": 847.765625,
|
||||
"sw": 240,
|
||||
"cw": 240,
|
||||
"sh": 848,
|
||||
"ch": 848,
|
||||
"allLinksInside": true,
|
||||
"textsInside": true,
|
||||
"copyBottom": 1105.359375,
|
||||
"cardBottom": 1121.359375,
|
||||
"gridColumns": "208px"
|
||||
},
|
||||
{
|
||||
"widget": "bt",
|
||||
"requested_width_px": 280,
|
||||
"status": "pass",
|
||||
"w": 280,
|
||||
"h": 790.359375,
|
||||
"sw": 280,
|
||||
"cw": 280,
|
||||
"sh": 790,
|
||||
"ch": 790,
|
||||
"allLinksInside": true,
|
||||
"textsInside": true,
|
||||
"copyBottom": 1047.953125,
|
||||
"cardBottom": 1063.953125,
|
||||
"gridColumns": "248px"
|
||||
},
|
||||
{
|
||||
"widget": "bt",
|
||||
"requested_width_px": 320,
|
||||
"status": "pass",
|
||||
"w": 320,
|
||||
"h": 717.03125,
|
||||
"sw": 320,
|
||||
"cw": 320,
|
||||
"sh": 717,
|
||||
"ch": 717,
|
||||
"allLinksInside": true,
|
||||
"textsInside": true,
|
||||
"copyBottom": 974.625,
|
||||
"cardBottom": 990.625,
|
||||
"gridColumns": "288px"
|
||||
},
|
||||
{
|
||||
"widget": "bt",
|
||||
"requested_width_px": 390,
|
||||
"status": "pass",
|
||||
"w": 390,
|
||||
"h": 734,
|
||||
"sw": 390,
|
||||
"cw": 390,
|
||||
"sh": 734,
|
||||
"ch": 734,
|
||||
"allLinksInside": true,
|
||||
"textsInside": true,
|
||||
"copyBottom": 991.59375,
|
||||
"cardBottom": 1007.59375,
|
||||
"gridColumns": "358px"
|
||||
},
|
||||
{
|
||||
"widget": "bt",
|
||||
"requested_width_px": 539,
|
||||
"status": "pass",
|
||||
"w": 539,
|
||||
"h": 777.328125,
|
||||
"sw": 539,
|
||||
"cw": 539,
|
||||
"sh": 777,
|
||||
"ch": 777,
|
||||
"allLinksInside": true,
|
||||
"textsInside": true,
|
||||
"copyBottom": 1034.921875,
|
||||
"cardBottom": 1050.921875,
|
||||
"gridColumns": "507px"
|
||||
},
|
||||
{
|
||||
"widget": "bt",
|
||||
"requested_width_px": 540,
|
||||
"status": "pass",
|
||||
"w": 540,
|
||||
"h": 658.8125,
|
||||
"sw": 540,
|
||||
"cw": 540,
|
||||
"sh": 659,
|
||||
"ch": 659,
|
||||
"allLinksInside": true,
|
||||
"textsInside": true,
|
||||
"copyBottom": 914.8125,
|
||||
"cardBottom": 932.40625,
|
||||
"gridColumns": "504.812px"
|
||||
},
|
||||
{
|
||||
"widget": "bt",
|
||||
"requested_width_px": 590,
|
||||
"status": "pass",
|
||||
"w": 590,
|
||||
"h": 594.640625,
|
||||
"sw": 590,
|
||||
"cw": 590,
|
||||
"sh": 595,
|
||||
"ch": 595,
|
||||
"allLinksInside": true,
|
||||
"textsInside": true,
|
||||
"copyBottom": 850.640625,
|
||||
"cardBottom": 868.234375,
|
||||
"gridColumns": "554.812px"
|
||||
},
|
||||
{
|
||||
"widget": "bt",
|
||||
"requested_width_px": 700,
|
||||
"status": "pass",
|
||||
"w": 700,
|
||||
"h": 643.046875,
|
||||
"sw": 700,
|
||||
"cw": 700,
|
||||
"sh": 643,
|
||||
"ch": 643,
|
||||
"allLinksInside": true,
|
||||
"textsInside": true,
|
||||
"copyBottom": 899.046875,
|
||||
"cardBottom": 916.640625,
|
||||
"gridColumns": "664.812px"
|
||||
},
|
||||
{
|
||||
"widget": "bt",
|
||||
"requested_width_px": 899,
|
||||
"status": "pass",
|
||||
"w": 899,
|
||||
"h": 712.015625,
|
||||
"sw": 899,
|
||||
"cw": 899,
|
||||
"sh": 712,
|
||||
"ch": 712,
|
||||
"allLinksInside": true,
|
||||
"textsInside": true,
|
||||
"copyBottom": 964.046875,
|
||||
"cardBottom": 985.609375,
|
||||
"gridColumns": "855.875px"
|
||||
},
|
||||
{
|
||||
"widget": "bt",
|
||||
"requested_width_px": 900,
|
||||
"status": "pass",
|
||||
"w": 900,
|
||||
"h": 562.609375,
|
||||
"sw": 900,
|
||||
"cw": 900,
|
||||
"sh": 563,
|
||||
"ch": 563,
|
||||
"allLinksInside": true,
|
||||
"textsInside": true,
|
||||
"copyBottom": 811.015625,
|
||||
"cardBottom": 836.203125,
|
||||
"gridColumns": "403.906px 388.094px"
|
||||
},
|
||||
{
|
||||
"widget": "bt",
|
||||
"requested_width_px": 980,
|
||||
"status": "pass",
|
||||
"w": 980,
|
||||
"h": 737.140625,
|
||||
"sw": 980,
|
||||
"cw": 980,
|
||||
"sh": 737,
|
||||
"ch": 737,
|
||||
"allLinksInside": true,
|
||||
"textsInside": true,
|
||||
"copyBottom": 983.296875,
|
||||
"cardBottom": 1010.734375,
|
||||
"gridColumns": "439.828px 422.609px"
|
||||
},
|
||||
{
|
||||
"widget": "bt",
|
||||
"requested_width_px": 1180,
|
||||
"status": "pass",
|
||||
"w": 1180,
|
||||
"h": 789.65625,
|
||||
"sw": 1180,
|
||||
"cw": 1180,
|
||||
"sh": 790,
|
||||
"ch": 790,
|
||||
"allLinksInside": true,
|
||||
"textsInside": true,
|
||||
"copyBottom": 1030.21875,
|
||||
"cardBottom": 1063.25,
|
||||
"gridColumns": "529.594px 508.828px"
|
||||
},
|
||||
{
|
||||
"widget": "hero",
|
||||
"requested_width_px": 740,
|
||||
"status": "pass",
|
||||
"w": 740,
|
||||
"h": 863.359375,
|
||||
"sw": 740,
|
||||
"cw": 740,
|
||||
"sh": 863,
|
||||
"ch": 863,
|
||||
"allLinksInside": true,
|
||||
"textsInside": true,
|
||||
"copyBottom": 1098.5625,
|
||||
"cardBottom": 1136.953125,
|
||||
"gridColumns": "none"
|
||||
},
|
||||
{
|
||||
"widget": "hero",
|
||||
"requested_width_px": 859,
|
||||
"status": "pass",
|
||||
"w": 859,
|
||||
"h": 958.53125,
|
||||
"sw": 859,
|
||||
"cw": 859,
|
||||
"sh": 959,
|
||||
"ch": 959,
|
||||
"allLinksInside": true,
|
||||
"textsInside": true,
|
||||
"copyBottom": 1193.734375,
|
||||
"cardBottom": 1232.125,
|
||||
"gridColumns": "none"
|
||||
},
|
||||
{
|
||||
"widget": "hero",
|
||||
"requested_width_px": 860,
|
||||
"status": "pass",
|
||||
"w": 860,
|
||||
"h": 959.296875,
|
||||
"sw": 860,
|
||||
"cw": 860,
|
||||
"sh": 959,
|
||||
"ch": 959,
|
||||
"allLinksInside": true,
|
||||
"textsInside": true,
|
||||
"copyBottom": 1194.5,
|
||||
"cardBottom": 1232.890625,
|
||||
"gridColumns": "none"
|
||||
},
|
||||
{
|
||||
"widget": "hero",
|
||||
"requested_width_px": 900,
|
||||
"status": "pass",
|
||||
"w": 900,
|
||||
"h": 642.65625,
|
||||
"sw": 900,
|
||||
"cw": 900,
|
||||
"sh": 643,
|
||||
"ch": 643,
|
||||
"allLinksInside": true,
|
||||
"textsInside": true,
|
||||
"copyBottom": 871.25,
|
||||
"cardBottom": 916.25,
|
||||
"gridColumns": "900px"
|
||||
},
|
||||
{
|
||||
"widget": "hero",
|
||||
"requested_width_px": 980,
|
||||
"status": "pass",
|
||||
"w": 980,
|
||||
"h": 676.359375,
|
||||
"sw": 980,
|
||||
"cw": 980,
|
||||
"sh": 676,
|
||||
"ch": 676,
|
||||
"allLinksInside": true,
|
||||
"textsInside": true,
|
||||
"copyBottom": 900.953125,
|
||||
"cardBottom": 949.953125,
|
||||
"gridColumns": "980px"
|
||||
},
|
||||
{
|
||||
"widget": "hero",
|
||||
"requested_width_px": 1180,
|
||||
"status": "pass",
|
||||
"w": 1180,
|
||||
"h": 743.546875,
|
||||
"sw": 1180,
|
||||
"cw": 1180,
|
||||
"sh": 744,
|
||||
"ch": 744,
|
||||
"allLinksInside": true,
|
||||
"textsInside": true,
|
||||
"copyBottom": 958.140625,
|
||||
"cardBottom": 1017.140625,
|
||||
"gridColumns": "1180px"
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,73 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Support;
|
||||
|
||||
/** Pure helpers, independent of storage or CMS internals. */
|
||||
final class LfBildTextPayload
|
||||
{
|
||||
public static function oneOf(mixed $value, array $choices, string $fallback): string
|
||||
{
|
||||
return is_string($value) && in_array($value, $choices, true) ? $value : $fallback;
|
||||
}
|
||||
|
||||
public static function focus(mixed $raw): array
|
||||
{
|
||||
if (is_array($raw)) {
|
||||
$x = $raw['x'] ?? 64;
|
||||
$y = $raw['y'] ?? 50;
|
||||
} else {
|
||||
$x = 64;
|
||||
$y = 50;
|
||||
}
|
||||
|
||||
return [
|
||||
'x' => is_numeric($x) ? max(0, min(100, (float) $x)) : 64,
|
||||
'y' => is_numeric($y) ? max(0, min(100, (float) $y)) : 50,
|
||||
];
|
||||
}
|
||||
|
||||
/** These links are redactional CTAs, never raw HTML/JavaScript. */
|
||||
public static function safeUrl(mixed $raw): ?string
|
||||
{
|
||||
if (! is_string($raw)) {
|
||||
return null;
|
||||
}
|
||||
$url = trim($raw);
|
||||
if ($url === '' || preg_match('/[\x00-\x1F\x7F\\\\]/u', $url)) {
|
||||
return null;
|
||||
}
|
||||
if (str_starts_with($url, '/') && ! str_starts_with($url, '//')) {
|
||||
return $url;
|
||||
}
|
||||
if (preg_match('/^#[A-Za-z0-9_-]+$/D', $url)) {
|
||||
return $url;
|
||||
}
|
||||
if (str_starts_with(strtolower($url), 'https://') && filter_var($url, FILTER_VALIDATE_URL)) {
|
||||
return $url;
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
public static function cta(mixed $raw): ?array
|
||||
{
|
||||
if (! is_array($raw)) {
|
||||
return null;
|
||||
}
|
||||
$label = isset($raw['label']) && is_string($raw['label']) ? trim($raw['label']) : '';
|
||||
$url = self::safeUrl($raw['url'] ?? null);
|
||||
|
||||
return $label !== '' && $url ? ['label' => $label, 'url' => $url] : null;
|
||||
}
|
||||
|
||||
/** Safe readable fallback, if the host app has not supplied sanitized HtmlString. */
|
||||
public static function plainTextFromHtml(string $raw): string
|
||||
{
|
||||
$withBreaks = preg_replace('~</(?:p|div|li|h[1-6])\s*>|<br\s*/?>~i', "\n", $raw) ?? $raw;
|
||||
$plain = trim(html_entity_decode(strip_tags($withBreaks), ENT_QUOTES | ENT_HTML5, 'UTF-8'));
|
||||
|
||||
return $plain;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"type": "lf-editorial-bild-text",
|
||||
"settings": {"height":"compact","surface":"cream","image_side":"right","heading_level":"h2","image_focus":{"x":64,"y":36}},
|
||||
"data": {"eyebrow":"Unser Ansatz","headline":"Geschichten zum Mitdenken und Mitmachen","body":"Alltagsszenen eröffnen Gespräche über sichere Entscheidungen. Übungen vertiefen das Thema.","image_alt":"Lara und Felix stehen im Park","primary_cta":{"label":"Konzept kennenlernen","url":"/konzept"},"secondary_cta":{"label":"Themen ansehen","url":"/themen"}},
|
||||
"refs": {"image_reference":"REPLACE-WITH-EXISTING-PUBLIC-MEDIA-REFERENCE"}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"type": "lf-brand-hero",
|
||||
"settings": {"variant":"photo-split","height":"compact","heading_level":"h1","image_focus":{"x":68,"y":50}},
|
||||
"data": {"eyebrow":"Lara & Felix · Stark im Alltag","title":"Kinder stark im Alltag","description":"Alltagsnahe Geschichten, praktische Übungen und Materialien für Fachkräfte.","image_alt":"Lara und Felix in einer Parkanlage","primary_cta":{"label":"Konzept kennenlernen","url":"/konzept"},"secondary_cta":{"label":"Programme ansehen","url":"/programme"}},
|
||||
"refs": {"image_reference":"REPLACE-WITH-EXISTING-PUBLIC-MEDIA-REFERENCE"}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
# Adapter an die zentrale CMS-Widget-Registry (keine zweite Registry)
|
||||
|
||||
Die vorhandene Laravel-/Filament-Registry (im Projektkonzept `BlockRegistry` genannt) bleibt führend. Das ZIP enthält **kein Repository**, deshalb wird keine tatsächliche Signatur und keine direkte Datenmigration behauptet.
|
||||
|
||||
1. Die bestehenden Renderer für `lf-brand-hero` bzw. `lf-editorial-bild-text` gezielt auf die Views `components.lf.hero` und `components.lf.bild-text` mappen, ohne bestehende Kennungen / Seitenrevisionen umzuschreiben.
|
||||
2. Für Hero im bestehenden Variantenschema das **optionale** `settings.height` mit Standard `normal` ergänzen. `variant`, `image_focal_point` und Textfelder aus v1.3 unangetastet lassen; gegebenenfalls Lesenamen adaptieren. Für Bild & Text `height` aus v1.5 weiterführen; vorhandene Daten bleiben gültig.
|
||||
3. Weiterhin **eine** öffentliche Medien-ID an das vorhandene Medien-/Freigabesystem geben. Erst nach Prüfung des öffentlichen Verwendungsrechts als aufgelöste `image`-Ressource an den Renderer übergeben.
|
||||
4. `data.body` (Bild & Text) nur aus dem bestehenden, bereits gereinigten CMS-Richtext als `Illuminate\\Support\\HtmlString` einliefern; sonst sichere Textdarstellung. CTA-URL-Validierung übernimmt die vorhandene Hilfsklasse.
|
||||
5. Die beiden v1.6-CSS-Dateien einmalig per bestehendem Tailwind-4-/Vite-Einstiegspunkt laden. **Nicht parallel zu den alten `lf-hero.css` / `lf-bild-text.v1.5.css` laden** (gleichlautende CSS-Klassen).
|
||||
6. Editor-/Vorschau und öffentliche Website müssen dasselbe Blade-Template verwenden. Keine neue DOM-Kopie oder neue Widget-Tabellen.
|
||||
7. Slots werden weiter vom bestehenden Abschnittsraster zugeteilt (höchstens vier Einheiten, ein Widget je Slot). Unterstützte Einheiten als Validator-/UI-Hinweis aus `docs/layout-profiles.json` lesen; konkrete Registry-Vertragsfassung und Fehlermeldung sind mit dem Architektur-Chat abzustimmen.
|
||||
|
||||
**Dateieinbindung – Beispiel (nach tatsächlicher Projektprüfung):**
|
||||
|
||||
```css
|
||||
@import "./components/lf-hero.v1.6.css";
|
||||
@import "./components/lf-bild-text.v1.6.css";
|
||||
```
|
||||
|
||||
**Blade-View-Schnittstelle – Beispiel:**
|
||||
|
||||
```blade
|
||||
<x-lf.hero :data="$data" :settings="$settings" :image="$approvedPublicMedia" />
|
||||
<x-lf.bild-text :data="$data" :settings="$settings" :image="$approvedPublicMedia" />
|
||||
```
|
||||
|
||||
Nicht beauftragt/entschieden: neues Registry-Schema, Medienreferenzmodell, neue CMS-Abschnitte, globaler Mindestcontainer-Validator, neue Produkte oder Lizenzmodelle (ADR-28/30 weiterhin offen).
|
||||
@@ -0,0 +1,90 @@
|
||||
/* Lara & Felix – Bild & Text v1.6; replaces v1.5 CSS at integration, not alongside it.
|
||||
The layout reacts to container WIDTH, not CMS span count. Source artwork unchanged. */
|
||||
.lf-bt-host { container: lf-bt / inline-size; inline-size:100%;min-inline-size:0;max-inline-size:100%; }
|
||||
.lf-bt-host,.lf-bt-host *{box-sizing:border-box}
|
||||
.lf-bt{
|
||||
--bt-navy:var(--lf-navy,#032551);--bt-green:var(--lf-green-deep,#3B7B09);
|
||||
--bt-yellow:var(--lf-yellow,#FCD10A);--bt-cream:var(--lf-cream,#F7F6F2);
|
||||
--bt-muted:var(--lf-muted,#46556B);--bt-focus-x:64%;--bt-focus-y:43%;
|
||||
display:grid;grid-template-columns:minmax(0,1fr);align-items:start;
|
||||
gap:clamp(.9rem,2.65cqi,2rem);padding:clamp(1rem,2.8cqi,3.25rem);
|
||||
border-radius:clamp(1rem,1.8cqi,1.65rem);
|
||||
min-inline-size:0;max-inline-size:100%;
|
||||
background:var(--bt-cream);color:var(--bt-navy);
|
||||
font:400 1rem/1.6 var(--lf-font-ui,'Nunito Sans','Segoe UI',system-ui,sans-serif);
|
||||
overflow-wrap:break-word;
|
||||
}
|
||||
.lf-bt--clear{background:transparent}.lf-bt--navy{background:var(--bt-navy);color:#fff}
|
||||
.lf-bt__copy{min-inline-size:0;max-inline-size:49rem;align-self:center}
|
||||
.lf-bt__eyebrow{display:flex;align-items:center;gap:.6rem;margin:0 0 .8rem;
|
||||
color:#295B08;font-size:.73rem;line-height:1.45;font-weight:800;letter-spacing:.065em;text-transform:uppercase;overflow-wrap:anywhere}
|
||||
.lf-bt__eyebrow::before{content:'';inline-size:1.35rem;block-size:.25rem;flex:0 0 auto;background:var(--bt-yellow);border-radius:999px}
|
||||
.lf-bt--navy .lf-bt__eyebrow{color:#FFF2B0}
|
||||
.lf-bt__headline{font-size:clamp(1.55rem,4.5cqi,3.35rem);line-height:1.14;letter-spacing:-.03em;
|
||||
font-weight:850;margin:0;overflow-wrap:anywhere;text-wrap:balance}
|
||||
.lf-bt__accent{display:block;inline-size:clamp(4.6rem,12cqi,7rem);block-size:.36rem;
|
||||
margin:clamp(.55rem,1.7cqi,1rem) 0 clamp(.8rem,2.3cqi,1.25rem) .12rem;
|
||||
background:var(--bt-yellow);border-radius:90% 35% 75% 40%;transform:rotate(-1deg)}
|
||||
.lf-bt__body{color:var(--bt-muted);font-size:clamp(.97rem,1.45cqi,1.12rem);line-height:1.62;overflow-wrap:anywhere}
|
||||
.lf-bt__body>:first-child{margin-block-start:0}.lf-bt__body>:last-child{margin-block-end:0}
|
||||
.lf-bt__body p{margin:0 0 .9em}.lf-bt__body ul,.lf-bt__body ol{padding-inline-start:1.35em;margin:.6em 0}
|
||||
.lf-bt__body a{color:inherit;text-decoration:underline;text-underline-offset:.15em}
|
||||
.lf-bt--navy .lf-bt__body{color:#F0F4F9}
|
||||
.lf-bt__actions{display:flex;align-items:stretch;gap:.65rem;flex-wrap:wrap;
|
||||
margin-block-start:clamp(1rem,2cqi,1.5rem);min-inline-size:0}
|
||||
.lf-bt__button{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
|
||||
max-inline-size:100%;min-inline-size:0;min-block-size:2.95rem;padding:.7rem 1rem;
|
||||
background:var(--bt-green);border:2px solid var(--bt-green);color:#fff;
|
||||
border-radius:999px;text-decoration:none;text-align:center;font-size:.89rem;font-weight:800;
|
||||
line-height:1.33;overflow-wrap:anywhere;white-space:normal;transition:background-color .14s ease,transform .14s ease}
|
||||
.lf-bt__button:visited{color:#fff}.lf-bt__button:hover{background:#285A06;transform:translateY(-1px)}
|
||||
.lf-bt__button--secondary{background:transparent;border-color:currentColor;color:inherit}
|
||||
.lf-bt__button--secondary:visited{color:inherit}.lf-bt__button--secondary:hover{background:rgb(3 37 81 / .06)}
|
||||
.lf-bt--navy .lf-bt__button--secondary:hover{background:rgb(255 255 255 / .12)}
|
||||
.lf-bt__button:focus-visible,.lf-bt__body a:focus-visible{outline:3px solid var(--lf-focus,#1769AA);outline-offset:3px}
|
||||
.lf-bt__media{position:relative;display:block;min-inline-size:0;order:-1;isolation:isolate}
|
||||
.lf-bt__media::before{content:'';position:absolute;inset:auto -.42rem -.45rem 1rem;
|
||||
block-size:53%;border-radius:1.1rem;background:#8AB848;transform:rotate(1.5deg);z-index:-1}
|
||||
.lf-bt--navy .lf-bt__media::before{background:var(--bt-yellow)}
|
||||
.lf-bt__image{display:block;inline-size:100%;block-size:auto;aspect-ratio:16/10;
|
||||
object-fit:cover;object-position:var(--bt-focus-x) var(--bt-focus-y);
|
||||
border-radius:clamp(.78rem,1.8cqi,1.3rem);box-shadow:0 10px 28px rgb(3 37 81 / .11)}
|
||||
.lf-bt--height-compact .lf-bt__image{aspect-ratio:16/9}
|
||||
.lf-bt--height-spacious .lf-bt__image{aspect-ratio:4/3}
|
||||
.lf-bt--height-compact{gap:clamp(.75rem,2cqi,1.45rem)}
|
||||
.lf-bt--height-spacious{gap:clamp(1.15rem,3.4cqi,2.7rem)}
|
||||
.lf-bt--without-image{grid-template-columns:minmax(0,1fr)}
|
||||
/* Narrow slots: full text and links, no forced block height. */
|
||||
@container lf-bt (max-width: 539.99px){
|
||||
.lf-bt__actions{display:grid;grid-template-columns:minmax(0,1fr)}
|
||||
.lf-bt__button{inline-size:100%}
|
||||
.lf-bt__headline{font-size:clamp(1.42rem,6.8cqi,2.2rem)}
|
||||
.lf-bt__eyebrow{letter-spacing:.03em}
|
||||
}
|
||||
/* Mid-size real container (usually 2 CMS units): compact editorial picture band, not a squeezed 2-col.
|
||||
Only media proportions / spacings change; text is never clamped or hidden. */
|
||||
@container lf-bt (min-width: 540px) and (max-width: 899.99px){
|
||||
.lf-bt{gap:clamp(.8rem,1.6cqi,1.2rem);padding:clamp(1.1rem,2.4cqi,1.65rem)}
|
||||
.lf-bt__media{inline-size:100%}
|
||||
.lf-bt__image{aspect-ratio:2.15/1}
|
||||
.lf-bt--height-compact .lf-bt__image{aspect-ratio:2.5/1}
|
||||
.lf-bt--height-spacious .lf-bt__image{aspect-ratio:1.8/1}
|
||||
.lf-bt__headline{font-size:clamp(1.65rem,3.6cqi,2.28rem)}
|
||||
.lf-bt__body{font-size:1.01rem;line-height:1.59}
|
||||
.lf-bt__actions{margin-block-start:.95rem}
|
||||
.lf-bt__button{flex:1 1 13rem}
|
||||
}
|
||||
/* Wide container: original two-column premium editorial composition. */
|
||||
@container lf-bt (min-width: 900px){
|
||||
.lf-bt{grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);
|
||||
align-items:center;gap:clamp(1.8rem,4cqi,4.5rem);padding:clamp(1.8rem,4cqi,4.5rem)}
|
||||
.lf-bt__media{order:0;align-self:stretch}
|
||||
.lf-bt--image-left .lf-bt__media{order:-1}
|
||||
.lf-bt__image{block-size:100%;min-block-size:18rem;max-block-size:none;aspect-ratio:4/3}
|
||||
.lf-bt--height-compact .lf-bt__image{min-block-size:14rem;aspect-ratio:3/2}
|
||||
.lf-bt--height-spacious .lf-bt__image{min-block-size:24rem;aspect-ratio:1/1}
|
||||
.lf-bt--height-compact{padding-block:clamp(1.25rem,2.8cqi,2.6rem)}
|
||||
.lf-bt--height-spacious{padding-block:clamp(2.15rem,4.5cqi,4.75rem)}
|
||||
.lf-bt--without-image{grid-template-columns:minmax(0,1fr)}
|
||||
}
|
||||
@media(prefers-reduced-motion:reduce){.lf-bt__button{transition:none}.lf-bt__button:hover{transform:none}}
|
||||
@@ -0,0 +1,70 @@
|
||||
/* Lara & Felix Hero v1.6 – non-destructive update of v1.3 visuals.
|
||||
CMS assigns 3 or 4 units; this component reads resulting real container width.
|
||||
Height presets are MINIMUM heights, never clipping text or CTAs. */
|
||||
.lf-hero-host{container:lf-hero/inline-size;inline-size:100%;min-inline-size:0;max-inline-size:100%}
|
||||
.lf-hero-host,.lf-hero-host *{box-sizing:border-box}
|
||||
.lf-hero{
|
||||
--lf-hero-navy:var(--lf-navy,#032551);--lf-hero-green:var(--lf-green-deep,#3B7B09);
|
||||
--lf-hero-yellow:var(--lf-yellow,#FCD10A);--lf-hero-cream:var(--lf-cream,#F7F6F2);
|
||||
--lf-hero-focus-x:68%;--lf-hero-focus-y:50%;
|
||||
isolation:isolate;position:relative;display:grid;align-items:center;min-inline-size:0;
|
||||
min-block-size:32rem;max-inline-size:100%;border-radius:clamp(1rem,1.9cqi,1.75rem);
|
||||
background:var(--lf-hero-cream);color:var(--lf-hero-navy);
|
||||
font-family:var(--lf-font-display,'Nunito','Trebuchet MS',system-ui,sans-serif)
|
||||
}
|
||||
.lf-hero--height-compact{min-block-size:25rem}
|
||||
.lf-hero--height-normal{min-block-size:32rem}
|
||||
.lf-hero--height-large{min-block-size:40rem}
|
||||
.lf-hero__photo{position:absolute;inset:0;inline-size:100%;block-size:100%;object-fit:cover;
|
||||
object-position:var(--lf-hero-focus-x) var(--lf-hero-focus-y);z-index:-2;border-radius:inherit}
|
||||
.lf-hero--photo-split::before{content:'';position:absolute;inset:0;z-index:-1;border-radius:inherit;
|
||||
background:linear-gradient(90deg,rgba(250,249,243,.99) 0%,rgba(250,249,243,.98) 28%,rgba(250,249,243,.85) 41%,rgba(250,249,243,.12) 69%,transparent 80%)}
|
||||
.lf-hero--editorial-solid{background:var(--lf-hero-navy);color:white}
|
||||
.lf-hero--editorial-solid .lf-hero__photo{display:none}
|
||||
.lf-hero--editorial-solid::before{content:'';position:absolute;inset:auto -7% -50% auto;inline-size:40%;aspect-ratio:1;
|
||||
background:var(--lf-hero-green);border-radius:50%;opacity:.8;z-index:-1}
|
||||
.lf-hero__inner{inline-size:100%;max-inline-size:1440px;margin-inline:auto;padding:clamp(1.8rem,4.3cqi,5rem);
|
||||
padding-block:clamp(2.1rem,5cqi,5rem);min-inline-size:0}
|
||||
.lf-hero__copy{max-inline-size:min(660px,58%);min-inline-size:0}
|
||||
.lf-hero--editorial-solid .lf-hero__copy{max-inline-size:760px}
|
||||
.lf-hero__eyebrow{display:inline-block;margin:0;padding:.35em .75em;border-radius:999px;background:#DFF0C0;
|
||||
color:#17370B;font-weight:800;font-size:clamp(.78rem,1.25cqi,.95rem);overflow-wrap:anywhere}
|
||||
.lf-hero__title{margin:.25em 0 .25em;font-size:clamp(2.1rem,5.4cqi,4.9rem);line-height:1.06;
|
||||
letter-spacing:-.035em;font-weight:900;text-wrap:balance;overflow-wrap:anywhere}
|
||||
.lf-hero__title-accent{inline-size:clamp(6rem,15cqi,15rem);block-size:.42rem;margin:0 0 clamp(1.1rem,2cqi,1.5rem);
|
||||
background:var(--lf-hero-yellow);border-radius:90% 30% 45% 25%;transform:rotate(-1deg)}
|
||||
.lf-hero__description{max-inline-size:56ch;margin:0 0 clamp(1.25rem,2.1cqi,2rem);
|
||||
font-family:var(--lf-font-ui,'Nunito Sans','Segoe UI',system-ui,sans-serif);
|
||||
font-size:clamp(1.05rem,1.7cqi,1.3rem);line-height:1.5;overflow-wrap:anywhere}
|
||||
.lf-hero__actions{display:flex;gap:.75rem;flex-wrap:wrap;align-items:stretch;min-inline-size:0}
|
||||
.lf-hero__button{display:inline-flex;align-items:center;justify-content:center;min-inline-size:0;max-inline-size:100%;
|
||||
min-block-size:3rem;padding:.77rem 1.2rem;border:2px solid transparent;border-radius:999px;
|
||||
font:800 .96rem/1.28 var(--lf-font-ui,'Nunito Sans',system-ui,sans-serif);
|
||||
text-decoration:none;text-align:center;white-space:normal;overflow-wrap:anywhere;transition:transform .15s ease,background-color .15s ease}
|
||||
.lf-hero__button:hover{transform:translateY(-1px)}
|
||||
.lf-hero__button:focus-visible{outline:3px solid var(--lf-focus,#1769AA);outline-offset:3px}
|
||||
.lf-hero__button--primary{background:var(--lf-hero-green);color:#fff}
|
||||
.lf-hero__button--primary:visited{color:#fff}.lf-hero__button--primary:hover{background:#285A06}
|
||||
.lf-hero__button--secondary{background:rgba(255,255,255,.95);color:var(--lf-hero-navy);border-color:var(--lf-hero-navy)}
|
||||
.lf-hero__button--secondary:visited{color:var(--lf-hero-navy)}
|
||||
.lf-hero__bottom{position:absolute;inset:auto 0 0;block-size:15px;border-radius:0 0 1.5rem 1.5rem;
|
||||
background:linear-gradient(105deg,var(--lf-hero-yellow) 0%,var(--lf-hero-yellow) 22%,var(--lf-hero-green) 72%);
|
||||
clip-path:polygon(0 45%,30% 90%,65% 75%,100% 0,100% 100%,0 100%);pointer-events:none}
|
||||
/* Safety fallback ONLY when a CSS container turns out physically too narrow;
|
||||
not an additional author-selectable Hero design. */
|
||||
@container lf-hero (max-width: 859.99px){
|
||||
.lf-hero{display:block;min-block-size:0}
|
||||
.lf-hero__photo{position:relative;display:block;block-size:auto;aspect-ratio:16/9;
|
||||
border-radius:inherit;object-position:var(--lf-hero-focus-x) var(--lf-hero-focus-y)}
|
||||
.lf-hero--photo-split::before{display:none}
|
||||
.lf-hero__inner{padding:clamp(1.2rem,3.5cqi,2rem);padding-block-end:2.4rem}
|
||||
.lf-hero__copy{max-inline-size:100%}
|
||||
.lf-hero__title{font-size:clamp(2rem,5.5cqi,3.1rem)}
|
||||
.lf-hero__description{font-size:1.07rem}
|
||||
.lf-hero--editorial-solid .lf-hero__copy{max-inline-size:100%}
|
||||
}
|
||||
@container lf-hero (max-width: 440px){
|
||||
.lf-hero__actions{display:grid;grid-template-columns:minmax(0,1fr)}
|
||||
.lf-hero__button{inline-size:100%}
|
||||
}
|
||||
@media(prefers-reduced-motion:reduce){.lf-hero__button{transition:none}.lf-hero__button:hover{transform:none}}
|
||||
@@ -0,0 +1,58 @@
|
||||
{{-- Lara & Felix v1.5. The calling CMS registry resolves a public, permitted image.
|
||||
No media upload, entitlement decision or second content store here. --}}
|
||||
@props(['data' => [], 'settings' => [], 'image' => []])
|
||||
@php
|
||||
$surface = \App\Support\LfBildTextPayload::oneOf($settings['surface'] ?? null, ['cream','clear','navy'], 'cream');
|
||||
$side = \App\Support\LfBildTextPayload::oneOf($settings['image_side'] ?? null, ['left','right'], 'right');
|
||||
$height = \App\Support\LfBildTextPayload::oneOf($settings['height'] ?? null, ['compact','normal','spacious'], 'normal');
|
||||
$heading = \App\Support\LfBildTextPayload::oneOf($settings['heading_level'] ?? null, ['h1','h2','h3'], 'h2');
|
||||
$focus = \App\Support\LfBildTextPayload::focus($settings['image_focus'] ?? $data['image_focus'] ?? null);
|
||||
$mainCta = \App\Support\LfBildTextPayload::cta($data['primary_cta'] ?? null);
|
||||
$otherCta = \App\Support\LfBildTextPayload::cta($data['secondary_cta'] ?? null);
|
||||
$headline = (string) ($data['headline'] ?? '');
|
||||
$eyebrow = (string) ($data['eyebrow'] ?? '');
|
||||
$body = $data['body'] ?? '';
|
||||
$isSanitized = $body instanceof \Illuminate\Support\HtmlString;
|
||||
$src = (string)($image['src'] ?? '');
|
||||
$alt = (string)($data['image_alt'] ?? '');
|
||||
$srcset = (string)($image['srcset'] ?? '');
|
||||
$sizes = (string)($image['sizes'] ?? '(min-width: 1200px) 45vw, 100vw');
|
||||
$imageWidth = max(1, (int)($image['width'] ?? 2048));
|
||||
$imageHeight = max(1, (int)($image['height'] ?? 1156));
|
||||
@endphp
|
||||
<div {{ $attributes->class(['lf-bt-host']) }}>
|
||||
<article class="lf-bt lf-bt--{{ $surface }} lf-bt--image-{{ $side }} lf-bt--height-{{ $height }} {{ $src === '' ? 'lf-bt--without-image' : '' }}"
|
||||
style="--bt-focus-x:{{ $focus['x'] }}%;--bt-focus-y:{{ $focus['y'] }}%;">
|
||||
<div class="lf-bt__copy">
|
||||
@if (trim($eyebrow) !== '')<p class="lf-bt__eyebrow">{{ $eyebrow }}</p>@endif
|
||||
@if ($heading === 'h1')
|
||||
<h1 class="lf-bt__headline">{{ $headline }}</h1>
|
||||
@elseif ($heading === 'h3')
|
||||
<h3 class="lf-bt__headline">{{ $headline }}</h3>
|
||||
@else
|
||||
<h2 class="lf-bt__headline">{{ $headline }}</h2>
|
||||
@endif
|
||||
<span class="lf-bt__accent" aria-hidden="true"></span>
|
||||
<div class="lf-bt__body">
|
||||
@if ($isSanitized)
|
||||
{!! $body !!}
|
||||
@else
|
||||
<p>{!! nl2br(e(\App\Support\LfBildTextPayload::plainTextFromHtml((string)$body))) !!}</p>
|
||||
@endif
|
||||
</div>
|
||||
@if ($mainCta || $otherCta)
|
||||
<div class="lf-bt__actions">
|
||||
@if ($mainCta)<a class="lf-bt__button" href="{{ $mainCta['url'] }}">{{ $mainCta['label'] }} <span aria-hidden="true">→</span></a>@endif
|
||||
@if ($otherCta)<a class="lf-bt__button lf-bt__button--secondary" href="{{ $otherCta['url'] }}">{{ $otherCta['label'] }}</a>@endif
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
@if ($src !== '')
|
||||
<div class="lf-bt__media">
|
||||
<img class="lf-bt__image" src="{{ $src }}" alt="{{ $alt }}"
|
||||
@if ($srcset !== '') srcset="{{ $srcset }}" sizes="{{ $sizes }}" @endif
|
||||
width="{{ $imageWidth }}" height="{{ $imageHeight }}" loading="lazy" decoding="async" />
|
||||
</div>
|
||||
@endif
|
||||
</article>
|
||||
</div>
|
||||
@@ -0,0 +1,52 @@
|
||||
@props(['data' => [], 'settings' => [], 'image' => []])
|
||||
@php
|
||||
// Component-only contract. Widget registry and media approval stay in existing CMS.
|
||||
$variant = \App\Support\LfBildTextPayload::oneOf($settings['variant'] ?? $data['variant'] ?? null, ['photo-split', 'editorial-solid'], 'photo-split');
|
||||
$height = \App\Support\LfBildTextPayload::oneOf($settings['height'] ?? null, ['compact', 'normal', 'large'], 'normal');
|
||||
$heading = \App\Support\LfBildTextPayload::oneOf($settings['heading_level'] ?? null, ['h1', 'h2', 'h3'], 'h1');
|
||||
$legacyFocus = $settings['image_focal_point'] ?? $data['image_focal_point'] ?? 'center-right';
|
||||
$focusAliases = [
|
||||
'center' => ['x' => 50, 'y' => 50],
|
||||
'center-right' => ['x' => 68, 'y' => 50],
|
||||
'right' => ['x' => 80, 'y' => 50],
|
||||
'center-left' => ['x' => 35, 'y' => 50],
|
||||
];
|
||||
$focus = \App\Support\LfBildTextPayload::focus(
|
||||
$settings['image_focus'] ?? $data['image_focus'] ?? ($focusAliases[$legacyFocus] ?? $focusAliases['center-right'])
|
||||
);
|
||||
$primary = \App\Support\LfBildTextPayload::cta($data['primary_cta'] ?? null);
|
||||
$secondary = \App\Support\LfBildTextPayload::cta($data['secondary_cta'] ?? null);
|
||||
$src = (string)($image['src'] ?? '');
|
||||
$alt = (string)($data['image_alt'] ?? '');
|
||||
$headline = (string)($data['title'] ?? '');
|
||||
$description = (string)($data['description'] ?? '');
|
||||
$eyebrow = (string)($data['eyebrow'] ?? '');
|
||||
@endphp
|
||||
<div {{ $attributes->class(['lf-hero-host']) }}>
|
||||
<section class="lf-hero lf-hero--{{ $variant }} lf-hero--height-{{ $height }}"
|
||||
style="--lf-hero-focus-x:{{ $focus['x'] }}%;--lf-hero-focus-y:{{ $focus['y'] }}%;">
|
||||
@if ($variant === 'photo-split' && $src !== '')
|
||||
<img class="lf-hero__photo" src="{{ $src }}" alt="{{ $alt }}"
|
||||
@if (!empty($image['srcset'])) srcset="{{ (string)$image['srcset'] }}" sizes="{{ (string)($image['sizes'] ?? '100vw') }}" @endif
|
||||
width="{{ max(1,(int)($image['width'] ?? 2048)) }}"
|
||||
height="{{ max(1,(int)($image['height'] ?? 1156)) }}" loading="eager" fetchpriority="high" decoding="async" />
|
||||
@endif
|
||||
<div class="lf-hero__inner">
|
||||
<div class="lf-hero__copy">
|
||||
@if (trim($eyebrow) !== '')<p class="lf-hero__eyebrow">{{ $eyebrow }}</p>@endif
|
||||
@if ($heading === 'h1')<h1 class="lf-hero__title">{{ $headline }}</h1>
|
||||
@elseif ($heading === 'h3')<h3 class="lf-hero__title">{{ $headline }}</h3>
|
||||
@else<h2 class="lf-hero__title">{{ $headline }}</h2>@endif
|
||||
<span class="lf-hero__title-accent" aria-hidden="true"></span>
|
||||
@if (trim($description) !== '')<p class="lf-hero__description">{{ $description }}</p>@endif
|
||||
@if ($primary || $secondary)
|
||||
<div class="lf-hero__actions">
|
||||
@if ($primary)<a class="lf-hero__button lf-hero__button--primary" href="{{ $primary['url'] }}">{{ $primary['label'] }}</a>@endif
|
||||
@if ($secondary)<a class="lf-hero__button lf-hero__button--secondary" href="{{ $secondary['url'] }}">{{ $secondary['label'] }}</a>@endif
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
<span class="lf-hero__bottom" aria-hidden="true"></span>
|
||||
</section>
|
||||
</div>
|
||||
@@ -0,0 +1,10 @@
|
||||
<!doctype html><html lang="de"><head><title>Lara & Felix · Bild & Text QA</title><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="robots" content="noindex,nofollow"><link rel="stylesheet" href="../components/lf-hero.v1.6.css"><link rel="stylesheet" href="../components/lf-bild-text.v1.6.css"><style>
|
||||
:root{--lf-navy:#032551;--lf-green-deep:#3B7B09;--lf-yellow:#FCD10A;--lf-cream:#F7F6F2;--lf-muted:#46556B;--lf-font-ui:system-ui,sans-serif;--lf-font-display:system-ui,sans-serif}
|
||||
*,*::before,*::after{box-sizing:border-box}body{margin:0;background:#E9EDEB;color:#032551;font:15px/1.5 system-ui,sans-serif}header,main,footer{max-width:1500px;margin:auto}header{padding:28px 24px 8px}h1{margin:.2em 0;font-size:clamp(23px,3vw,34px)}.sub{margin:0;color:#46556B}.controls{background:white;padding:18px;margin:18px 0;border-radius:16px;display:flex;flex-wrap:wrap;gap:16px;align-items:end}.controls label{display:grid;gap:4px;font-weight:700;font-size:13px}.controls select{min-width:140px;padding:9px;border:1px solid #bac6c8;border-radius:8px;background:white;color:#032551;font:inherit}.frame{background:white;border-radius:18px;padding:15px}.demo-note{color:#4D5B66;font-size:12px;margin:9px 0 0}.stage{padding:0 24px 24px}.frame .lf-bt-host,.frame .lf-hero-host{margin:0 auto;max-width:100%}.section{background:#fff;border-radius:18px;padding:18px;margin:0 0 23px}.section > h2{margin:0 0 12px;font-size:20px}.badge{display:inline-block;background:#E6F0DA;color:#17370B;border-radius:10px;padding:3px 9px;font-size:12px;font-weight:800}.m-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:18px;align-items:start}.sample{min-width:0}.sample h3{font-size:13px;margin:0 0 7px}.sample .lf-bt-host,.sample .lf-hero-host{width:100%}code{font:12px ui-monospace,monospace}footer{padding:0 24px 32px;color:#52616A;font-size:13px}a:focus-visible,select:focus-visible{outline:3px solid #1769AA;outline-offset:2px}@media(max-width:520px){header{padding:17px 12px 3px}.stage{padding:0 12px 16px}.frame{padding:8px}.controls{padding:10px;gap:10px}.controls label{flex:1 1 140px}.controls select{min-width:0}}
|
||||
</style></head><body><header><h1>Bild & Text · adaptive Layoutmatrix</h1><p class="sub">Gerenderte Originalkomponente in CSS-Containern unterschiedlicher tatsächlicher Breite.</p></header><main class="stage">
|
||||
<section class="section" id="two-units"><h2>Prüffokus: zwei Rastereinheiten – 590 px Container</h2><span class="badge">Vollständige Inhalte, kompakter Bildstreifen, beide CTAs sichtbar</span><div style="margin:12px 0;max-width:590px"><div class="lf-bt-host" style="width:590px" id="bt-590"><article class="lf-bt lf-bt--cream lf-bt--image-right lf-bt--height-compact" style="--bt-focus-x:64%;--bt-focus-y:36%"><div class="lf-bt__copy"><p class="lf-bt__eyebrow">Lara & Felix · Unser Ansatz</p><h2 class="lf-bt__headline">Geschichten, die Kinder zum Mitdenken bringen.</h2><span class="lf-bt__accent" aria-hidden="true"></span><div class="lf-bt__body"><p>Alltagsszenen eröffnen Gespräche über persönliche Grenzen und sichere Entscheidungen. Trainerinnen und Trainer vertiefen die Themen mit passenden Übungen und Begleitmaterialien.</p></div><div class="lf-bt__actions"><a class="lf-bt__button" href="#konzept">Konzept kennenlernen</a><a class="lf-bt__button lf-bt__button--secondary" href="#themen">Themen ansehen</a></div></div><div class="lf-bt__media"><img class="lf-bt__image" src="../../09_hero_widget/assets/lara-felix-park-hero.webp" alt="Lara und Felix stehen gemeinsam im Park" width="2048" height="1156"></div></article></div></div></section>
|
||||
<section class="section" id="stress"><h2>Stresstest: lange Überschrift, lange Buttons, 590 px</h2><div style="max-width:590px"><div class="lf-bt-host" style="width:590px" id="bt-stress"><article class="lf-bt lf-bt--cream lf-bt--image-right lf-bt--height-compact" style="--bt-focus-x:64%;--bt-focus-y:36%"><div class="lf-bt__copy"><p class="lf-bt__eyebrow">Lara & Felix · Unser Ansatz</p><h2 class="lf-bt__headline">Gemeinsam alltagsnahe Handlungsmöglichkeiten mit Kindern erarbeiten – ohne jemanden zu überfordern</h2><span class="lf-bt__accent" aria-hidden="true"></span><div class="lf-bt__body"><p>In dieser längeren Beschreibung erläutern wir mehrere unterschiedliche pädagogische Einsatzmöglichkeiten. Kein Text wird künstlich gekürzt; die Fläche wächst mit dem Inhalt und alle Links bleiben erreichbar. Auch bei sehr langen Formulierungen muss die Lesbarkeit erhalten bleiben.</p></div><div class="lf-bt__actions"><a class="lf-bt__button" href="#konzept">Das Trainingskonzept und alle Materialien kennenlernen</a><a class="lf-bt__button lf-bt__button--secondary" href="#themen">Praxisbeispiele und Themenbereiche ansehen</a></div></div><div class="lf-bt__media"><img class="lf-bt__image" src="../../09_hero_widget/assets/lara-felix-park-hero.webp" alt="Lara und Felix stehen gemeinsam im Park" width="2048" height="1156"></div></article></div></div></section>
|
||||
<section class="section" id="four-units"><h2>Breit: vier Einheiten – 1180 px</h2><div class="lf-bt-host" style="width:1180px" id="bt-1180"><article class="lf-bt lf-bt--cream lf-bt--image-right lf-bt--height-normal" style="--bt-focus-x:64%;--bt-focus-y:36%"><div class="lf-bt__copy"><p class="lf-bt__eyebrow">Lara & Felix · Unser Ansatz</p><h2 class="lf-bt__headline">Geschichten, die Kinder zum Mitdenken bringen.</h2><span class="lf-bt__accent" aria-hidden="true"></span><div class="lf-bt__body"><p>Alltagsszenen eröffnen Gespräche über persönliche Grenzen und sichere Entscheidungen. Trainerinnen und Trainer vertiefen die Themen mit passenden Übungen und Begleitmaterialien.</p></div><div class="lf-bt__actions"><a class="lf-bt__button" href="#konzept">Konzept kennenlernen</a><a class="lf-bt__button lf-bt__button--secondary" href="#themen">Themen ansehen</a></div></div><div class="lf-bt__media"><img class="lf-bt__image" src="../../09_hero_widget/assets/lara-felix-park-hero.webp" alt="Lara und Felix stehen gemeinsam im Park" width="2048" height="1156"></div></article></div></section>
|
||||
<section class="section" id="one-unit"><h2>Schmaler Slot: 320 px</h2><div class="lf-bt-host" style="width:320px" id="bt-320"><article class="lf-bt lf-bt--cream lf-bt--image-right lf-bt--height-compact" style="--bt-focus-x:64%;--bt-focus-y:36%"><div class="lf-bt__copy"><p class="lf-bt__eyebrow">Lara & Felix · Unser Ansatz</p><h2 class="lf-bt__headline">Geschichten, die Kinder zum Mitdenken bringen.</h2><span class="lf-bt__accent" aria-hidden="true"></span><div class="lf-bt__body"><p>Alltagsszenen eröffnen Gespräche über persönliche Grenzen und sichere Entscheidungen. Trainerinnen und Trainer vertiefen die Themen mit passenden Übungen und Begleitmaterialien.</p></div><div class="lf-bt__actions"><a class="lf-bt__button" href="#konzept">Konzept kennenlernen</a><a class="lf-bt__button lf-bt__button--secondary" href="#themen">Themen ansehen</a></div></div><div class="lf-bt__media"><img class="lf-bt__image" src="../../09_hero_widget/assets/lara-felix-park-hero.webp" alt="Lara und Felix stehen gemeinsam im Park" width="2048" height="1156"></div></article></div></section>
|
||||
<section class="section" id="three-units"><h2>Breite 860 px (fällt noch in die kompakte Staffel)</h2><div class="lf-bt-host" style="width:860px" id="bt-860"><article class="lf-bt lf-bt--cream lf-bt--image-right lf-bt--height-normal" style="--bt-focus-x:64%;--bt-focus-y:36%"><div class="lf-bt__copy"><p class="lf-bt__eyebrow">Lara & Felix · Unser Ansatz</p><h2 class="lf-bt__headline">Geschichten, die Kinder zum Mitdenken bringen.</h2><span class="lf-bt__accent" aria-hidden="true"></span><div class="lf-bt__body"><p>Alltagsszenen eröffnen Gespräche über persönliche Grenzen und sichere Entscheidungen. Trainerinnen und Trainer vertiefen die Themen mit passenden Übungen und Begleitmaterialien.</p></div><div class="lf-bt__actions"><a class="lf-bt__button" href="#konzept">Konzept kennenlernen</a><a class="lf-bt__button lf-bt__button--secondary" href="#themen">Themen ansehen</a></div></div><div class="lf-bt__media"><img class="lf-bt__image" src="../../09_hero_widget/assets/lara-felix-park-hero.webp" alt="Lara und Felix stehen gemeinsam im Park" width="2048" height="1156"></div></article></div></section>
|
||||
</main><footer>Browser-QA · Bilder sind unveränderte Originalableitungen, keine Ersatzfiguren.</footer></body></html>
|
||||
@@ -0,0 +1,9 @@
|
||||
<!doctype html><html lang="de"><head><title>Lara & Felix · Hero QA</title><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="robots" content="noindex,nofollow"><link rel="stylesheet" href="../components/lf-hero.v1.6.css"><link rel="stylesheet" href="../components/lf-bild-text.v1.6.css"><style>
|
||||
:root{--lf-navy:#032551;--lf-green-deep:#3B7B09;--lf-yellow:#FCD10A;--lf-cream:#F7F6F2;--lf-muted:#46556B;--lf-font-ui:system-ui,sans-serif;--lf-font-display:system-ui,sans-serif}
|
||||
*,*::before,*::after{box-sizing:border-box}body{margin:0;background:#E9EDEB;color:#032551;font:15px/1.5 system-ui,sans-serif}header,main,footer{max-width:1500px;margin:auto}header{padding:28px 24px 8px}h1{margin:.2em 0;font-size:clamp(23px,3vw,34px)}.sub{margin:0;color:#46556B}.controls{background:white;padding:18px;margin:18px 0;border-radius:16px;display:flex;flex-wrap:wrap;gap:16px;align-items:end}.controls label{display:grid;gap:4px;font-weight:700;font-size:13px}.controls select{min-width:140px;padding:9px;border:1px solid #bac6c8;border-radius:8px;background:white;color:#032551;font:inherit}.frame{background:white;border-radius:18px;padding:15px}.demo-note{color:#4D5B66;font-size:12px;margin:9px 0 0}.stage{padding:0 24px 24px}.frame .lf-bt-host,.frame .lf-hero-host{margin:0 auto;max-width:100%}.section{background:#fff;border-radius:18px;padding:18px;margin:0 0 23px}.section > h2{margin:0 0 12px;font-size:20px}.badge{display:inline-block;background:#E6F0DA;color:#17370B;border-radius:10px;padding:3px 9px;font-size:12px;font-weight:800}.m-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:18px;align-items:start}.sample{min-width:0}.sample h3{font-size:13px;margin:0 0 7px}.sample .lf-bt-host,.sample .lf-hero-host{width:100%}code{font:12px ui-monospace,monospace}footer{padding:0 24px 32px;color:#52616A;font-size:13px}a:focus-visible,select:focus-visible{outline:3px solid #1769AA;outline-offset:2px}@media(max-width:520px){header{padding:17px 12px 3px}.stage{padding:0 12px 16px}.frame{padding:8px}.controls{padding:10px;gap:10px}.controls label{flex:1 1 140px}.controls select{min-width:0}}
|
||||
</style></head><body><header><h1>Hero · drei Höhen für breite Raster</h1><p class="sub">Ein Layout, drei Mindesthöhen; vollständige Texte und CTAs.</p></header><main class="stage">
|
||||
<section class="section" id="hero-compact"><h2>Kompakt · 980 px (3 Einheiten)</h2><div class="lf-hero-host" style="width:980px" id="hero-c"><section class="lf-hero lf-hero--photo-split lf-hero--height-compact" style="--lf-hero-focus-x:68%;--lf-hero-focus-y:50%"><img class="lf-hero__photo" src="../../09_hero_widget/assets/lara-felix-park-hero.webp" alt="Lara und Felix in einer grünen Parkanlage" width="2048" height="1156"><div class="lf-hero__inner"><div class="lf-hero__copy"><p class="lf-hero__eyebrow">Lara & Felix · Stark im Alltag</p><h2 class="lf-hero__title">Kinder stark im Alltag</h2><span class="lf-hero__title-accent" aria-hidden="true"></span><p class="lf-hero__description">Alltagsnahe Geschichten, praktische Übungen und zusammenpassende Materialien für Trainerinnen, Trainer und pädagogische Fachkräfte.</p><div class="lf-hero__actions"><a class="lf-hero__button lf-hero__button--primary" href="#konzept">Konzept kennenlernen</a><a class="lf-hero__button lf-hero__button--secondary" href="#programme">Programme ansehen</a></div></div></div><span class="lf-hero__bottom" aria-hidden="true"></span></section></div></section>
|
||||
<section class="section" id="hero-normal"><h2>Normal · 1180 px (4 Einheiten)</h2><div class="lf-hero-host" style="width:1180px" id="hero-n"><section class="lf-hero lf-hero--photo-split lf-hero--height-normal" style="--lf-hero-focus-x:68%;--lf-hero-focus-y:50%"><img class="lf-hero__photo" src="../../09_hero_widget/assets/lara-felix-park-hero.webp" alt="Lara und Felix in einer grünen Parkanlage" width="2048" height="1156"><div class="lf-hero__inner"><div class="lf-hero__copy"><p class="lf-hero__eyebrow">Lara & Felix · Stark im Alltag</p><h2 class="lf-hero__title">Kinder stark im Alltag</h2><span class="lf-hero__title-accent" aria-hidden="true"></span><p class="lf-hero__description">Alltagsnahe Geschichten, praktische Übungen und zusammenpassende Materialien für Trainerinnen, Trainer und pädagogische Fachkräfte.</p><div class="lf-hero__actions"><a class="lf-hero__button lf-hero__button--primary" href="#konzept">Konzept kennenlernen</a><a class="lf-hero__button lf-hero__button--secondary" href="#programme">Programme ansehen</a></div></div></div><span class="lf-hero__bottom" aria-hidden="true"></span></section></div></section>
|
||||
<section class="section" id="hero-large"><h2>Groß · 1180 px (4 Einheiten)</h2><div class="lf-hero-host" style="width:1180px" id="hero-l"><section class="lf-hero lf-hero--photo-split lf-hero--height-large" style="--lf-hero-focus-x:68%;--lf-hero-focus-y:50%"><img class="lf-hero__photo" src="../../09_hero_widget/assets/lara-felix-park-hero.webp" alt="Lara und Felix in einer grünen Parkanlage" width="2048" height="1156"><div class="lf-hero__inner"><div class="lf-hero__copy"><p class="lf-hero__eyebrow">Lara & Felix · Stark im Alltag</p><h2 class="lf-hero__title">Kinder stark im Alltag</h2><span class="lf-hero__title-accent" aria-hidden="true"></span><p class="lf-hero__description">Alltagsnahe Geschichten, praktische Übungen und zusammenpassende Materialien für Trainerinnen, Trainer und pädagogische Fachkräfte.</p><div class="lf-hero__actions"><a class="lf-hero__button lf-hero__button--primary" href="#konzept">Konzept kennenlernen</a><a class="lf-hero__button lf-hero__button--secondary" href="#programme">Programme ansehen</a></div></div></div><span class="lf-hero__bottom" aria-hidden="true"></span></section></div></section>
|
||||
<section class="section" id="hero-stress"><h2>Stresstest · kompakt, lange Texte und Links</h2><div class="lf-hero-host" style="width:980px" id="hero-long"><section class="lf-hero lf-hero--photo-split lf-hero--height-compact" style="--lf-hero-focus-x:68%;--lf-hero-focus-y:50%"><img class="lf-hero__photo" src="../../09_hero_widget/assets/lara-felix-park-hero.webp" alt="Lara und Felix in einer grünen Parkanlage" width="2048" height="1156"><div class="lf-hero__inner"><div class="lf-hero__copy"><p class="lf-hero__eyebrow">Lara & Felix · Stark im Alltag</p><h2 class="lf-hero__title">Selbstbehauptung und Prävention nachhaltig in den Kursalltag integrieren</h2><span class="lf-hero__title-accent" aria-hidden="true"></span><p class="lf-hero__description">Alltagsnahe Geschichten, praktische Übungen und zusammenpassende Materialien für Trainerinnen, Trainer und pädagogische Fachkräfte.</p><div class="lf-hero__actions"><a class="lf-hero__button lf-hero__button--primary" href="#konzept">Das gesamte Trainingskonzept kennenlernen</a><a class="lf-hero__button lf-hero__button--secondary" href="#programme">Programme und Themenbereiche im Überblick</a></div></div></div><span class="lf-hero__bottom" aria-hidden="true"></span></section></div></section>
|
||||
</main><footer>Hero nur für 3/4 Rastereinheiten; schmale Darstellung allein technischer Überlaufschutz.</footer></body></html>
|
||||
@@ -0,0 +1,15 @@
|
||||
<!doctype html><html lang="de"><head><title>Lara & Felix – Premium-Widgets v1.6 (interaktiv)</title><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="robots" content="noindex,nofollow"><link rel="stylesheet" href="../components/lf-hero.v1.6.css"><link rel="stylesheet" href="../components/lf-bild-text.v1.6.css"><style>
|
||||
:root{--lf-navy:#032551;--lf-green-deep:#3B7B09;--lf-yellow:#FCD10A;--lf-cream:#F7F6F2;--lf-muted:#46556B;--lf-font-ui:system-ui,sans-serif;--lf-font-display:system-ui,sans-serif}
|
||||
*,*::before,*::after{box-sizing:border-box}body{margin:0;background:#E9EDEB;color:#032551;font:15px/1.5 system-ui,sans-serif}header,main,footer{max-width:1500px;margin:auto}header{padding:28px 24px 8px}h1{margin:.2em 0;font-size:clamp(23px,3vw,34px)}.sub{margin:0;color:#46556B}.controls{background:white;padding:18px;margin:18px 0;border-radius:16px;display:flex;flex-wrap:wrap;gap:16px;align-items:end}.controls label{display:grid;gap:4px;font-weight:700;font-size:13px}.controls select{min-width:140px;padding:9px;border:1px solid #bac6c8;border-radius:8px;background:white;color:#032551;font:inherit}.frame{background:white;border-radius:18px;padding:15px}.demo-note{color:#4D5B66;font-size:12px;margin:9px 0 0}.stage{padding:0 24px 24px}.frame .lf-bt-host,.frame .lf-hero-host{margin:0 auto;max-width:100%}.section{background:#fff;border-radius:18px;padding:18px;margin:0 0 23px}.section > h2{margin:0 0 12px;font-size:20px}.badge{display:inline-block;background:#E6F0DA;color:#17370B;border-radius:10px;padding:3px 9px;font-size:12px;font-weight:800}.m-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:18px;align-items:start}.sample{min-width:0}.sample h3{font-size:13px;margin:0 0 7px}.sample .lf-bt-host,.sample .lf-hero-host{width:100%}code{font:12px ui-monospace,monospace}footer{padding:0 24px 32px;color:#52616A;font-size:13px}a:focus-visible,select:focus-visible{outline:3px solid #1769AA;outline-offset:2px}@media(max-width:520px){header{padding:17px 12px 3px}.stage{padding:0 12px 16px}.frame{padding:8px}.controls{padding:10px;gap:10px}.controls label{flex:1 1 140px}.controls select{min-width:0}}
|
||||
</style></head><body><header><h1>Premium-Widgets · adaptive Kompaktvarianten v1.6</h1><p class="sub">Originales Lara-&-Felix-Kling-Motiv, getrennte Texte/Buttons, CSS Container Queries. Keine Website-Screenshots.</p></header><main><div class="stage"><div class="controls"><label>Widget<select id="widget"><option value="bt">Bild & Text</option><option value="hero">Hero (3–4 Einheiten)</option></select></label><label>Tatsächliche Breite<select id="width"><option value="320">320 px · 1 Einheit</option><option value="390">390 px · mobil</option><option value="590" selected>590 px · 2 Einheiten</option><option value="790">790 px · mittlerer Slot</option><option value="930">930 px · breit</option><option value="1180">1180 px · breit</option></select></label><label>Höhe<select id="height"><option value="compact" selected>Kompakt</option><option value="normal">Normal</option><option value="large">Groß / großzügig</option></select></label><label>Oberfläche (Bild & Text)<select id="surface"><option value="cream">Creme</option><option value="clear">Transparent</option><option value="navy">Navy</option></select></label><label>Textprüfung<select id="stress"><option value="no">Normale Länge</option><option value="yes">Lange Überschrift + CTAs</option></select></label></div><div class="frame" id="frame"><div id="bt-wrapper"><div class="lf-bt-host" style="width:590px" id="bt-live"><article class="lf-bt lf-bt--cream lf-bt--image-right lf-bt--height-compact" style="--bt-focus-x:64%;--bt-focus-y:36%"><div class="lf-bt__copy"><p class="lf-bt__eyebrow">Lara & Felix · Unser Ansatz</p><h2 class="lf-bt__headline">Geschichten, die Kinder zum Mitdenken bringen.</h2><span class="lf-bt__accent" aria-hidden="true"></span><div class="lf-bt__body"><p>Alltagsszenen eröffnen Gespräche über persönliche Grenzen und sichere Entscheidungen. Trainerinnen und Trainer vertiefen die Themen mit passenden Übungen und Begleitmaterialien.</p></div><div class="lf-bt__actions"><a class="lf-bt__button" href="#konzept">Konzept kennenlernen</a><a class="lf-bt__button lf-bt__button--secondary" href="#themen">Themen ansehen</a></div></div><div class="lf-bt__media"><img class="lf-bt__image" src="../../09_hero_widget/assets/lara-felix-park-hero.webp" alt="Lara und Felix stehen gemeinsam im Park" width="2048" height="1156"></div></article></div></div><div id="hero-wrapper" style="display:none"><div class="lf-hero-host" style="width:1000px" id="hero-live"><section class="lf-hero lf-hero--photo-split lf-hero--height-compact" style="--lf-hero-focus-x:68%;--lf-hero-focus-y:50%"><img class="lf-hero__photo" src="../../09_hero_widget/assets/lara-felix-park-hero.webp" alt="Lara und Felix in einer grünen Parkanlage" width="2048" height="1156"><div class="lf-hero__inner"><div class="lf-hero__copy"><p class="lf-hero__eyebrow">Lara & Felix · Stark im Alltag</p><h2 class="lf-hero__title">Kinder stark im Alltag</h2><span class="lf-hero__title-accent" aria-hidden="true"></span><p class="lf-hero__description">Alltagsnahe Geschichten, praktische Übungen und zusammenpassende Materialien für Trainerinnen, Trainer und pädagogische Fachkräfte.</p><div class="lf-hero__actions"><a class="lf-hero__button lf-hero__button--primary" href="#konzept">Konzept kennenlernen</a><a class="lf-hero__button lf-hero__button--secondary" href="#programme">Programme ansehen</a></div></div></div><span class="lf-hero__bottom" aria-hidden="true"></span></section></div></div></div><p class="demo-note">Hero: nur für breite Slotzuweisung (3–4 logische Einheiten); bei unter 860 px greift ausschließlich ein technischer Sicherheitsumbruch, keine weitere Hero-Variante.</p></div></main><footer>Vorschau nutzt relative Originaldateien aus dem unverändert übernommenen Kit. Demo-Links ohne Kauf-/Lizenzaussagen.</footer><script>
|
||||
const bw=document.getElementById('bt-live'),hw=document.getElementById('hero-live');
|
||||
function update(){let widget=document.getElementById('widget').value,width=+document.getElementById('width').value,height=document.getElementById('height').value,surface=document.getElementById('surface').value,stress=document.getElementById('stress').value==='yes';
|
||||
bw.parentElement.style.display=widget==='bt'?'block':'none';hw.parentElement.style.display=widget==='hero'?'block':'none';
|
||||
bw.style.width=width+'px';hw.style.width=width+'px';
|
||||
let bc=bw.querySelector('.lf-bt');bc.className='lf-bt lf-bt--'+surface+' lf-bt--image-right lf-bt--height-'+(height==='large'?'spacious':height);
|
||||
let hc=hw.querySelector('.lf-hero');hc.className='lf-hero lf-hero--photo-split lf-hero--height-'+height;
|
||||
bw.querySelector('.lf-bt__headline').textContent=stress?'Gemeinsam alltagsnahe Handlungsmöglichkeiten mit Kindern erarbeiten – ohne jemanden zu überfordern':'Geschichten, die Kinder zum Mitdenken bringen.';
|
||||
hw.querySelector('.lf-hero__title').textContent=stress?'Selbstbehauptung und Prävention nachhaltig in den Kursalltag integrieren':'Kinder stark im Alltag';
|
||||
for(let c of [bw,hw]){let buttons=c.querySelectorAll('.lf-bt__button,.lf-hero__button');buttons[0].textContent=stress?'Das gesamte Trainingskonzept und die Materialien kennenlernen':'Konzept kennenlernen';buttons[1].textContent=stress?'Alle Programme, Module und Themenbereiche in der Übersicht ansehen':'Programme ansehen';}
|
||||
}
|
||||
document.querySelectorAll('select').forEach(el=>el.addEventListener('change',update));update();</script></body></html>
|
||||
|
After Width: | Height: | Size: 226 KiB |
|
After Width: | Height: | Size: 278 KiB |
|
After Width: | Height: | Size: 258 KiB |
|
After Width: | Height: | Size: 389 KiB |
|
After Width: | Height: | Size: 226 KiB |
|
After Width: | Height: | Size: 141 KiB |
|
After Width: | Height: | Size: 305 KiB |
|
After Width: | Height: | Size: 260 KiB |
|
After Width: | Height: | Size: 595 KiB |
|
After Width: | Height: | Size: 811 KiB |
|
After Width: | Height: | Size: 413 KiB |
|
After Width: | Height: | Size: 434 KiB |
|
After Width: | Height: | Size: 787 KiB |
|
After Width: | Height: | Size: 637 KiB |
|
After Width: | Height: | Size: 655 KiB |
|
After Width: | Height: | Size: 202 KiB |
|
After Width: | Height: | Size: 190 KiB |
@@ -0,0 +1,179 @@
|
||||
<!doctype html><html lang="de"><head><title>Lara & Felix – Premium-Widgets v1.6 (interaktiv)</title><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="robots" content="noindex,nofollow"><style>
|
||||
/* Lara & Felix Hero v1.6 – non-destructive update of v1.3 visuals.
|
||||
CMS assigns 3 or 4 units; this component reads resulting real container width.
|
||||
Height presets are MINIMUM heights, never clipping text or CTAs. */
|
||||
.lf-hero-host{container:lf-hero/inline-size;inline-size:100%;min-inline-size:0;max-inline-size:100%}
|
||||
.lf-hero-host,.lf-hero-host *{box-sizing:border-box}
|
||||
.lf-hero{
|
||||
--lf-hero-navy:var(--lf-navy,#032551);--lf-hero-green:var(--lf-green-deep,#3B7B09);
|
||||
--lf-hero-yellow:var(--lf-yellow,#FCD10A);--lf-hero-cream:var(--lf-cream,#F7F6F2);
|
||||
--lf-hero-focus-x:68%;--lf-hero-focus-y:50%;
|
||||
isolation:isolate;position:relative;display:grid;align-items:center;min-inline-size:0;
|
||||
min-block-size:32rem;max-inline-size:100%;border-radius:clamp(1rem,1.9cqi,1.75rem);
|
||||
background:var(--lf-hero-cream);color:var(--lf-hero-navy);
|
||||
font-family:var(--lf-font-display,'Nunito','Trebuchet MS',system-ui,sans-serif)
|
||||
}
|
||||
.lf-hero--height-compact{min-block-size:25rem}
|
||||
.lf-hero--height-normal{min-block-size:32rem}
|
||||
.lf-hero--height-large{min-block-size:40rem}
|
||||
.lf-hero__photo{position:absolute;inset:0;inline-size:100%;block-size:100%;object-fit:cover;
|
||||
object-position:var(--lf-hero-focus-x) var(--lf-hero-focus-y);z-index:-2;border-radius:inherit}
|
||||
.lf-hero--photo-split::before{content:'';position:absolute;inset:0;z-index:-1;border-radius:inherit;
|
||||
background:linear-gradient(90deg,rgba(250,249,243,.99) 0%,rgba(250,249,243,.98) 28%,rgba(250,249,243,.85) 41%,rgba(250,249,243,.12) 69%,transparent 80%)}
|
||||
.lf-hero--editorial-solid{background:var(--lf-hero-navy);color:white}
|
||||
.lf-hero--editorial-solid .lf-hero__photo{display:none}
|
||||
.lf-hero--editorial-solid::before{content:'';position:absolute;inset:auto -7% -50% auto;inline-size:40%;aspect-ratio:1;
|
||||
background:var(--lf-hero-green);border-radius:50%;opacity:.8;z-index:-1}
|
||||
.lf-hero__inner{inline-size:100%;max-inline-size:1440px;margin-inline:auto;padding:clamp(1.8rem,4.3cqi,5rem);
|
||||
padding-block:clamp(2.1rem,5cqi,5rem);min-inline-size:0}
|
||||
.lf-hero__copy{max-inline-size:min(660px,58%);min-inline-size:0}
|
||||
.lf-hero--editorial-solid .lf-hero__copy{max-inline-size:760px}
|
||||
.lf-hero__eyebrow{display:inline-block;margin:0;padding:.35em .75em;border-radius:999px;background:#DFF0C0;
|
||||
color:#17370B;font-weight:800;font-size:clamp(.78rem,1.25cqi,.95rem);overflow-wrap:anywhere}
|
||||
.lf-hero__title{margin:.25em 0 .25em;font-size:clamp(2.1rem,5.4cqi,4.9rem);line-height:1.06;
|
||||
letter-spacing:-.035em;font-weight:900;text-wrap:balance;overflow-wrap:anywhere}
|
||||
.lf-hero__title-accent{inline-size:clamp(6rem,15cqi,15rem);block-size:.42rem;margin:0 0 clamp(1.1rem,2cqi,1.5rem);
|
||||
background:var(--lf-hero-yellow);border-radius:90% 30% 45% 25%;transform:rotate(-1deg)}
|
||||
.lf-hero__description{max-inline-size:56ch;margin:0 0 clamp(1.25rem,2.1cqi,2rem);
|
||||
font-family:var(--lf-font-ui,'Nunito Sans','Segoe UI',system-ui,sans-serif);
|
||||
font-size:clamp(1.05rem,1.7cqi,1.3rem);line-height:1.5;overflow-wrap:anywhere}
|
||||
.lf-hero__actions{display:flex;gap:.75rem;flex-wrap:wrap;align-items:stretch;min-inline-size:0}
|
||||
.lf-hero__button{display:inline-flex;align-items:center;justify-content:center;min-inline-size:0;max-inline-size:100%;
|
||||
min-block-size:3rem;padding:.77rem 1.2rem;border:2px solid transparent;border-radius:999px;
|
||||
font:800 .96rem/1.28 var(--lf-font-ui,'Nunito Sans',system-ui,sans-serif);
|
||||
text-decoration:none;text-align:center;white-space:normal;overflow-wrap:anywhere;transition:transform .15s ease,background-color .15s ease}
|
||||
.lf-hero__button:hover{transform:translateY(-1px)}
|
||||
.lf-hero__button:focus-visible{outline:3px solid var(--lf-focus,#1769AA);outline-offset:3px}
|
||||
.lf-hero__button--primary{background:var(--lf-hero-green);color:#fff}
|
||||
.lf-hero__button--primary:visited{color:#fff}.lf-hero__button--primary:hover{background:#285A06}
|
||||
.lf-hero__button--secondary{background:rgba(255,255,255,.95);color:var(--lf-hero-navy);border-color:var(--lf-hero-navy)}
|
||||
.lf-hero__button--secondary:visited{color:var(--lf-hero-navy)}
|
||||
.lf-hero__bottom{position:absolute;inset:auto 0 0;block-size:15px;border-radius:0 0 1.5rem 1.5rem;
|
||||
background:linear-gradient(105deg,var(--lf-hero-yellow) 0%,var(--lf-hero-yellow) 22%,var(--lf-hero-green) 72%);
|
||||
clip-path:polygon(0 45%,30% 90%,65% 75%,100% 0,100% 100%,0 100%);pointer-events:none}
|
||||
/* Safety fallback ONLY when a CSS container turns out physically too narrow;
|
||||
not an additional author-selectable Hero design. */
|
||||
@container lf-hero (max-width: 859.99px){
|
||||
.lf-hero{display:block;min-block-size:0}
|
||||
.lf-hero__photo{position:relative;display:block;block-size:auto;aspect-ratio:16/9;
|
||||
border-radius:inherit;object-position:var(--lf-hero-focus-x) var(--lf-hero-focus-y)}
|
||||
.lf-hero--photo-split::before{display:none}
|
||||
.lf-hero__inner{padding:clamp(1.2rem,3.5cqi,2rem);padding-block-end:2.4rem}
|
||||
.lf-hero__copy{max-inline-size:100%}
|
||||
.lf-hero__title{font-size:clamp(2rem,5.5cqi,3.1rem)}
|
||||
.lf-hero__description{font-size:1.07rem}
|
||||
.lf-hero--editorial-solid .lf-hero__copy{max-inline-size:100%}
|
||||
}
|
||||
@container lf-hero (max-width: 440px){
|
||||
.lf-hero__actions{display:grid;grid-template-columns:minmax(0,1fr)}
|
||||
.lf-hero__button{inline-size:100%}
|
||||
}
|
||||
@media(prefers-reduced-motion:reduce){.lf-hero__button{transition:none}.lf-hero__button:hover{transform:none}}
|
||||
|
||||
</style><style>
|
||||
/* Lara & Felix – Bild & Text v1.6; replaces v1.5 CSS at integration, not alongside it.
|
||||
The layout reacts to container WIDTH, not CMS span count. Source artwork unchanged. */
|
||||
.lf-bt-host { container: lf-bt / inline-size; inline-size:100%;min-inline-size:0;max-inline-size:100%; }
|
||||
.lf-bt-host,.lf-bt-host *{box-sizing:border-box}
|
||||
.lf-bt{
|
||||
--bt-navy:var(--lf-navy,#032551);--bt-green:var(--lf-green-deep,#3B7B09);
|
||||
--bt-yellow:var(--lf-yellow,#FCD10A);--bt-cream:var(--lf-cream,#F7F6F2);
|
||||
--bt-muted:var(--lf-muted,#46556B);--bt-focus-x:64%;--bt-focus-y:43%;
|
||||
display:grid;grid-template-columns:minmax(0,1fr);align-items:start;
|
||||
gap:clamp(.9rem,2.65cqi,2rem);padding:clamp(1rem,2.8cqi,3.25rem);
|
||||
border-radius:clamp(1rem,1.8cqi,1.65rem);
|
||||
min-inline-size:0;max-inline-size:100%;
|
||||
background:var(--bt-cream);color:var(--bt-navy);
|
||||
font:400 1rem/1.6 var(--lf-font-ui,'Nunito Sans','Segoe UI',system-ui,sans-serif);
|
||||
overflow-wrap:break-word;
|
||||
}
|
||||
.lf-bt--clear{background:transparent}.lf-bt--navy{background:var(--bt-navy);color:#fff}
|
||||
.lf-bt__copy{min-inline-size:0;max-inline-size:49rem;align-self:center}
|
||||
.lf-bt__eyebrow{display:flex;align-items:center;gap:.6rem;margin:0 0 .8rem;
|
||||
color:#295B08;font-size:.73rem;line-height:1.45;font-weight:800;letter-spacing:.065em;text-transform:uppercase;overflow-wrap:anywhere}
|
||||
.lf-bt__eyebrow::before{content:'';inline-size:1.35rem;block-size:.25rem;flex:0 0 auto;background:var(--bt-yellow);border-radius:999px}
|
||||
.lf-bt--navy .lf-bt__eyebrow{color:#FFF2B0}
|
||||
.lf-bt__headline{font-size:clamp(1.55rem,4.5cqi,3.35rem);line-height:1.14;letter-spacing:-.03em;
|
||||
font-weight:850;margin:0;overflow-wrap:anywhere;text-wrap:balance}
|
||||
.lf-bt__accent{display:block;inline-size:clamp(4.6rem,12cqi,7rem);block-size:.36rem;
|
||||
margin:clamp(.55rem,1.7cqi,1rem) 0 clamp(.8rem,2.3cqi,1.25rem) .12rem;
|
||||
background:var(--bt-yellow);border-radius:90% 35% 75% 40%;transform:rotate(-1deg)}
|
||||
.lf-bt__body{color:var(--bt-muted);font-size:clamp(.97rem,1.45cqi,1.12rem);line-height:1.62;overflow-wrap:anywhere}
|
||||
.lf-bt__body>:first-child{margin-block-start:0}.lf-bt__body>:last-child{margin-block-end:0}
|
||||
.lf-bt__body p{margin:0 0 .9em}.lf-bt__body ul,.lf-bt__body ol{padding-inline-start:1.35em;margin:.6em 0}
|
||||
.lf-bt__body a{color:inherit;text-decoration:underline;text-underline-offset:.15em}
|
||||
.lf-bt--navy .lf-bt__body{color:#F0F4F9}
|
||||
.lf-bt__actions{display:flex;align-items:stretch;gap:.65rem;flex-wrap:wrap;
|
||||
margin-block-start:clamp(1rem,2cqi,1.5rem);min-inline-size:0}
|
||||
.lf-bt__button{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
|
||||
max-inline-size:100%;min-inline-size:0;min-block-size:2.95rem;padding:.7rem 1rem;
|
||||
background:var(--bt-green);border:2px solid var(--bt-green);color:#fff;
|
||||
border-radius:999px;text-decoration:none;text-align:center;font-size:.89rem;font-weight:800;
|
||||
line-height:1.33;overflow-wrap:anywhere;white-space:normal;transition:background-color .14s ease,transform .14s ease}
|
||||
.lf-bt__button:visited{color:#fff}.lf-bt__button:hover{background:#285A06;transform:translateY(-1px)}
|
||||
.lf-bt__button--secondary{background:transparent;border-color:currentColor;color:inherit}
|
||||
.lf-bt__button--secondary:visited{color:inherit}.lf-bt__button--secondary:hover{background:rgb(3 37 81 / .06)}
|
||||
.lf-bt--navy .lf-bt__button--secondary:hover{background:rgb(255 255 255 / .12)}
|
||||
.lf-bt__button:focus-visible,.lf-bt__body a:focus-visible{outline:3px solid var(--lf-focus,#1769AA);outline-offset:3px}
|
||||
.lf-bt__media{position:relative;display:block;min-inline-size:0;order:-1;isolation:isolate}
|
||||
.lf-bt__media::before{content:'';position:absolute;inset:auto -.42rem -.45rem 1rem;
|
||||
block-size:53%;border-radius:1.1rem;background:#8AB848;transform:rotate(1.5deg);z-index:-1}
|
||||
.lf-bt--navy .lf-bt__media::before{background:var(--bt-yellow)}
|
||||
.lf-bt__image{display:block;inline-size:100%;block-size:auto;aspect-ratio:16/10;
|
||||
object-fit:cover;object-position:var(--bt-focus-x) var(--bt-focus-y);
|
||||
border-radius:clamp(.78rem,1.8cqi,1.3rem);box-shadow:0 10px 28px rgb(3 37 81 / .11)}
|
||||
.lf-bt--height-compact .lf-bt__image{aspect-ratio:16/9}
|
||||
.lf-bt--height-spacious .lf-bt__image{aspect-ratio:4/3}
|
||||
.lf-bt--height-compact{gap:clamp(.75rem,2cqi,1.45rem)}
|
||||
.lf-bt--height-spacious{gap:clamp(1.15rem,3.4cqi,2.7rem)}
|
||||
.lf-bt--without-image{grid-template-columns:minmax(0,1fr)}
|
||||
/* Narrow slots: full text and links, no forced block height. */
|
||||
@container lf-bt (max-width: 539.99px){
|
||||
.lf-bt__actions{display:grid;grid-template-columns:minmax(0,1fr)}
|
||||
.lf-bt__button{inline-size:100%}
|
||||
.lf-bt__headline{font-size:clamp(1.42rem,6.8cqi,2.2rem)}
|
||||
.lf-bt__eyebrow{letter-spacing:.03em}
|
||||
}
|
||||
/* Mid-size real container (usually 2 CMS units): compact editorial picture band, not a squeezed 2-col.
|
||||
Only media proportions / spacings change; text is never clamped or hidden. */
|
||||
@container lf-bt (min-width: 540px) and (max-width: 899.99px){
|
||||
.lf-bt{gap:clamp(.8rem,1.6cqi,1.2rem);padding:clamp(1.1rem,2.4cqi,1.65rem)}
|
||||
.lf-bt__media{inline-size:100%}
|
||||
.lf-bt__image{aspect-ratio:2.15/1}
|
||||
.lf-bt--height-compact .lf-bt__image{aspect-ratio:2.5/1}
|
||||
.lf-bt--height-spacious .lf-bt__image{aspect-ratio:1.8/1}
|
||||
.lf-bt__headline{font-size:clamp(1.65rem,3.6cqi,2.28rem)}
|
||||
.lf-bt__body{font-size:1.01rem;line-height:1.59}
|
||||
.lf-bt__actions{margin-block-start:.95rem}
|
||||
.lf-bt__button{flex:1 1 13rem}
|
||||
}
|
||||
/* Wide container: original two-column premium editorial composition. */
|
||||
@container lf-bt (min-width: 900px){
|
||||
.lf-bt{grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);
|
||||
align-items:center;gap:clamp(1.8rem,4cqi,4.5rem);padding:clamp(1.8rem,4cqi,4.5rem)}
|
||||
.lf-bt__media{order:0;align-self:stretch}
|
||||
.lf-bt--image-left .lf-bt__media{order:-1}
|
||||
.lf-bt__image{block-size:100%;min-block-size:18rem;max-block-size:none;aspect-ratio:4/3}
|
||||
.lf-bt--height-compact .lf-bt__image{min-block-size:14rem;aspect-ratio:3/2}
|
||||
.lf-bt--height-spacious .lf-bt__image{min-block-size:24rem;aspect-ratio:1/1}
|
||||
.lf-bt--height-compact{padding-block:clamp(1.25rem,2.8cqi,2.6rem)}
|
||||
.lf-bt--height-spacious{padding-block:clamp(2.15rem,4.5cqi,4.75rem)}
|
||||
.lf-bt--without-image{grid-template-columns:minmax(0,1fr)}
|
||||
}
|
||||
@media(prefers-reduced-motion:reduce){.lf-bt__button{transition:none}.lf-bt__button:hover{transform:none}}
|
||||
|
||||
</style><style>
|
||||
:root{--lf-navy:#032551;--lf-green-deep:#3B7B09;--lf-yellow:#FCD10A;--lf-cream:#F7F6F2;--lf-muted:#46556B;--lf-font-ui:system-ui,sans-serif;--lf-font-display:system-ui,sans-serif}
|
||||
*,*::before,*::after{box-sizing:border-box}body{margin:0;background:#E9EDEB;color:#032551;font:15px/1.5 system-ui,sans-serif}header,main,footer{max-width:1500px;margin:auto}header{padding:28px 24px 8px}h1{margin:.2em 0;font-size:clamp(23px,3vw,34px)}.sub{margin:0;color:#46556B}.controls{background:white;padding:18px;margin:18px 0;border-radius:16px;display:flex;flex-wrap:wrap;gap:16px;align-items:end}.controls label{display:grid;gap:4px;font-weight:700;font-size:13px}.controls select{min-width:140px;padding:9px;border:1px solid #bac6c8;border-radius:8px;background:white;color:#032551;font:inherit}.frame{background:white;border-radius:18px;padding:15px}.demo-note{color:#4D5B66;font-size:12px;margin:9px 0 0}.stage{padding:0 24px 24px}.frame .lf-bt-host,.frame .lf-hero-host{margin:0 auto;max-width:100%}.section{background:#fff;border-radius:18px;padding:18px;margin:0 0 23px}.section > h2{margin:0 0 12px;font-size:20px}.badge{display:inline-block;background:#E6F0DA;color:#17370B;border-radius:10px;padding:3px 9px;font-size:12px;font-weight:800}.m-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:18px;align-items:start}.sample{min-width:0}.sample h3{font-size:13px;margin:0 0 7px}.sample .lf-bt-host,.sample .lf-hero-host{width:100%}code{font:12px ui-monospace,monospace}footer{padding:0 24px 32px;color:#52616A;font-size:13px}a:focus-visible,select:focus-visible{outline:3px solid #1769AA;outline-offset:2px}@media(max-width:520px){header{padding:17px 12px 3px}.stage{padding:0 12px 16px}.frame{padding:8px}.controls{padding:10px;gap:10px}.controls label{flex:1 1 140px}.controls select{min-width:0}}
|
||||
</style></head><body><header><h1>Premium-Widgets · adaptive Kompaktvarianten v1.6</h1><p class="sub">Originales Lara-&-Felix-Kling-Motiv, getrennte Texte/Buttons, CSS Container Queries. Keine Website-Screenshots.</p></header><main><div class="stage"><div class="controls"><label>Widget<select id="widget"><option value="bt">Bild & Text</option><option value="hero">Hero (3–4 Einheiten)</option></select></label><label>Tatsächliche Breite<select id="width"><option value="320">320 px · 1 Einheit</option><option value="390">390 px · mobil</option><option value="590" selected>590 px · 2 Einheiten</option><option value="790">790 px · mittlerer Slot</option><option value="930">930 px · breit</option><option value="1180">1180 px · breit</option></select></label><label>Höhe<select id="height"><option value="compact" selected>Kompakt</option><option value="normal">Normal</option><option value="large">Groß / großzügig</option></select></label><label>Oberfläche (Bild & Text)<select id="surface"><option value="cream">Creme</option><option value="clear">Transparent</option><option value="navy">Navy</option></select></label><label>Textprüfung<select id="stress"><option value="no">Normale Länge</option><option value="yes">Lange Überschrift + CTAs</option></select></label></div><div class="frame" id="frame"><div id="bt-wrapper"><div class="lf-bt-host" style="width:590px" id="bt-live"><article class="lf-bt lf-bt--cream lf-bt--image-right lf-bt--height-compact" style="--bt-focus-x:64%;--bt-focus-y:36%"><div class="lf-bt__copy"><p class="lf-bt__eyebrow">Lara & Felix · Unser Ansatz</p><h2 class="lf-bt__headline">Geschichten, die Kinder zum Mitdenken bringen.</h2><span class="lf-bt__accent" aria-hidden="true"></span><div class="lf-bt__body"><p>Alltagsszenen eröffnen Gespräche über persönliche Grenzen und sichere Entscheidungen. Trainerinnen und Trainer vertiefen die Themen mit passenden Übungen und Begleitmaterialien.</p></div><div class="lf-bt__actions"><a class="lf-bt__button" href="#konzept">Konzept kennenlernen</a><a class="lf-bt__button lf-bt__button--secondary" href="#themen">Themen ansehen</a></div></div><div class="lf-bt__media"><img class="lf-bt__image" src="data:image/webp;base64,UklGRsxyAwBXRUJQVlA4IMByAwDQmBOdASoACIQEPjkci0SiIaioozQKIRAHCWdsrHvdTtbDCbHJwdt81LyL/3eVmg55Deq7+YqRo8v2+naD7s7gfzVpv/03/I2V/Vf8Z+1fOj5R/Yv+R/hv8r5l/x//t/u/kteZ/3b/w/6D4Af5l/Rv93+wH7E/LV/d92v2r/Z+wL/VP8P/7f9F6Jv2n9Tf2m/7X+h+AD9f/TB/0vRE/S/95+zXwDfrh/0/X3/pf/P/g+lf7F/+X+59zf7O/+/CBdj/j1RMf/b++L3A+SfOiLJ/u8V/c//X9QHx0+r/5H/m+7j5Sf/H2IfzT1J/59/mv2i/2fxU9af+29Lv7weqp/6v27+C39V/7H7Rf635Dv51/kP+z2Yf+h/9fsa/1f/Wf/b/pe3p+7vxOf1X/vfuf7XH///7/uAf//29+f38M/+H/8/7/sd+N/63/z/43kf+ae9L/QelFp/7mdSzybzif8vi3+p/5noHY09/2Aj7Pf9//Qfvb/pvhr/e84/4H1BP2J/8PsL/8fFB/N/+z2Bv67/uP2693z/p//fnp/Z/+x7CX7K9ef0oxd+Y/ttfyEvKGVKv4U2o36cI4nAodSuSEv2iuirB3CIBT2uPWtxQcpmwR9e3Q8mFOOsvseBGtALTA/+cTYi2SfXuUmgU6/IF5nyy4BcJkvqueMtBezdu69TKpTyyPMRh0bjuvaZFsgD4CUd2OZjRHZf1EeBBl/krXzmQ0nV/EJmWCCU5T7c3qkRuAAm5nmiXohXQBq7Y94QgEBGnLmFAYVncQkvnl5SQleQ0pNbrU61WRpK8WxvQqP4JjzGSbfzF0cE8KfNAhjg/BgCCtovzucaH/iZD0Zb8zs6O0d+1UFe/bE4008jQ39P9ApkFBv7VhD94Oc+rxWcup805ZA59zDe51Fyl2Gm7AUXOXI2nGj2J9EG49iDO5OT38odk+sap3yy0cXZUoAHVGRO+7ESpGbHcda86XtrFlDQrL21o2AdbqoUiWB+i4r2yAvLRiAwHWeD+Al8A4eLKuZOrPdkeBdqun00oGEsKua6ZYRsezJ7d8sHrri9bLkjtZiP+E2QBBlNPI4jLPXhEIft5oN1MzEroMv/ANQ8NcmiA0UletfHq95p38gmChm1LGqJF1h+EkgIVSBakzKgAHXlMutko9q1Zk4dnkSaKr3FdYVlo04tji/zBa5PdSJee8dTcQrJ1DGWobt+VcCuXw7C7CsKeg981ECLLPc2GqKuK3B1monS4rCHz9AN0zU6OJ9+BpU20u2WQvptLTv2awhPpvMfObg6xrpVu2Pr+do1iuSgK/K5Dy28/SeHhEmnQSsJ4+sUMqKt+p5kLqfnCyzQuIxdsElLBpjcSSRDz0yl9FMCQ2rUkXAR7mPfUrXgbfgPeE1GoWLE805VKph6ex5dBcAdTbKZGqIxE+sxdMOWXR9Ym6cjS5u6LiWVf+8/AXkeH+hKcECXWsxIaDQh9pNnVhcX7X9KiTtUQpj9wRiMAHrLfxlpLRfG8eQ0PLkCAUbXoc893c/6KksS0yFpROUY23Ao2CCq49A5+g5draU4pY6DUK5XpvmbG1ZGiLR7bvjeYX+yYJOvEd7gmVbANJqcbjgkFNusUijVxfUUFdxV5kVYkVtS73WxMY5SS7QDkE2IaeDHi2SQxDJ4MKaL8rQqF2F19TfUGpUe8Vy5y3qAS21AxZJw9JEExGSnn5wlAX6U/627WOuMwrkscsww45kmUJ3RgACSq9YkvfQVaqeMspX2Ujnr+WYO1ePeM1NQHParcGsJ4litzEWcrjRVaO+f0rgp2WzmR9DlaASC00+BY1n8WnWt48gWWpGLMuMiAOwczhU4aaVvv8VoLQi/a/yiAhpxoAbe+BjB1zYvkVdGjv41s0Lme1qtiOlf8MkBjMYh5Ag7gg2jzxSzbrR4l3P524WyC5J1YOCFXxhUSdUUK86Ts46Mm3trBm+TvXBbJe53Q2bAAwNbcpJvyLUeB81Y5JFwIxY+uNW6lj4pzhBIjpIxA9osbQ0VcI3QeI5hgy0qxtHzpXSSogykV1ZXIxYevaafZx6nmDMIgJnYpXpDA/B58Cf6KS25Oes2nzD5UMyX/k2L8HT6J0DgChzRUGct+jMyqxG8K4zN5nnYRiXsoY671ilSYC3W/0Kdj/L+Rk+rqfCyCfWpEgO0HJIj/xXGDh+8eCbOun/k55qktn12NgKimiR7GNHwpigF3+/sgXvZ/EKtdv+yvhmOyqxlYYDpDYnkqt2LLTvKO1H2eq8NN7HtxhQLEC1/02IThK8JoZUEFUATmLlQ9zo+1czFZ2CI4eqOR4nfnZHb5z02hidSOMXvL2XZ8wWiflPpAvtdVWU9P5rBWOE3AzWuTS8xr3JGaK6WMZCxOnkLlf3l9kr9YaKt2bfAxhCphwnp85734HGi7LqEHAxhV82d2OEMrDx9oagIRSIMqY8qGoxMV54Pko5A+cvvR223AvpUNGDKRxTtPUp7ybpocSfp6TN/7Wtm/qPQeJ1AmDwLPr/fBrFjBoZnbH088h10q46sMcwyBNqp2Em9+A1yrRnHrrrX5NBG+ogXNqSUW80S2kKuexn8KnsedPhaCtqCobFjCLLfewBZxWNBcmfOjELnd5HDx9oCNL4ckiLrbatrbbybRAjETWzFXFbvUYnTeI2BvATWXZPvneeQgjJ2jNOLo4jP+QyTaezazyrQDHZV6GCVYshHif5yRKuqK/S8i5gUxF+WKdynVbKc1rrK0/O7Line truncated
|
||||
const bw=document.getElementById('bt-live'),hw=document.getElementById('hero-live');
|
||||
function update(){let widget=document.getElementById('widget').value,width=+document.getElementById('width').value,height=document.getElementById('height').value,surface=document.getElementById('surface').value,stress=document.getElementById('stress').value==='yes';
|
||||
bw.parentElement.style.display=widget==='bt'?'block':'none';hw.parentElement.style.display=widget==='hero'?'block':'none';
|
||||
bw.style.width=width+'px';hw.style.width=width+'px';
|
||||
let bc=bw.querySelector('.lf-bt');bc.className='lf-bt lf-bt--'+surface+' lf-bt--image-right lf-bt--height-'+(height==='large'?'spacious':height);
|
||||
let hc=hw.querySelector('.lf-hero');hc.className='lf-hero lf-hero--photo-split lf-hero--height-'+height;
|
||||
bw.querySelector('.lf-bt__headline').textContent=stress?'Gemeinsam alltagsnahe Handlungsmöglichkeiten mit Kindern erarbeiten – ohne jemanden zu überfordern':'Geschichten, die Kinder zum Mitdenken bringen.';
|
||||
hw.querySelector('.lf-hero__title').textContent=stress?'Selbstbehauptung und Prävention nachhaltig in den Kursalltag integrieren':'Kinder stark im Alltag';
|
||||
for(let c of [bw,hw]){let buttons=c.querySelectorAll('.lf-bt__button,.lf-hero__button');buttons[0].textContent=stress?'Das gesamte Trainingskonzept und die Materialien kennenlernen':'Konzept kennenlernen';buttons[1].textContent=stress?'Alle Programme, Module und Themenbereiche in der Übersicht ansehen':'Programme ansehen';}
|
||||
}
|
||||
document.querySelectorAll('select').forEach(el=>el.addEventListener('change',update));update();</script></body></html>
|
||||
@@ -0,0 +1,9 @@
|
||||
# v1.7.0-draft.1 – 18.11.2026
|
||||
|
||||
- Gemeinsame Premium-Kartenbasis mit drei Gestaltungssignaturen.
|
||||
- Eigenständiger Blade-Renderer und optionaler Zeilenraster-Wrapper.
|
||||
- Anpassung anhand der tatsächlichen Containerbreite; automatische Inhaltshöhe.
|
||||
- Optionale Gleichhöhe je Rasterzeile, Formate, Fokus und vollständige Bilddarstellung.
|
||||
- Offline-Vorschau mit konkreten Varianten und interaktiven Prüffällen.
|
||||
- Design-Konfiguration und Herkunftsnachweis vorhandener Assets.
|
||||
- Status: Entwurf zur visuellen Freigabe. Keine fachlichen Datenmodelle oder bestehenden Kit-Dateien geändert.
|
||||
@@ -0,0 +1,68 @@
|
||||
# Premium-Kartenfamilie v1.7 – Entwurf zur Freigabe
|
||||
|
||||
Datum: 18.11.2026. Grundlage: bestehendes Brand- & UI-Kit v1.6 und die Bedeutungswerte des aktuellen Repository-Stands.
|
||||
|
||||
**Alle drei Varianten sind zur visuellen Freigabe vorgeschlagen. Keine Variante ist verbindlich oder produktiv freigegeben.**
|
||||
|
||||
## Ansehen
|
||||
|
||||
`preview/index.html` im Browser öffnen. Die Vorschau arbeitet offline und enthält drei Varianten, ein Vierer-Raster (1 + 1 + 2 und 2 + 2), einen Breitenregler, optionale gleiche Zeilenhöhen, Bilddarstellung und Sonderfälle. Die Aktionen öffnen einen ausdrücklich als Vorschau gekennzeichneten Dialog; es werden keine fachlichen Zielseiten erfunden.
|
||||
|
||||
- **Themenkarte:** Foto und ruhige Textverlinkung mit gelbem Akzent.
|
||||
- **Medien-/Materialkarte:** Typ-Badge, geordnetes Metadatenband, grüne Aktion.
|
||||
- **Modul-/Programmkarte:** Navy-Tafel auch ohne Bild, eindeutiges Artlabel und Navy-Aktion. Originalfoto ist optional.
|
||||
|
||||
## Wiederverwenden
|
||||
|
||||
`components/lf-premium-card.css` in den bestehenden CSS-Build aufnehmen. Die beiden Blade-Dateien aus `laravel/resources/views/components/lf/` nach `resources/views/components/lf/` übernehmen, **erst nach Freigabe und gezielter Integrationsbeauftragung**. Die Vorschau selbst benötigt weder Build noch neue Pakete.
|
||||
|
||||
```blade
|
||||
<x-lf.premium-card-grid :equal-height="true">
|
||||
<x-lf.premium-card
|
||||
class="lf-pc-span-2"
|
||||
variant="editorial"
|
||||
title="Gefühle verstehen. Grenzen stärken."
|
||||
kind="Themenwelt"
|
||||
summary="Geschichten und Impulse für die gemeinsame Arbeit."
|
||||
:image="['src' => $resolvedPublicImageUrl, 'alt' => $imageAlt, 'focus_x' => 66, 'focus_y' => 45]"
|
||||
:action="['url' => $resolvedTopicUrl, 'label' => 'Thema entdecken']"
|
||||
/>
|
||||
<x-lf.premium-card
|
||||
class="lf-pc-span-2"
|
||||
variant="catalog"
|
||||
kind="Programm"
|
||||
:title="$program->title"
|
||||
:summary="$programSummary"
|
||||
:meta="$programDisplayMeta"
|
||||
:action="$authorizedProgramAction"
|
||||
:accent-src="asset('brand/yellow-underline.svg')"
|
||||
/>
|
||||
</x-lf.premium-card-grid>
|
||||
```
|
||||
|
||||
Die Beispielvariablen sind aufgelöste **Darstellungswerte**, kein neues Schema. Die Pfade/URLs und das Asset-Ziel sind vom aufrufenden Projekt bereitzustellen. Beim Einbau in das vorhandene CMS-Raster nur die Karte verwenden; keinen zweiten Vierer-Raster-Container in jeden Slot einsetzen. Dort bestimmt das vorhandene Abschnittsraster die Hostbreite und bei Bedarf die Zeilenhöhe. Die Hostklasse und der Kartennamensraum sind unabhängig von bestehenden `card-*`-/`catalog-card-*`-Klassen.
|
||||
|
||||
Die vollständigen Eingaben und Designparameter stehen in `docs/design-config.json`. Das CSS ist die einzige Komponenten-Stylesheet-Quelle; es wird nicht zusätzlich als auseinanderlaufende Kopie unter `laravel/` geführt.
|
||||
|
||||
## Breite, Höhe und Bilder
|
||||
|
||||
- Die tatsächliche Kartenbreite entscheidet: unter 520 px gestapelt, ab 520 px Bild/Tafel neben Text. Dies ist ein zur Abnahme vorgeschlagener Komponentenwert, keine neue CMS-Rasterentscheidung.
|
||||
- Technische Mindestbreite 240 px, empfohlen ab 280 px. Es gibt keine auswählbaren Designs für jede logische Spanbreite.
|
||||
- Inhalte wachsen vollständig. Gleiche Höhen sind auf Rasterebene optional und gelten je tatsächlicher Zeile. Ein langer Text verlängert bei Gleichhöhe seine Zeile, ohne andere Zeilen zu beeinflussen.
|
||||
- `format`: `landscape` (16:9), `square` (1:1), `portrait` (3:4). Bei `cover` darf der Bildausschnitt dem Layout folgen. `contain` zeigt das vollständige Motiv, auch im breiten Layout, ohne Verzerrung. Originaldateien werden nicht bearbeitet.
|
||||
- Ohne Bild, Beschreibung, Metadaten, Hinweis oder Aktion entfällt der jeweilige Bereich. Bei `catalog` bleibt ohne Foto eine vollständig typografische Art-Tafel.
|
||||
- Die Karte besitzt eine eigene helle Fläche und lesbare, lokal zugeordnete Bedeutungswerte; sie kann dadurch auch in dunklen Abschnitten stehen. Eine zusätzliche dunkle Kartenvariante ist nicht Teil dieser Fassung.
|
||||
|
||||
## Fachliche Grenze
|
||||
|
||||
Themen, Medien, Materialien, Module und Programme bleiben in ihren bestehenden Fachobjekten. Der Aufrufer liefert Texte, zulässige Bild-URLs und freigegebene Aktionen aus diesen Objekten. Ein gemeinsamer visueller Renderer vereint keine Datenmodelle, speichert keine Fachdaten und entscheidet keine Sichtbarkeit, Lizenz oder Medienberechtigung. Keine Änderungen an Registry, Migrationen, Filament oder laufenden Widgets.
|
||||
|
||||
Die Karte bietet bewusst nur einen expliziten Link: keine verschachtelten Links, keine gestreckte klickbare Fläche über beliebigen Zusatzinhalten. Metadaten sind keine neu eingeführten Felder an einem Fachobjekt. `kind` muss bei Katalogeinträgen die tatsächliche Art (Modul oder Programm) benennen. Im Beispiel sind Umfänge und Laufzeiten ausdrücklich erfundene Demonstrationswerte.
|
||||
|
||||
## Bestand und Freigabe
|
||||
|
||||
`assets/` enthält ausschließlich bytegleiche Kopien vorhandener Originalmotive, des vorhandenen Logos und der vorhandenen gelben Unterstreichung. `docs/asset-integrity.json` dokumentiert Quellen und SHA-256. Keine neuen Figuren, keine neue Markenidentität und keine Bildbearbeitung. Die vorhandenen Originale und Kit-Versionen werden nicht überschrieben.
|
||||
|
||||
Die Vorschau verwendet die bisherigen Farbwerte und Markenakzente. Historische Statusangaben in älteren Kit-Dokumenten werden damit weder überschrieben noch nachträglich zur Freigabe erklärt.
|
||||
|
||||
Zur Entscheidung stehen die drei Kartensignaturen, die Bild-/Text-Balance bei ein und zwei Einheiten sowie die optionale Gleichhöhe. Nach ausdrücklicher visueller Freigabe können die angenommenen Varianten im Kit als freigegeben dokumentiert werden. Integration in die Anwendung erfolgt separat.
|
||||
|
After Width: | Height: | Size: 1.2 MiB |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 280 28"><path d="M9 18 Q102 1 270 12" fill="none" stroke="#FCD10A" stroke-width="13" stroke-linecap="round"/></svg>
|
||||
|
After Width: | Height: | Size: 168 B |
@@ -0,0 +1,98 @@
|
||||
/* Lara & Felix · Premium-Karten v1.7 · ENTWURF ZUR FREIGABE.
|
||||
Eine Darstellungskomponente; keine fachlichen Entitäten oder Berechtigungen. */
|
||||
.lf-pc-host, .lf-pc-host *, .lf-pc-grid { box-sizing: border-box; }
|
||||
.lf-pc-host { container: lf-pc / inline-size; min-inline-size: 0; inline-size: 100%; display: flex; flex-direction: column; }
|
||||
.lf-pc {
|
||||
/* Die Karte besitzt ihre eigene helle Fläche, auch in dunklen Abschnitten. */
|
||||
--color-heading: var(--lf-navy, #032551);
|
||||
--color-text: var(--lf-ink, #15243a);
|
||||
--color-text-muted: var(--lf-ink-muted, #3e4c5c);
|
||||
--color-surface-raised: var(--lf-white, #fff);
|
||||
--color-surface-subtle: var(--lf-cream, #f7f6f2);
|
||||
--color-border: var(--lf-line, #d5ddd6);
|
||||
--color-action: var(--lf-green-deep, #3b7b09);
|
||||
--color-action-hover: #2f6407;
|
||||
--color-action-text: var(--lf-white, #fff);
|
||||
--color-focus: var(--lf-focus, #1769aa);
|
||||
--pc-heading: var(--color-heading, var(--lf-navy, #032551));
|
||||
--pc-text: var(--color-text, #15243a);
|
||||
--pc-muted: var(--color-text-muted, #3e4c5c);
|
||||
--pc-surface: var(--color-surface-raised, #fff);
|
||||
--pc-subtle: var(--color-surface-subtle, var(--lf-cream, #f7f6f2));
|
||||
--pc-border: var(--color-border, #d5ddd6);
|
||||
--pc-action: var(--color-action, var(--lf-green-deep, #3b7b09));
|
||||
--pc-action-text: var(--color-action-text, #fff);
|
||||
--pc-accent: var(--color-accent, var(--lf-yellow, #fcd10a));
|
||||
--pc-focus: var(--color-focus, #1769aa);
|
||||
--pc-ratio: 16 / 10;
|
||||
display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr;
|
||||
flex: 1; min-inline-size: 0; color: var(--pc-text); background: var(--pc-surface);
|
||||
border: 1px solid var(--pc-border); border-radius: var(--radius-panel, 22px);
|
||||
box-shadow: var(--shadow-raised, 0 10px 28px rgb(3 37 81 / 8%));
|
||||
font: 400 1rem/1.55 var(--font-reading, var(--lf-font-ui, 'Segoe UI', system-ui, sans-serif));
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
.lf-pc__visual { position: relative; min-inline-size: 0; align-self: start; margin: 10px 10px 0; }
|
||||
.lf-pc__image { display: block; inline-size: 100%; block-size: auto; aspect-ratio: var(--pc-ratio);
|
||||
object-fit: cover; object-position: var(--pc-focus-x, 66%) var(--pc-focus-y, 45%); border-radius: 14px; background: var(--pc-subtle); }
|
||||
.lf-pc--square { --pc-ratio: 1 / 1; }
|
||||
.lf-pc--portrait { --pc-ratio: 3 / 4; }
|
||||
.lf-pc--landscape { --pc-ratio: 16 / 9; }
|
||||
.lf-pc--contain .lf-pc__image { object-fit: contain; padding: 8px; }
|
||||
.lf-pc__badge { position: absolute; inset: 12px auto auto 12px; max-inline-size: calc(100% - 24px);
|
||||
padding: 5px 10px; border-radius: 999px; color: var(--lf-navy, #032551); background: var(--lf-white, #fff);
|
||||
font-size: .75rem; font-weight: 750; line-height: 1.45; }
|
||||
.lf-pc__body { display: flex; flex-direction: column; align-items: start; min-inline-size: 0;
|
||||
padding: clamp(20px, 4.5cqi, 32px); gap: 12px; }
|
||||
.lf-pc__kind { margin: 0; color: var(--pc-action); font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
|
||||
.lf-pc__title { margin: 0; color: var(--pc-heading); font: 800 clamp(1.35rem, 4.6cqi, 1.75rem)/1.18 var(--font-display, var(--lf-font-display, 'Trebuchet MS', sans-serif)); letter-spacing: -.025em; text-wrap: balance; }
|
||||
.lf-pc__summary { margin: 0; color: var(--pc-muted); }
|
||||
.lf-pc__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; list-style: none; padding: 0; margin: 0; color: var(--pc-muted); font-size: .875rem; }
|
||||
.lf-pc__meta li { min-inline-size: 0; }
|
||||
.lf-pc__footer { margin-block-start: auto; padding-block-start: 10px; inline-size: 100%; display: flex; flex-direction: column; gap: 12px; align-items: start; }
|
||||
.lf-pc__note { color: var(--pc-muted); font-size: .8125rem; margin: 0; }
|
||||
.lf-pc__cta { display: inline-flex; align-items: center; justify-content: center; min-block-size: 44px;
|
||||
max-inline-size: 100%; padding: 10px 18px; border: 1px solid transparent; border-radius: 999px;
|
||||
background: var(--pc-action); color: var(--pc-action-text); font-weight: 750; font-size: .9375rem; line-height: 1.4;
|
||||
text-decoration: none; text-align: center; white-space: normal; transition: background-color .15s ease; }
|
||||
.lf-pc__cta:visited { color: var(--pc-action-text); }
|
||||
.lf-pc__cta:hover { background: var(--color-action-hover, #2f6407); }
|
||||
.lf-pc__cta:focus-visible { outline: 3px solid var(--pc-focus); outline-offset: 4px; }
|
||||
/* Redaktionell: ruhige Textverlinkung und gelber Original-Markenakzent. */
|
||||
.lf-pc--editorial .lf-pc__cta { padding-inline: 0; background: transparent; color: var(--pc-heading); border-radius: 4px; text-align: start; text-decoration: underline; text-decoration-color: var(--pc-accent); text-decoration-thickness: 3px; text-underline-offset: 7px; }
|
||||
.lf-pc--editorial .lf-pc__cta:hover { text-decoration-color: currentColor; }
|
||||
/* Medien/Material: Metadatenband und konkrete, vom Aufrufer bestimmte Aktion. */
|
||||
.lf-pc--media .lf-pc__meta { padding-block: 10px; inline-size: 100%; border-block: 1px solid var(--pc-border); }
|
||||
/* Modul/Programm: Navy-Tafel mit vorhandenem Asset, auch ohne Foto vollständig. */
|
||||
.lf-pc__panel { display: flex; flex-direction: column; justify-content: space-between; gap: 20px; min-block-size: 140px;
|
||||
margin: 10px 10px 0; padding: 24px; border-radius: 14px; background: var(--lf-navy, #032551); color: var(--lf-white, #fff); }
|
||||
.lf-pc__panel-label { font: 800 1.6rem/1.15 var(--font-display, 'Trebuchet MS', sans-serif); }
|
||||
.lf-pc__panel-accent { inline-size: 72px; block-size: auto; }
|
||||
.lf-pc--catalog .lf-pc__kind { color: var(--pc-heading); }
|
||||
.lf-pc--catalog .lf-pc__cta { background: var(--pc-heading); color: var(--pc-surface); }
|
||||
.lf-pc--catalog .lf-pc__cta:hover { background: var(--lf-navy-deep, #01244c); }
|
||||
.lf-pc--without-visual { grid-template-rows: 1fr; }
|
||||
/* Alle Entscheidungen hängen an der einzelnen Karte, nie am Browser oder CMS-Span. */
|
||||
@container lf-pc (min-width: 520px) {
|
||||
.lf-pc:not(.lf-pc--without-visual) { grid-template-columns: minmax(0, .42fr) minmax(0, .58fr); grid-template-rows: 1fr; }
|
||||
.lf-pc__visual { margin: 10px 0 10px 10px; align-self: center; display: flex; }
|
||||
/* Das gewählte Format bleibt erhalten. Kein erzwungener Hochkant-Ausschnitt
|
||||
aus Originalmotiven, nur weil der zugehörige Text länger wird. */
|
||||
.lf-pc__image { block-size: auto; min-block-size: 0; aspect-ratio: var(--pc-ratio); }
|
||||
.lf-pc__panel { margin: 10px 0 10px 10px; min-block-size: 220px; }
|
||||
.lf-pc__body { padding: clamp(22px, 4cqi, 36px); }
|
||||
.lf-pc__title { font-size: clamp(1.45rem, 3.4cqi, 2rem); }
|
||||
/* Vollständige Dokumente/Poster behalten auch neben Text ihr gewähltes Format. */
|
||||
.lf-pc--contain .lf-pc__visual { align-items: center; background: var(--pc-subtle); border-radius: 14px; }
|
||||
.lf-pc--contain .lf-pc__image { block-size: auto; min-block-size: 0; aspect-ratio: var(--pc-ratio); }
|
||||
}
|
||||
.lf-pc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--grid-gap, 24px); align-items: start; padding: 0; margin: 0; list-style: none; }
|
||||
.lf-pc-grid > .lf-pc-host { grid-column: span var(--pc-span, 1); }
|
||||
.lf-pc-grid--equal { align-items: stretch; }
|
||||
.lf-pc-grid--equal > .lf-pc-host { block-size: 100%; }
|
||||
.lf-pc-span-1 { --pc-span: 1; }.lf-pc-span-2 { --pc-span: 2; }.lf-pc-span-3 { --pc-span: 3; }.lf-pc-span-4 { --pc-span: 4; }
|
||||
/* Nur die Vorschau-/Integrationsrasterspalten reagieren auf den verfügbaren Abschnitt. */
|
||||
.lf-pc-section { container: lf-pc-section / inline-size; }
|
||||
@container lf-pc-section (max-width: 959px) { .lf-pc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.lf-pc-grid > .lf-pc-span-3, .lf-pc-grid > .lf-pc-span-4 { grid-column: span 2; } }
|
||||
@container lf-pc-section (max-width: 559px) { .lf-pc-grid { grid-template-columns: minmax(0, 1fr); }.lf-pc-grid > .lf-pc-host { grid-column: 1; } }
|
||||
@media (prefers-reduced-motion: reduce) { .lf-pc__cta { transition: none; } }
|
||||
@@ -0,0 +1,19 @@
|
||||
# Design QA · v1.7-Kartenkandidat
|
||||
|
||||
final result: passed
|
||||
|
||||
Dies ist die interne Sichtprüfung des Entwurfs, keine gestalterische Freigabe durch Lars.
|
||||
|
||||
Referenz: vorhandenes v1.6-Kit (Navy, Grün, Gelb, Creme; helle Flächen, Rundungen, Originalmotive, Text-/Aktionshierarchie) und bestehende Komponenten/Bedeutungswerte im Repository. Die neue Kartenfamilie ist eine Weiterentwicklung, kein pixelgenauer Nachbau des Bild-&-Text-Widgets.
|
||||
|
||||
Geprüfte Browserbilder: `desktop-1440.png`, `drei-varianten-desktop.png`, `drei-varianten-mobil.png`, `editorial-590.png`, `raster-2-2.png` und `sonderfaelle.png` unter `preview/screenshots/`.
|
||||
|
||||
- Gemeinsame Flächen, Rundungen und Schrift-/Abstandshierarchie sind konsistent.
|
||||
- Die drei Varianten unterscheiden sich sichtbar durch Textaktion, Metadatenband und Navy-Tafel.
|
||||
- Parkmotiv und Denkpause verwenden die vorhandenen Originalassets. Der zunächst ungünstige schmale Bildzuschnitt bei breiten Karten wurde korrigiert; das Bildformat folgt jetzt der gewählten Konfiguration statt der Texthöhe.
|
||||
- Desktop- und Mobilbilder zeigen vollständige Titel, Texte und Aktionen. Bild- und Textbereiche bleiben technisch getrennt.
|
||||
- Gleiche Zeilenhöhe richtet Kartenenden und Aktionen aus. Natürliche Höhen, lange Texte und fehlende optionale Inhalte wurden zusätzlich technisch geprüft.
|
||||
- Dokumentmotive können vollständig eingepasst werden. Die sichtbaren freien Flächen bei abweichendem Bildformat sind beabsichtigt; das Original wird nicht verzerrt oder bearbeitet.
|
||||
- Sichtbarer Tastaturfokus und Mindesthöhe 44 px für Aktionen sind vorhanden.
|
||||
|
||||
Offener fachlicher Schritt: visuelle Abnahme der Kartenbasis und jeder der drei Varianten. Vorher keine Kennzeichnung als verbindlich.
|
||||
@@ -0,0 +1,12 @@
|
||||
# Gestalterische Freigabe
|
||||
|
||||
| Gegenstand | Status |
|
||||
|---|---|
|
||||
| Gemeinsame Kartenbasis | Zur visuellen Freigabe |
|
||||
| Redaktionelle Themenkarte | Zur visuellen Freigabe |
|
||||
| Medien- und Materialkarte | Zur visuellen Freigabe |
|
||||
| Modul- und Programmkarte | Zur visuellen Freigabe |
|
||||
| Container-Schwelle 520 px | Abnahmevorschlag |
|
||||
| Einbau in bestehende Widgets/Registry | Nicht Bestandteil dieses Entwurfs |
|
||||
|
||||
Keine Freigabe wird aus der Dateierstellung oder einer technischen Prüfung abgeleitet. Eine bestätigte Entscheidung wird hier mit Datum und Umfang nachgeführt; abgelehnte Entwürfe bleiben nachvollziehbar versioniert. Bisherige Kit-Versionen bleiben erhalten.
|
||||
@@ -0,0 +1,30 @@
|
||||
# Prüfung des v1.7-Kandidaten
|
||||
|
||||
Stand: 18.11.2026. Technische Prüfung bestanden; **gestalterische Freigabe weiterhin offen**.
|
||||
|
||||
## Durchgeführt
|
||||
|
||||
- **30 isolierte Blade-Prüfungen:** drei Varianten, optionale Bereiche, sichere Auszeichnung, ungekürzte lange Texte, Design-Defaults, Fokusbegrenzung, gültige/ungültige Ziele und optionaler Gleichhöhen-Wrapper. Ohne App-Boot, Datenbank oder Netzaufrufe. Einzelheiten: `qa-blade.json`.
|
||||
- **88 Chromium-Prüfungen:** alle drei Varianten bei 240, 280, 320, 390, 519, 520, 590, 768, 900 und 1180 px Containerbreite; Seitenbreiten 320/390/768/1440 px; Gleichhöhe und natürliche Höhen; lange ungetrennte Überschriften und Aktionen; drei Bildformate jeweils mit `cover`/`contain`; Dialogaktion und Escape; Tastaturfokus; Reflow bei 720 CSS-px. Kein gemessener horizontaler Inhaltsüberlauf und keine JavaScript-Fehler. Einzelheiten: `qa-browser.json`.
|
||||
- **16 echte Browserbilder** unter `preview/screenshots/`: Desktop, Mobil, drei Varianten, Vierer-Raster, Sonderfälle und einzelne Karten bei 280/590/900 px.
|
||||
- **Visuelle Sichtprüfung:** Übersicht, mobile Varianten, Raster 2 + 2 und Sonderfälle angesehen. Ein ungünstiger Hochkantzuschnitt des Parkmotivs im breiten Layout wurde behoben. Bildformate bleiben jetzt unabhängig von der Texthöhe erhalten.
|
||||
- **Asset-Herkunft:** fünf vorhandene Dateien beim ersten Lauf bytegleich aus dem Kit kopiert und per SHA-256 geprüft. Die Prüfsummen stehen in `asset-integrity.json`.
|
||||
|
||||
## Reproduzieren
|
||||
|
||||
Aus dem Repository-Stamm:
|
||||
|
||||
```text
|
||||
php docs/Brand-UI-Kit/13_premium_karten_v1.7_entwurf/tests/render.php
|
||||
python docs/Brand-UI-Kit/13_premium_karten_v1.7_entwurf/tests/browser.py
|
||||
```
|
||||
|
||||
Die Blade-Prüfung verwendet die vorhandenen Composer-Abhängigkeiten. Für die Browserprüfung wird eine bereits lokal installierte Playwright-/Chromium-Umgebung benötigt. Keine Pakete wurden für dieses Kit installiert. Der Browserlauf liest lokale Dateien ohne Webserver und aktualisiert nur die Bilder/Prüfprotokolle dieses Entwurfs.
|
||||
|
||||
## Grenzen
|
||||
|
||||
- Keine behauptete Integration in die laufende Anwendung. Keine bestehende Widget-, Datenbank-, Filament- oder Berechtigungslogik geändert oder getestet.
|
||||
- Browserprüfung mit lokalem Chromium; keine zusätzliche Safari-/Firefox-Prüfung. Keine vollständige Barrierefreiheitszertifizierung.
|
||||
- Die Systemschriften der Offline-Vorschau ersetzen keine visuelle Endprüfung mit den endgültigen Projektschriften.
|
||||
- Die 200%-Prüfung erfolgt als äquivalenter Reflow bei halbierter CSS-Breite, nicht als nativer Zoom-Test.
|
||||
- Der Repository-Stand änderte sich während der Arbeit außerhalb dieser Bearbeitung; zuvor vorhandene unversionierte Kit-Quellordner waren anschließend entfernt. Die bereits geprüften Originalkopien wurden bewahrt. Es wurde keine Wiederherstellung oder Überschreibung der ursprünglichen Quellordner vorgenommen.
|
||||
@@ -0,0 +1,37 @@
|
||||
[
|
||||
{
|
||||
"file": "assets/park-original.png",
|
||||
"source": "09_hero_widget/assets/lara-felix-park-original.png",
|
||||
"sha256": "dbcb393be9904592c2d8b206b66840c69f42f499be78238869123822892a2f54",
|
||||
"unchanged": true,
|
||||
"source_note": "Beim ersten Lauf bytegleich aus dem Repository kopiert. Ursprungsordner wurde parallel außerhalb dieser Arbeit entfernt."
|
||||
},
|
||||
{
|
||||
"file": "assets/denkpause-original.png",
|
||||
"source": "01_originale/denkpause_original.png",
|
||||
"sha256": "d364b1bea183ce0e7383bea2950a2cdbb0e6a0b89a94e302e7812ac19f7b1c5d",
|
||||
"unchanged": true,
|
||||
"source_note": "Beim ersten Lauf bytegleich aus dem Repository kopiert. Ursprungsordner wurde parallel außerhalb dieser Arbeit entfernt."
|
||||
},
|
||||
{
|
||||
"file": "assets/titel-original.png",
|
||||
"source": "01_originale/titel_original.png",
|
||||
"sha256": "a6b3131d12fa16802e5097f6101d161d555e6ee2da61add2e6498dc649909e0e",
|
||||
"unchanged": true,
|
||||
"source_note": "Beim ersten Lauf bytegleich aus dem Repository kopiert. Ursprungsordner wurde parallel außerhalb dieser Arbeit entfernt."
|
||||
},
|
||||
{
|
||||
"file": "assets/yellow-underline.svg",
|
||||
"source": "03_svg_entwuerfe/yellow-underline.svg",
|
||||
"sha256": "3c3846ab1994a965d3bfee6b7377c19bcf5da343f8f3589b26de90ee7f357e52",
|
||||
"unchanged": true,
|
||||
"source_note": "Beim ersten Lauf bytegleich aus dem Repository kopiert. Ursprungsordner wurde parallel außerhalb dieser Arbeit entfernt."
|
||||
},
|
||||
{
|
||||
"file": "assets/logo-standard.png",
|
||||
"source": "08_freigegebene_logovarianten/logo_lara_felix_standard.png",
|
||||
"sha256": "323ad690e6bd5d9e534bfbc8c239fbd9b8dedf0f95084c4d92530d257f7355d7",
|
||||
"unchanged": true,
|
||||
"source_note": "Beim ersten Lauf bytegleich aus dem Repository kopiert. Ursprungsordner wurde parallel außerhalb dieser Arbeit entfernt."
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,55 @@
|
||||
{
|
||||
"kit_version": "1.7.0-draft.1",
|
||||
"status": "Entwurf zur visuellen Freigabe",
|
||||
"approval": { "editorial": "pending", "media": "pending", "catalog": "pending" },
|
||||
"component": "lf.premium-card",
|
||||
"responsibility": "Nur Präsentation; kein fachliches Datenmodell, keine neue Widget-Familie in der Registry",
|
||||
"variants": {
|
||||
"editorial": { "label": "Redaktionelle Themenkarte", "signature": "Foto, Themenlabel, ruhige Textaktion mit gelber Unterstreichung" },
|
||||
"media": { "label": "Medien- und Materialkarte", "signature": "Optionales Typ-Badge, Metadatenband, grüner Handlungsbereich" },
|
||||
"catalog": { "label": "Modul- und Programmkarte", "signature": "Navy-Tafel ohne Bild, optional Originalfoto, Navy-Aktion; Art explizit benennen" }
|
||||
},
|
||||
"layout": {
|
||||
"supported_logical_spans": [1, 2, 3, 4],
|
||||
"technical_min_width_px": 240,
|
||||
"recommended_min_width_px": 280,
|
||||
"basis": "Tatsächliche inline-size des einzelnen Kartenhosts",
|
||||
"stacked_below_px": 520,
|
||||
"side_by_side_from_px": 520,
|
||||
"side_by_side_ratio": [42, 58],
|
||||
"section_grid": "Maximal vier Spalten; Beispielraster unter 960 px zwei, unter 560 px eine. Im CMS entscheidet das bestehende Abschnittsraster.",
|
||||
"height": "Automatisch, keine feste Höhe, kein line-clamp",
|
||||
"equal_height": "Optional auf Rasterebene, je tatsächlicher Zeile. Alle Karten wachsen bis zur höchsten Karte; Footer am unteren Rand. Keine globale Gleichhöhe über mehrere Zeilen.",
|
||||
"no_image": "Thema/Medium ohne reservierten Bildbereich; Modul/Programm mit typografischer Navy-Tafel",
|
||||
"missing_optional_content": "Label, Kurztext, Metadaten, Hinweis und Aktion entfallen ohne Leerzeilen. Keine Aktion ohne gültiges Ziel und Label. Titel erforderlich."
|
||||
},
|
||||
"design_props": {
|
||||
"variant": ["editorial", "media", "catalog"],
|
||||
"format": ["landscape", "square", "portrait"],
|
||||
"fit": ["cover", "contain"],
|
||||
"headingLevel": ["h2", "h3", "h4"],
|
||||
"image.focus_x": "0..100, Standard 66",
|
||||
"image.focus_y": "0..100, Standard 45",
|
||||
"equalHeight": "Boolean am Raster, Standard false"
|
||||
},
|
||||
"presentation_inputs": {
|
||||
"title": "Pflicht, reiner Text aus maßgeblichem Fachobjekt",
|
||||
"kind": "Optionales Klartextlabel; Modul und Programm bleiben unterscheidbar",
|
||||
"summary": "Optionaler reiner Text, kein ungeprüftes HTML",
|
||||
"meta": "Optionale Liste reiner Anzeigetexte, leere Einträge werden entfernt",
|
||||
"note": "Optionaler erklärender Text; keine aus der Darstellung abgeleitete Berechtigung",
|
||||
"image": "Optional: bereits aufgelöstes src, alt, width, height, focus_x, focus_y, badge",
|
||||
"action": "Optional: bereits autorisiertes url und label. Kein automatischer Download/Player aus der Variante.",
|
||||
"accentSrc": "Optionaler öffentlicher Pfad zum vorhandenen gelben Unterstreichungs-Asset"
|
||||
},
|
||||
"tokens": {
|
||||
"source": "Bestehende Markenwerte und Bedeutungswerte aus resources/css/tokens.css und Kit 02_design_tokens",
|
||||
"navy": "#032551",
|
||||
"green_action": "#3B7B09",
|
||||
"yellow_accent": "#FCD10A",
|
||||
"cream": "#F7F6F2",
|
||||
"panel_radius_px": 22,
|
||||
"image_radius_px": 14,
|
||||
"font_policy": "Vorhandene --font-display / --font-reading verwenden; Offline-Vorschau mit System-Fallback, keine neuen Fonts oder Netzaufrufe"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
[
|
||||
{
|
||||
"variant": "editorial",
|
||||
"kind": "Themenwelt",
|
||||
"title": "Gefühle verstehen. Grenzen stärken.",
|
||||
"summary": "Geschichten und Impulse, die Kinder ins Gespräch bringen – und Trainerinnen und Trainer im Alltag begleiten.",
|
||||
"meta": [
|
||||
"Wissen & Praxis"
|
||||
],
|
||||
"image": "park-original.png",
|
||||
"alt": "Lara und Felix stehen nebeneinander im Park.",
|
||||
"action": "Thema entdecken"
|
||||
},
|
||||
{
|
||||
"variant": "media",
|
||||
"kind": "Film & Begleitmaterial",
|
||||
"title": "Eine Pause, die stark macht.",
|
||||
"summary": "Gemeinsam innehalten, die Situation betrachten und über gute nächste Schritte sprechen.",
|
||||
"meta": [
|
||||
"Film · 3 Min.",
|
||||
"Begleitmaterial · PDF"
|
||||
],
|
||||
"image": "denkpause-original.png",
|
||||
"alt": "Originalmotiv aus dem Film: Denkpause.",
|
||||
"badge": "Film",
|
||||
"action": "Material ansehen",
|
||||
"note": "Für die nächste Kursstunde."
|
||||
},
|
||||
{
|
||||
"variant": "catalog",
|
||||
"kind": "Programm",
|
||||
"title": "Schritt für Schritt zu mehr Selbstvertrauen.",
|
||||
"summary": "Ein roter Faden für die Kursgestaltung. Zusammenhängende Themen geben Orientierung für die gemeinsame Arbeit.",
|
||||
"meta": [
|
||||
"4 Module",
|
||||
"Für die Kursplanung"
|
||||
],
|
||||
"action": "Programm kennenlernen"
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,125 @@
|
||||
{
|
||||
"status": "passed",
|
||||
"checks": [
|
||||
{
|
||||
"check": "Variante editorial",
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"check": "Keine leere Aktion: editorial",
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"check": "Keine leeren Metadaten: editorial",
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"check": "Ohne Bild: editorial",
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"check": "Variante media",
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"check": "Keine leere Aktion: media",
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"check": "Keine leeren Metadaten: media",
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"check": "Ohne Bild: media",
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"check": "Variante catalog",
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"check": "Keine leere Aktion: catalog",
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"check": "Keine leeren Metadaten: catalog",
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"check": "Ohne Bild: catalog",
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"check": "Titel escaped",
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"check": "Beschreibung escaped",
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"check": "Bild-Alt escaped",
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"check": "Unsicheres Ziel verworfen: \"javascript:alert(1)\"",
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"check": "Unsicheres Ziel verworfen: \"data:text\\/html,test\"",
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"check": "Unsicheres Ziel verworfen: \"\\/\\/evil.example\\/path\"",
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"check": "Unsicheres Ziel verworfen: \"\\/\\\\evil.example\"",
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"check": "Unsicheres Ziel verworfen: \"\\/safe\\nunsafe\"",
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"check": "Unsicheres Ziel verworfen: \"https:\\/\\/example.com\\/has space\"",
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"check": "Zulässiges Ziel: /themen/test",
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"check": "Zulässiges Ziel: #abschnitt",
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"check": "Zulässiges Ziel: https://example.com/path?ok=1",
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"check": "Zulässiges Ziel: http://example.com/path",
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"check": "Leere/ungültige Metadaten entfernt",
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"check": "Designwerte auf sichere Defaults begrenzt",
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"check": "Bildfokus begrenzt",
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"check": "Lange Titel, Texte und Aktionen ungekürzt",
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"check": "Optionaler Gleichhöhen-Wrapper",
|
||||
"passed": true
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,673 @@
|
||||
{
|
||||
"status": "passed",
|
||||
"checks": [
|
||||
{
|
||||
"check": "Drei konkrete Varianten",
|
||||
"passed": true,
|
||||
"detail": null
|
||||
},
|
||||
{
|
||||
"check": "Alle Originalassets geladen",
|
||||
"passed": true,
|
||||
"detail": null
|
||||
},
|
||||
{
|
||||
"check": "Optionale Gleichhöhe je Rasterzeile",
|
||||
"passed": true,
|
||||
"detail": [
|
||||
517.75,
|
||||
517.75,
|
||||
517.75
|
||||
]
|
||||
},
|
||||
{
|
||||
"check": "Natürliche unterschiedliche Inhaltshöhen",
|
||||
"passed": true,
|
||||
"detail": [
|
||||
488.40625,
|
||||
517.75,
|
||||
319.796875
|
||||
]
|
||||
},
|
||||
{
|
||||
"check": "Kartenaktion öffnet Vorschau-Dialog",
|
||||
"passed": true,
|
||||
"detail": null
|
||||
},
|
||||
{
|
||||
"check": "Dialog per Escape schließbar",
|
||||
"passed": true,
|
||||
"detail": null
|
||||
},
|
||||
{
|
||||
"check": "Kein Seitenüberlauf 320px",
|
||||
"passed": true,
|
||||
"detail": null
|
||||
},
|
||||
{
|
||||
"check": "Kein Seitenüberlauf 390px",
|
||||
"passed": true,
|
||||
"detail": null
|
||||
},
|
||||
{
|
||||
"check": "Kein Seitenüberlauf 768px",
|
||||
"passed": true,
|
||||
"detail": null
|
||||
},
|
||||
{
|
||||
"check": "Kein Seitenüberlauf 1440px",
|
||||
"passed": true,
|
||||
"detail": null
|
||||
},
|
||||
{
|
||||
"check": "editorial: vollständige Inhalte bei 240px",
|
||||
"passed": true,
|
||||
"detail": {
|
||||
"width": 240,
|
||||
"height": 491.828125,
|
||||
"horizontal": false,
|
||||
"overflow": [],
|
||||
"clipped": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"check": "editorial: Containeranordnung bei 240px",
|
||||
"passed": true,
|
||||
"detail": null
|
||||
},
|
||||
{
|
||||
"check": "editorial: vollständige Inhalte bei 280px",
|
||||
"passed": true,
|
||||
"detail": {
|
||||
"width": 280,
|
||||
"height": 489.53125,
|
||||
"horizontal": false,
|
||||
"overflow": [],
|
||||
"clipped": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"check": "editorial: Containeranordnung bei 280px",
|
||||
"passed": true,
|
||||
"detail": null
|
||||
},
|
||||
{
|
||||
"check": "editorial: vollständige Inhalte bei 320px",
|
||||
"passed": true,
|
||||
"detail": {
|
||||
"width": 320,
|
||||
"height": 512.03125,
|
||||
"horizontal": false,
|
||||
"overflow": [],
|
||||
"clipped": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"check": "editorial: Containeranordnung bei 320px",
|
||||
"passed": true,
|
||||
"detail": null
|
||||
},
|
||||
{
|
||||
"check": "editorial: vollständige Inhalte bei 390px",
|
||||
"passed": true,
|
||||
"detail": {
|
||||
"width": 390,
|
||||
"height": 526.609375,
|
||||
"horizontal": false,
|
||||
"overflow": [],
|
||||
"clipped": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"check": "editorial: Containeranordnung bei 390px",
|
||||
"passed": true,
|
||||
"detail": null
|
||||
},
|
||||
{
|
||||
"check": "editorial: vollständige Inhalte bei 519px",
|
||||
"passed": true,
|
||||
"detail": {
|
||||
"width": 519,
|
||||
"height": 558.296875,
|
||||
"horizontal": false,
|
||||
"overflow": [],
|
||||
"clipped": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"check": "editorial: Containeranordnung bei 519px",
|
||||
"passed": true,
|
||||
"detail": null
|
||||
},
|
||||
{
|
||||
"check": "editorial: vollständige Inhalte bei 520px",
|
||||
"passed": true,
|
||||
"detail": {
|
||||
"width": 520,
|
||||
"height": 342.21875,
|
||||
"horizontal": true,
|
||||
"overflow": [],
|
||||
"clipped": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"check": "editorial: Containeranordnung bei 520px",
|
||||
"passed": true,
|
||||
"detail": null
|
||||
},
|
||||
{
|
||||
"check": "editorial: vollständige Inhalte bei 590px",
|
||||
"passed": true,
|
||||
"detail": {
|
||||
"width": 590,
|
||||
"height": 320.609375,
|
||||
"horizontal": true,
|
||||
"overflow": [],
|
||||
"clipped": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"check": "editorial: Containeranordnung bei 590px",
|
||||
"passed": true,
|
||||
"detail": null
|
||||
},
|
||||
{
|
||||
"check": "editorial: vollständige Inhalte bei 768px",
|
||||
"passed": true,
|
||||
"detail": {
|
||||
"width": 768,
|
||||
"height": 341.703125,
|
||||
"horizontal": true,
|
||||
"overflow": [],
|
||||
"clipped": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"check": "editorial: Containeranordnung bei 768px",
|
||||
"passed": true,
|
||||
"detail": null
|
||||
},
|
||||
{
|
||||
"check": "editorial: vollständige Inhalte bei 900px",
|
||||
"passed": true,
|
||||
"detail": {
|
||||
"width": 900,
|
||||
"height": 338.0625,
|
||||
"horizontal": true,
|
||||
"overflow": [],
|
||||
"clipped": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"check": "editorial: Containeranordnung bei 900px",
|
||||
"passed": true,
|
||||
"detail": null
|
||||
},
|
||||
{
|
||||
"check": "editorial: vollständige Inhalte bei 1180px",
|
||||
"passed": true,
|
||||
"detail": {
|
||||
"width": 1180,
|
||||
"height": 303.625,
|
||||
"horizontal": true,
|
||||
"overflow": [],
|
||||
"clipped": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"check": "editorial: Containeranordnung bei 1180px",
|
||||
"passed": true,
|
||||
"detail": null
|
||||
},
|
||||
{
|
||||
"check": "editorial: ungetrennte lange Inhalte bei 240px",
|
||||
"passed": true,
|
||||
"detail": []
|
||||
},
|
||||
{
|
||||
"check": "media: vollständige Inhalte bei 240px",
|
||||
"passed": true,
|
||||
"detail": {
|
||||
"width": 240,
|
||||
"height": 548.859375,
|
||||
"horizontal": false,
|
||||
"overflow": [],
|
||||
"clipped": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"check": "media: Containeranordnung bei 240px",
|
||||
"passed": true,
|
||||
"detail": null
|
||||
},
|
||||
{
|
||||
"check": "media: vollständige Inhalte bei 280px",
|
||||
"passed": true,
|
||||
"detail": {
|
||||
"width": 280,
|
||||
"height": 518.875,
|
||||
"horizontal": false,
|
||||
"overflow": [],
|
||||
"clipped": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"check": "media: Containeranordnung bei 280px",
|
||||
"passed": true,
|
||||
"detail": null
|
||||
},
|
||||
{
|
||||
"check": "media: vollständige Inhalte bei 320px",
|
||||
"passed": true,
|
||||
"detail": {
|
||||
"width": 320,
|
||||
"height": 515.90625,
|
||||
"horizontal": false,
|
||||
"overflow": [],
|
||||
"clipped": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"check": "media: Containeranordnung bei 320px",
|
||||
"passed": true,
|
||||
"detail": null
|
||||
},
|
||||
{
|
||||
"check": "media: vollständige Inhalte bei 390px",
|
||||
"passed": true,
|
||||
"detail": {
|
||||
"width": 390,
|
||||
"height": 530.484375,
|
||||
"horizontal": false,
|
||||
"overflow": [],
|
||||
"clipped": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"check": "media: Containeranordnung bei 390px",
|
||||
"passed": true,
|
||||
"detail": null
|
||||
},
|
||||
{
|
||||
"check": "media: vollständige Inhalte bei 519px",
|
||||
"passed": true,
|
||||
"detail": {
|
||||
"width": 519,
|
||||
"height": 612.4375,
|
||||
"horizontal": false,
|
||||
"overflow": [],
|
||||
"clipped": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"check": "media: Containeranordnung bei 519px",
|
||||
"passed": true,
|
||||
"detail": null
|
||||
},
|
||||
{
|
||||
"check": "media: vollständige Inhalte bei 520px",
|
||||
"passed": true,
|
||||
"detail": {
|
||||
"width": 520,
|
||||
"height": 371.5625,
|
||||
"horizontal": true,
|
||||
"overflow": [],
|
||||
"clipped": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"check": "media: Containeranordnung bei 520px",
|
||||
"passed": true,
|
||||
"detail": null
|
||||
},
|
||||
{
|
||||
"check": "media: vollständige Inhalte bei 590px",
|
||||
"passed": true,
|
||||
"detail": {
|
||||
"width": 590,
|
||||
"height": 347.375,
|
||||
"horizontal": true,
|
||||
"overflow": [],
|
||||
"clipped": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"check": "media: Containeranordnung bei 590px",
|
||||
"passed": true,
|
||||
"detail": null
|
||||
},
|
||||
{
|
||||
"check": "media: vollständige Inhalte bei 768px",
|
||||
"passed": true,
|
||||
"detail": {
|
||||
"width": 768,
|
||||
"height": 340.25,
|
||||
"horizontal": true,
|
||||
"overflow": [],
|
||||
"clipped": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"check": "media: Containeranordnung bei 768px",
|
||||
"passed": true,
|
||||
"detail": null
|
||||
},
|
||||
{
|
||||
"check": "media: vollständige Inhalte bei 900px",
|
||||
"passed": true,
|
||||
"detail": {
|
||||
"width": 900,
|
||||
"height": 356.109375,
|
||||
"horizontal": true,
|
||||
"overflow": [],
|
||||
"clipped": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"check": "media: Containeranordnung bei 900px",
|
||||
"passed": true,
|
||||
"detail": null
|
||||
},
|
||||
{
|
||||
"check": "media: vollständige Inhalte bei 1180px",
|
||||
"passed": true,
|
||||
"detail": {
|
||||
"width": 1180,
|
||||
"height": 357.765625,
|
||||
"horizontal": true,
|
||||
"overflow": [],
|
||||
"clipped": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"check": "media: Containeranordnung bei 1180px",
|
||||
"passed": true,
|
||||
"detail": null
|
||||
},
|
||||
{
|
||||
"check": "media: ungetrennte lange Inhalte bei 240px",
|
||||
"passed": true,
|
||||
"detail": []
|
||||
},
|
||||
{
|
||||
"check": "catalog: vollständige Inhalte bei 240px",
|
||||
"passed": true,
|
||||
"detail": {
|
||||
"width": 240,
|
||||
"height": 579.46875,
|
||||
"horizontal": false,
|
||||
"overflow": [],
|
||||
"clipped": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"check": "catalog: Containeranordnung bei 240px",
|
||||
"passed": true,
|
||||
"detail": null
|
||||
},
|
||||
{
|
||||
"check": "catalog: vollständige Inhalte bei 280px",
|
||||
"passed": true,
|
||||
"detail": {
|
||||
"width": 280,
|
||||
"height": 509.203125,
|
||||
"horizontal": false,
|
||||
"overflow": [],
|
||||
"clipped": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"check": "catalog: Containeranordnung bei 280px",
|
||||
"passed": true,
|
||||
"detail": null
|
||||
},
|
||||
{
|
||||
"check": "catalog: vollständige Inhalte bei 320px",
|
||||
"passed": true,
|
||||
"detail": {
|
||||
"width": 320,
|
||||
"height": 484.40625,
|
||||
"horizontal": false,
|
||||
"overflow": [],
|
||||
"clipped": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"check": "catalog: Containeranordnung bei 320px",
|
||||
"passed": true,
|
||||
"detail": null
|
||||
},
|
||||
{
|
||||
"check": "catalog: vollständige Inhalte bei 390px",
|
||||
"passed": true,
|
||||
"detail": {
|
||||
"width": 390,
|
||||
"height": 459.609375,
|
||||
"horizontal": false,
|
||||
"overflow": [],
|
||||
"clipped": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"check": "catalog: Containeranordnung bei 390px",
|
||||
"passed": true,
|
||||
"detail": null
|
||||
},
|
||||
{
|
||||
"check": "catalog: vollständige Inhalte bei 519px",
|
||||
"passed": true,
|
||||
"detail": {
|
||||
"width": 519,
|
||||
"height": 418.734375,
|
||||
"horizontal": false,
|
||||
"overflow": [],
|
||||
"clipped": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"check": "catalog: Containeranordnung bei 519px",
|
||||
"passed": true,
|
||||
"detail": null
|
||||
},
|
||||
{
|
||||
"check": "catalog: vollständige Inhalte bei 520px",
|
||||
"passed": true,
|
||||
"detail": {
|
||||
"width": 520,
|
||||
"height": 367.015625,
|
||||
"horizontal": true,
|
||||
"overflow": [],
|
||||
"clipped": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"check": "catalog: Containeranordnung bei 520px",
|
||||
"passed": true,
|
||||
"detail": null
|
||||
},
|
||||
{
|
||||
"check": "catalog: vollständige Inhalte bei 590px",
|
||||
"passed": true,
|
||||
"detail": {
|
||||
"width": 590,
|
||||
"height": 320.609375,
|
||||
"horizontal": true,
|
||||
"overflow": [],
|
||||
"clipped": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"check": "catalog: Containeranordnung bei 590px",
|
||||
"passed": true,
|
||||
"detail": null
|
||||
},
|
||||
{
|
||||
"check": "catalog: vollständige Inhalte bei 768px",
|
||||
"passed": true,
|
||||
"detail": {
|
||||
"width": 768,
|
||||
"height": 341.703125,
|
||||
"horizontal": true,
|
||||
"overflow": [],
|
||||
"clipped": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"check": "catalog: Containeranordnung bei 768px",
|
||||
"passed": true,
|
||||
"detail": null
|
||||
},
|
||||
{
|
||||
"check": "catalog: vollständige Inhalte bei 900px",
|
||||
"passed": true,
|
||||
"detail": {
|
||||
"width": 900,
|
||||
"height": 338.0625,
|
||||
"horizontal": true,
|
||||
"overflow": [],
|
||||
"clipped": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"check": "catalog: Containeranordnung bei 900px",
|
||||
"passed": true,
|
||||
"detail": null
|
||||
},
|
||||
{
|
||||
"check": "catalog: vollständige Inhalte bei 1180px",
|
||||
"passed": true,
|
||||
"detail": {
|
||||
"width": 1180,
|
||||
"height": 341.375,
|
||||
"horizontal": true,
|
||||
"overflow": [],
|
||||
"clipped": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"check": "catalog: Containeranordnung bei 1180px",
|
||||
"passed": true,
|
||||
"detail": null
|
||||
},
|
||||
{
|
||||
"check": "catalog: ungetrennte lange Inhalte bei 240px",
|
||||
"passed": true,
|
||||
"detail": []
|
||||
},
|
||||
{
|
||||
"check": "Bildformat portrait, contain, 280px",
|
||||
"passed": true,
|
||||
"detail": {
|
||||
"fit": "contain",
|
||||
"overflow": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"check": "Bildformat square, contain, 280px",
|
||||
"passed": true,
|
||||
"detail": {
|
||||
"fit": "contain",
|
||||
"overflow": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"check": "Bildformat landscape, contain, 280px",
|
||||
"passed": true,
|
||||
"detail": {
|
||||
"fit": "contain",
|
||||
"overflow": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"check": "Bildformat portrait, cover, 280px",
|
||||
"passed": true,
|
||||
"detail": {
|
||||
"fit": "cover",
|
||||
"overflow": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"check": "Bildformat square, cover, 280px",
|
||||
"passed": true,
|
||||
"detail": {
|
||||
"fit": "cover",
|
||||
"overflow": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"check": "Bildformat landscape, cover, 280px",
|
||||
"passed": true,
|
||||
"detail": {
|
||||
"fit": "cover",
|
||||
"overflow": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"check": "Bildformat portrait, contain, 590px",
|
||||
"passed": true,
|
||||
"detail": {
|
||||
"fit": "contain",
|
||||
"overflow": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"check": "Bildformat square, contain, 590px",
|
||||
"passed": true,
|
||||
"detail": {
|
||||
"fit": "contain",
|
||||
"overflow": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"check": "Bildformat landscape, contain, 590px",
|
||||
"passed": true,
|
||||
"detail": {
|
||||
"fit": "contain",
|
||||
"overflow": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"check": "Bildformat portrait, cover, 590px",
|
||||
"passed": true,
|
||||
"detail": {
|
||||
"fit": "cover",
|
||||
"overflow": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"check": "Bildformat square, cover, 590px",
|
||||
"passed": true,
|
||||
"detail": {
|
||||
"fit": "cover",
|
||||
"overflow": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"check": "Bildformat landscape, cover, 590px",
|
||||
"passed": true,
|
||||
"detail": {
|
||||
"fit": "cover",
|
||||
"overflow": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"check": "Sichtbarer Tastaturfokus",
|
||||
"passed": true,
|
||||
"detail": {
|
||||
"width": "3px",
|
||||
"style": "solid"
|
||||
}
|
||||
},
|
||||
{
|
||||
"check": "Reflow bei 720 CSS-px (1440px bei 200% Zoom)",
|
||||
"passed": true,
|
||||
"detail": null
|
||||
},
|
||||
{
|
||||
"check": "Keine JavaScript-Fehler",
|
||||
"passed": true,
|
||||
"detail": []
|
||||
}
|
||||
],
|
||||
"errors": []
|
||||
}
|
||||