/**
 * ═══════════════════════════════════════════════════════════════════════════
 * ⚠️⚠️⚠️ SAMPLE CSS-DATEI - DIESE DATEI IST FEDERFÜHREND! ⚠️⚠️⚠️
 * ═══════════════════════════════════════════════════════════════════════════
 * 
 * DIESE SAMPLE-DATEI IST DIE ABSOLUTE REFERENZ FÜR ALLE CSS-DATEIEN!
 * 
 * ABSOLUT VERBOTEN:
 * - Hartcodierte Farben (z.B. #f39324, rgb(255,0,0))
 * - Hartcodierte Schriften (z.B. Arial, Helvetica)
 * - CSS-Regeln duplizieren die bereits in base.css, widgets-*.css existieren
 * - Globale Selektoren (body, html, a, div) überschreiben
 * 
 * PFLICHT: NUR CSS Custom Properties verwenden!
 * - Farben: var(--primary-color), var(--secondary-color), var(--text-color)
 * - Schriften: var(--font-family-base), var(--font-size-body)
 * - Spacing: var(--spacing-small), var(--spacing-medium)
 * 
 * WARUM:
 * - Zentrale Theme-Verwaltung
 * - Konsistenz über alle Screens
 * - Einfache Anpassung des gesamten Designs an einer Stelle
 * 
 * INHALT:
 * - NUR screen-spezifische CSS-Regeln
 * - Keine Wiederholung von Basis-CSS
 * - Kann auch leer sein wenn keine spezifischen Styles nötig sind
 * 
 * ═══════════════════════════════════════════════════════════════════════════
 */

/* ═══════════════════════════════════════════════════════════════════════
   ⚠️ SCREEN-SPEZIFISCHE TABELLEN-OPTIMIERUNGEN
   ═══════════════════════════════════════════════════════════════════════ */

/* Wiki-Tabellen Container */
.wiki-table {
    margin: var(--spacing-large) 0;
    border-radius: var(--border-radius-medium);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    background: var(--background-color);
}

/* Tabellen-Header */
.wiki-table-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    font-family: var(--font-family-heading);
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    border-bottom: 2px solid var(--primary-color);
}

/* Tabellen-Zeilen */
.wiki-table-row {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
    background: var(--background-color);
}

/* Zebra-Striping für bessere Lesbarkeit */
.wiki-table-row:nth-child(even) {
    background: var(--background-light);
}

/* Hover-Effekt für Zeilen */
.wiki-table-row:hover {
    background: var(--hover-color);
    transform: translateX(4px);
    box-shadow: var(--shadow-small);
}

/* Tabellen-Zellen */
.wiki-table-cell {
    flex: 1;
    padding: var(--spacing-medium);
    font-family: var(--font-family-base);
    font-size: var(--font-size-body);
    line-height: var(--line-height-base);
    border-right: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    min-height: 60px;
}

/* Letzte Zelle ohne rechten Border */
.wiki-table-cell:last-child {
    border-right: none;
}

/* Header-Zellen spezielle Formatierung */
.wiki-table-header .wiki-table-cell {
    font-size: var(--font-size-small);
    font-weight: var(--font-weight-bold);
    text-align: center;
    justify-content: center;
    min-height: 50px;
}

/* Responsive Design für mobile Geräte */
@media (max-width: 768px) {
    .wiki-table-header,
    .wiki-table-row {
        flex-direction: column;
    }
    
    .wiki-table-cell {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        min-height: auto;
        padding: var(--spacing-small);
    }
    
    .wiki-table-cell:last-child {
        border-bottom: none;
    }
    
    .wiki-table-header .wiki-table-cell {
        background: var(--primary-color);
        color: var(--text-light);
        font-weight: var(--font-weight-bold);
        margin-bottom: var(--spacing-small);
    }
}

/* ═══════════════════════════════════════════════════════════════════════
   ⚠️ SCREEN-SPEZIFISCHE CONTENT-OPTIMIERUNGEN
   ═══════════════════════════════════════════════════════════════════════ */

/* Content-Footer Styling */
.content-footer {
    margin-top: var(--spacing-large);
    padding: var(--spacing-medium);
    background: var(--background-light);
    border-radius: var(--border-radius-small);
    border-left: 4px solid var(--primary-color);
}

.last-update {
    color: var(--text-muted);
    font-size: var(--font-size-small);
    font-style: italic;
    margin: 0;
}

/* Code-Blöcke Styling */
pre {
    background: var(--background-dark);
    color: var(--text-light);
    padding: var(--spacing-medium);
    border-radius: var(--border-radius-small);
    overflow-x: auto;
    font-family: var(--font-family-mono);
    font-size: var(--font-size-small);
    line-height: var(--line-height-tight);
}

code {
    background: var(--background-light);
    color: var(--primary-color);
    padding: 2px 6px;
    border-radius: var(--border-radius-small);
    font-family: var(--font-family-mono);
    font-size: var(--font-size-small);
}

/* Listen-Styling Verbesserungen */
ul, ol {
    margin: var(--spacing-medium) 0;
    padding-left: var(--spacing-large);
}

li {
    margin-bottom: var(--spacing-small);
    line-height: var(--line-height-base);
}

/* Blockquotes und wichtige Hinweise */
p strong {
    color: var(--primary-color);
    font-weight: var(--font-weight-bold);
}

/* ═══════════════════════════════════════════════════════════════════════
   ⚠️ WICHTIG: Oft reichen die Basis-CSS-Dateien aus!
   Wenn keine spezifischen Styles benötigt werden, kann diese Datei 
   fast leer sein (nur der Header-Kommentar bleibt).
   ═══════════════════════════════════════════════════════════════════════ */
