From ce605de9549e975bb03396be862609b5054043c3 Mon Sep 17 00:00:00 2001 From: torbinus Date: Wed, 23 Sep 2026 16:27:36 +0200 Subject: [PATCH] =?UTF-8?q?R=C3=BCckmeldungen=20von=20Dani:=20Navigation,?= =?UTF-8?q?=20Gr=C3=BCn,=20Claim,=20Bienen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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) --- frontend/src/components/Header.astro | 5 +- .../components/sections/BusinessHome.astro | 5 +- frontend/src/layouts/Layout.astro | 5 -- frontend/src/styles/global.css | 60 ++----------------- 4 files changed, 13 insertions(+), 62 deletions(-) diff --git a/frontend/src/components/Header.astro b/frontend/src/components/Header.astro index 8f84bc9..1466869 100644 --- a/frontend/src/components/Header.astro +++ b/frontend/src/components/Header.astro @@ -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)]", diff --git a/frontend/src/components/sections/BusinessHome.astro b/frontend/src/components/sections/BusinessHome.astro index ee33c8a..712888b 100644 --- a/frontend/src/components/sections/BusinessHome.astro +++ b/frontend/src/components/sections/BusinessHome.astro @@ -57,7 +57,10 @@ const schritte = [ -
+ {/* 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. */} +

Eigene Bienen vor Ort.
Professionell betreut.
Nachhaltig erlebbar.

diff --git a/frontend/src/layouts/Layout.astro b/frontend/src/layouts/Layout.astro index 4060afa..dfeb3ff 100644 --- a/frontend/src/layouts/Layout.astro +++ b/frontend/src/layouts/Layout.astro @@ -83,11 +83,6 @@ const medusaPublishableKey = Der Header beobachtet ihn, statt auf jedes Scroll-Event zu horchen. --> -
{layer !== "site" && } diff --git a/frontend/src/styles/global.css b/frontend/src/styles/global.css index 8d57b3d..6b89890 100644 --- a/frontend/src/styles/global.css +++ b/frontend/src/styles/global.css @@ -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 {