Files
laraundfelix/docs/Brand-UI-Kit/09_hero_widget/components/lf-hero.css
T
LarsandClaude Opus 5.5 d5c2b34b9d
CI Feature / test (push) Successful in 1m18s
Deploy Test / test (push) Successful in 1m39s
Deploy Test / deploy (push) Successful in 28s
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>
2026-11-21 08:53:34 +01:00

10 lines
3.7 KiB
CSS

/* Lara & Felix brand hero v1.3: standalone CSS, scoped to lf-hero. */
.lf-hero{--lf-navy:#032551;--lf-green:#3B7B09;--lf-yellow:#FCD10A;--lf-cream:#F7F6F2;isolation:isolate;position:relative;overflow:hidden;border-radius:clamp(1rem,2.5vw,1.75rem);min-height:clamp(430px,43vw,650px);display:grid;align-items:center;background:var(--lf-cream);font-family:Nunito,'Trebuchet MS',system-ui,sans-serif;color:var(--lf-navy)}
.lf-hero *{box-sizing:border-box}.lf-hero__photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:68% center;z-index:-2}.lf-hero__photo[data-focus="right"]{object-position:80% center}.lf-hero__photo[data-focus="center-right"]{object-position:68% center}.lf-hero__photo[data-focus="center-left"]{object-position:35% center}.lf-hero__photo[data-focus="center"]{object-position:center}
.lf-hero--photo-split::before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(250,249,243,.99) 0%,rgba(250,249,243,.97) 25%,rgba(250,249,243,.8) 39%,rgba(250,249,243,.20) 56%,rgba(250,249,243,0) 68%)}
.lf-hero--editorial-solid{background:var(--lf-navy);color:white;min-height:350px}.lf-hero--editorial-solid .lf-hero__photo{display:none}.lf-hero--editorial-solid::before{content:'';position:absolute;width:55%;aspect-ratio:1;right:-25%;bottom:-75%;background:var(--lf-green);border-radius:50%;opacity:.75;z-index:-1}
.lf-hero__inner{width:min(100%,1440px);margin:auto;padding:clamp(2rem,5vw,5rem);padding-block:clamp(3rem,6vw,5.5rem)}.lf-hero__copy{max-width:min(620px,57%)}.lf-hero__eyebrow{display:inline-block;padding:.35em .75em;border-radius:999px;background:#dff0c0;color:#17370b;font-weight:800;font-size:clamp(.8rem,.95vw,1rem)}.lf-hero__title{margin:.22em 0 .28em;font-size:clamp(2.5rem,4.8vw,5.25rem);line-height:1.05;letter-spacing:-.035em;font-weight:900;text-wrap:balance}.lf-hero__title-accent{width:clamp(110px,19vw,245px);height:7px;background:var(--lf-yellow);border-radius:90% 30% 45% 25%;transform:rotate(-1deg);margin-bottom:1.5rem}.lf-hero__description{max-width:56ch;font-size:clamp(1.05rem,1.45vw,1.35rem);line-height:1.48;margin:0 0 2rem}.lf-hero__actions{display:flex;gap:.8rem;flex-wrap:wrap}.lf-hero__button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:.8rem 1.25rem;border-radius:999px;text-decoration:none;font-weight:800;line-height:1.2;transition:transform .15s ease,background .15s ease;box-shadow:none}.lf-hero__button:hover{transform:translateY(-2px)}.lf-hero__button:focus-visible{outline:3px solid #1769aa;outline-offset:3px}.lf-hero__button--primary{background:var(--lf-green);color:#fff}.lf-hero__button--secondary{background:rgba(255,255,255,.92);color:var(--lf-navy);border:2px solid var(--lf-navy)}.lf-hero--editorial-solid .lf-hero__button--secondary{border-color:white}.lf-hero__bottom{position:absolute;inset:auto 0 0;height:17px;background:linear-gradient(105deg,var(--lf-yellow) 0%,var(--lf-yellow) 22%,var(--lf-green) 72%);clip-path:polygon(0 45%,30% 90%,65% 75%,100% 0,100% 100%,0 100%)}
@media(max-width:850px){.lf-hero{min-height:unset;display:block}.lf-hero__photo{position:relative;display:block;width:100%;height:clamp(260px,53vw,440px);object-position:72% center}.lf-hero--photo-split::before{display:none}.lf-hero__inner{padding:2rem 1.5rem 2.8rem}.lf-hero__copy{max-width:100%}.lf-hero__title{font-size:clamp(2.15rem,7vw,3.6rem)}.lf-hero__description{font-size:1.05rem}.lf-hero--editorial-solid .lf-hero__copy{max-width:650px}}
@media(max-width:420px){.lf-hero__photo{height:300px;object-position:72% center}.lf-hero__actions{display:grid;grid-template-columns:1fr}.lf-hero__button{width:100%}.lf-hero__inner{padding-inline:1.25rem}}
@media(prefers-reduced-motion:reduce){.lf-hero__button{transition:none}.lf-hero__button:hover{transform:none}}