bolder: Increase visual impact across all sections

- Richer color palette with more chroma and warmer tones
- Subtle paper texture background
- Stronger shadow scale (sm/md/lg/xl)
- Hero: larger typography, decorative ring, enhanced choreography
- Trust: star rating row, decorative background rings, bigger scale
- Services: card backgrounds with lift-on-hover shadows
- Reviews: stronger hover lift, thicker borders
- Team: image border, stronger avatar hover effects
- SalonPromise: decorative ring, hover states, fixed grid alignment
- SiteHeader: frosted glass backdrop-filter, stronger brand mark
- FinalCta: decorative ring, stronger radial gradients
This commit is contained in:
Matthias
2026-05-25 16:05:57 +02:00
parent 5cfcea9caf
commit 143820f859
9 changed files with 384 additions and 201 deletions

View File

@@ -3,6 +3,7 @@ import { siteContent } from "@/content/site-content"
---
<section class="final-cta-v2" aria-labelledby="final-cta-title">
<div class="final-cta-v2__deco" aria-hidden="true"></div>
<p class="eyebrow-v2">Bereit für den nächsten Schnitt?</p>
<h2 id="final-cta-title">Kurz anrufen, Termin abstimmen, vorbeikommen.</h2>
<div class="final-cta-v2__actions">
@@ -15,21 +16,33 @@ import { siteContent } from "@/content/site-content"
<style>
.final-cta-v2 {
display: grid;
gap: 1.75rem;
gap: 2rem;
justify-items: start;
background: var(--v2-surface-dark);
color: var(--v2-hero-ink);
padding: clamp(5rem, 10vw, 9rem) clamp(1rem, 5vw, 5rem);
padding: clamp(6rem, 12vw, 11rem) clamp(1rem, 5vw, 5rem);
position: relative;
overflow: hidden;
}
.final-cta-v2__deco {
position: absolute;
top: -40%;
right: -20%;
width: 60vw;
height: 60vw;
border: 2px solid color-mix(in oklch, var(--v2-accent) 15%, transparent);
border-radius: 50%;
pointer-events: none;
}
.final-cta-v2::before {
content: "";
position: absolute;
inset: 0;
background:
radial-gradient(ellipse 60% 40% at 80% 120%, color-mix(in oklch, var(--v2-primary) 35%, transparent) 0%, transparent 70%);
radial-gradient(ellipse 60% 50% at 80% 120%, color-mix(in oklch, var(--v2-primary) 40%, transparent) 0%, transparent 70%),
radial-gradient(ellipse 40% 30% at 20% -10%, color-mix(in oklch, var(--v2-accent) 12%, transparent) 0%, transparent 60%);
pointer-events: none;
}
@@ -44,11 +57,13 @@ import { siteContent } from "@/content/site-content"
position: relative;
z-index: 2;
color: var(--v2-hero-ink);
font-size: clamp(3rem, 7vw, 7rem);
line-height: 0.92;
}
.final-cta-v2__actions {
border-top: 1.5px solid color-mix(in oklch, var(--v2-hero-ink) 28%, transparent);
padding-top: 1.5rem;
border-top: 2px solid color-mix(in oklch, var(--v2-hero-ink) 22%, transparent);
padding-top: 2rem;
position: relative;
z-index: 2;
}

View File

