/*
Theme Name: Kredite für Freiberufler Theme
Theme URI: https://www.kredite-fuer-freiberufler.de/
Author: ChatGPT
Description: Konversionsstarkes, responsives Theme für Kredite für Freiberufler.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: kff-theme
*/

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    color: #1b2b3b;
    background-color: #f5f7fb;
    line-height: 1.6;
}

a {
    color: #0c7c3c;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
}

.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e1e4ec;
    position: sticky;
    top: 0;
    z-index: 999;
}

.header-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header-logo img {
    max-height: 40px;
    width: auto;
}

.site-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
    color: #17212f;
}

.site-title a {
    color: inherit;
}

.site-description {
    font-size: 0.8rem;
    color: #6b7280;
    margin: 0.1rem 0 0;
}

.site-branding {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Navigation */
.main-navigation {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.main-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1rem;
}

.main-navigation a {
    font-size: 0.9rem;
    font-weight: 500;
    color: #1f2933;
}

.main-navigation a:hover {
    color: #0c7c3c;
}

.menu-toggle {
    display: none;
    border: none;
    background: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.header-cta {
    padding: 0.6rem 1.1rem;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, #16a34a, #0c7c3c);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: 0 9px 20px rgba(12, 124, 60, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.header-cta span {
    white-space: nowrap;
}

.header-cta:hover {
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 12px 25px rgba(12, 124, 60, 0.3);
}

/* Layout */
.site-main-wrapper {
    max-width: 1160px;
    margin: 0 auto;
    padding: 1.75rem 1.25rem 2.5rem;
}

.content-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 2.1fr) minmax(260px, 0.9fr);
    gap: 2rem;
}

/* Hero */
.hero {
    background: radial-gradient(circle at top left, #e0f9ec 0, #f5f7fb 50%, #edf2ff 100%);
    border-radius: 1.5rem;
    padding: 2rem 1.75rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    right: -60px;
    top: -60px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(22,163,74,0.13) 0, transparent 60%);
    pointer-events: none;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.4fr);
    gap: 2.5rem;
    align-items: center;
}

.hero-kicker {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #0c7c3c;
    margin-bottom: 0.35rem;
}

.hero-title {
    font-size: 1.9rem;
    line-height: 1.25;
    margin: 0 0 0.75rem;
    color: #111827;
}

.hero-subtitle {
    font-size: 0.98rem;
    color: #4b5563;
    margin-bottom: 1.3rem;
}

.hero-benefits {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem 1.5rem;
    margin: 1rem 0 1.2rem;
    padding: 0;
    list-style: none;
    font-size: 0.9rem;
}

.hero-benefits li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.1rem;
    height: 1.1rem;
    border-radius: 999px;
    background-color: #0c7c3c;
    color: #ffffff;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.hero-secondary {
    font-size: 0.8rem;
    color: #6b7280;
}

.hero-secondary strong {
    color: #111827;
}

/* Trust badges */
.trust-box {
    background-color: #ffffff;
    border-radius: 1.1rem;
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.06);
}

.trust-guete {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background-color: #f3faf6;
    font-size: 0.78rem;
    color: #065f46;
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.trust-dot {
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 999px;
    background-color: #10b981;
}

/* Bank section */
.section {
    background: #ffffff;
    border-radius: 1.4rem;
    padding: 1.75rem 1.75rem 1.9rem;
    margin-bottom: 2rem;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.04);
    border: 1px solid #e5e7eb;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.section-title {
    font-size: 1.25rem;
    margin: 0;
    color: #111827;
}

.section-subtitle {
    font-size: 0.9rem;
    color: #6b7280;
}

.bank-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.bank-card {
    border-radius: 1.1rem;
    padding: 1rem 1.1rem 1.1rem;
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    justify-content: space-between;
}

.bank-logo {
    height: 28px;
    display: flex;
    align-items: center;
}

.bank-logo img {
    max-height: 28px;
    width: auto;
}

.bank-tagline {
    font-size: 0.85rem;
    color: #374151;
}

.bank-highlights {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.82rem;
    color: #4b5563;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.bank-highlights li::before {
    content: "• ";
    color: #059669;
}

