/* =============================================
   PERSONALKOSTEN.DE – Custom Stylesheet
   Bootstrap 5 + Custom Design
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800&family=Lora:wght@500;600;700&display=swap');

:root {
  --primary:       #1A5276;
  --primary-dark:  #154360;
  --primary-light: #2E86C1;
  --accent:        #1ABC9C;
  --accent-dark:   #17A589;
  --accent-light:  #A3E4D7;
  --text-dark:     #1C2833;
  --text-mid:      #4A5568;
  --text-light:    #718096;
  --bg-light:      #F4F8FB;
  --bg-white:      #FFFFFF;
  --border:        #D6E4EE;
  --shadow-sm:     0 2px 8px rgba(26,82,118,0.08);
  --shadow-md:     0 6px 24px rgba(26,82,118,0.12);
  --shadow-lg:     0 12px 48px rgba(26,82,118,0.16);
  --radius:        10px;
  --radius-lg:     16px;
}

/* ---- Base ---- */
html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  color: var(--text-dark);
  background: var(--bg-white);
  font-size: 1rem;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, .display-font {
  font-family: 'Lora', serif;
  font-weight: 600;
  color: var(--primary);
}

a { color: var(--primary-light); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-dark); }

section { padding: 80px 0; }
.section-title { margin-bottom: 48px; }
.section-title h2 { font-size: 2.1rem; margin-bottom: 12px; }
.section-title p { color: var(--text-mid); font-size: 1.1rem; max-width: 620px; }
.section-title.centered { text-align: center; }
.section-title.centered p { margin: 0 auto; }

/* ---- Navbar ---- */
.navbar {
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 1030;
}

.navbar-brand {
  font-family: 'Lora', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary) !important;
  letter-spacing: -0.5px;
}

.navbar-brand span { color: var(--accent); }

.navbar-nav .nav-link {
  font-weight: 600;
  font-size: .92rem;
  color: var(--text-mid) !important;
  padding: 6px 14px !important;
  border-radius: 6px;
  transition: background .2s, color .2s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary) !important;
  background: var(--bg-light);
}

.navbar .btn-accent {
  background: var(--accent);
  color: #fff !important;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: .88rem;
  padding: 8px 20px;
  transition: background .2s, transform .15s;
}
.navbar .btn-accent:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.dropdown-menu {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 8px;
  min-width: 200px;
}

.dropdown-item {
  border-radius: 6px;
  font-weight: 600;
  font-size: .9rem;
  padding: 8px 14px;
  color: var(--text-mid);
  transition: background .15s;
}

.dropdown-item:hover { background: var(--bg-light); color: var(--primary); }

/* ---- Hero ---- */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 60%, #2980B9 100%);
  color: #fff;
  padding: 100px 0 90px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -120px; left: -60px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(26,188,156,.1);
  pointer-events: none;
}

.hero h1 {
  font-family: 'Lora', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero h1 span { color: var(--accent-light); }

.hero .lead {
  font-size: 1.15rem;
  opacity: .9;
  max-width: 540px;
  margin-bottom: 36px;
}

.hero .badge-pill {
  display: inline-block;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50px;
  padding: 5px 14px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .5px;
  color: #fff;
  margin-bottom: 24px;
}

.btn-primary-hero {
  background: var(--accent);
  border: none;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(26,188,156,.4);
  transition: background .2s, transform .2s, box-shadow .2s;
}

.btn-primary-hero:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(26,188,156,.5);
  color: #fff;
}

.btn-outline-hero {
  background: transparent;
  border: 2px solid rgba(255,255,255,.6);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 12px 28px;
  border-radius: var(--radius);
  transition: background .2s, border-color .2s;
}

.btn-outline-hero:hover {
  background: rgba(255,255,255,.12);
  border-color: #fff;
  color: #fff;
}

.hero-card {
  background: rgba(255,255,255,.97);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 32px;
  color: var(--text-dark);
}

.hero-card .stat-item { text-align: center; padding: 12px; }
.hero-card .stat-number {
  font-family: 'Lora', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}
.hero-card .stat-label { font-size: .82rem; font-weight: 600; color: var(--text-light); margin-top: 4px; }
.hero-divider { width: 1px; background: var(--border); }

/* ---- Trust Bar ---- */
.trust-bar {
  background: var(--bg-light);
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-mid);
  font-weight: 600;
  font-size: .9rem;
}
.trust-item i { color: var(--accent); font-size: 1.1rem; }

/* ---- Feature Steps ---- */
.steps-section { background: var(--bg-white); }

