Rückmeldungen von Dani: Navigation, Grün, Claim, Bienen
Navigation steht jetzt auf 16px im Schnitt 500 — die Werte der alten Seite (Avada-Typografie 3). Vorher 17px im Schnitt 400: größer, aber dünner, und dadurch schlechter zu lesen. Der Eyebrow war Salbeigrün #9fc7aa auf hellem Grund, Kontrast 1,87 zu 1. Das ist die Ursache für die "verschwommene" Schrift, es ist keine Unschärfe. Im Original ist dieses h4 schwarz, jetzt hier auch. Der Claim im Hero stand am rechten Rand des Inhaltsrasters und dadurch mitten im Foto. Er sitzt jetzt am Bildrand, nur der Seitenabstand bleibt. Die dekorativen Bienen sind raus, samt Keyframes und der Z-Ebene, die niemand mehr braucht. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -52,7 +52,10 @@ const isCurrent = (href: string) =>
|
||||
href={item.href}
|
||||
aria-current={active ? "page" : undefined}
|
||||
class:list={[
|
||||
"group relative py-1 text-[1.0625rem] transition-colors duration-200",
|
||||
/* 16px und Schnitt 500 — die Werte der alten Seite
|
||||
(Avada-Typografie 3). Vorher 17px im Schnitt 400: größer,
|
||||
aber dünner, und dadurch schlechter zu lesen. */
|
||||
"group relative py-1 text-[1rem] font-medium tracking-[0.015em] transition-colors duration-200",
|
||||
active
|
||||
? "text-[var(--nav-ink-active)]"
|
||||
: "text-[var(--nav-ink)] hover:text-[var(--nav-ink-active)]",
|
||||
|
||||
@@ -57,7 +57,10 @@ const schritte = [
|
||||
<source src="/video/hero.webm" type="video/webm" />
|
||||
</video>
|
||||
|
||||
<div class="p4b-breite relative w-full">
|
||||
{/* Der Claim steht am rechten Rand des Bildes, nicht am rechten Rand des
|
||||
Inhaltsrasters — sonst schwebt er mitten im Foto. Nur der Seitenabstand
|
||||
bleibt, damit er auf schmalen Schirmen nicht an der Kante klebt. */}
|
||||
<div class="relative w-full px-[30px]">
|
||||
<h2 class="p4b-h2 text-right">
|
||||
Eigene Bienen vor Ort.<br />Professionell betreut.<br />Nachhaltig erlebbar.
|
||||
</h2>
|
||||
|
||||
@@ -83,11 +83,6 @@ const medusaPublishableKey =
|
||||
Der Header beobachtet ihn, statt auf jedes Scroll-Event zu horchen. -->
|
||||
<div id="scroll-sentinel" aria-hidden="true"></div>
|
||||
<div class="grain" aria-hidden="true"></div>
|
||||
<div class="floating-bees" aria-hidden="true">
|
||||
<div class="bee bee-1"><img src="/images/bee-single.png" alt="" width="40" /></div>
|
||||
<div class="bee bee-2"><img src="/images/bee-single.png" alt="" width="32" /></div>
|
||||
<div class="bee bee-3"><img src="/images/bee-single.png" alt="" width="36" /></div>
|
||||
</div>
|
||||
|
||||
<Header layer={layer} />
|
||||
{layer !== "site" && <SecondHeader layer={layer} loggedIn={isLoggedIn} />}
|
||||
|
||||
@@ -133,7 +133,6 @@
|
||||
/* --- Z-index scale. Anything positioned picks a name from here. --- */
|
||||
:root {
|
||||
--z-grain: 30;
|
||||
--z-bees: 45;
|
||||
--z-header: 50;
|
||||
--z-overlay: 60;
|
||||
--z-curtain: 70;
|
||||
@@ -369,59 +368,6 @@ p {
|
||||
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
|
||||
}
|
||||
|
||||
/* --- Floating bees: small decorative bee icons drifting across the page --- */
|
||||
.floating-bees {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
pointer-events: none;
|
||||
z-index: var(--z-bees);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.floating-bees .bee {
|
||||
position: absolute;
|
||||
opacity: 0.18;
|
||||
animation-timing-function: ease-in-out;
|
||||
animation-iteration-count: infinite;
|
||||
}
|
||||
|
||||
.floating-bees img {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.bee-1 {
|
||||
top: 15%;
|
||||
left: -5%;
|
||||
animation: fly1 34s infinite;
|
||||
}
|
||||
.bee-2 {
|
||||
top: 40%;
|
||||
right: -5%;
|
||||
animation: fly2 42s infinite;
|
||||
animation-delay: -9s;
|
||||
}
|
||||
.bee-3 {
|
||||
top: 65%;
|
||||
left: -5%;
|
||||
animation: fly3 38s infinite;
|
||||
animation-delay: -18s;
|
||||
}
|
||||
|
||||
@keyframes fly1 {
|
||||
0% { transform: translate(0, 0) rotate(-5deg); }
|
||||
50% { transform: translate(55vw, -4vh) rotate(4deg); }
|
||||
100% { transform: translate(110vw, 0) rotate(-5deg); }
|
||||
}
|
||||
@keyframes fly2 {
|
||||
0% { transform: translate(0, 0) rotate(5deg) scaleX(-1); }
|
||||
50% { transform: translate(-65vw, 4vh) rotate(-4deg) scaleX(-1); }
|
||||
100% { transform: translate(-110vw, 0) rotate(5deg) scaleX(-1); }
|
||||
}
|
||||
@keyframes fly3 {
|
||||
0% { transform: translate(0, 0) rotate(-3deg); }
|
||||
45% { transform: translate(50vw, 3vh) rotate(-2deg); }
|
||||
100% { transform: translate(110vw, 1vh) rotate(-3deg); }
|
||||
}
|
||||
|
||||
@media (max-width: 768px), (prefers-reduced-motion: reduce) {
|
||||
.floating-bees {
|
||||
@@ -1442,12 +1388,16 @@ html[data-crossing]::view-transition-new(root) {
|
||||
|
||||
/* Zwischentitel: h4 in Bebas, Salbeigrün — nicht der honiggelbe Eyebrow
|
||||
unseres eigenen Systems. */
|
||||
/* Schwarz wie im Original: Dort ist dieses h4 die Farbe awb-color8 (#000).
|
||||
* Vorher stand hier das Salbeigrün #9fc7aa — auf hellem Grund ergibt das
|
||||
* einen Kontrast von 1,87 zu 1, lesbar wäre ab 4,5. Die Schrift wirkte
|
||||
* dadurch verwaschen, nicht unscharf. Das Grün bleibt Flächenfarbe. */
|
||||
.p4b-eyebrow {
|
||||
font-family: var(--font-display);
|
||||
font-size: 30px;
|
||||
line-height: 36px;
|
||||
letter-spacing: -0.015em;
|
||||
color: #9fc7aa;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.p4b-spalte-text {
|
||||
|
||||
Reference in New Issue
Block a user