Konsistentes Spacing-System: Mathematische Skala basierend auf --space-unit (0.25rem) Logische Abstufungen von xxs bis xxxl Responsive Anpassungen über Container-Padding und Section-Spacing Erweiterte Typografie-Kontrolle: Skalierbare Schriftgrößen basierend auf --font-size-base Definierte Schriftgewichte und Zeilenhöhen Responsive Anpassungen der Basis-Schriftgröße Verbesserte Responsive-Struktur: Breakpoint-Referenzen in Variablen Automatische Anpassungen durch CSS-Variablen Safe-Area-Insets für moderne Geräte Layout-System: Definierte Content-Breiten Z-Index-Skala Einheitliche Border-Radius-Werte Performance-Optimierungen: Hardware-beschleunigte Transitionen Optimierte Animation-Timings Konsistente Transition-Eigenschaften Die Migration wurde schrittweise durchgeführt: variables.css: Neue Basis-Variablen definiert base.css: Grundlegende Typografie und Layout angepasst header.css & header-line.css: Navigation und Header-Elemente optimiert components.css: Alle Komponenten auf neue Variablen umgestellt responsive.css: Breakpoint-spezifische Anpassungen implementiert animations.css: Animationen vereinheitlicht footer.css: Footer-Styles optimiert Das neue System bietet: Bessere Wartbarkeit durch zentrale Steuerung Konsistente Skalierung über alle Breakpoints Flexibilität für zukünftige Anpassungen Volle Kompatibilität mit dem Theme-System
207 lines
4.8 KiB
CSS
207 lines
4.8 KiB
CSS
/* Card Base Styles */
|
|
.card-base {
|
|
background: var(--bg-card);
|
|
padding: var(--space-xl);
|
|
border-radius: var(--radius-md);
|
|
border: 1px solid var(--border-color);
|
|
transition: transform var(--transition-speed) var(--transition-timing),
|
|
border-color var(--transition-speed) var(--transition-timing);
|
|
}
|
|
|
|
/* Mission Vision Cards */
|
|
.mission-vision {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
|
gap: var(--space-lg);
|
|
margin: var(--space-xl) 0;
|
|
}
|
|
|
|
.tooltip-container {
|
|
background: var(--bg-card);
|
|
padding: var(--space-xl);
|
|
border-radius: var(--radius-md);
|
|
border: 1px solid var(--border-color);
|
|
cursor: pointer;
|
|
transition: border-color var(--transition-speed) var(--transition-timing);
|
|
}
|
|
|
|
.tooltip-container:hover {
|
|
border-color: var(--primary);
|
|
}
|
|
|
|
.tooltip-container h3 {
|
|
color: var(--primary);
|
|
margin-bottom: var(--space-md);
|
|
font-size: var(--font-size-lg);
|
|
font-weight: var(--font-weight-medium);
|
|
}
|
|
|
|
.tooltip-header {
|
|
position: relative;
|
|
padding-right: var(--space-xl);
|
|
}
|
|
|
|
.tooltip-header::after {
|
|
content: '▼';
|
|
position: absolute;
|
|
right: 0;
|
|
top: 0;
|
|
color: var(--primary);
|
|
transition: transform var(--transition-speed) var(--transition-timing);
|
|
}
|
|
|
|
.tooltip-container.active .tooltip-header::after {
|
|
transform: rotate(180deg);
|
|
}
|
|
|
|
.tooltip-content {
|
|
max-height: 0;
|
|
overflow: hidden;
|
|
opacity: 0;
|
|
transition: max-height var(--transition-speed) var(--transition-timing),
|
|
opacity var(--transition-speed) var(--transition-timing),
|
|
margin var(--transition-speed) var(--transition-timing);
|
|
margin-top: 0;
|
|
font-size: var(--font-size-md);
|
|
line-height: var(--line-height-base);
|
|
}
|
|
|
|
.tooltip-container.active .tooltip-content {
|
|
max-height: 500px;
|
|
opacity: 1;
|
|
margin-top: var(--space-lg);
|
|
padding-top: var(--space-lg);
|
|
border-top: 1px solid var(--border-color);
|
|
}
|
|
|
|
/* Service Cards */
|
|
.service-card {
|
|
background: var(--bg-card);
|
|
padding: var(--space-xl);
|
|
border-radius: var(--radius-md);
|
|
border: 1px solid var(--border-color);
|
|
margin: var(--space-lg) 0;
|
|
transition: border-color var(--transition-speed) var(--transition-timing);
|
|
}
|
|
|
|
.service-card:hover {
|
|
border-color: var(--primary);
|
|
}
|
|
|
|
.service-card h3 {
|
|
color: var(--primary);
|
|
margin-bottom: var(--space-md);
|
|
font-size: var(--font-size-lg);
|
|
font-weight: var(--font-weight-medium);
|
|
}
|
|
|
|
.service-card li {
|
|
list-style: none;
|
|
margin-bottom: var(--space-sm);
|
|
position: relative;
|
|
padding-left: var(--space-lg);
|
|
font-size: var(--font-size-md);
|
|
line-height: var(--line-height-base);
|
|
}
|
|
|
|
.service-card li::before {
|
|
content: '•';
|
|
position: absolute;
|
|
left: 0;
|
|
color: var(--primary);
|
|
}
|
|
|
|
/* Contact Info Card */
|
|
.contact-info {
|
|
background: var(--bg-card);
|
|
padding: var(--space-xl);
|
|
border-radius: var(--radius-md);
|
|
border: 1px solid var(--border-color);
|
|
margin: var(--space-xl) 0;
|
|
text-align: center;
|
|
transition: border-color var(--transition-speed) var(--transition-timing);
|
|
}
|
|
|
|
.contact-info:hover {
|
|
border-color: var(--primary);
|
|
}
|
|
|
|
.contact-info p {
|
|
margin-bottom: var(--space-lg);
|
|
color: var(--text);
|
|
font-size: var(--font-size-md);
|
|
line-height: var(--line-height-base);
|
|
}
|
|
|
|
.contact-links {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: var(--space-md);
|
|
}
|
|
|
|
.contact-link {
|
|
color: var(--text) !important;
|
|
text-decoration: none;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-sm);
|
|
padding: var(--space-sm) var(--space-md);
|
|
border-radius: var(--radius-md);
|
|
transition: all var(--transition-speed) var(--transition-timing);
|
|
border: 1px solid transparent;
|
|
font-size: var(--font-size-md);
|
|
}
|
|
|
|
.contact-link:hover {
|
|
color: var(--primary) !important;
|
|
border-color: var(--primary);
|
|
}
|
|
|
|
.contact-link i {
|
|
font-size: var(--font-size-lg);
|
|
color: var(--primary);
|
|
}
|
|
|
|
/* Signal Icon Styles */
|
|
.signal-icon {
|
|
color: var(--primary);
|
|
width: var(--font-size-lg);
|
|
height: var(--font-size-lg);
|
|
}
|
|
|
|
/* Quote Styles */
|
|
.welcome-quote {
|
|
font-size: var(--font-size-lg);
|
|
text-align: center;
|
|
padding: var(--space-xl);
|
|
line-height: var(--line-height-relaxed);
|
|
}
|
|
|
|
.logo-sub {
|
|
display: block;
|
|
text-align: center;
|
|
font-size: var(--font-size-sm);
|
|
color: var(--text-muted);
|
|
margin: var(--space-xl) auto;
|
|
max-width: var(--content-width-md);
|
|
line-height: var(--line-height-relaxed);
|
|
font-style: italic;
|
|
}
|
|
|
|
/* Mobile Optimizations */
|
|
@media (max-width: 768px) {
|
|
.tooltip-container {
|
|
padding: var(--space-lg);
|
|
}
|
|
|
|
.tooltip-content {
|
|
font-size: var(--font-size-md);
|
|
line-height: var(--line-height-base);
|
|
}
|
|
|
|
.service-card {
|
|
padding: var(--space-lg);
|
|
}
|
|
}
|