/**
 * ═══════════════════════════════════════════════════════════════════════════
 * ⚠️⚠️⚠️ 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
   ═══════════════════════════════════════════════════════════════════════ */

/* Framework-Vergleichstabelle - Erste Tabelle */
.frameworks-container .wiki-table:first-of-type {
    margin: var(--spacing-large) 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

/* Next.js Rendering-Modi Tabelle - Zweite Tabelle */
.frameworks-container .wiki-table:last-of-type {
    margin: var(--spacing-large) 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

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

/* Tabellen-Zeilen Hover-Effekt */
.wiki-table-row:hover {
    background-color: var(--color-hover-light);
    transform: translateX(2px);
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

/* Tabellen-Zellen Styling */
.wiki-table-cell {
    padding: var(--spacing-medium);
    border-right: 1px solid var(--color-border-light);
    font-family: var(--font-family-base);
    font-size: var(--font-size-body);
    line-height: 1.5;
    vertical-align: top;
}

/* Letzte Zelle in jeder Zeile - kein rechter Border */
.wiki-table-cell:last-child {
    border-right: none;
}

/* Responsive Design für Tabellen */
@media (max-width: 768px) {
    .wiki-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .wiki-table-header,
    .wiki-table-row {
        display: inline-block;
        vertical-align: top;
        min-width: 150px;
    }
    
    .wiki-table-cell {
        display: block;
        border-right: none;
        border-bottom: 1px solid var(--color-border-light);
        padding: var(--spacing-small);
    }
}

/* Screen-spezifische Überschriften */
.frameworks-container h2 {
    color: var(--primary-color);
    font-family: var(--font-family-heading);
    font-size: var(--font-size-h2);
    margin-top: var(--spacing-xlarge);
    margin-bottom: var(--spacing-medium);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: var(--spacing-small);
}

.frameworks-container h3 {
    color: var(--secondary-color);
    font-family: var(--font-family-heading);
    font-size: var(--font-size-h3);
    margin-top: var(--spacing-large);
    margin-bottom: var(--spacing-small);
}

/* Code-Beispiele und technische Begriffe */
.frameworks-container code {
    background-color: var(--color-code-background);
    color: var(--color-code-text);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: var(--font-family-mono);
    font-size: var(--font-size-small);
}

/* Listen-Styling für Best Practices */
.frameworks-container ul li,
.frameworks-container ol li {
    margin-bottom: var(--spacing-small);
    line-height: 1.6;
}

.frameworks-container strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Verwandte Themen Links */
.frameworks-container .related-topics a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.frameworks-container .related-topics a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* ═══════════════════════════════════════════════════════════════════════
   ⚠️ 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).
   ═══════════════════════════════════════════════════════════════════════ */
