/* css/themes/_softdark.css */

body.softdark {
    background-color: #1A1A1A;
    color: #EAEAEA;
}

body.softdark .page-hero h1 { color: #FFFFFF; }
body.softdark .page-text-header h1 {
    color: #FFFFFF;
    border-bottom-color: #444444;
}
body.softdark .page-text-content p,
body.softdark .page-text-content ul,
body.softdark .page-text-content ol {
    color: #EAEAEA;
}
body.softdark .page-text-content h2,
body.softdark .page-text-content h3,
body.softdark .page-text-content h4 {
    color: #FFFFFF;
}
body.softdark .page-text-content a {
    color: #66CCFF;
}
body.softdark .page-text-content a:hover {
    color: #A3E0FF;
}
body.softdark .page-text-content blockquote {
    background-color: #282828;
    border-left-color: #66CCFF;
    color: #BDBDBD;
}
body.softdark .page-text-content pre {
    background-color: #3A3A3A;
    color: #EAEAEA;
    border: 1px solid #444444;
}
body.softdark .page-text-content hr {
    background-color: #444444;
}

body.softdark .sidebar-box {
    background-color: #282828;
    border-color: #444444;
}
body.softdark .sidebar-box h4 {
    color: #FFFFFF;
    border-bottom-color: #444444;
}
body.softdark .sidebar-box > ul > li > a {
    color: #66CCFF;
}
body.softdark .sidebar-box > ul > li::before {
    background-color: #66CCFF;
    box-shadow: 0 0 4px rgba(102,204,255,0.7);
}
body.softdark .sidebar-box ul ul {
    border-left-color: #444444;
}
body.softdark .sidebar-box ul ul a {
    color: #EAEAEA;
}
body.softdark .sidebar-box ul ul li::before {
    background-color: #BDBDBD;
}

body.softdark .site-footer {
    background-color: #121212;
    border-top: 1px solid #444444;
    color: #BDBDBD;
}
body.softdark .footer-legal a {
    color: #66CCFF;
}
body.softdark .footer-legal a:hover {
    color: #A3E0FF;
    text-decoration: underline;
}

/* =========================================
   Softdark Theme Override: Feature List (Row Style)
   Anlehnung an technische Spezifikationen (Bild image_03baa6.png)
   ========================================= */

/* Grid-Layout anpassen: Etwas engerer Abstand für den technischen Look */
body.softdark .features-grid {
    gap: 20px; /* Kleinerer Abstand als im Standard-Layout */
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); /* Breitere Karten für den Text */
}

/* Die Karte selbst: Flexbox für horizontale Anordnung */
body.softdark .feature-item {
    display: flex;
    flex-direction: row; /* WICHTIG: Ordnet Bild und Text nebeneinander an */
    align-items: center; /* Vertikale Zentrierung */
    text-align: left;    /* Text linksbündig statt zentriert */
    
    padding: 15px 20px;
    background-color: #333333; /* Dunkler Hintergrund wie im Bild */
    border: 1px solid #4a4a4a; /* Dezenter Rahmen */
    border-radius: 8px;        /* Leicht abgerundete Ecken */
    min-height: auto;          /* Höhe automatisch anhand des Inhalts */
    box-shadow: none;          /* Flacherer Look */
}

/* Das Icon/Bild Container-Element */
body.softdark .feature-image-top {
    /* Wir überschreiben die festen 200px Höhe vom Standard-Layout */
    width: 60px;       /* Feste Breite für das Icon */
    height: 60px;      /* Feste Höhe */
    flex-shrink: 0;    /* Verhindert, dass das Icon zusammengedrückt wird */
    margin-right: 20px; /* Abstand zum Text */
    
    background-color: transparent; /* Kein grauer Hintergrund */
    border-radius: 0;  /* Keine abgerundeten Ecken am Bildcontainer nötig */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Das Bild/Icon selbst */
body.softdark .feature-image-top img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* WICHTIG: Icon wird komplett angezeigt, nicht beschnitten */
    opacity: 0.9;        /* Leicht abgedunkelt für den Softdark-Look */
}

/* Der Text-Container */
body.softdark .feature-content {
    padding: 0;   /* Das Padding ist jetzt auf der Karte (.feature-item) selbst */
    flex-grow: 1; /* Nimmt den restlichen Platz ein */
}

/* Die Überschrift (z.B. "Abmessungen") */
body.softdark .feature-item h3 {
    margin-bottom: 4px;
    font-size: 1.1rem;
    color: #f0f0f0; /* Heller Text */
    font-weight: 600;
}

/* Der Beschreibungstext */
body.softdark .feature-item p {
    font-size: 0.95rem;
    line-height: 1.4;
    color: #cccccc; /* Etwas dunkleres Grau für den Fließtext */
    margin-bottom: 0;
}

/* Hover-Effekt für Softdark (optional: leichter Glow) */
body.softdark .feature-item:hover {
    border-color: #666;
    background-color: #3a3a3a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

body.softdark .feature-item .feature-icon {
    background: transparent !important;
    width: 4rem;
    height: 4rem;
    margin-right: 1rem;
}