Compare commits
No commits in common. "e9ebfb231a2b64e5f759595a228cb8d8cd1fc8be" and "230bdff303068d599468a11a3b238ba0e846cc32" have entirely different histories.
e9ebfb231a
...
230bdff303
231
css/base.css
231
css/base.css
|
|
@ -6,21 +6,13 @@
|
||||||
--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%);
|
||||||
--mint: oklch(70% .12 205);
|
--panel: linear-gradient(#ffffff14, #ffffff08);
|
||||||
--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; }
|
||||||
box-sizing: border-box;
|
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
|
||||||
}
|
|
||||||
|
|
||||||
html {
|
|
||||||
scroll-behavior: smooth;
|
|
||||||
scroll-padding-top: 120px;
|
|
||||||
}
|
|
||||||
|
|
||||||
body {
|
body {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
background: var(--background);
|
background: var(--background);
|
||||||
|
|
@ -30,87 +22,29 @@ body {
|
||||||
line-height: 1.7;
|
line-height: 1.7;
|
||||||
-webkit-font-smoothing: antialiased;
|
-webkit-font-smoothing: antialiased;
|
||||||
}
|
}
|
||||||
|
main { overflow: clip; }
|
||||||
main {
|
h1, h2, h3, p, figure { margin: 0; }
|
||||||
overflow: clip;
|
h1, h2, h3 {
|
||||||
}
|
|
||||||
|
|
||||||
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; }
|
||||||
h1,
|
h3 { line-height: 1.35; }
|
||||||
h2 {
|
a { color: inherit; text-decoration: none; }
|
||||||
line-height: 1.12;
|
button, select { font: inherit; }
|
||||||
}
|
button { cursor: pointer; border: 0; }
|
||||||
|
button, a, select { -webkit-tap-highlight-color: transparent; }
|
||||||
h3 {
|
a, button, select { touch-action: manipulation; }
|
||||||
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; }
|
||||||
img {
|
button:disabled { cursor: default; }
|
||||||
display: block;
|
[hidden] { display: none !important; }
|
||||||
max-width: 100%;
|
.shell { width: min(1280px, calc(100% - 128px)); margin-inline: auto; }
|
||||||
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 {
|
||||||
|
|
@ -118,12 +52,13 @@ button:disabled {
|
||||||
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(color-mix(in oklab, var(--background) 95%, transparent),
|
background: linear-gradient(
|
||||||
color-mix(in oklab, var(--background) 80%, transparent));
|
color-mix(in oklab, var(--background) 95%, 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;
|
||||||
|
|
@ -133,14 +68,12 @@ button:disabled {
|
||||||
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;
|
||||||
|
|
@ -154,38 +87,16 @@ button:disabled {
|
||||||
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-logo img {
|
.brand-copy { display: grid; gap: 3px; }
|
||||||
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; }
|
||||||
.brand-sub {
|
.header-inner nav { display: flex; align-items: center; gap: 5px; }
|
||||||
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;
|
||||||
|
|
@ -193,21 +104,15 @@ button:disabled {
|
||||||
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, box-shadow .2s;
|
transition: color .2s, background .2s, border-color .2s;
|
||||||
}
|
}
|
||||||
|
.header-inner nav a:hover,
|
||||||
.header-inner nav a:hover {
|
.header-inner nav a[aria-current] {
|
||||||
border-color: var(--mint);
|
border-color: var(--line);
|
||||||
background: var(--mint);
|
background: rgb(255 255 255 / 5%);
|
||||||
color: #000;
|
color: #fff;
|
||||||
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;
|
||||||
|
|
@ -218,10 +123,7 @@ button:disabled {
|
||||||
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 {
|
||||||
|
|
@ -240,29 +142,17 @@ button:disabled {
|
||||||
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:hover {
|
.button.small { min-height: 42px; padding: 10px 20px; font-size: .875rem; }
|
||||||
background: #e9edf0;
|
.button.outline, .header-cta {
|
||||||
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;
|
||||||
|
|
@ -276,47 +166,14 @@ button:disabled {
|
||||||
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 {
|
footer { border-top: 1px solid var(--line); background: var(--sidebar); }
|
||||||
border-top: 1px solid var(--line);
|
.footer-main { display: flex; align-items: center; gap: 24px; padding-block: 32px; }
|
||||||
background: var(--sidebar);
|
.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; }
|
||||||
|
|
||||||
.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;
|
|
||||||
}
|
|
||||||
|
|
@ -70,10 +70,6 @@
|
||||||
<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>
|
||||||
|
|
@ -103,7 +99,6 @@
|
||||||
<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">
|
||||||
|
|
@ -119,10 +114,6 @@
|
||||||
<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>
|
||||||
|
|
@ -158,10 +149,6 @@
|
||||||
<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.
|
||||||
|
|
@ -276,10 +263,6 @@
|
||||||
<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>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue