196 lines
5.0 KiB
CSS
196 lines
5.0 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 {
|
|
--bg-dark-1: #0d0d1a;
|
|
--bg-dark-2: #1a1a2e;
|
|
--accent-teal: #10B981;
|
|
/* Farbe angepasst, um mit dem Pakete-Bereich übereinzustimmen */
|
|
|
|
--text-white: #ffffff;
|
|
--text-lightgray: #F8FAFC;
|
|
--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(--bg-dark-1);
|
|
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(--bg-dark-2);
|
|
/* 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;
|
|
}
|
|
|
|
.berater-section .berater-image-wrapper {
|
|
background-color: var(--bg-dark-1);
|
|
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-teal);
|
|
text-transform: uppercase;
|
|
letter-spacing: 1.5px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.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-lightgray);
|
|
}
|
|
|
|
.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-lightgray);
|
|
}
|
|
|
|
/* 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-teal);
|
|
}
|
|
|
|
/* =========================================
|
|
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(--bg-dark-1);
|
|
background: var(--accent-teal);
|
|
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);
|
|
} |