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

/* ═══════════════════════════════════════════════════════════════════════
   ⚠️ URL-Optimierung spezifische Tabellen-Styles
   ═══════════════════════════════════════════════════════════════════════ */

/* URL-Länge Tabelle - spezielle Anpassungen */
.url-optimierung .wiki-table {
    margin: var(--spacing-large) 0;
    border-radius: var(--border-radius-medium);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.url-optimierung .wiki-table-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-color-light);
    font-family: var(--font-family-heading);
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: var(--spacing-medium);
}

.url-optimierung .wiki-table-header .wiki-table-cell {
    font-size: var(--font-size-small);
    font-weight: var(--font-weight-bold);
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.url-optimierung .wiki-table-header .wiki-table-cell:last-child {
    border-right: none;
}

.url-optimierung .wiki-table-row {
    background: var(--background-color-light);
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-color-light);
}

.url-optimierung .wiki-table-row:hover {
    background: var(--hover-color-light);
    transform: translateX(2px);
    box-shadow: var(--shadow-small);
}

.url-optimierung .wiki-table-row:nth-child(even) {
    background: var(--background-color);
}

.url-optimierung .wiki-table-row:nth-child(even):hover {
    background: var(--hover-color);
}

.url-optimierung .wiki-table-cell {
    padding: var(--spacing-medium);
    font-family: var(--font-family-base);
    font-size: var(--font-size-body);
    color: var(--text-color);
    text-align: center;
    vertical-align: middle;
    border-right: 1px solid var(--border-color-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.url-optimierung .wiki-table-cell:last-child {
    border-right: none;
}

/* Internationale URL-Strategien Tabelle - spezielle Styling */
.url-optimierung .wiki-table:last-of-type .wiki-table-header {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
}

.url-optimierung .wiki-table:last-of-type .wiki-table-row:hover {
    background: var(--secondary-color-light);
    color: var(--text-color-light);
}

/* Code-Blöcke in der URL-Optimierung */
.url-optimierung pre {
    background: var(--background-color-dark);
    color: var(--text-color-light);
    padding: var(--spacing-medium);
    border-radius: var(--border-radius-small);
    font-family: var(--font-family-mono);
    font-size: var(--font-size-small);
    overflow-x: auto;
    border-left: 4px solid var(--primary-color);
    margin: var(--spacing-medium) 0;
}

.url-optimierung code {
    background: var(--background-color-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);
    font-weight: var(--font-weight-medium);
}

/* Spezielle Boxen für URL-Optimierung */
.url-optimierung .wiki-comparison-box,
.url-optimierung .wiki-checklist-box,
.url-optimierung .wiki-diagram-box,
.url-optimierung .wiki-warning-box,
.url-optimierung .wiki-statistics-box {
    background: var(--background-color-light);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-medium);
    padding: var(--spacing-medium);
    margin: var(--spacing-medium) 0;
    box-shadow: var(--shadow-small);
}

.url-optimierung .wiki-comparison-box {
    border-left: 4px solid var(--primary-color);
}

.url-optimierung .wiki-checklist-box {
    border-left: 4px solid var(--success-color);
}

.url-optimierung .wiki-diagram-box {
    border-left: 4px solid var(--info-color);
}

.url-optimierung .wiki-warning-box {
    border-left: 4px solid var(--warning-color);
    background: var(--warning-color-light);
}

.url-optimierung .wiki-statistics-box {
    border-left: 4px solid var(--secondary-color);
    background: var(--secondary-color-light);
}

/* Responsive Design für Tabellen */
@media (max-width: 768px) {
    .url-optimierung .wiki-table {
        font-size: var(--font-size-small);
    }
    
    .url-optimierung .wiki-table-cell {
        padding: var(--spacing-small);
    }
    
    .url-optimierung .wiki-table-header .wiki-table-cell {
        font-size: var(--font-size-xs);
    }
}

@media (max-width: 576px) {
    .url-optimierung .wiki-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .url-optimierung .wiki-table-header,
    .url-optimierung .wiki-table-row {
        display: block;
        width: 100%;
    }
    
    .url-optimierung .wiki-table-cell {
        display: inline-block;
        width: auto;
        min-width: 120px;
        border-right: 1px solid var(--border-color-light);
    }
}
