/**
 * ═══════════════════════════════════════════════════════════════════════════
 * ⚠️⚠️⚠️ 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-OPTIMIERUNG FÜR PRODUCT SCHEMA
   ═══════════════════════════════════════════════════════════════════════ */

/* Wiki-Tabellen Container */
.wiki-table {
    margin: var(--spacing-large) 0;
    border-radius: var(--border-radius-medium);
    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: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    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;
    font-size: var(--font-size-small);
}

/* Tabellen-Zeilen */
.wiki-table-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    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(--primary-color-light);
    transform: translateX(2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Tabellen-Zellen */
.wiki-table-cell {
    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: var(--line-height-base);
    color: var(--text-color);
    display: flex;
    align-items: center;
    word-break: break-word;
}

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

/* Header-Zellen */
.wiki-table-header .wiki-table-cell {
    padding: var(--spacing-medium);
    font-weight: var(--font-weight-bold);
    text-align: center;
    justify-content: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Responsive Design für mobile Geräte */
@media (max-width: 768px) {
    .wiki-table-header,
    .wiki-table-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .wiki-table-cell {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: var(--spacing-small);
    }
    
    .wiki-table-cell:last-child {
        border-bottom: none;
    }
    
    .wiki-table-header .wiki-table-cell {
        text-align: left;
        justify-content: flex-start;
    }
}

/* Spezielle Boxen für zusätzliche Inhalte */
.statistics-box,
.checklist-box,
.warning-box,
.tip-box,
.highlight-box,
.workflow-diagram,
.timeline-box,
.faq-accordion {
    margin: var(--spacing-large) 0;
    padding: var(--spacing-large);
    border-radius: var(--border-radius-medium);
    border-left: 4px solid var(--primary-color);
    background: var(--background-light);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.statistics-box h4,
.checklist-box h4,
.warning-box h4,
.tip-box h4,
.highlight-box h4,
.workflow-diagram h4,
.timeline-box h4,
.faq-accordion h4 {
    margin: 0 0 var(--spacing-medium) 0;
    color: var(--primary-color);
    font-family: var(--font-family-heading);
    font-size: var(--font-size-h4);
    font-weight: var(--font-weight-bold);
}

.warning-box {
    border-left-color: var(--warning-color);
    background: var(--warning-background);
}

.tip-box {
    border-left-color: var(--info-color);
    background: var(--info-background);
}

.highlight-box {
    border-left-color: var(--success-color);
    background: var(--success-background);
}

/* FAQ Accordion Styling */
.faq-item {
    margin-bottom: var(--spacing-medium);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: var(--spacing-medium);
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.faq-item h5 {
    margin: 0 0 var(--spacing-small) 0;
    color: var(--text-color);
    font-family: var(--font-family-heading);
    font-size: var(--font-size-h5);
    font-weight: var(--font-weight-semibold);
}

.faq-item p {
    margin: 0;
    color: var(--text-muted);
    font-size: var(--font-size-body);
    line-height: var(--line-height-base);
}

/* Workflow Diagram Styling */
.workflow-diagram ol {
    margin: 0;
    padding-left: var(--spacing-large);
    counter-reset: step-counter;
}

.workflow-diagram li {
    margin-bottom: var(--spacing-small);
    position: relative;
    counter-increment: step-counter;
}

.workflow-diagram li::marker {
    content: counter(step-counter) ".";
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
}

/* Timeline Box Styling */
.timeline-box ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.timeline-box li {
    margin-bottom: var(--spacing-small);
    padding-left: var(--spacing-large);
    position: relative;
}

.timeline-box li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: var(--font-weight-bold);
}

.timeline-box li strong {
    color: var(--primary-color);
    font-weight: var(--font-weight-bold);
}

/* Code Blocks Styling */
pre {
    background: var(--code-background);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-small);
    padding: var(--spacing-medium);
    overflow-x: auto;
    font-family: var(--font-family-mono);
    font-size: var(--font-size-small);
    line-height: var(--line-height-tight);
    color: var(--code-text);
}

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

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