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

/* ═══════════════════════════════════════════════════════════════════════
   ⚠️ PROFESSIONELLE TABELLEN-OPTIMIERUNG FÜR ABSATZSTRUKTUR
   ═══════════════════════════════════════════════════════════════════════ */

/* Tabellen-Container */
.wiki-table {
    width: 100%;
    margin: var(--spacing-large) 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    background: var(--background-color);
    border: 1px solid var(--border-color);
}

/* Tabellen-Header */
.wiki-table-header {
    display: flex;
    background: var(--primary-color);
    color: var(--text-light);
    font-family: var(--font-family-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: var(--font-size-small);
}

/* 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(2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

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

/* Header-Zellen spezielle Formatierung */
.wiki-table-header .wiki-table-cell {
    font-weight: 600;
    text-align: center;
    justify-content: center;
    min-height: 60px;
    background: var(--primary-color);
    color: var(--text-light);
}

/* Responsive Design für mobile Geräte */
@media (max-width: 768px) {
    .wiki-table {
        font-size: var(--font-size-small);
    }
    
    .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: 600;
        text-align: left;
        justify-content: flex-start;
    }
}

/* ═══════════════════════════════════════════════════════════════════════
   ⚠️ SCREEN-SPEZIFISCHE ANPASSUNGEN (falls nötig)
   ═══════════════════════════════════════════════════════════════════════ */

/* Content-spezifische Anpassungen für Absatzstruktur */
.absatzstruktur-container {
    max-width: 100%;
    margin: 0 auto;
    padding: var(--spacing-medium);
}

/* Verbesserte Lesbarkeit für Code-Blöcke */
.absatzstruktur-container pre {
    background: var(--background-light);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: var(--spacing-medium);
    overflow-x: auto;
    font-family: var(--font-family-mono);
    font-size: var(--font-size-small);
    line-height: 1.4;
}

/* Checkliste-Styling */
.absatzstruktur-container ul li {
    margin-bottom: var(--spacing-small);
    line-height: 1.6;
}

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

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