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,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>
|
||||