/*
Theme Name: LWKI Solutions Custom Design
Description: High-End Webauftritt für Industrie-CNC, Smart Home (KNX/Gira) und Elektroinstallation.
Author: Carsten Lewandowski
Version: 1.0.8
Template: customizr
License: GNU General Public License v2 or later
*/

/* --- Globale Design-Variablen (Corporate Identity) --- */
:root {
    --lwki-bg-main: #1a1e24;         /* Tiefer Hintergrundwert aus Ihrer Vorlage */
    --lwki-header-bg: #232933;       /* Helleres, metallisches Anthrazit für das obere Menüband */
    --lwki-card-bg: #232933;         /* Gleicher Ton für Module und Inhalts-Kacheln */
    --lwki-footer-bg: #111419;       /* Sehr dunkles, fast schwarzes Anthrazit für den Footer */
    --lwki-silver-bright: #f3f4f6;   /* Leuchtendes Silber-Weiß für Überschriften/Menüs */
    --lwki-silver-text: #e5e7eb;     /* Klares Silber-Grau für die Fließtexte */
    --lwki-border-color: #374151;   /* Technische Trennlinien */
    --lwki-font-base: 'Segoe UI', -apple-system, sans-serif;
}

/* --- Visuelle Anpassungen & Schriftfarben --- */
body, html {
    background-color: var(--lwki-bg-main) !important;
    color: var(--lwki-silver-text) !important;
    font-family: var(--lwki-font-base);
    line-height: 1.65;
}

p, span, li, label, td, th {
    color: var(--lwki-silver-text) !important;
}

h1, h2, h3, h4, h5, h6, .site-title a {
    color: var(--lwki-silver-bright) !important;
    font-weight: 600;
    letter-spacing: 0.5px;
}

a {
    color: var(--lwki-silver-text);
    transition: color 0.3s;
}

a:hover {
    color: var(--lwki-silver-bright) !important;
}

/* --- MENÜBAND OBEN (Vom Body abgesetzt) --- */
.navbar, 
.navbar-inner, 
.site-header, 
#site-header,
.header-wrapper,
.tc-header {
    background-color: var(--lwki-header-bg) !important;
    background-image: none !important;
    border-bottom: 1px solid var(--lwki-border-color) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
}

/* Lesbarkeit obere Navigationslinks */
.navbar .nav > li > a, 
.nav-menu li a, 
.main-navigation a,
#main-menu a,
.navbar-inner .nav a,
.navbar .brand {
    color: var(--lwki-silver-bright) !important;
    text-shadow: none !important;
    font-weight: 500 !important;
}

.navbar .nav > li > a:hover, 
.nav-menu li a:hover, 
.main-navigation a:hover,
#main-menu a:hover,
.navbar-inner .nav a:hover {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.05) !important;
}

/* --- RADIKALE INTERVENTION FOOTER (Alle Streifen und inneren Container erfassen) --- */
footer,
#footer,
.footer-navigation,
.colophon,
#colophon,
.footer-widgets,
.site-footer,
.subsidiary,
.tc-colophon-wrapper,
footer .container,
footer .row,
footer .row-fluid,
#footer .container,
#footer .row,
.colophon .container,
.footer-widgets .container {
    background-color: var(--lwki-footer-bg) !important;
    background-image: none !important;
    border-top: 1px solid var(--lwki-border-color) !important;
}

/* Schriften und Links (auch im Footer-Bereich) auf Silber umstellen */
footer p, footer div, footer span, footer li, .colophon a, #colophon a, .footer-widgets a, .subsidiary a {
    color: var(--lwki-silver-text) !important;
    text-shadow: none !important;
}

footer a:hover, .colophon a:hover, .footer-widgets a:hover {
    color: var(--lwki-silver-bright) !important;
}

/* --- Kachel-Struktur für die Leistungsbereiche --- */
.lwki-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    padding: 40px 0;
}

.lwki-card {
    background-color: var(--lwki-card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 30px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.lwki-card:hover {
    transform: translateY(-5px);
    border-color: var(--lwki-silver-bright);
}

.lwki-card h3 {
    margin-top: 0;
    font-size: 1.4rem;
    border-bottom: 2px solid var(--lwki-border-color);
    padding-bottom: 10px;
}

/* --- Innungs- & HWK-Logoband --- */
.footer-branding-leiste {
    background-color: var(--lwki-footer-bg);
    border-top: 1px solid var(--lwki-border-color);
    padding: 30px;
    text-align: center;
}

.footer-branding-leiste img {
    max-height: 50px;
    margin: 0 20px;
    filter: grayscale(100%) brightness(140%);
    opacity: 0.75;
    transition: opacity 0.3s, filter 0.3s;
}

.footer-branding-leiste img:hover {
    filter: grayscale(0%) brightness(100%);
    opacity: 1;
}