
/*
Theme Name: Kredite für Unternehmer Theme
Author: AI Generator
Description: Spezialisiertes Finanz-Theme für Unternehmerkredite. High Conversion Header, SEO Content Bottom.
Version: 1.0
*/

:root {
    --primary: #002b49; /* Seriöses dunkles Business-Blau */
    --secondary: #f4f7f9;
    --accent: #d9534f; /* Modernes Rot/Orange für CTAs */
    --success: #28a745;
    --text: #333;
    --border: #e1e4e8;
}

* { box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: var(--text); line-height: 1.6; margin: 0; padding: 0; background: #fff; }
a { text-decoration: none; color: var(--primary); transition: 0.2s; }
img { max-width: 100%; height: auto; }

/* Header */
.site-header { background: #fff; box-shadow: 0 2px 15px rgba(0,0,0,0.08); padding: 15px 0; position: sticky; top: 0; z-index: 1000; }
.header-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 0 20px; }
.site-branding { display: flex; align-items: center; text-transform: uppercase; letter-spacing: 0.5px; }
.site-logo-icon { width: 45px; height: 45px; background: var(--primary); border-radius: 4px; color: #fff; display: flex; align-items: center; justify-content: center; margin-right: 12px; font-weight: 900; font-size: 1.5rem; }
.site-title-text span { display: block; line-height: 1.1; }
.site-title-main { color: var(--primary); font-weight: 800; font-size: 1.1rem; }
.site-title-sub { color: #777; font-weight: 500; font-size: 0.85rem; }

.header-cta { background: var(--accent); color: white; padding: 12px 25px; border-radius: 4px; font-weight: bold; font-size: 0.95rem; }
.header-cta:hover { background: #c9302c; color: white; transform: translateY(-1px); }

/* Navigation */
.main-navigation { margin-right: 30px; }
.main-navigation ul { list-style: none; margin: 0; padding: 0; display: flex; }
.main-navigation li { margin-left: 25px; position: relative; }
.main-navigation a { color: var(--text); font-weight: 600; font-size: 0.95rem; }
.main-navigation a:hover { color: var(--accent); }
.main-navigation ul ul { display: none; position: absolute; top: 100%; left: 0; background: #fff; box-shadow: 0 4px 10px rgba(0,0,0,0.1); min-width: 200px; flex-direction: column; padding: 10px 0; border-radius: 4px; }
.main-navigation ul ul li { margin: 0; }
.main-navigation ul ul a { display: block; padding: 8px 15px; }
.main-navigation li:hover > ul { display: flex; }

/* Mobile Menu */
@media (max-width: 900px) {
    .header-inner { flex-wrap: wrap; }
    .main-navigation { width: 100%; display: none; margin-top: 20px; order: 3; }
    .main-navigation.active { display: block; }
    .main-navigation ul { flex-direction: column; }
    .main-navigation li { margin: 10px 0; }
    .mobile-menu-toggle { display: block; cursor: pointer; font-size: 1.8rem; color: var(--primary); margin-left: auto; margin-right: 20px; }
    .header-cta { order: 2; }
}
@media (min-width: 901px) { .mobile-menu-toggle { display: none; } }

/* Hero Section (Conversion) */
.hero-section { background: linear-gradient(135deg, #f4f7f9 0%, #e6eff5 100%); padding: 80px 20px; text-align: center; border-bottom: 1px solid var(--border); }
.hero-content { max-width: 900px; margin: 0 auto; }
.hero-title { font-size: 3rem; color: var(--primary); margin-bottom: 20px; font-weight: 800; line-height: 1.2; }
.hero-subtitle { font-size: 1.25rem; color: #555; margin-bottom: 35px; max-width: 750px; margin-left: auto; margin-right: auto; }
.hero-btn-big { display: inline-block; background: var(--accent); color: white; font-size: 1.2rem; padding: 16px 45px; border-radius: 50px; font-weight: bold; box-shadow: 0 8px 20px rgba(217, 83, 79, 0.3); transition: transform 0.2s; }
.hero-btn-big:hover { transform: scale(1.03); color: white; background: #c9302c; }

/* Trust Badges */
.trust-section { background: white; padding: 30px 20px; text-align: center; border-bottom: 1px solid #eee; }
.badges-container { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.badge-item { display: flex; align-items: center; color: #555; font-weight: 600; }
.badge-icon { background: #eefbf3; color: var(--success); width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-right: 10px; font-weight: bold; }

/* Comparison Grid */
.comparison-section { padding: 60px 20px; max-width: 1200px; margin: 0 auto; }
.section-headline { text-align: center; color: var(--primary); font-size: 2rem; margin-bottom: 50px; }
.comparison-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }

.offer-card { border: 1px solid var(--border); border-radius: 8px; padding: 0; background: #fff; transition: 0.3s; box-shadow: 0 4px 6px rgba(0,0,0,0.02); display: flex; flex-direction: column; overflow: hidden; }
.offer-card:hover { transform: translateY(-7px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); border-color: var(--primary); }
.offer-header { padding: 25px; text-align: center; border-bottom: 1px solid #f0f0f0; min-height: 110px; display: flex; align-items: center; justify-content: center; }
.offer-logo { max-height: 50px; max-width: 180px; object-fit: contain; }
.offer-body { padding: 25px; flex-grow: 1; }
.offer-features { list-style: none; padding: 0; margin: 0; }
.offer-features li { padding-left: 28px; position: relative; margin-bottom: 12px; font-size: 0.95rem; color: #444; }
.offer-features li:before { content: "✔"; color: var(--success); position: absolute; left: 0; font-weight: bold; }
.offer-footer { padding: 20px 25px; background: #fafbfc; border-top: 1px solid #f0f0f0; }
.offer-btn { display: block; background: var(--success); color: white; padding: 14px; border-radius: 6px; font-weight: bold; text-align: center; text-transform: uppercase; letter-spacing: 0.5px; }
.offer-btn:hover { background: #218838; color: white; }

/* Testimonials */
.testimonials-section { background: var(--secondary); padding: 70px 20px; }
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 25px; max-width: 1100px; margin: 0 auto; }
.testimonial-card { background: #fff; padding: 25px; border-radius: 8px; box-shadow: 0 2px 5px rgba(0,0,0,0.03); }
.t-stars { color: #fbc02d; margin-bottom: 15px; letter-spacing: 2px; }
.t-text { font-style: italic; color: #555; margin-bottom: 15px; }
.t-author { font-weight: bold; color: var(--primary); font-size: 0.9rem; text-align: right; }

/* FAQ */
.faq-section { background: #fff; padding: 70px 20px; max-width: 800px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: 6px; margin-bottom: 15px; overflow: hidden; }
.faq-question { padding: 15px 20px; background: #fdfdfd; font-weight: 600; cursor: pointer; color: var(--primary); display: flex; justify-content: space-between; }
.faq-question:hover { background: #f0f0f0; }
.faq-answer { padding: 20px; display: none; border-top: 1px solid var(--border); color: #555; background: #fff; }
.faq-item.active .faq-answer { display: block; }
.faq-item.active .faq-question { background: #f4f7f9; }

/* SEO Content Bottom (Blocksatz & Justified) */
.seo-content-bottom { max-width: 900px; margin: 0 auto; padding: 60px 20px; background: #fff; }
.seo-content-bottom .content-wrapper { 
    text-align: justify; 
    hyphens: auto; 
    color: #444;
}
.seo-content-bottom h1 { font-size: 2rem; color: var(--primary); margin-bottom: 15px; text-align: left; }
.seo-content-bottom h2 { font-size: 1.5rem; color: var(--primary); margin-top: 30px; margin-bottom: 15px; text-align: left; }
.seo-content-bottom p { margin-bottom: 15px; }

/* Blog Section */
.latest-posts-section { padding: 70px 20px; background: #fafbfc; border-top: 1px solid var(--border); }
.posts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto; }
.post-card { background: white; padding: 30px; border-radius: 8px; border: 1px solid var(--border); transition: 0.2s; }
.post-card:hover { border-color: var(--primary); }
.post-title { font-size: 1.3rem; margin-top: 0; color: var(--primary); }
.post-title a { color: var(--primary); }

/* Footer */
.site-footer { background: #1a1a1a; color: #888; padding: 50px 20px; font-size: 0.9rem; text-align: center; }
.footer-links { margin-bottom: 25px; }
.footer-links a { color: #ccc; margin: 0 15px; text-decoration: none; }
.footer-links a:hover { color: white; text-decoration: underline; }

/* Sidebar & General Layout */
.has-sidebar .container-content { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; max-width: 1200px; margin: 40px auto; padding: 0 20px; }
.container-content { max-width: 1200px; margin: 40px auto; padding: 0 20px; }
@media (max-width: 800px) { .has-sidebar .container-content { grid-template-columns: 1fr; } }
.sidebar-widget { background: #fff; padding: 25px; margin-bottom: 25px; border-radius: 6px; border: 1px solid var(--border); }
.widget-title { font-size: 1.1rem; color: var(--primary); border-bottom: 2px solid var(--secondary); padding-bottom: 10px; margin-bottom: 20px; }