.step-card {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--border);
  height: 100%;
  transition: box-shadow .25s, transform .25s;
  position: relative;
}
.step-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.step-number {
  width: 48px; height: 48px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Lora', serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.step-card h4 { font-size: 1.1rem; margin-bottom: 10px; }
.step-card p { color: var(--text-mid); font-size: .95rem; margin: 0; }

/* ---- Products ---- */
.products-section { background: var(--bg-light); }

.product-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  height: 100%;
  transition: box-shadow .25s, transform .25s;
}
.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.product-card-header {
  padding: 24px 28px 20px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
}
.product-card-header.accent {
  background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 100%);
}
.product-card-header .product-icon { font-size: 2rem; margin-bottom: 10px; opacity: .9; }
.product-card-header h4 { color: #fff; font-size: 1.2rem; margin-bottom: 4px; }
.product-card-header p { opacity: .85; font-size: .88rem; margin: 0; }
.product-card-body { padding: 24px 28px; }
.product-feature {
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 12px;
  font-size: .92rem;
  color: var(--text-mid);
}
.product-feature i { color: var(--accent); margin-top: 3px; flex-shrink: 0; }
.product-card-footer {
  padding: 20px 28px 24px;
  border-top: 1px solid var(--border);
}

/* ---- Pricing ---- */
.pricing-section { background: var(--bg-white); }

.pricing-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 2px solid var(--border);
  padding: 36px 30px;
  text-align: center;
  height: 100%;
  position: relative;
  transition: box-shadow .25s, transform .25s;
}
.pricing-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}
.pricing-card.featured:hover { transform: translateY(-10px); }
.pricing-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  padding: 4px 18px;
  border-radius: 50px;
  letter-spacing: .5px;
  white-space: nowrap;
}
.pricing-card .price {
  font-family: 'Lora', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin: 16px 0 4px;
}
.pricing-card .price sup { font-size: 1.2rem; vertical-align: top; margin-top: 8px; }
.pricing-card .price sub { font-size: .8rem; color: var(--text-light); font-weight: 400; font-family: 'Nunito', sans-serif; }
.pricing-card .plan-name { font-size: 1.1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 6px; }
.pricing-card .plan-desc { font-size: .88rem; color: var(--text-light); margin-bottom: 24px; }
.pricing-feature-list { list-style: none; padding: 0; margin: 0 0 28px; text-align: left; }
.pricing-feature-list li {
  display: flex; align-items: center; gap: 9px;
  font-size: .92rem;
  color: var(--text-mid);
  padding: 6px 0;
  border-bottom: 1px solid var(--bg-light);
}
.pricing-feature-list li:last-child { border-bottom: none; }
.pricing-feature-list li i.ok { color: var(--accent); }
.pricing-feature-list li i.no { color: #CBD5E0; }

/* ---- Testimonials ---- */
.testimonials-section { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); }
.testimonials-section .section-title h2 { color: #fff; }
.testimonials-section .section-title p { color: rgba(255,255,255,.75); }

.testimonial-card {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(4px);
  border-radius: var(--radius-lg);
  padding: 30px;
  height: 100%;
}
.testimonial-text { color: rgba(255,255,255,.92); font-size: .97rem; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.testimonial-name { color: #fff; font-weight: 700; font-size: .95rem; }
.testimonial-role { color: rgba(255,255,255,.65); font-size: .83rem; }
.testimonial-stars { color: #F6D860; font-size: .85rem; margin-bottom: 12px; }

/* ---- Blog ---- */
.blog-section { background: var(--bg-light); }

.blog-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  height: 100%;
  transition: box-shadow .25s, transform .25s;
}
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }

.blog-card-img {
  height: 180px;
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--border) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem;
  color: var(--primary-light);
}

.blog-card-body { padding: 22px 24px; }
.blog-category {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent-dark);
  font-size: .75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 12px;
  letter-spacing: .4px;
}
.blog-card-body h5 {
  font-size: 1rem;
  line-height: 1.4;
  margin-bottom: 10px;
  color: var(--primary);
}
.blog-card-body h5 a { color: inherit; }
.blog-card-body h5 a:hover { color: var(--accent-dark); }
.blog-card-body p { color: var(--text-mid); font-size: .88rem; margin-bottom: 14px; }
.blog-meta { font-size: .8rem; color: var(--text-light); font-weight: 600; }
.blog-meta i { margin-right: 4px; }

/* ---- FAQ ---- */
.faq-section { background: var(--bg-white); }

