/*
Theme Name: Daniel WP Business Theme Pro
Version: 1.0
*/

/* --- REITER 7: LAYOUT & TYPOGRAFIE (BASIS) --- */
body {
    font-family: var(--main-font);
    color: var(--base-text-color);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.container {
    max-width: var(--container-w);
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* --- REITER 1 & 2: HEADER & NAVIGATION --- */
.site-header { width: 100%; }
.header-row { display: flex; align-items: center; justify-content: space-between; }

.dwb-desktop-nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
    margin: 0;
}

.dwb-desktop-nav ul li a {
    color: var(--menu-link);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: var(--menu-weight);
}

.dwb-desktop-nav ul li a:hover { color: var(--menu-hover); }

/* REITER 2 (Mobil): Hamburger-Stil & Toggle */
.dwb-mobile-trigger { 
    display: none; 
    cursor: pointer; 
}

@media (max-width: 991px) {
    .dwb-mobile-trigger { 
        display: block; 
    }
    .dwb-desktop-nav { 
        display: none; 
    }
}

/* --- REITER 3: HERO SLIDER --- */
.dwb-hero-slider { 
    position: relative; 
    height: var(--slider-h); 
    overflow: hidden; 
}

.dwb-slide {
    position: absolute; 
    width: 100%; 
    height: 100%;
    background-size: cover; 
    background-position: center;
    display: flex; 
    align-items: center; 
    justify-content: center;
    opacity: 0; 
    transition: opacity 0.8s;
}

.dwb-slide.is-active { 
    opacity: 1; 
}

/* --- REITER 4 & 5: KONTAKT & SOCIAL MEDIA --- */
.contact-info-wrapper { 
    display: flex; 
    gap: 15px; 
    font-size: 0.9rem; 
}

.social-icons-wrapper { 
    display: flex; 
    gap: 10px; 
}

/* REITER 5: Social Styles (Simple, Circle, Brand) */
.social-icon.circle { 
    border-radius: 50%; 
    padding: 8px; 
    border: 1px solid currentColor; 
}

.social-icon.brand-facebook { color: #1877F2; }
.social-icon.brand-instagram { color: #E4405F; }
.social-icon.brand-twitter { color: #1DA1F2; }
.social-icon.brand-linkedin { color: #0A66C2; }

/* --- REITER 6: BUTTONS & DESIGN --- */
.dwb-button {
    display: inline-block;
    background-color: var(--btn-bg);
    color: var(--btn-text);
    padding: var(--btn-padding-v) var(--btn-padding-h);
    border-radius: var(--btn-radius);
    font-size: var(--btn-font-size);
    transition: 0.3s;
    border: none;
    text-decoration: none;
    cursor: pointer;
}

.dwb-button:hover { 
    background-color: var(--btn-hover); 
    transform: translateY(-2px); 
}

/* --- REITER 8: SIDEBAR & WIDGETS --- */
.site-layout-wrapper { 
    display: flex; 
    gap: 40px; 
    margin: 40px 0; 
}

.sidebar { 
    flex: 0 0 var(--sb-width); 
    min-width: 250px; 
}

.content-area { 
    flex: 1; 
}

/* Widget Stile */
.widget-card { 
    border: 1px solid #ddd; 
    padding: 20px; 
    border-radius: 8px; 
    background: #fff; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.widget-shaded { 
    background: #f9f9f9; 
    padding: 20px; 
    border-radius: 4px; 
}

/* --- REITER 9: FOOTER --- */
.site-footer {
    background-color: var(--brand-secondary);
    color: #fff; 
    padding: 60px 0 20px;
}

.footer-widgets-grid { 
    display: grid; 
    gap: 30px; 
}

/* --- REITER 10: BRANDING --- */
.brand-primary-text { color: var(--brand-primary); }
.brand-accent-line { 
    height: 3px; 
    width: 50px; 
    background: var(--brand-accent); 
}

/* --- REITER 11: SUCHE --- */
.search-form { 
    display: flex; 
    border-radius: var(--search-radius); 
    overflow: hidden; 
}

.search-field { 
    background: var(--search-bg); 
    border: 1px solid rgba(0,0,0,0.1); 
    padding: 10px; 
    flex-grow: 1; 
    outline: none;
    font-size: 14px;
}

.search-submit { 
    background: var(--search-btn-bg); 
    color: var(--search-btn-text); 
    border: none; 
    padding: 0 20px; 
    cursor: pointer;
    transition: opacity 0.3s;
}

.search-submit:hover {
    opacity: 0.9;
}

/* --- REITER 12: BACK TO TOP --- */
.dwb-back-to-top {
    background-color: var(--btt-bg);
    border-radius: var(--btt-radius);
    font-size: var(--btt-size);
}

/* Responsive Fixes */
@media (max-width: 768px) {
    .site-layout-wrapper { 
        flex-direction: column; 
    }
    
    .footer-widgets-grid { 
        grid-template-columns: 1fr !important; 
    }

    .sidebar {
        flex: 0 0 100%;
    }
}