
/*
Theme Name: Investitionskredite Theme
Author: AI Generator
Description: Theme für Unternehmensfinanzierung und Investitionen.
Version: 1.0
*/

:root {
    --primary: #1b4332; /* Deep Investment Green */
    --accent: #40916c; /* Lighter Green for Hover/Accents */
    --cta: #d90429; /* Starkes Rot für Conversion Buttons */
    --bg-light: #f1f7f4;
    --text: #2d3436;
    --border: #d8e2dc;
}

* { box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", 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; }
a:hover { color: var(--cta); }
img { max-width: 100%; height: auto; }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid var(--border); padding: 15px 0; position: sticky; top: 0; z-index: 1000; box-shadow: 0 4px 12px rgba(0,0,0,0.03); }
.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-decoration: none; }
.logo-icon { width: 42px; height: 42px; background: var(--primary); border-radius: 4px; color: #fff; display: flex; align-items: center; justify-content: center; margin-right: 12px; font-weight: bold; font-size: 1.5rem; }
.site-title { display: flex; flex-direction: column; }
.title-main { font-weight: 800; font-size: 1.1rem; color: var(--primary); text-transform: uppercase; letter-spacing: 0.5px; }
.title-sub { font-size: 0.75rem; color: #7f8c8d; text-transform: uppercase; letter-spacing: 1.5px; }

.header-cta { background: var(--cta); color: white; padding: 10px 24px; border-radius: 4px; font-weight: 600; font-size: 0.9rem; transition: 0.3s; box-shadow: 0 4px 6px rgba(217, 4, 41, 0.2); }
.header-cta:hover { background: #ef233c; 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 8px 20px rgba(0,0,0,0.1); min-width: 200px; flex-direction: column; padding: 10px 0; border-radius: 6px; border-top: 3px solid var(--primary); }
.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: 15px; order: 3; background: var(--bg-light); padding: 10px; border-radius: 6px; }
    .main-navigation.active { display: block; }
    .main-navigation ul { flex-direction: column; }
    .main-navigation li { margin: 10px 0; border-bottom: 1px solid #ddd; padding-bottom: 5px; }
    .mobile-menu-toggle { display: block; cursor: pointer; font-size: 1.6rem; color: var(--primary); margin-left: auto; margin-right: 20px; }
    .header-cta { order: 2; }
}
@media (min-width: 901px) { .mobile-menu-toggle { display: none; } }

/* Hero Section */
.hero-section { background: linear-gradient(rgba(27, 67, 50, 0.9), rgba(27, 67, 50, 0.9)), url('https://source.unsplash.com/random/1600x900/?office,business') no-repeat center center/cover; color: white; padding: 90px 20px; text-align: center; }
.hero-section { background: #1b4332; /* Fallback Solid Color */ }
.hero-content { max-width: 800px; margin: 0 auto; }
.hero-title { font-size: 3rem; margin-bottom: 20px; font-weight: 800; line-height: 1.1; }
.hero-subtitle { font-size: 1.2rem; color: #d8e2dc; margin-bottom: 35px; max-width: 700px; margin-left: auto; margin-right: auto; line-height: 1.6; }
.hero-btn { display: inline-block; background: var(--cta); color: white; font-size: 1.2rem; padding: 16px 45px; border-radius: 50px; font-weight: bold; transition: transform 0.2s; box-shadow: 0 10px 25px rgba(0,0,0,0.3); }
.hero-btn:hover { transform: scale(1.05); background: #ef233c; color: white; }

/* Trust Bar */
.trust-bar { background: #f8f9fa; padding: 20px; border-bottom: 1px solid var(--border); }
.trust-grid { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; max-width: 1000px; margin: 0 auto; }
.trust-item { display: flex; align-items: center; font-weight: 600; color: #555; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.5px; }
.trust-icon { color: var(--primary); margin-right: 10px; font-size: 1.2rem; }

/* Comparison Grid */
.comparison-section { padding: 70px 20px; max-width: 1200px; margin: 0 auto; }
.section-headline { text-align: center; color: var(--primary); font-size: 2.2rem; margin-bottom: 50px; font-weight: 700; position: relative; }
.section-headline:after { content: ""; display: block; width: 60px; height: 4px; background: var(--cta); margin: 15px auto 0; }
.grid-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }

.offer-card { background: #fff; border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,0.08); overflow: hidden; transition: 0.3s; display: flex; flex-direction: column; border: 1px solid #eee; }
.offer-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.12); border-color: var(--primary); }
.offer-top { padding: 30px; text-align: center; border-bottom: 1px solid #f0f0f0; height: 120px; display: flex; align-items: center; justify-content: center; }
.offer-logo { max-height: 55px; max-width: 180px; object-fit: contain; }
.offer-content { padding: 25px; flex-grow: 1; }
.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li { padding-left: 25px; position: relative; margin-bottom: 12px; font-size: 0.95rem; color: #555; }
.feature-list li:before { content: "✓"; color: var(--primary); position: absolute; left: 0; font-weight: bold; }
.offer-action { padding: 20px 25px; background: #fcfcfc; border-top: 1px solid #f0f0f0; }
.offer-btn { display: block; background: var(--primary); color: white; padding: 14px; border-radius: 4px; font-weight: bold; text-align: center; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 0.5px; }
.offer-btn:hover { background: var(--accent); color: white; }

/* Testimonials */
.testimonials-section { background: var(--bg-light); padding: 70px 20px; }
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto; }
.testi-box { background: white; padding: 30px; border-radius: 8px; border: 1px solid #e1e1e1; box-shadow: 0 2px 5px rgba(0,0,0,0.02); }
.stars { color: #f1c40f; margin-bottom: 15px; letter-spacing: 2px; }
.testi-quote { font-style: italic; color: #444; margin-bottom: 20px; font-size: 0.95rem; line-height: 1.6; }
.testi-author { font-weight: 700; color: var(--primary); font-size: 0.9rem; text-align: right; border-top: 1px solid #eee; padding-top: 10px; }

/* FAQ */
.faq-section { background: white; padding: 70px 20px; }
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { border: 1px solid #ddd; border-radius: 6px; margin-bottom: 15px; overflow: hidden; }
.faq-head { padding: 18px 25px; cursor: pointer; font-weight: 600; color: var(--primary); display: flex; justify-content: space-between; align-items: center; transition: background 0.2s; background: #fff; }
.faq-head:hover { background: #f9f9f9; }
.faq-body { padding: 25px; display: none; border-top: 1px solid #ddd; color: #555; line-height: 1.6; background: #fdfdfd; }
.faq-item.active .faq-body { display: block; }
.faq-item.active .faq-head { background: var(--bg-light); color: var(--cta); }

/* SEO Content (Justified) */
.seo-area { max-width: 900px; margin: 0 auto; padding: 60px 20px; }
.justified-content { text-align: justify; hyphens: auto; color: #333; }
.justified-content h1 { color: var(--primary); text-align: left; margin-top: 0; }
.justified-content h2, .justified-content h3 { color: var(--primary); text-align: left; margin-top: 2em; }

/* Blog Preview */
.blog-section { padding: 60px 20px; background: var(--bg-light); border-top: 1px solid var(--border); }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto; }
.blog-post { background: white; padding: 30px; border-radius: 8px; transition: 0.2s; border: 1px solid var(--border); box-shadow: 0 4px 6px rgba(0,0,0,0.02); }
.blog-post:hover { border-color: var(--primary); transform: translateY(-3px); }
.blog-post h3 { margin-top: 0; font-size: 1.3rem; margin-bottom: 10px; }
.blog-post h3 a { color: var(--primary); }

/* Footer */
.site-footer { background: #222; color: #bbb; padding: 60px 20px; text-align: center; font-size: 0.9rem; }
.footer-links { margin-bottom: 30px; }
.footer-links a { color: #fff; margin: 0 15px; text-decoration: none; opacity: 0.8; transition: 0.2s; display: inline-block; }
.footer-links a:hover { opacity: 1; text-decoration: underline; color: var(--accent); }
.copyright { color: #666; font-size: 0.85rem; }

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