Compare commits

..

3 Commits

3 changed files with 182 additions and 6 deletions

View File

@ -1,9 +1,142 @@
/* ========================================================= /* =========================================================
US01-03: Ablauf sehen (+ Kontaktangaben) US01-03: Ablauf sehen
Branch: feature/US01-03-ablauf Branch: feature_US01-03
Nur Selektoren unter #ablauf verwenden. Nur Selektoren unter #ablauf verwenden.
Farben/Schriften über var(--th-...) aus base.css. Farben/Schriften über var(--th-...) aus base.css.
Vorlage: Prototyp (Programmablauf)
========================================================= */ ========================================================= */
#ablauf { #ablauf {
--abl-mint: #56d9b1;
--abl-line: rgb(255 255 255 / 0.11);
}
/* ---------- Überschrift ---------- */
#ablauf .ablauf-heading {
display: flex;
align-items: flex-end;
justify-content: space-between;
gap: 3.5rem;
margin-bottom: 2.75rem;
}
#ablauf .ablauf-eyebrow {
margin: 0;
font-size: 0.875rem;
font-weight: 650;
letter-spacing: 0.12em;
text-transform: uppercase;
color: var(--abl-mint);
}
#ablauf h2 {
margin: 0.9rem 0 0;
font-size: clamp(2.2rem, 3.4vw, 2.8rem);
font-weight: 400;
line-height: 1.12;
letter-spacing: -0.03em;
}
#ablauf .ablauf-heading > p {
max-width: 24rem;
margin: 0;
color: var(--th-text-muted);
}
/* ---------- Schritte ---------- */
#ablauf .steps {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 2rem;
margin: 0;
padding: 0;
list-style: none;
}
#ablauf .step-number {
display: block;
margin-bottom: 1.4rem;
padding: 0.5rem 0 1.1rem;
border-bottom: 1px solid var(--abl-line);
font-family: var(--th-font-display);
font-size: 2rem;
line-height: 1;
color: var(--abl-mint);
position: relative;
}
/* grüner Fortschrittsstrich unter der Nummer zeigt die Reihenfolge */
#ablauf .step-number::after {
content: "";
position: absolute;
left: 0;
bottom: -1px;
width: 2.5rem;
height: 2px;
background: var(--th-accent);
}
#ablauf .step h3 {
margin: 0 0 0.75rem;
font-family: var(--th-font-body);
font-size: 1.25rem;
font-weight: 600;
line-height: 1.3;
}
#ablauf .step p {
margin: 0;
color: var(--th-text-muted);
}
/* ---------- Abschluss ---------- */
#ablauf .process-end {
display: flex;
align-items: center;
justify-content: space-between;
gap: 1.5rem;
margin-top: 2.75rem;
padding-top: 1.9rem;
border-top: 1px solid var(--abl-line);
}
#ablauf .process-end p {
margin: 0;
font-family: var(--th-font-display);
font-size: 1.45rem;
font-style: italic;
color: #d3d7e1;
}
#ablauf .process-link {
display: inline-flex;
align-items: center;
gap: 0.75rem;
min-height: 2.75rem;
font-size: 1.125rem;
font-weight: 600;
color: var(--th-text-soft);
white-space: nowrap;
}
#ablauf .process-link:hover {
color: var(--abl-mint);
}
/* ---------- Tablet: 2 × 2 ---------- */
@media (max-width: 1100px) {
#ablauf .ablauf-heading { gap: 2rem; }
#ablauf .steps { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.75rem; }
}
/* ---------- Mobil: untereinander ---------- */
@media (max-width: 760px) {
#ablauf .ablauf-heading { display: block; margin-bottom: 2rem; }
#ablauf .ablauf-heading > p { max-width: none; margin-top: 1.25rem; }
#ablauf .process-end { display: block; }
#ablauf .process-link { margin-top: 1rem; }
}
@media (max-width: 560px) {
#ablauf .steps { grid-template-columns: 1fr; gap: 1.75rem; }
} }

View File

@ -56,7 +56,7 @@
/* ---------- Paketkarten ---------- */ /* ---------- Paketkarten ---------- */
#angebote .package-grid { #angebote .package-grid {
display: grid; display: grid;
grid-template-columns: repeat(3, 1fr); grid-template-columns: repeat(3, minmax(0, 1fr)); /* minmax(0,…) verhindert Überlaufen */
gap: 1.5rem; gap: 1.5rem;
} }
@ -358,6 +358,11 @@
#angebote .bonus-button { margin-left: 0; } #angebote .bonus-button { margin-left: 0; }
} }
/* ---------- schmale Tablets: 2 Karten nebeneinander ---------- */
@media (max-width: 1000px) {
#angebote .package-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* ---------- Mobil ---------- */ /* ---------- Mobil ---------- */
@media (max-width: 760px) { @media (max-width: 760px) {
#angebote .angebote-heading { display: block; } #angebote .angebote-heading { display: block; }

View File

@ -216,11 +216,49 @@
<!-- ========== /US01-02 ========== --> <!-- ========== /US01-02 ========== -->
<!-- ========== US01-03: Ablauf sehen (+ Kontaktangaben) ========== <!-- ========== US01-03: Ablauf sehen ==========
Branch: feature/US01-03-ablauf · Styles: css/sections/ablauf.css Branch: feature_US01-03 · Styles: css/sections/ablauf.css
Nur innerhalb dieser <section> arbeiten. --> Nur innerhalb dieser <section> arbeiten. -->
<section id="ablauf" aria-labelledby="ablauf-title"> <section id="ablauf" aria-labelledby="ablauf-title">
<!-- US01-03: Inhalt hier einfügen --> <div class="container">
<div class="ablauf-heading">
<div>
<p class="ablauf-eyebrow">So läuft’s ab</p>
<h2 id="ablauf-title">Vom ersten Gespräch<br>zu deiner eigenen Routine.</h2>
</div>
<p>Du musst nicht schon alles wissen. Wir beginnen bei dir und gehen Schritt für Schritt weiter.</p>
</div>
<ol class="steps">
<li class="step">
<span class="step-number" aria-hidden="true">01</span>
<h3><span class="sr-only">Schritt 1: </span>Dich kennenlernen</h3>
<p>Wir besprechen deine Ziele, deinen Alltag und deine sportliche Ausgangslage.</p>
</li>
<li class="step">
<span class="step-number" aria-hidden="true">02</span>
<h3><span class="sr-only">Schritt 2: </span>Gewohnheiten verstehen</h3>
<p>Ein Ernährungsprotokoll macht sichtbar, was bereits passt und wo du ansetzen kannst.</p>
</li>
<li class="step">
<span class="step-number" aria-hidden="true">03</span>
<h3><span class="sr-only">Schritt 3: </span>Deinen Weg planen</h3>
<p>Du erhältst konkrete Empfehlungen – je nach Paket ergänzt um einen individuellen Ernährungsrahmen.</p>
</li>
<li class="step">
<span class="step-number" aria-hidden="true">04</span>
<h3><span class="sr-only">Schritt 4: </span>Umsetzen &amp; anpassen</h3>
<p>Du erprobst die Empfehlungen. In Standard und Premium begleiten Feedback und Anpassungen deinen Weg.</p>
</li>
</ol>
<div class="process-end">
<p>Der beste Plan ist der, der in dein Leben passt.</p>
<a class="process-link" href="#angebote">Dein Angebot entdecken <span aria-hidden="true">↑</span></a>
</div>
</div>
</section> </section>
<!-- ========== /US01-03 ========== --> <!-- ========== /US01-03 ========== -->