.accordion-item {
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  margin-bottom: 10px;
  overflow: hidden;
}
.accordion-button {
  font-weight: 700;
  font-size: .97rem;
  color: var(--primary) !important;
  background: var(--bg-white) !important;
  box-shadow: none !important;
  padding: 18px 22px;
}
.accordion-button:not(.collapsed) { background: var(--bg-light) !important; }
.accordion-button::after { filter: hue-rotate(180deg); }
.accordion-body { padding: 16px 22px 20px; color: var(--text-mid); font-size: .95rem; }

/* ---- Contact ---- */
.contact-section { background: var(--bg-light); }

.contact-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.form-label { font-weight: 700; font-size: .88rem; color: var(--text-dark); margin-bottom: 6px; }
.form-control, .form-select {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: .95rem;
  color: var(--text-dark);
  transition: border-color .2s, box-shadow .2s;
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(46,134,193,.15);
  outline: none;
}

.contact-info-item {
  display: flex; align-items: flex-start; gap: 14px;
  margin-bottom: 24px;
}
.contact-info-icon {
  width: 44px; height: 44px;
  background: var(--primary);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-info-label { font-size: .82rem; font-weight: 600; color: var(--text-light); margin-bottom: 2px; }
.contact-info-value { font-weight: 700; color: var(--primary); font-size: .97rem; }

/* ---- CTA Banner ---- */
.cta-banner {
  background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 100%);
  padding: 70px 0;
  text-align: center;
}
.cta-banner h2 { color: #fff; font-size: 2rem; margin-bottom: 14px; }
.cta-banner p { color: rgba(255,255,255,.88); font-size: 1.1rem; max-width: 560px; margin: 0 auto 32px; }

/* ---- Footer ---- */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,.75);
  padding: 60px 0 0;
}
.footer-brand {
  font-family: 'Lora', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}
.footer-brand span { color: var(--accent); }
.footer p { font-size: .9rem; margin-top: 12px; max-width: 280px; }
.footer-heading {
  color: #fff;
  font-family: 'Nunito', sans-serif;
  font-size: .85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a {
  color: rgba(255,255,255,.65);
  font-size: .9rem;
  font-weight: 600;
  transition: color .2s;
}
.footer-links a:hover { color: var(--accent-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
  margin-top: 48px;
  font-size: .85rem;
  color: rgba(255,255,255,.45);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom a { color: rgba(255,255,255,.5); transition: color .2s; }
.footer-bottom a:hover { color: var(--accent-light); }

.footer-trust {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  padding: 10px 16px;
  font-size: .83rem;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  margin-bottom: 12px;
}
.footer-trust i { color: var(--accent); }

/* ---- Buttons ---- */
.btn-primary-custom {
  background: var(--primary);
  color: #fff !important;
  border: none;
  border-radius: var(--radius);
  font-weight: 700;
  padding: 11px 26px;
  font-size: .95rem;
  transition: background .2s, transform .15s;
}
.btn-primary-custom:hover { background: var(--primary-dark); transform: translateY(-1px); }

.btn-accent-custom {
  background: var(--accent);
  color: #fff !important;
  border: none;
  border-radius: var(--radius);
  font-weight: 700;
  padding: 11px 26px;
  font-size: .95rem;
  transition: background .2s, transform .15s;
}
.btn-accent-custom:hover { background: var(--accent-dark); transform: translateY(-1px); }

.btn-outline-custom {
  background: transparent;
  color: var(--primary) !important;
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  font-weight: 700;
  padding: 9px 24px;
  font-size: .95rem;
  transition: background .2s, color .2s;
}
.btn-outline-custom:hover { background: var(--primary); color: #fff !important; }

/* ---- Page Header (inner pages) ---- */
.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 64px 0 56px;
  color: #fff;
}
.page-header h1 { color: #fff; font-size: 2.4rem; margin-bottom: 10px; }
.page-header p { color: rgba(255,255,255,.8); font-size: 1.1rem; max-width: 580px; }

.breadcrumb-item a { color: rgba(255,255,255,.65); }
.breadcrumb-item.active { color: rgba(255,255,255,.9); }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.4); }

/* ---- Alert success ---- */
.alert-success-custom {
  background: #E8F8F5;
  border: 1px solid var(--accent-light);
  border-radius: var(--radius);
  color: var(--accent-dark);
  padding: 14px 18px;
  font-weight: 600;
  font-size: .95rem;
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
  .hero h1 { font-size: 2.1rem; }
  .hero { padding: 70px 0 60px; }
  section { padding: 60px 0; }
  .pricing-card.featured { transform: none; }
}

@media (max-width: 767px) {
  .hero h1 { font-size: 1.8rem; }
  .section-title h2 { font-size: 1.7rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