.bank-cta {
    margin-top: 0.3rem;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 0.9rem;
    font-size: 0.85rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

.btn-primary {
    background: linear-gradient(135deg, #16a34a, #0c7c3c);
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(5, 150, 105, 0.25);
}

.btn-primary:hover {
    text-decoration: none;
    box-shadow: 0 11px 24px rgba(5, 150, 105, 0.35);
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: #ffffff;
    color: #0c7c3c;
    border: 1px solid rgba(16, 185, 129, 0.45);
}

.btn-secondary:hover {
    background-color: #ecfdf5;
}

/* Content sections (page content, FAQs, testimonials) */
.entry-content {
    font-size: 0.98rem;
    color: #111827;
}

.entry-content h2,
.entry-content h3 {
    color: #111827;
}

.faq-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.9rem;
}

.faq-item {
    border-radius: 0.9rem;
    background-color: #f9fafb;
    padding: 0.8rem 0.9rem;
    border: 1px solid #e5e7eb;
}

.faq-question {
    font-weight: 600;
    margin: 0 0 0.35rem;
}

.faq-answer {
    margin: 0;
    font-size: 0.9rem;
    color: #4b5563;
}

.testimonials {
    display: grid;
    gap: 0.9rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonial {
    border-radius: 1rem;
    background-color: #f9fafb;
    padding: 0.9rem 1rem 1rem;
    border: 1px solid #e5e7eb;
    font-size: 0.9rem;
}

.testimonial-text {
    margin-bottom: 0.5rem;
    color: #374151;
}

.testimonial-name {
    font-weight: 600;
    font-size: 0.85rem;
    color: #111827;
}

.testimonial-meta {
    font-size: 0.78rem;
    color: #6b7280;
}

.rating {
    color: #fbbf24;
    font-size: 0.8rem;
}

/* Sidebar */
.widget-area {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.widget {
    background-color: #ffffff;
    border-radius: 1rem;
    padding: 0.9rem 1rem 1rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
}

.widget-title {
    font-size: 0.95rem;
    margin: 0 0 0.6rem;
    color: #111827;
}

/* Blog */
.post-card {
    background-color: #ffffff;
    border-radius: 1.1rem;
    padding: 1.2rem 1.3rem 1.2rem;
    margin-bottom: 1rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.04);
}

.post-card-title {
    margin: 0 0 0.35rem;
    font-size: 1.1rem;
}

.post-card-title a {
    color: #111827;
}

.post-card-meta {
    font-size: 0.75rem;
    color: #6b7280;
    margin-bottom: 0.7rem;
}

.post-card-excerpt {
    font-size: 0.9rem;
    color: #4b5563;
}

/* Single/post/page */
.site-main {
    background-color: transparent;
}

.single .site-main-wrapper,
.page .site-main-wrapper {
    padding-top: 2.2rem;
}

.entry-header {
    margin-bottom: 1rem;
}

.entry-title {
    font-size: 1.6rem;
    margin: 0 0 0.3rem;
    color: #111827;
}

.entry-meta {
    font-size: 0.78rem;
    color: #6b7280;
    margin-bottom: 0.8rem;
}

/* Footer */
.site-footer {
    background-color: #0b1120;
    color: #d1d5db;
    padding: 1.5rem 1.25rem 1.75rem;
    margin-top: 2.5rem;
}

.footer-inner {
    max-width: 1160px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.footer-links a {
    color: #e5e7eb;
    font-weight: 500;
}

.footer-links a:hover {
    color: #a7f3d0;
}

.footer-meta {
    color: #9ca3af;
}

/* Responsive */
@media (max-width: 960px) {
    .hero-inner {
        grid-template-columns: minmax(0, 1fr);
    }
    .bank-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .testimonials {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .header-inner {
        padding: 0.6rem 1rem;
    }
    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #ffffff;
        border-bottom: 1px solid #e5e7eb;
        padding: 0.75rem 1rem 1rem;
    }
    .main-navigation.toggled {
        display: block;
    }
    .main-navigation ul {
        flex-direction: column;
        gap: 0.4rem;
    }
    .menu-toggle {
        display: block;
    }
    .header-cta {
        display: none;
    }
    .site-main-wrapper {
        padding: 1.3rem 1rem 2rem;
    }
    .content-sidebar {
        grid-template-columns: minmax(0, 1fr);
    }
    .bank-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .testimonials {
        grid-template-columns: minmax(0, 1fr);
    }
    .hero {
        padding: 1.5rem 1.25rem 1.7rem;
    }
    .section {
        padding: 1.4rem 1.25rem 1.6rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }
    .hero-benefits {
        grid-template-columns: minmax(0, 1fr);
    }
}

.bank-section-accent {
    border-bottom: 2px solid rgba(22, 163, 74, 0.35);
}

.bank-grid {
    margin-top: 0.5rem;
}

.bank-card {
    position: relative;
    overflow: hidden;
    border-radius: 1.3rem;
    padding: 1.2rem 1.3rem 1.3rem;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
    transition: transform 0.16s ease-out, box-shadow 0.16s ease-out, border-color 0.16s ease-out, background 0.16s ease-out;
}

.bank-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
    border-color: rgba(22, 163, 74, 0.45);
    background: #ffffff;
}

.bank-card--primary {
    background: radial-gradient(circle at top left, #e0f9ec 0, #f9fafb 45%, #ffffff 100%);
    border-color: rgba(22, 163, 74, 0.55);
    box-shadow: 0 18px 40px rgba(5, 150, 105, 0.18);
}

.bank-card--primary:hover {
    box-shadow: 0 22px 50px rgba(5, 150, 105, 0.25);
}

.bank-label {
    position: absolute;
    top: 0.8rem;
    right: 0.9rem;
    padding: 0.22rem 0.7rem;
    border-radius: 999px;
    background: rgba(22, 163, 74, 0.08);
    color: #065f46;
    font-size: 0.72rem;
    font-weight: 600;
}

.bank-logo {
    height: 40px;
    display: flex;
    align-items: center;
    margin-bottom: 0.6rem;
}

.bank-logo img {
    max-height: 40px;
    width: auto;
}

.bank-logo a {
    display: inline-flex;
    align-items: center;
}