/*
Theme Name: Betriebsmittelkredite Theme
Theme URI: https://www.betriebsmittelkredite.com/
Author: Alex & ChatGPT
Author URI: https://www.betriebsmittelkredite.com/
Description: Modernes, conversionstarkes WordPress-Theme für Betriebsmittelkredite mit responsivem Design und Fokus auf Abschlüsse.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bk-theme
*/

/* Reset & Basics */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #0f172a;
  background-color: #f5f7fb;
  line-height: 1.6;
}

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

a:hover {
  text-decoration: underline;
}

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

/* Layout */
.bk-container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header & Navigation */
.bk-header {
  background-color: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 50;
}

.bk-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.bk-logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
}

.bk-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.bk-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.5rem;
}

.bk-nav li {
  position: relative;
}

.bk-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: #0f172a;
}

.bk-nav a:hover {
  color: #0d5ae5;
}

/* Dropdown */
.bk-nav .sub-menu {
  position: absolute;
  top: 120%;
  left: 0;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 0.5rem 0;
  min-width: 200px;
  display: none;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
  z-index: 40;
}

.bk-nav li:hover > .sub-menu {
  display: block;
}

.bk-nav .sub-menu li {
  padding: 0;
}

.bk-nav .sub-menu a {
  padding: 0.5rem 1rem;
  display: block;
  font-size: 0.9rem;
}

/* Mobile nav */
.bk-nav-toggle {
  display: none;
  border: none;
  background: transparent;
  cursor: pointer;
}

.bk-nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px 0;
  background: #0f172a;
  transition: all 0.2s ease;
}

@media (max-width: 768px) {
  .bk-nav-toggle {
    display: block;
  }

  .bk-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    flex-direction: column;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease-out;
  }

  .bk-nav.open {
    max-height: 400px;
  }

  .bk-nav ul {
    flex-direction: column;
    padding: 0.5rem 1.5rem 1rem;
    gap: 0.5rem;
  }

  .bk-nav .sub-menu {
    position: static;
    border: none;
    box-shadow: none;
    padding-left: 1rem;
  }
}

/* Hero */
.bk-hero {
  padding: 3.5rem 0 2.5rem;
}

.bk-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.5fr);
  gap: 2.5rem;
  align-items: center;
}

.bk-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: #e0ecff;
  color: #0d5ae5;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

.bk-hero h1 {
  font-size: clamp(2rem, 2.7vw, 2.6rem);
  margin: 0 0 0.75rem;
  color: #0f172a;
}

.bk-hero-lead {
  font-size: 1rem;
  color: #4b5563;
  margin-bottom: 1.25rem;
}

.bk-hero-list {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.bk-hero-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.bk-hero-list li::before {
  content: "✓";
  color: #16a34a;
  font-weight: 700;
  margin-top: 0.1rem;
}

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

.bk-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #0d5ae5, #0f6fff);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 15px 30px rgba(37, 99, 235, 0.3);
}

.bk-btn-primary:hover {
  filter: brightness(1.05);
  text-decoration: none;
}

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

.bk-hero-card {
  background: #0f172a;
  border-radius: 1.25rem;
  padding: 1.75rem 1.5rem;
  color: #e5e7eb;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.45);
}

.bk-hero-card h2 {
  font-size: 1.15rem;
  margin: 0 0 0.75rem;
}

.bk-hero-card-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

.bk-hero-card-highlight {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px dashed rgba(148, 163, 184, 0.5);
  font-size: 0.82rem;
  color: #9ca3af;
}

/* Partner Logos */
.bk-partners {
  padding: 1rem 0 2rem;
}

.bk-partners-headline {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.bk-partners-logos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.bk-partner-card {
  background: #ffffff;
  border-radius: 0.9rem;
  padding: 0.75rem 0.9rem;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bk-partner-logo-wrap {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 0.5rem;
}

.bk-partner-logo-wrap img {
  max-height: 36px;
  width: auto;
}

.bk-partner-facts {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.8rem;
  color: #4b5563;
}

.bk-partner-facts li {
  margin-bottom: 0.25rem;
}

.bk-partner-link {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
}

/* How it works */
.bk-section {
  padding: 2.5rem 0;
}

.bk-section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 1.75rem;
}

.bk-section-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.bk-section-text {
  font-size: 0.98rem;
  color: #4b5563;
}

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

.bk-step-card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.25rem 1.15rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.bk-step-number {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #e0ecff;
  color: #0d5ae5;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

/* Trust / badges */
.bk-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.bk-trust-card {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
}

.bk-trust-icon {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: #dcfce7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

/* Testimonials */
.bk-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.bk-testimonial-card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.25rem 1.15rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  font-size: 0.9rem;
}

.bk-testimonial-name {
  margin-top: 0.75rem;
  font-weight: 600;
  font-size: 0.9rem;
}

/* FAQ */
.bk-faq-item {
  background: #ffffff;
  border-radius: 0.9rem;
  padding: 1rem 1.15rem;
  margin-bottom: 0.75rem;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

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

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

/* Content & blog */
.bk-content {
  padding: 2.5rem 0;
}

.bk-content-inner {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.bk-content-inner h1,
.bk-content-inner h2,
.bk-content-inner h3 {
  color: #0f172a;
}

.bk-content-inner p {
  margin-bottom: 0.9rem;
}

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

/* Footer */
.bk-footer {
  background: #0f172a;
  color: #9ca3af;
  margin-top: 2.5rem;
}

.bk-footer-inner {
  padding: 2rem 0 1rem;
}

.bk-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr;
  gap: 2rem;
  font-size: 0.9rem;
}

.bk-footer h4 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  color: #e5e7eb;
}

.bk-footer a {
  color: #e5e7eb;
  font-size: 0.9rem;
}

.bk-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bk-footer-links li {
  margin-bottom: 0.4rem;
}

.bk-footer-bottom {
  border-top: 1px solid #1f2937;
  padding-top: 0.75rem;
  font-size: 0.8rem;
  text-align: center;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .bk-hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .bk-hero-card {
    margin-top: 1rem;
  }
  .bk-partners-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bk-steps-grid,
  .bk-testimonials-grid,
  .bk-trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bk-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .bk-partners-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bk-steps-grid,
  .bk-testimonials-grid,
  .bk-trust-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .bk-footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}


.bk-partner-card:hover {
  transform: translateY(-4px);
  transition: 0.25s ease;
  box-shadow: 0 18px 40px rgba(15,23,42,0.12);
}

.bk-partner-card .bk-partner-link {
  color: #0d5ae5;
}



.bk-partner-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  gap: 0.5rem;
}

.bk-partner-tag {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: #e0ecff;
  color: #0d5ae5;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.bk-partner-card--highlight {
  border: 1px solid #0d5ae5;
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.18);
  position: relative;
}

.bk-partner-card--highlight::before {
  content: 'Empfohlen';
  position: absolute;
  top: -10px;
  left: 16px;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: #0d5ae5;
  color: #ffffff;
}

.bk-btn-partner {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 0.75rem;
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #0d5ae5, #0f6fff);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 12px 25px rgba(37, 99, 235, 0.25);
}

.bk-btn-partner:hover {
  text-decoration: none;
  filter: brightness(1.05);
}

.bk-partner-note {
  margin-top: 0.4rem;
  font-size: 0.75rem;
  color: #6b7280;
}



/* Partner header layout tuning */
.bk-partner-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.bk-partner-tag {
  max-width: 100%;
  white-space: normal;
}

.bk-partner-logo-wrap {
  margin-bottom: 0;
}