@@ -4,6 +4,7 @@ import { siteContent } from "@/content/site-content"
<section id="top" class="hero-v2" aria-labelledby="hero-title">
<div class="hero-deco" aria-hidden="true">H</div>
<div class="hero-deco-ring" aria-hidden="true"></div>
<div class="hero-v2__copy">
<p class="eyebrow-v2">{siteContent.hero.eyebrow}</p>
<h1 id="hero-title">{siteContent.hero.title}</h1>
@@ -36,7 +37,7 @@ import { siteContent } from "@/content/site-content"
</section>
<style>
/* ─── Hero: asymmetric, oversized ─── */
/* ─── Hero: asymmetric, oversized, dramatic ─── */
.hero-v2 {
position: relative;
display: grid;
@@ -47,47 +48,62 @@ import { siteContent } from "@/content/site-content"
overflow: hidden;
padding: clamp(8rem, 16vw, 12rem) clamp(1rem, 5vw, 5rem) clamp(4rem, 8vw, 7rem);
background:
linear-gradient(170deg, color-mix(in oklch, var(--v2-surface-warm) 60%, transparent) 0%, transparent 55%);
linear-gradient(170deg, color-mix(in oklch, var(--v2-surface-warm) 65%, transparent) 0%, transparent 55%),
linear-gradient(220deg, color-mix(in oklch, var(--v2-accent) 8%, transparent) 0%, transparent 50%);
}
.hero-deco {
position: absolute;
top: 50%;
top: 52%;
left: 50%;
transform: translate(-50%, -50%);
font-family: var(--font-heading);
font-size: 55vw;
font-size: 58vw;
font-weight: 600;
line-height: 0.8;
color: color-mix(in oklch, var(--v2-primary) 4%, transparent);
line-height: 0.78;
color: color-mix(in oklch, var(--v2-primary) 7%, transparent);
pointer-events: none;
user-select: none;
z-index: 0;
}
.hero-deco-ring {
position: absolute;
top: 52%;
left: 50%;
transform: translate(-50%, -50%);
width: 48vw;
height: 48vw;
border: 1.5px solid color-mix(in oklch, var(--v2-primary) 10%, transparent);
border-radius: 50%;
pointer-events: none;
z-index: 0;
}
.hero-v2__copy {
position: relative;
z-index: 2;
max-width: 52rem;
max-width: 54rem;
}
.hero-v2__copy .eyebrow-v2 {
margin-bottom: 1.25rem;
margin-bottom: 1.4rem;
}
.hero-v2__copy h1 {
font-family: var(--font-heading);
font-size: clamp(3.8rem, 11vw, 10rem);
font-size: clamp(4rem, 12vw, 11rem);
font-weight: 600;
line-height: 0.88;
margin: 0 0 1.6rem;
line-height: 0.86;
margin: 0 0 1.8rem;
max-width: 14ch;
letter-spacing: -0.02em;
}
.hero-v2__intro {
max-width: 38ch;
color: var(--v2-muted);
font-size: clamp(1.15rem, 2vw, 1.5rem);
font-size: clamp(1.15rem, 2.1vw, 1.55rem);
line-height: 1.55;
margin: 0;
}
@@ -95,8 +111,8 @@ import { siteContent } from "@/content/site-content"
.hero-v2__actions {
display: flex;
flex-wrap: wrap;
gap: 0.75rem;
padding-top: 2rem;
gap: 0.85rem;
padding-top: 2.2rem;
}
.hero-v2__meta {
@@ -106,63 +122,70 @@ import { siteContent } from "@/content/site-content"
gap: 0;
align-self: end;
margin: 0;
border-top: 1.5px solid var(--v2-hairline);
border-top: 2px solid var(--v2-hairline);
}
.hero-v2__meta div {
display: grid;
gap: 0.35rem;
padding: 1.1rem 0;
border-bottom: 1.5px solid var(--v2-hairline);
gap: 0.4rem;
padding: 1.2rem 0;
border-bottom: 2px solid var(--v2-hairline);
}
.hero-v2__meta dt {
color: var(--v2-muted);
font-size: 0.72rem;
font-size: 0.7rem;
font-weight: 800;
text-transform: uppercase;
letter-spacing: 0.06em;
}
.hero-v2__meta dd {
margin: 0;
font-weight: 700;
font-size: 1.1rem;
font-size: 1.15rem;
line-height: 1.2;
}
/* ─── Hero Load Choreography ─── */
.hero-deco {
opacity: 0;
animation: scale-in 1.2s var(--ease-out-expo) 0.15s forwards;
animation: scale-in 1.4s var(--ease-out-expo) 0.1s forwards;
}
.hero-deco-ring {
opacity: 0;
animation: scale-in 1.6s var(--ease-out-expo) 0.25s forwards;
}
.hero-v2__copy .eyebrow-v2 {
opacity: 0;
animation: fade-up 0.7s var(--ease-out-expo) 0.3s forwards;
animation: fade-up 0.75s var(--ease-out-expo) 0.35s forwards;
}
.hero-v2__copy h1 {
opacity: 0;
animation: fade-up 0.75s var(--ease-out-expo) 0.42s forwards;
animation: fade-up 0.85s var(--ease-out-expo) 0.48s forwards;
}
.hero-v2__intro {
opacity: 0;
animation: fade-up 0.7s var(--ease-out-expo) 0.54s forwards;
animation: fade-up 0.75s var(--ease-out-expo) 0.6s forwards;
}
.hero-v2__actions {
opacity: 0;
animation: fade-up 0.6s var(--ease-out-expo) 0.64s forwards;
animation: fade-up 0.65s var(--ease-out-expo) 0.72s forwards;
}
.hero-v2__meta {
opacity: 0;
animation: fade-up 0.7s var(--ease-out-expo) 0.8s forwards;
animation: fade-up 0.75s var(--ease-out-expo) 0.9s forwards;
}
@media (prefers-reduced-motion: reduce) {
.hero-deco,
.hero-deco-ring,
.hero-v2__copy .eyebrow-v2,
.hero-v2__copy h1,
.hero-v2__intro,
@@ -181,11 +204,16 @@ import { siteContent } from "@/content/site-content"
}
.hero-v2__copy h1 {
font-size: clamp(2.8rem, 12vw, 5rem);
font-size: clamp(3.2rem, 14vw, 5.5rem);
}
.hero-v2__meta {
margin-top: 2rem;
margin-top: 2.5rem;
}
.hero-deco-ring {
width: 80vw;
height: 80vw;
}
}
</style>

