143 lines
3.0 KiB
CSS
143 lines
3.0 KiB
CSS
/* =========================================================
|
||
US01-03: Ablauf sehen
|
||
Branch: feature_US01-03
|
||
Nur Selektoren unter #ablauf verwenden.
|
||
Farben/Schriften über var(--th-...) aus base.css.
|
||
Vorlage: Prototyp (Programmablauf)
|
||
========================================================= */
|
||
|
||
#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; }
|
||
}
|