Compare commits

..

No commits in common. "4c7d2d9c9c65894ed1c86fc4ae4beaec72a89cc5" and "8b906202b7ec47c11791c89ae790e39b07ba7f33" have entirely different histories.

2 changed files with 414 additions and 488 deletions

View File

@ -11,15 +11,8 @@
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);
@ -29,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 {
@ -117,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;
@ -132,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;
@ -153,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;
@ -194,17 +106,13 @@ button:disabled {
white-space: nowrap; white-space: nowrap;
transition: color .2s, background .2s, border-color .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: transparent; border-color: var(--line);
background: rgb(255 255 255 / 20%); background: rgb(255 255 255 / 5%);
color: var(--accent-strong); color: #fff;
} }
.menu-toggle { display: none; }
.menu-toggle {
display: none;
}
.skip { .skip {
position: fixed; position: fixed;
left: 16px; left: 16px;
@ -215,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 {
@ -237,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;
@ -273,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;
}

View File

@ -1,13 +1,18 @@
<!doctype html> <!doctype html>
<html lang="de"> <html lang="de">
<head>
<head>
<meta charset="utf-8" /> <meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Ernährungsberatung für best Ager | TriHub</title> <title>Ernährungsberatung ab 50 | TriHub</title>
<meta name="description" <meta
content="Ernährung, die zu deinem Triathlon und deinem Leben passt. Entdecke drei Konzepte für persönliche Ernährungsberatung bei TriHub." /> name="description"
<link rel="icon" type="image/jpeg" href="assets/images/icons/trihub-logo.jpg" /> content="Ernährung, die zu deinem Triathlon und deinem Leben passt. Entdecke drei Konzepte für persönliche Ernährungsberatung bei TriHub."
/>
<link
rel="icon"
type="image/jpeg"
href="assets/images/icons/trihub-logo.jpg"
/>
<link rel="stylesheet" href="css/assets.css" /> <link rel="stylesheet" href="css/assets.css" />
<link rel="stylesheet" href="css/base.css" /> <link rel="stylesheet" href="css/base.css" />
<link rel="stylesheet" href="css/sections/hero.css" /> <link rel="stylesheet" href="css/sections/hero.css" />
@ -16,29 +21,50 @@
<link rel="stylesheet" href="css/responsive.css" /> <link rel="stylesheet" href="css/responsive.css" />
<script src="js/angebote.js" defer></script> <script src="js/angebote.js" defer></script>
<script src="js/main.js" defer></script> <script src="js/main.js" defer></script>
</head> </head>
<body>
<body>
<a class="skip" href="#inhalt">Zum Inhalt</a> <a class="skip" href="#inhalt">Zum Inhalt</a>
<header class="site-header"> <header class="site-header">
<div class="shell header-inner"> <div class="shell header-inner">
<a class="brand brand-logo" href="https://tri-hub.de/" aria-label="TriHub Startseite"><span <a
class="brand-mark"><img src="assets/images/icons/trihub-logo.jpg" width="1024" height="1024" class="brand brand-logo"
alt="Trihub – fit und vital ab 50!" /></span><span class="brand-copy"><span href="https://tri-hub.de/"
class="brand-name">Tri-hub</span><span class="brand-sub">Triathlon Ernährungsberatung für aria-label="TriHub Startseite"
best Ager</span></span></a> ><span class="brand-mark"
><img
src="assets/images/icons/trihub-logo.jpg"
width="1024"
height="1024"
alt="Trihub – fit und vital ab 50!" /></span
><span class="brand-copy"
><span class="brand-name">Tri-hub</span
><span class="brand-sub"
>Ernährungsberatung für Triathlon ab 50</span
></span
></a
>
<nav aria-label="Hauptnavigation"> <nav aria-label="Hauptnavigation">
<a href="https://tri-hub.de/coaching-1zu1">Coaching 1zu1</a><a href="#inhalt" <a href="https://tri-hub.de/coaching-1zu1">Coaching 1zu1</a
aria-current="page">Ernährungsberatung</a><a href="#angebote">Angebote entdecken</a><a href="#ablauf">So ><a href="#inhalt" aria-current="page">Ernährungsberatung</a
läuft’s ab</a> ><a href="#ablauf">So läuft’s ab</a>
</nav> </nav>
<button class="menu-toggle" aria-expanded="false" aria-controls="mobile-nav" aria-label="Menü öffnen"> <a class="button small header-cta" href="#angebote"
>Angebote entdecken</a
>
<button
class="menu-toggle"
aria-expanded="false"
aria-controls="mobile-nav"
aria-label="Menü öffnen"
>
☰ ☰
</button> </button>
</div> </div>
<nav id="mobile-nav" aria-label="Mobile Navigation" hidden> <nav id="mobile-nav" aria-label="Mobile Navigation" hidden>
<a href="#angebote">Angebote entdecken</a><a href="#vorteile">Deine Vorteile</a><a href="#ablauf">So läuft’s <a href="#angebote">Angebote entdecken</a
ab</a><a href="https://tri-hub.de/coaching-1zu1">Coaching 1zu1</a> ><a href="#vorteile">Deine Vorteile</a
><a href="#ablauf">So läuft’s ab</a
><a href="https://tri-hub.de/coaching-1zu1">Coaching 1zu1</a>
</nav> </nav>
</header> </header>
<main id="inhalt"> <main id="inhalt">
@ -57,8 +83,8 @@
passt. passt.
</p> </p>
<div class="hero-actions"> <div class="hero-actions">
<a class="button" href="#angebote">Deine Begleitung finden</a><a class="text-link" href="#ablauf">So <a class="button" href="#angebote">Deine Begleitung finden</a
funktioniert’s</a> ><a class="text-link" href="#ablauf">So funktioniert’s</a>
</div> </div>
<div class="hero-note"> <div class="hero-note">
<span class="check" aria-hidden="true">✓</span> Persönlich. <span class="check" aria-hidden="true">✓</span> Persönlich.
@ -66,20 +92,25 @@
</div> </div>
</div> </div>
<figure class="hero-visual"> <figure class="hero-visual">
<img src="assets/images/hero/hero.webp" width="1200" height="800" <img
src="assets/images/hero/hero.webp"
width="1200"
height="800"
alt="Zwei sportlich aktive Menschen ab 50 besprechen einen Plan neben einem Fahrrad am See" alt="Zwei sportlich aktive Menschen ab 50 besprechen einen Plan neben einem Fahrrad am See"
fetchpriority="high" /> fetchpriority="high"
/>
<figcaption> <figcaption>
<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">
<div class="shell"> <div class="shell">
<span>Für deinen Einstieg</span><i aria-hidden="true">✦</i><span>Für deinen Wiedereinstieg</span><i <span>Für deinen Einstieg</span><i aria-hidden="true">✦</i
aria-hidden="true">✦</i><span>Für dein nächstes Ziel</span> ><span>Für deinen Wiedereinstieg</span><i aria-hidden="true">✦</i
><span>Für dein nächstes Ziel</span>
</div> </div>
</div> </div>
<section id="vorteile" class="shell section benefits"> <section id="vorteile" class="shell section benefits">
@ -139,8 +170,13 @@
<div class="package-grid"> <div class="package-grid">
<article class="package"> <article class="package">
<div class="package-image"> <div class="package-image">
<img src="assets/images/angebote/starter.webp" width="700" height="420" <img
alt="Gemeinsame Planung am See für den sportlichen Einstieg" loading="lazy" /> src="assets/images/angebote/starter.webp"
width="700"
height="420"
alt="Gemeinsame Planung am See für den sportlichen Einstieg"
loading="lazy"
/>
</div> </div>
<div class="package-body"> <div class="package-body">
<p class="eyebrow">STARTER</p> <p class="eyebrow">STARTER</p>
@ -154,16 +190,23 @@
<li>Analyse deiner Essgewohnheiten</li> <li>Analyse deiner Essgewohnheiten</li>
<li>Konkrete Empfehlungen für den Alltag</li> <li>Konkrete Empfehlungen für den Alltag</li>
</ul> </ul>
<button class="button package-open" data-package="starter"> <button
class="button outline package-open"
data-package="starter"
>
Starter entdecken Starter entdecken
</button> </button>
</div> </div>
</article> </article>
<article class="package featured"> <article class="package featured">
<div class="package-image"> <div class="package-image">
<img src="assets/images/angebote/standard.webp" width="700" height="420" <img
alt="Sportler und Coach besprechen gemeinsam einen Plan am Fahrrad" loading="lazy" /><span src="assets/images/angebote/standard.webp"
class="package-badge">MIT INDIVIDUELLEM PLAN</span> width="700"
height="420"
alt="Sportler und Coach besprechen gemeinsam einen Plan am Fahrrad"
loading="lazy"
/><span class="package-badge">MIT INDIVIDUELLEM PLAN</span>
</div> </div>
<div class="package-body"> <div class="package-body">
<p class="eyebrow">STANDARD</p> <p class="eyebrow">STANDARD</p>
@ -184,8 +227,13 @@
</article> </article>
<article class="package"> <article class="package">
<div class="package-image"> <div class="package-image">
<img src="assets/images/angebote/premium.webp" width="700" height="420" <img
alt="Persönliches Coachinggespräch auf einer Bank neben einem Triathlonrad" loading="lazy" /> src="assets/images/angebote/premium.webp"
width="700"
height="420"
alt="Persönliches Coachinggespräch auf einer Bank neben einem Triathlonrad"
loading="lazy"
/>
</div> </div>
<div class="package-body"> <div class="package-body">
<p class="eyebrow">PREMIUM</p> <p class="eyebrow">PREMIUM</p>
@ -199,7 +247,10 @@
<li>Verpflegungsstrategie für Wettkämpfe</li> <li>Verpflegungsstrategie für Wettkämpfe</li>
<li>Engmaschige Begleitung und Anpassung</li> <li>Engmaschige Begleitung und Anpassung</li>
</ul> </ul>
<button class="button package-open" data-package="premium"> <button
class="button outline package-open"
data-package="premium"
>
Premium entdecken Premium entdecken
</button> </button>
</div> </div>
@ -271,16 +322,26 @@
</main> </main>
<footer> <footer>
<div class="shell footer-main"> <div class="shell footer-main">
<a class="brand brand-logo" href="https://tri-hub.de/" aria-label="TriHub Startseite"><span <a
class="brand-mark"><img src="assets/images/icons/trihub-logo.jpg" width="1024" height="1024" class="brand brand-logo"
alt="Trihub – fit und vital ab 50!" /></span></a> href="https://tri-hub.de/"
aria-label="TriHub Startseite"
><span class="brand-mark"
><img
src="assets/images/icons/trihub-logo.jpg"
width="1024"
height="1024"
alt="Trihub – fit und vital ab 50!" /></span
></a>
<p>Dein sportliches Zuhause ab 50.</p> <p>Dein sportliches Zuhause ab 50.</p>
<a href="https://tri-hub.de/">Zur TriHub-Website</a> <a href="https://tri-hub.de/">Zur TriHub-Website</a>
</div> </div>
<div class="shell footer-note"> <div class="shell footer-note">
<span>Projektprototyp · Keine Buchung oder Datenübermittlung</span><span>Ernährungsangebote sind <span>Projektprototyp · Keine Buchung oder Datenübermittlung</span
Konzeptvorschläge, keine veröffentlichten ><span
TriHub-Tarife.</span> >Ernährungsangebote sind Konzeptvorschläge, keine veröffentlichten
TriHub-Tarife.</span
>
</div> </div>
</footer> </footer>
<dialog id="package-dialog" aria-labelledby="dialog-title"> <dialog id="package-dialog" aria-labelledby="dialog-title">
@ -300,7 +361,8 @@
<section class="discount-box"> <section class="discount-box">
<p class="eyebrow">DEIN COACHING-VORTEIL</p> <p class="eyebrow">DEIN COACHING-VORTEIL</p>
<h3>Du bist schon im Coaching 1zu1?</h3> <h3>Du bist schon im Coaching 1zu1?</h3>
<label for="coaching-select">Dein bestehendes Coaching-Paket</label><select id="coaching-select"> <label for="coaching-select">Dein bestehendes Coaching-Paket</label
><select id="coaching-select">
<option value="0">Noch kein Coaching 1zu1</option> <option value="0">Noch kein Coaching 1zu1</option>
<option value="3">Starter-Coaching</option> <option value="3">Starter-Coaching</option>
<option value="5">Standard-Coaching</option> <option value="5">Standard-Coaching</option>
@ -313,11 +375,15 @@
Coaching-Laufzeit auf den aktuellen Verkaufspreis der Coaching-Laufzeit auf den aktuellen Verkaufspreis der
Ernährungsberatung. Ernährungsberatung.
</p> </p>
<a href="https://tri-hub.de/coaching-1zu1" target="_blank" rel="noopener">Coaching 1zu1 bei TriHub ansehen</a> <a
href="https://tri-hub.de/coaching-1zu1"
target="_blank"
rel="noopener"
>Coaching 1zu1 bei TriHub ansehen</a
>
</section> </section>
<button class="button dialog-done">Zurück zu den Angeboten</button> <button class="button dialog-done">Zurück zu den Angeboten</button>
</div> </div>
</dialog> </dialog>
</body> </body>
</html> </html>