Compare commits

...

6 Commits

2 changed files with 204 additions and 44 deletions

View File

@ -6,13 +6,21 @@
--muted: rgb(255 255 255 / 70%); --muted: rgb(255 255 255 / 70%);
--quiet: rgb(255 255 255 / 56%); --quiet: rgb(255 255 255 / 56%);
--line: rgb(255 255 255 / 10%); --line: rgb(255 255 255 / 10%);
--panel: linear-gradient(#ffffff14, #ffffff08); --mint: oklch(70% .12 205);
--panel: linear-gradient(#ffffff14, #08060608);
--ease: cubic-bezier(.22, 1, .36, 1); --ease: cubic-bezier(.22, 1, .36, 1);
color-scheme: dark; color-scheme: dark;
} }
* { box-sizing: border-box; } * {
html { scroll-behavior: smooth; scroll-padding-top: 120px; } box-sizing: border-box;
}
html {
scroll-behavior: smooth;
scroll-padding-top: 120px;
}
body { body {
margin: 0; margin: 0;
background: var(--background); background: var(--background);
@ -22,29 +30,87 @@ body {
line-height: 1.7; line-height: 1.7;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
} }
main { overflow: clip; }
h1, h2, h3, p, figure { margin: 0; } main {
h1, h2, h3 { overflow: clip;
}
h1,
h2,
h3,
p,
figure {
margin: 0;
}
h1,
h2,
h3 {
font-family: var(--font-display), sans-serif; font-family: var(--font-display), sans-serif;
font-weight: 700; font-weight: 700;
letter-spacing: -.04em; letter-spacing: -.04em;
text-wrap: balance; text-wrap: balance;
} }
h1, h2 { line-height: 1.12; }
h3 { line-height: 1.35; } h1,
a { color: inherit; text-decoration: none; } h2 {
button, select { font: inherit; } line-height: 1.12;
button { cursor: pointer; border: 0; } }
button, a, select { -webkit-tap-highlight-color: transparent; }
a, button, select { touch-action: manipulation; } h3 {
line-height: 1.35;
}
a {
color: inherit;
text-decoration: none;
}
button,
select {
font: inherit;
}
button {
cursor: pointer;
border: 0;
}
button,
a,
select {
-webkit-tap-highlight-color: transparent;
}
a,
button,
select {
touch-action: manipulation;
}
:where(button, a, select):focus-visible { :where(button, a, select):focus-visible {
outline: 2px solid var(--accent-strong); outline: 2px solid var(--accent-strong);
outline-offset: 5px; outline-offset: 5px;
} }
img { display: block; max-width: 100%; object-fit: cover; }
button:disabled { cursor: default; } img {
[hidden] { display: none !important; } display: block;
.shell { width: min(1280px, calc(100% - 128px)); margin-inline: auto; } max-width: 100%;
object-fit: cover;
}
button:disabled {
cursor: default;
}
[hidden] {
display: none !important;
}
.shell {
width: min(1280px, calc(100% - 128px));
margin-inline: auto;
}
/* 2. Kopfbereich – Website-Logo ganz links, wie auf der Referenzseite */ /* 2. Kopfbereich – Website-Logo ganz links, wie auf der Referenzseite */
.site-header { .site-header {
@ -52,13 +118,12 @@ button:disabled { cursor: default; }
top: 0; top: 0;
z-index: 20; z-index: 20;
border-bottom: 1px solid var(--line); border-bottom: 1px solid var(--line);
background: linear-gradient( background: linear-gradient(color-mix(in oklab, var(--background) 95%, transparent),
color-mix(in oklab, var(--background) 95%, transparent), color-mix(in oklab, var(--background) 80%, transparent));
color-mix(in oklab, var(--background) 80%, transparent)
);
backdrop-filter: blur(18px); backdrop-filter: blur(18px);
-webkit-backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
} }
.header-inner { .header-inner {
width: calc(100% - 64px); width: calc(100% - 64px);
min-height: 98px; min-height: 98px;
@ -68,12 +133,14 @@ button:disabled { cursor: default; }
gap: 24px; gap: 24px;
padding-block: 16px; padding-block: 16px;
} }
.brand { .brand {
display: inline-flex; display: inline-flex;
align-items: center; align-items: center;
gap: 16px; gap: 16px;
flex-shrink: 0; flex-shrink: 0;
} }
.brand-mark { .brand-mark {
display: flex; display: flex;
align-items: center; align-items: center;
@ -87,16 +154,38 @@ button:disabled { cursor: default; }
background: #fff; background: #fff;
box-shadow: 0 14px 34px rgb(0 0 0 / 22%); box-shadow: 0 14px 34px rgb(0 0 0 / 22%);
} }
.brand-logo img { width: 48px; height: 48px; object-fit: contain; }
.brand-copy { display: grid; gap: 3px; } .brand-logo img {
width: 48px;
height: 48px;
object-fit: contain;
}
.brand-copy {
display: grid;
gap: 3px;
}
.brand-name { .brand-name {
color: var(--quiet); color: var(--quiet);
font-size: .75rem; font-size: .75rem;
letter-spacing: .28em; letter-spacing: .28em;
text-transform: uppercase; text-transform: uppercase;
} }
.brand-sub { color: var(--muted); font-size: .875rem; line-height: 1.5; }
.header-inner nav { display: flex; align-items: center; gap: 5px; } .brand-sub {
color: var(--muted);
font-size: .875rem;
line-height: 1.5;
}
.header-inner nav {
display: flex;
align-items: center;
gap: 5px;
margin-left: auto;
}
.header-inner nav a { .header-inner nav a {
padding: 9px 14px; padding: 9px 14px;
border: 1px solid transparent; border: 1px solid transparent;
@ -104,15 +193,21 @@ button:disabled { cursor: default; }
color: var(--muted); color: var(--muted);
font-size: .875rem; font-size: .875rem;
white-space: nowrap; white-space: nowrap;
transition: color .2s, background .2s, border-color .2s; transition: color .2s, background .2s, border-color .2s, box-shadow .2s;
} }
.header-inner nav a:hover,
.header-inner nav a[aria-current] { .header-inner nav a:hover {
border-color: var(--line); border-color: var(--mint);
background: rgb(255 255 255 / 5%); background: var(--mint);
color: #fff; color: #000;
box-shadow: 0 0 18px color-mix(in srgb, var(--mint) 65%, transparent),
inset 0 0 10px rgb(255 255 255 / 28%);
} }
.menu-toggle { display: none; }
.menu-toggle {
display: none;
}
.skip { .skip {
position: fixed; position: fixed;
left: 16px; left: 16px;
@ -123,7 +218,10 @@ button:disabled { cursor: default; }
background: #fff; background: #fff;
color: var(--ink-strong); color: var(--ink-strong);
} }
.skip:focus { top: 12px; }
.skip:focus {
top: 12px;
}
/* 3. Buttons – weiße Primär-CTAs, zurückhaltende Konturen */ /* 3. Buttons – weiße Primär-CTAs, zurückhaltende Konturen */
.button { .button {
@ -142,17 +240,29 @@ button:disabled { cursor: default; }
text-align: center; text-align: center;
transition: background .25s, border-color .25s, transform .25s var(--ease); transition: background .25s, border-color .25s, transform .25s var(--ease);
} }
.button:hover { background: #e9edf0; transform: translateY(-2px); }
.button.small { min-height: 42px; padding: 10px 20px; font-size: .875rem; } .button:hover {
.button.outline, .header-cta { background: #e9edf0;
transform: translateY(-2px);
}
.button.small {
min-height: 42px;
padding: 10px 20px;
font-size: .875rem;
}
.button.outline {
border-color: rgb(255 255 255 / 16%); border-color: rgb(255 255 255 / 16%);
background: transparent; background: transparent;
color: #fff; color: #fff;
} }
.button.outline:hover, .header-cta:hover {
.button.outline:hover {
border-color: rgb(255 255 255 / 28%); border-color: rgb(255 255 255 / 28%);
background: rgb(255 255 255 / 7%); background: rgb(255 255 255 / 7%);
} }
.text-link { .text-link {
display: inline-flex; display: inline-flex;
align-items: center; align-items: center;
@ -166,14 +276,47 @@ button:disabled { cursor: default; }
line-height: 1.4; line-height: 1.4;
transition: color .2s, border-color .2s; transition: color .2s, border-color .2s;
} }
.text-link:hover { color: #fff; border-color: #fff; }
.text-link:hover {
color: #fff;
border-color: #fff;
}
/* Footer */ /* Footer */
footer { border-top: 1px solid var(--line); background: var(--sidebar); } footer {
.footer-main { display: flex; align-items: center; gap: 24px; padding-block: 32px; } border-top: 1px solid var(--line);
.footer-main p { color: var(--muted); font-size: .9375rem; } background: var(--sidebar);
.footer-main > a:last-child { margin-left: auto; color: var(--muted); font-size: .875rem; } }
.footer-main > a:last-child:hover { color: #fff; }
.footer-note { display: flex; justify-content: space-between; gap: 24px; padding-block: 20px; border-top: 1px solid var(--line); color: var(--quiet); font-size: .75rem; }
.footer-main {
display: flex;
align-items: center;
gap: 24px;
padding-block: 32px;
}
.footer-main p {
color: var(--muted);
font-size: .9375rem;
}
.footer-main>a:last-child {
margin-left: auto;
color: var(--muted);
font-size: .875rem;
}
.footer-main>a:last-child:hover {
color: #fff;
}
.footer-note {
display: flex;
justify-content: space-between;
gap: 24px;
padding-block: 20px;
border-top: 1px solid var(--line);
color: var(--quiet);
font-size: .75rem;
}

View File

@ -70,6 +70,10 @@
<main id="inhalt"> <main id="inhalt">
<section class="hero shell" aria-labelledby="hero-title"> <section class="hero shell" aria-labelledby="hero-title">
<div class="hero-copy"> <div class="hero-copy">
<div class="eyebrow">
<span class="tiny-line"></span> ERNÄHRUNGSBERATUNG FÜR TRIATHLON AB
50
</div>
<h1 id="hero-title"> <h1 id="hero-title">
Gut versorgt.<br />Für alles, was<br /><em>noch vor dir liegt.</em> Gut versorgt.<br />Für alles, was<br /><em>noch vor dir liegt.</em>
</h1> </h1>
@ -99,6 +103,7 @@
<span>DEIN TEMPO. DEINE ZIELE.</span> <span>DEIN TEMPO. DEINE ZIELE.</span>
<p>Mehr Freude am Sport.<br />Mehr Energie fürs Leben.</p> <p>Mehr Freude am Sport.<br />Mehr Energie fürs Leben.</p>
</figcaption> </figcaption>
<div class="image-tag">TRIATHLON <b>50+</b></div>
</figure> </figure>
</section> </section>
<div class="values-strip"> <div class="values-strip">
@ -114,6 +119,10 @@
<p class="eyebrow">WAS DU DAVON HAST</p> <p class="eyebrow">WAS DU DAVON HAST</p>
<h2>Dein Training verdient<br />die passende Ernährung.</h2> <h2>Dein Training verdient<br />die passende Ernährung.</h2>
</div> </div>
<p>
Du bringst die Motivation mit. Gemeinsam schaffen wir Orientierung
für das Essen und Trinken rund um deinen Sport.
</p>
</div> </div>
<div class="benefit-grid"> <div class="benefit-grid">
<article> <article>
@ -149,6 +158,10 @@
<p class="eyebrow">DEINE ERNÄHRUNG. DEINE BEGLEITUNG.</p> <p class="eyebrow">DEINE ERNÄHRUNG. DEINE BEGLEITUNG.</p>
<h2>So viel Unterstützung,<br />wie du brauchst.</h2> <h2>So viel Unterstützung,<br />wie du brauchst.</h2>
</div> </div>
<p>
Ein klarer Einstieg oder eine enge Begleitung: Wähle den Rahmen,
der sich für dich richtig anfühlt.
</p>
</div> </div>
<div class="concept-note"> <div class="concept-note">
<span aria-hidden="true">ⓘ</span> Paketvorschläge zur Teamabstimmung · Preise, Laufzeiten und Leistungen sind beispielhaft und noch nicht bestätigt. <span aria-hidden="true">ⓘ</span> Paketvorschläge zur Teamabstimmung · Preise, Laufzeiten und Leistungen sind beispielhaft und noch nicht bestätigt.
@ -263,6 +276,10 @@
<p class="eyebrow">SO LÄUFT’S AB</p> <p class="eyebrow">SO LÄUFT’S AB</p>
<h2>Vom ersten Gespräch<br />zu deiner eigenen Routine.</h2> <h2>Vom ersten Gespräch<br />zu deiner eigenen Routine.</h2>
</div> </div>
<p>
Du musst nicht schon alles wissen. Wir beginnen bei dir und gehen
Schritt für Schritt weiter.
</p>
</div> </div>
<ol class="steps"> <ol class="steps">
<li> <li>