200 lines
5.4 KiB
CSS
200 lines
5.4 KiB
CSS
/* Ahmad: Styles bleiben in .berater-section; Karten passen auch auf Mobilgeraete. */
|
||
/* ==========================================================
|
||
Globale Design-Variablen - Angepasst an die Design-DNA von Tri-hub
|
||
========================================================== */
|
||
.berater-section {
|
||
/* Farben und variabel-namen wurden standarttisiert siehe Kommentare */
|
||
--background: ##0714198a; /* früher "--bg-dark-1" */
|
||
--background-rgb: 7 20 25; /* gleiche Basisfarbe wie --background,
|
||
aber ohne fixes Alpha – für Gradient-Stops
|
||
wird benutzt um Bildern einen gradient zu verpassen */
|
||
--background-panel: #152027; /* früher "--bg-dark-2" */
|
||
--accent: #4597A3; /* früher "accent-teal" */
|
||
--text-primary: #ffffff; /* früher "text-white" */
|
||
--text-muted: #94A3B8;
|
||
|
||
--font-display: 'Inter', system-ui, sans-serif;
|
||
--font-body: 'Inter', system-ui, sans-serif;
|
||
}
|
||
|
||
.berater-section {
|
||
margin: 0;
|
||
/* Padding vereinheitlicht, um dem Pakete-Bereich zu entsprechen */
|
||
padding: 5rem 1.5rem;
|
||
font-family: var(--font-body);
|
||
background-color: var(--background);
|
||
color: var(--text-white);
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: center;
|
||
/* Gesamten Inhalt vertikal zentrieren */
|
||
}
|
||
|
||
/* =========================================
|
||
Styling für Header (Titel und Untertitel) passend zu den Paketen
|
||
========================================= */
|
||
.berater-section .section-header {
|
||
text-align: center;
|
||
max-width: 42rem;
|
||
margin: 0 auto 3rem;
|
||
}
|
||
|
||
.berater-section .section-title {
|
||
font-family: var(--font-display);
|
||
font-weight: 700;
|
||
font-size: clamp(1.8rem, 3vw, 2.4rem);
|
||
color: var(--text-white);
|
||
margin: 0 0 0.75rem;
|
||
}
|
||
|
||
.berater-section .section-subtitle {
|
||
color: var(--text-muted);
|
||
line-height: 1.6;
|
||
margin: 0;
|
||
}
|
||
|
||
/* =========================================
|
||
Styling für den Container und die Berater-Karten
|
||
========================================= */
|
||
.berater-section .berater-container {
|
||
display: flex;
|
||
gap: 30px;
|
||
width: 100%;
|
||
max-width: 1000px;
|
||
flex-wrap: wrap;
|
||
justify-content: center;
|
||
}
|
||
|
||
.berater-section .berater-card {
|
||
background-color: var(--background-panel);
|
||
/* Leichte Umrandung hinzugefügt, ähnlich wie bei den Pakete-Karten */
|
||
border: 1px solid rgba(248, 250, 252, 0.08);
|
||
/* Border-Radius angepasst, passend zu den Paketen */
|
||
border-radius: 14px;
|
||
padding: 24px;
|
||
width: min(380px, 100%);
|
||
box-sizing: border-box;
|
||
display: flex;
|
||
flex-direction: column;
|
||
}
|
||
|
||
/* ---------- Profilbild, Name und Rolle innerhalb einer Karte ---------- */
|
||
.berater-section .berater-image-wrapper {
|
||
background-color: var(--background);
|
||
border-radius: 10px;
|
||
padding: 10px;
|
||
margin-bottom: 24px;
|
||
}
|
||
|
||
.berater-section .berater-image-wrapper img {
|
||
width: 100%;
|
||
height: 350px;
|
||
object-fit: cover;
|
||
border-radius: 8px;
|
||
display: block;
|
||
}
|
||
|
||
.berater-section .berater-name {
|
||
margin: 0 0 8px 0;
|
||
font-family: var(--font-display);
|
||
font-size: 1.4rem;
|
||
/* Schriftgröße des Namens harmonisiert */
|
||
font-weight: 600;
|
||
color: var(--text-white);
|
||
}
|
||
|
||
.berater-section .berater-rolle {
|
||
margin: 0 0 24px 0;
|
||
font-family: var(--font-body);
|
||
font-size: 14px;
|
||
color: var(--accent);
|
||
text-transform: uppercase;
|
||
letter-spacing: 1.5px;
|
||
font-weight: 600;
|
||
}
|
||
|
||
/* ---------- Biografie und ergänzende Angaben aus berater.json ---------- */
|
||
.berater-section .berater-bio-box {
|
||
/* Hintergrund entfernt, um sich nahtlos in die Karte einzufügen */
|
||
background-color: transparent;
|
||
border-radius: 16px;
|
||
/* Überschüssiges Padding entfernt */
|
||
padding: 0;
|
||
flex-grow: 1;
|
||
}
|
||
|
||
.berater-section .bio-title {
|
||
margin: 0 0 16px 0;
|
||
font-size: 16px;
|
||
font-weight: 600;
|
||
color: var(--text-primary);
|
||
}
|
||
|
||
.berater-section .bio-text {
|
||
margin: 0;
|
||
font-size: 15px;
|
||
line-height: 1.6;
|
||
color: var(--text-muted);
|
||
}
|
||
|
||
/* =========================================
|
||
Styling für dynamische Listen (z. B. Zertifikate)
|
||
========================================= */
|
||
.berater-section .berater-liste {
|
||
margin: 8px 0 0 0;
|
||
padding-left: 1.4rem;
|
||
color: var(--text-muted);
|
||
font-size: 14px;
|
||
line-height: 1.6;
|
||
list-style: none;
|
||
/* Standard-Listenpunkte entfernt für benutzerdefiniertes Styling */
|
||
}
|
||
|
||
.berater-section .berater-liste li {
|
||
position: relative;
|
||
margin-bottom: 0.7rem;
|
||
color: var(--text-primary);
|
||
}
|
||
|
||
/* Grünes quadratisches Aufzählungszeichen hinzugefügt, exakt wie im Pakete-Bereich */
|
||
.berater-section .berater-liste li::before {
|
||
content: "";
|
||
position: absolute;
|
||
left: -1.4rem;
|
||
top: 0.4em;
|
||
width: 8px;
|
||
height: 8px;
|
||
border-radius: 2px;
|
||
background: var(--accent);
|
||
}
|
||
|
||
/* =========================================
|
||
Styling für dynamische Links (Buttons)
|
||
========================================= */
|
||
.berater-section .berater-links {
|
||
margin-top: 20px;
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
gap: 10px;
|
||
}
|
||
|
||
.berater-section .berater-link-btn {
|
||
display: inline-block;
|
||
font-family: var(--font-body);
|
||
font-weight: 600;
|
||
font-size: 0.95rem;
|
||
color: var(--background);
|
||
background: var(--accent);
|
||
border: none;
|
||
border-radius: 8px;
|
||
padding: 0.85rem 1rem;
|
||
cursor: pointer;
|
||
text-decoration: none;
|
||
transition: filter 0.15s ease;
|
||
}
|
||
|
||
.berater-section .berater-link-btn:hover,
|
||
.berater-section .berater-link-btn:focus-visible {
|
||
filter: brightness(1.1);
|
||
}
|