View File

@@ -4,8 +4,8 @@ import { siteContent } from "@/content/site-content"
function renderStars(rating: number) {
return Array.from({ length: 5 }, (_, i) =>
i < rating
? '<svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M8 0.5l2.47 5.01L16 6.22l-4 3.9.94 5.5L8 12.88l-4.94 2.6.94-5.5-4-3.9 5.53-.71L8 .5z"/></svg>'
: '<svg width="16" height="16" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" aria-hidden="true"><path d="M8 0.5l2.47 5.01L16 6.22l-4 3.9.94 5.5L8 12.88l-4.94 2.6.94-5.5-4-3.9 5.53-.71L8 .5z"/></svg>'
? '<svg width="18" height="18" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M8 0.5l2.47 5.01L16 6.22l-4 3.9.94 5.5L8 12.88l-4.94 2.6.94-5.5-4-3.9 5.53-.71L8 .5z"/></svg>'
: '<svg width="18" height="18" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" aria-hidden="true"><path d="M8 0.5l2.47 5.01L16 6.22l-4 3.9.94 5.5L8 12.88l-4.94 2.6.94-5.5-4-3.9 5.53-.71L8 .5z"/></svg>'
).join("")
}
---
@@ -63,36 +63,36 @@ function renderStars(rating: number) {
.reviews-v2__grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: clamp(1.2rem, 2.5vw, 2rem);
margin-top: clamp(2.5rem, 5vw, 4rem);
gap: clamp(1.5rem, 2.8vw, 2.2rem);
margin-top: clamp(3rem, 6vw, 5rem);
}
.reviews-v2__card {
display: grid;
gap: 1.25rem;
padding: clamp(1.5rem, 3vw, 2.25rem);
gap: 1.4rem;
padding: clamp(1.8rem, 3.5vw, 2.6rem);
background: var(--v2-bg);
border: 1.5px solid var(--v2-hairline);
border: 2px solid var(--v2-hairline);
border-radius: var(--v2-radius);
transition: transform 0.35s var(--ease-out-quart), box-shadow 0.35s var(--ease-out-quart);
transition: transform 0.4s var(--ease-out-quart), box-shadow 0.4s var(--ease-out-quart);
}
.reviews-v2__card:hover {
transform: translateY(-4px);
box-shadow: 0 12px 40px oklch(0.13 0.035 35 / 8%);
transform: translateY(-6px);
box-shadow: var(--shadow-lg);
}
.reviews-v2__header {
display: flex;
align-items: center;
gap: 0.85rem;
gap: 0.9rem;
}
.reviews-v2__avatar {
display: grid;
place-items: center;
width: 2.5rem;
height: 2.5rem;
width: 2.75rem;
height: 2.75rem;
border-radius: 999px;
background: var(--v2-primary);
color: var(--v2-hero-ink);
@@ -104,7 +104,7 @@ function renderStars(rating: number) {
.reviews-v2__meta {
display: grid;
gap: 0.1rem;
gap: 0.15rem;
flex: 1;
}
@@ -116,14 +116,14 @@ function renderStars(rating: number) {
}
.reviews-v2__date {
font-size: 0.78rem;
font-size: 0.76rem;
color: var(--v2-muted);
margin: 0;
}
.reviews-v2__stars {
display: flex;
gap: 0.15rem;
gap: 0.2rem;
color: var(--v2-accent);
flex-shrink: 0;
}
@@ -131,7 +131,7 @@ function renderStars(rating: number) {
.reviews-v2__text {
position: relative;
margin: 0;
padding-left: 1rem;
padding-left: 1.2rem;
color: var(--v2-muted);
font-size: 0.95rem;
line-height: 1.65;
@@ -139,33 +139,33 @@ function renderStars(rating: number) {
.reviews-v2__quote {
position: absolute;
left: -0.25rem;
top: -0.35rem;
left: -0.2rem;
top: -0.5rem;
font-family: var(--font-heading);
font-size: 2.5rem;
font-size: 3rem;
line-height: 1;
color: var(--v2-primary);
opacity: 0.25;
opacity: 0.3;
}
.reviews-v2__footer {
display: flex;
justify-content: center;
margin-top: clamp(2rem, 4vw, 3rem);
margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
.reviews-v2__link {
display: inline-flex;
align-items: center;
gap: 0.5rem;
padding: 0.75rem 1.5rem;
border: 1.5px solid var(--v2-hairline);
padding: 0.85rem 1.8rem;
border: 2px solid var(--v2-hairline);
border-radius: var(--v2-radius);
color: var(--v2-fg);
font-weight: 700;
font-size: 0.95rem;
text-decoration: none;
transition: background-color 180ms ease, border-color 180ms ease;
transition: background-color 180ms ease, border-color 180ms ease, transform 220ms var(--ease-out-quart);
}
.reviews-v2__link:hover,
@@ -173,5 +173,6 @@ function renderStars(rating: number) {
background: var(--v2-fg);
border-color: var(--v2-fg);
color: var(--v2-bg);
transform: translateY(-2px);
}
</style>

View File

@@ -25,16 +25,31 @@ import { siteContent } from "@/content/site-content"
.promise-v2 {
display: grid;
grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
gap: clamp(3rem, 6vw, 6rem);
gap: clamp(3.5rem, 7vw, 7rem);
background: var(--v2-surface-dark);
color: var(--v2-hero-ink);
position: relative;
overflow: hidden;
}
.promise-v2::before {
content: "";
position: absolute;
top: -20%;
right: -10%;
width: 50vw;
height: 50vw;
border: 2px solid color-mix(in oklch, var(--v2-accent) 12%, transparent);
border-radius: 50%;
pointer-events: none;
}
.promise-v2__intro {
position: sticky;
top: 6rem;
align-self: start;
position: relative;
z-index: 2;
}
.promise-v2__intro .eyebrow-v2 {
@@ -43,42 +58,53 @@ import { siteContent } from "@/content/site-content"
.promise-v2__intro h2 {
color: var(--v2-hero-ink);
margin-top: 1rem;
margin-top: 1.1rem;
font-size: clamp(2.8rem, 6.5vw, 6.5rem);
line-height: 0.95;
}
.promise-v2__grid {
display: grid;
gap: 0;
border-top: 1.5px solid color-mix(in oklch, var(--v2-hero-ink) 18%, transparent);
border-top: 2px solid color-mix(in oklch, var(--v2-hero-ink) 16%, transparent);
position: relative;
z-index: 2;
}
.promise-v2__card {
display: grid;
grid-template-columns: minmax(4rem, 0.2fr) minmax(0, 0.8fr);
column-gap: clamp(1.2rem, 3vw, 2.5rem);
border-bottom: 1.5px solid color-mix(in oklch, var(--v2-hero-ink) 18%, transparent);
padding: clamp(1.5rem, 2.5vw, 2.5rem) 0;
column-gap: clamp(1.4rem, 3.5vw, 2.8rem);
border-bottom: 2px solid color-mix(in oklch, var(--v2-hero-ink) 16%, transparent);
padding: clamp(1.8rem, 3vw, 2.8rem) 0;
transition: background-color 250ms ease;
}
.promise-v2__card:hover {
background: color-mix(in oklch, var(--v2-hero-ink) 3%, transparent);
}
.index-label-v2 {
color: var(--v2-accent);
display: block;
font-family: var(--font-heading);
font-size: clamp(2.5rem, 5vw, 5rem);
line-height: 0.85;
opacity: 0.95;
font-size: clamp(2.8rem, 5.5vw, 5.5rem);
line-height: 0.82;
opacity: 0.9;
}
.promise-v2__card h3 {
grid-column: 2;
font-family: var(--font-heading);
font-size: clamp(1.4rem, 2.2vw, 2.2rem);
font-size: clamp(1.5rem, 2.4vw, 2.4rem);
line-height: 1.05;
margin: 0 0 0.75rem;
margin: 0 0 0.85rem;
color: var(--v2-hero-ink);
}
.promise-v2__card p {
color: color-mix(in oklch, var(--v2-hero-ink) 72%, transparent);
grid-column: 2;
color: color-mix(in oklch, var(--v2-hero-ink) 70%, transparent);
line-height: 1.65;
margin: 0;
}

View File

@@ -12,7 +12,7 @@ import { siteContent } from "@/content/site-content"
<div class="services-v2__grid">
{
siteContent.services.map((service, index) => (
<article class="services-v2__card" style={index % 2 === 1 ? "margin-top: 3rem;" : undefined}>
<article class="services-v2__card" style={index % 2 === 1 ? "margin-top: 3.5rem;" : undefined}>
<span class="service-index-v2">{String(index + 1).padStart(2, "0")}</span>
<h3>{service.title}</h3>
<p>{service.text}</p>
@@ -30,34 +30,43 @@ import { siteContent } from "@/content/site-content"
.services-v2__grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: clamp(2rem, 4vw, 4rem);
margin-top: clamp(3rem, 5vw, 5rem);
gap: clamp(2.5rem, 5vw, 5rem);
margin-top: clamp(3.5rem, 6vw, 6rem);
}
.services-v2__card {
display: grid;
gap: 0.75rem;
padding-bottom: clamp(2rem, 3vw, 3rem);
border-bottom: 1.5px solid var(--v2-hairline);
gap: 0.9rem;
padding: clamp(2rem, 3.5vw, 3.5rem) clamp(1.5rem, 2.5vw, 2.5rem);
background: var(--v2-surface);
border: 1.5px solid var(--v2-hairline);
border-radius: var(--v2-radius);
transition: transform 0.4s var(--ease-out-quart), box-shadow 0.4s var(--ease-out-quart);
}
.services-v2__card:hover {
transform: translateY(-6px);
box-shadow: var(--shadow-lg);
}
.services-v2__card:nth-child(even) {
margin-top: 4rem;
margin-top: 5rem;
}
.service-index-v2 {
color: var(--v2-primary);
font-family: var(--font-heading);
font-size: clamp(3rem, 6vw, 6rem);
line-height: 0.85;
font-size: clamp(3.5rem, 7vw, 7rem);
line-height: 0.82;
display: block;
margin-bottom: 0.5rem;
margin-bottom: 0.75rem;
opacity: 0.85;
}
.services-v2__card h3 {
font-family: var(--font-heading);
font-size: clamp(1.5rem, 2.5vw, 2.2rem);
line-height: 1.1;
font-size: clamp(1.6rem, 2.8vw, 2.4rem);
line-height: 1.05;
margin: 0;
}

View File

@@ -19,13 +19,13 @@ const navItems = [
</span>
</a>
<nav aria-label="Hauptnavigation" class="hidden items-center gap-1 md:flex">
<nav aria-label="Hauptnavigation" class="desktop-nav">
{navItems.map((item) => <a class="nav-link-v2" href={item.href}>{item.label}</a>)}
</nav>
<div class="flex items-center gap-2">
<button
class="mobile-nav-toggle md:hidden"
class="mobile-nav-toggle"
aria-expanded="false"
aria-controls="mobile-nav"
aria-label="Menü öffnen"
@@ -80,9 +80,12 @@ const navItems = [
grid-template-columns: auto 1fr auto;
align-items: center;
gap: 1rem;
padding: clamp(0.8rem, 2vw, 1.25rem) clamp(1rem, 4vw, 3rem);
padding: clamp(0.85rem, 2.2vw, 1.35rem) clamp(1rem, 4vw, 3rem);
color: var(--v2-fg);
background: var(--v2-bg);
background: color-mix(in oklch, var(--v2-bg) 92%, transparent);
backdrop-filter: blur(14px) saturate(130%);
-webkit-backdrop-filter: blur(14px) saturate(130%);
border-bottom: 1.5px solid color-mix(in oklch, var(--v2-fg) 6%, transparent);
}
.site-header-v2 .brand-lockup {
@@ -97,36 +100,43 @@ const navItems = [
.site-header-v2 .brand-mark {
display: grid;
place-items: center;
width: 2.25rem;
height: 2.25rem;
border: 1.5px solid currentColor;
width: 2.5rem;
height: 2.5rem;
border: 2px solid currentColor;
border-radius: 999px;
font-family: var(--font-heading);
font-size: 1.05rem;
font-size: 1.1rem;
line-height: 1;
font-weight: 600;
}
.site-header-v2 .brand-descriptor {
display: block;
color: color-mix(in oklch, currentColor 65%, transparent);
font-size: 0.78rem;
color: color-mix(in oklch, currentColor 60%, transparent);
font-size: 0.76rem;
line-height: 1.1;
font-weight: 500;
}
.nav-link-v2 {
border-radius: 999px;
color: inherit;
font-size: 0.95rem;
font-size: 0.92rem;
font-weight: 600;
padding: 0.55rem 0.9rem;
padding: 0.55rem 0.95rem;
text-decoration: none;
transition: background-color 180ms ease, color 180ms ease;
}
.nav-link-v2:hover,
.nav-link-v2:focus-visible {
background: color-mix(in oklch, currentColor 14%, transparent);
background: color-mix(in oklch, currentColor 12%, transparent);
}
.desktop-nav {
display: none;
align-items: center;
gap: 0.25rem;
}
/* ─── Mobile Navigation ─── */
@@ -136,9 +146,9 @@ const navItems = [
justify-content: center;
width: 2.5rem;
height: 2.5rem;
border: 1.5px solid color-mix(in oklch, currentColor 30%, transparent);
border: 2px solid color-mix(in oklch, currentColor 28%, transparent);
border-radius: var(--v2-radius);
background: color-mix(in oklch, currentColor 10%, transparent);
background: color-mix(in oklch, currentColor 8%, transparent);
color: inherit;
cursor: pointer;
transition: background-color 180ms ease, border-color 180ms ease;
@@ -146,8 +156,8 @@ const navItems = [
.mobile-nav-toggle:hover,
.mobile-nav-toggle:focus-visible {
background: color-mix(in oklch, currentColor 18%, transparent);
border-color: color-mix(in oklch, currentColor 50%, transparent);
background: color-mix(in oklch, currentColor 16%, transparent);
border-color: color-mix(in oklch, currentColor 45%, transparent);
}
.mobile-nav {
@@ -166,7 +176,7 @@ const navItems = [
.mobile-nav-backdrop {
position: absolute;
inset: 0;
background: oklch(0.1 0.02 28 / 60%);
background: oklch(0.1 0.02 28 / 55%);
opacity: 0;
transition: opacity 200ms ease;
}
@@ -188,8 +198,8 @@ const navItems = [
gap: 1.5rem;
padding: 1.5rem;
transform: translateX(100%);
transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1);
box-shadow: -8px 0 32px oklch(0.1 0.02 28 / 15%);
transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1);
box-shadow: -12px 0 40px oklch(0.1 0.02 28 / 18%);
}
.mobile-nav.is-open .mobile-nav-panel {
@@ -203,7 +213,7 @@ const navItems = [
justify-content: center;
width: 2.5rem;
height: 2.5rem;
border: 1.5px solid var(--v2-hairline);
border: 2px solid var(--v2-hairline);
border-radius: var(--v2-radius);
background: transparent;
color: var(--v2-fg);
@@ -249,7 +259,7 @@ const navItems = [
gap: 0.3rem;
padding: 1rem;
border-radius: var(--v2-radius);
border: 1.5px solid var(--v2-hairline);
border: 2px solid var(--v2-hairline);
background: color-mix(in oklch, var(--v2-surface) 50%, transparent);
color: var(--v2-fg);
text-decoration: none;
@@ -270,7 +280,7 @@ const navItems = [
/* Mobile nav link stagger */
.mobile-nav.is-open .mobile-nav-list li {
opacity: 0;
animation: fade-up 0.45s var(--ease-out-expo) forwards;
animation: fade-up 0.5s var(--ease-out-expo) forwards;
}
.mobile-nav.is-open .mobile-nav-list li:nth-child(1) { animation-delay: 0.08s; }
.mobile-nav.is-open .mobile-nav-list li:nth-child(2) { animation-delay: 0.14s; }
@@ -279,10 +289,20 @@ const navItems = [
.mobile-nav.is-open .mobile-nav-phone {
opacity: 0;
animation: fade-up 0.45s var(--ease-out-expo) 0.32s forwards;
animation: fade-up 0.5s var(--ease-out-expo) 0.32s forwards;
}
@media (max-width: 820px) {
@media (min-width: 769px) {
.desktop-nav {
display: flex;
}
.mobile-nav-toggle {
display: none;
}
}
@media (max-width: 768px) {
.site-header-v2 {
grid-template-columns: 1fr auto;
}

View File

@@ -42,10 +42,12 @@ import { siteContent } from "@/content/site-content"
}
.team-image-v2 {
margin: clamp(2rem, 4vw, 3.5rem) auto 0;
margin: clamp(2.5rem, 5vw, 4rem) auto 0;
max-width: 72rem;
position: relative;
overflow: hidden;
border: 2px solid var(--v2-hairline);
border-radius: var(--v2-radius);
}
.team-image-v2 img {
@@ -54,76 +56,81 @@ import { siteContent } from "@/content/site-content"
aspect-ratio: 21 / 9;
object-fit: cover;
display: block;
filter: saturate(0.85) contrast(1.05);
transition: transform 0.9s var(--ease-out-quart);
filter: saturate(0.82) contrast(1.08);
transition: transform 1s var(--ease-out-quart);
}
.team-image-v2:hover img {
transform: scale(1.03);
transform: scale(1.04);
}
.team-image-v2 figcaption {
position: absolute;
right: 1.25rem;
bottom: 1rem;
z-index: 2;
padding: 0.4rem 0.85rem;
background: oklch(0.1 0.02 28 / 60%);
color: oklch(0.95 0.01 84);
font-size: 0.78rem;
text-shadow: 0 1px 4px oklch(0.1 0.02 28 / 50%);
font-size: 0.76rem;
font-weight: 500;
}
.team-v2__grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
gap: 0;
margin-top: clamp(2rem, 4vw, 4rem);
border-top: 1.5px solid var(--v2-hairline);
border-left: 1.5px solid var(--v2-hairline);
margin-top: clamp(2.5rem, 5vw, 4.5rem);
border-top: 2px solid var(--v2-hairline);
border-left: 2px solid var(--v2-hairline);
}
.team-v2__card {
display: grid;
justify-items: start;
gap: 0.625rem;
border-bottom: 1.5px solid var(--v2-hairline);
border-right: 1.5px solid var(--v2-hairline);
padding: clamp(2.2rem, 4vw, 3.5rem) clamp(1.5rem, 3vw, 2.5rem);
transition: background-color 200ms ease;
gap: 0.7rem;
border-bottom: 2px solid var(--v2-hairline);
border-right: 2px solid var(--v2-hairline);
padding: clamp(2.5rem, 4.5vw, 4rem) clamp(1.5rem, 3vw, 2.5rem);
transition: background-color 250ms ease, transform 0.4s var(--ease-out-quart);
}
.team-v2__card:hover {
background: color-mix(in oklch, var(--v2-bg) 55%, transparent);
background: color-mix(in oklch, var(--v2-bg) 50%, transparent);
transform: translateY(-4px);
}
.team-v2__avatar {
display: grid;
place-items: center;
width: 5.5rem;
height: 5.5rem;
margin-bottom: 0.75rem;
width: 6rem;
height: 6rem;
margin-bottom: 0.9rem;
border-radius: 999px;
background: var(--v2-surface-dark);
font-family: var(--font-heading);
font-size: 1.35rem;
font-size: 1.4rem;
font-weight: 600;
color: var(--v2-hero-ink);
transition: transform 0.35s var(--ease-out-quart), box-shadow 0.35s var(--ease-out-quart);
transition: transform 0.4s var(--ease-out-quart), box-shadow 0.4s var(--ease-out-quart);
}
.team-v2__card:hover .team-v2__avatar {
transform: scale(1.06);
transform: scale(1.08);
box-shadow: var(--shadow-md);
}
.team-v2__card h3 {
font-family: var(--font-heading);
font-size: clamp(1.25rem, 2vw, 1.6rem);
line-height: 1.2;
font-size: clamp(1.3rem, 2.2vw, 1.7rem);
line-height: 1.15;
margin: 0;
}
.team-v2__role {
font-size: 0.78rem;
font-size: 0.76rem;
font-weight: 700;
letter-spacing: 0.03em;
letter-spacing: 0.04em;
text-transform: uppercase;
color: var(--v2-primary);
margin: 0;

View File

@@ -6,6 +6,13 @@ import { siteContent } from "@/content/site-content"
<div class="trust-v2__rating">
<p class="eyebrow-v2">Lokales Vertrauen</p>
<h2 id="trust-title">{siteContent.reviewSummary.rating}</h2>
<div class="trust-v2__stars" aria-hidden="true">
<svg width="28" height="28" viewBox="0 0 16 16" fill="currentColor"><path d="M8 0.5l2.47 5.01L16 6.22l-4 3.9.94 5.5L8 12.88l-4.94 2.6.94-5.5-4-3.9 5.53-.71L8 .5z"/></svg>
<svg width="28" height="28" viewBox="0 0 16 16" fill="currentColor"><path d="M8 0.5l2.47 5.01L16 6.22l-4 3.9.94 5.5L8 12.88l-4.94 2.6.94-5.5-4-3.9 5.53-.71L8 .5z"/></svg>
<svg width="28" height="28" viewBox="0 0 16 16" fill="currentColor"><path d="M8 0.5l2.47 5.01L16 6.22l-4 3.9.94 5.5L8 12.88l-4.94 2.6.94-5.5-4-3.9 5.53-.71L8 .5z"/></svg>
<svg width="28" height="28" viewBox="0 0 16 16" fill="currentColor"><path d="M8 0.5l2.47 5.01L16 6.22l-4 3.9.94 5.5L8 12.88l-4.94 2.6.94-5.5-4-3.9 5.53-.71L8 .5z"/></svg>
<svg width="28" height="28" viewBox="0 0 16 16" fill="currentColor"><path d="M8 0.5l2.47 5.01L16 6.22l-4 3.9.94 5.5L8 12.88l-4.94 2.6.94-5.5-4-3.9 5.53-.71L8 .5z"/></svg>
</div>
</div>
<p class="trust-v2__copy">
<strong>{siteContent.reviewSummary.count}</strong>
@@ -17,46 +24,95 @@ import { siteContent } from "@/content/site-content"
.trust-v2 {
display: grid;
align-items: center;
gap: 2rem;
gap: 3rem;
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
background: var(--v2-primary);
color: var(--v2-hero-ink);
padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 5vw, 5rem);
padding: clamp(4.5rem, 9vw, 8rem) clamp(1rem, 5vw, 5rem);
position: relative;
overflow: hidden;
}
.trust-v2::before {
content: "";
position: absolute;
top: -20%;
right: -10%;
width: 50vw;
height: 50vw;
border: 2px solid color-mix(in oklch, var(--v2-accent) 25%, transparent);
border-radius: 50%;
pointer-events: none;
}
.trust-v2::after {
content: "";
position: absolute;
bottom: -30%;
left: -15%;
width: 40vw;
height: 40vw;
border: 2px solid color-mix(in oklch, var(--v2-accent) 18%, transparent);
border-radius: 50%;
pointer-events: none;
}
.trust-v2 .eyebrow-v2 {
color: var(--v2-accent);
position: relative;
z-index: 2;
}
.trust-v2 h2 {
font-family: var(--font-heading);
font-size: clamp(6rem, 14vw, 13rem);
line-height: 0.85;
margin: 0.6rem 0 0;
font-size: clamp(7rem, 16vw, 15rem);
line-height: 0.82;
margin: 0.8rem 0 0;
position: relative;
z-index: 2;
letter-spacing: -0.02em;
}
.trust-v2__stars {
display: flex;
gap: 0.4rem;
margin-top: 1.2rem;
color: var(--v2-accent);
position: relative;
z-index: 2;
}
.trust-v2__copy {
display: grid;
gap: 0.75rem;
font-size: clamp(1.15rem, 2vw, 1.5rem);
gap: 0.9rem;
font-size: clamp(1.15rem, 2.1vw, 1.6rem);
line-height: 1.55;
max-width: 38ch;
max-width: 36ch;
margin: 0;
color: color-mix(in oklch, var(--v2-hero-ink) 82%, transparent);
color: color-mix(in oklch, var(--v2-hero-ink) 78%, transparent);
position: relative;
z-index: 2;
}
.trust-v2__copy strong {
color: var(--v2-hero-ink);
font-size: 1.3em;
font-size: 1.35em;
font-weight: 700;
}
@media (max-width: 820px) {
.trust-v2 {
grid-template-columns: 1fr;
gap: 2rem;
}
.trust-v2 h2 {
font-size: clamp(4.5rem, 18vw, 8rem);
font-size: clamp(5.5rem, 20vw, 9rem);
}
.trust-v2__stars svg {
width: 22px;
height: 22px;
}
}
</style>