@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800;900&family=Noto+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #e11d48;
  --primary-dark: #be123c;
  --primary-light: #fb7185;
  --secondary: #0ea5e9;
  --secondary-dark: #0284c7;
  --secondary-light: #38bdf8;
  --dark: #0f172a;
  --dark-mid: #1e293b;
  --dark-light: #334155;
  --light: #fff1f2;
  --light-alt: #fef2f2;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --shadow-sm: 0 1px 2px rgba(15,23,42,0.05);
  --shadow: 0 4px 6px -1px rgba(15,23,42,0.07), 0 2px 4px -2px rgba(15,23,42,0.05);
  --shadow-md: 0 10px 15px -3px rgba(15,23,42,0.08), 0 4px 6px -4px rgba(15,23,42,0.05);
  --shadow-lg: 0 20px 25px -5px rgba(15,23,42,0.1), 0 8px 10px -6px rgba(15,23,42,0.05);
  --shadow-xl: 0 25px 50px -12px rgba(15,23,42,0.15);
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Noto Sans', sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); }
h4 { font-size: 1.15rem; }

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(225,29,72,0.35);
}
.btn-primary:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(225,29,72,0.4);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(14,165,233,0.3);
}
.btn-secondary:hover {
  background: var(--secondary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(14,165,233,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow-md);
}
.btn-white:hover {
  background: var(--light);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 18px 42px;
  font-size: 1.1rem;
}

.btn-sm {
  padding: 10px 24px;
  font-size: 0.9rem;
}

/* ===== HEADER / NAV ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gray-200);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav-logo {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-logo span { color: var(--primary); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--dark-light);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}
.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after { width: 100%; }

.nav-cta .btn { padding: 10px 24px; font-size: 0.9rem; }

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  border: none;
  background: none;
  padding: 8px;
}
.mobile-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, rgba(15,23,42,0.85) 0%, rgba(30,41,59,0.85) 100%), url('../images/hero.png') center/cover no-repeat;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(225,29,72,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(14,165,233,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(225,29,72,0.15);
  border: 1px solid rgba(225,29,72,0.3);
  color: var(--primary-light);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
  font-weight: 800;
}
.hero h1 span {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  color: var(--gray-300);
  font-size: 1.2rem;
  margin-bottom: 36px;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: left;
}
.hero-stat-number {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
}
.hero-stat-number span { color: var(--primary); }
.hero-stat-label {
  color: var(--gray-400);
  font-size: 0.85rem;
}

/* ===== URGENCY BAR ===== */
.urgency-bar {
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 14px 0;
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
}
.urgency-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

/* ===== SECTIONS ===== */
.section {
  padding: 80px 0;
}
.section-alt {
  background: var(--gray-50);
}
.section-dark {
  background: var(--dark);
  color: var(--white);
}
.section-rose {
  background: var(--light);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 56px;
}
.section-header .section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(225,29,72,0.1);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.section-header h2 {
  margin-bottom: 16px;
}
.section-header p {
  color: var(--gray-500);
  font-size: 1.05rem;
}

/* ===== PRICING ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  border: 2px solid var(--gray-200);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.pricing-card:hover {
  border-color: var(--primary);
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.pricing-card.popular {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
}
.pricing-card.popular:hover {
  transform: scale(1.03) translateY(-8px);
}

.pricing-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--primary);
  color: var(--white);
  padding: 6px 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 0 0 0 var(--radius);
}

.pricing-icon {
  width: 56px;
  height: 56px;
  background: var(--light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
}

.pricing-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.pricing-kwp {
  color: var(--gray-500);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.pricing-price {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 4px;
}
.pricing-price small {
  font-size: 0.45em;
  font-weight: 500;
  color: var(--gray-500);
}

.pricing-per {
  color: var(--gray-400);
  font-size: 0.8rem;
  margin-bottom: 24px;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 28px;
}
.pricing-features li {
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--gray-600);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.pricing-features li::before {
  content: '\2713';
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-card .btn { width: 100%; justify-content: center; }

/* ===== REASONS / FEATURES GRID ===== */
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.reason-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}
.reason-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.reason-icon {
  width: 52px;
  height: 52px;
  background: var(--light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.reason-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.reason-card p {
  color: var(--gray-500);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ===== PROCESS / STEPS ===== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
}

.process-step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  margin: 0 auto 16px;
  position: relative;
  z-index: 2;
}

.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(50% + 28px);
  width: calc(100% - 56px);
  height: 3px;
  background: var(--gray-200);
  z-index: 1;
}

.process-step h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}
.process-step p {
  color: var(--gray-500);
  font-size: 0.85rem;
}

/* ===== BLOG CARDS ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.blog-card-image {
  height: 200px;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-mid) 50%, var(--primary-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 2.5rem;
  position: relative;
}

.blog-card-content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-content h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  line-height: 1.4;
}
.blog-card-content h3 a {
  color: var(--dark);
}
.blog-card-content h3 a:hover {
  color: var(--primary);
}

.blog-card-content p {
  color: var(--gray-500);
  font-size: 0.9rem;
  margin-bottom: 16px;
  flex: 1;
}

.blog-card-link {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.blog-card-link:hover { gap: 10px; }

/* ===== FAQ ===== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--white);
  transition: var(--transition);
}
.faq-item:hover {
  border-color: var(--primary-light);
}
.faq-item.active {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--dark);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  gap: 16px;
}
.faq-question:hover { color: var(--primary); }

.faq-toggle {
  width: 28px;
  height: 28px;
  background: var(--light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
  font-size: 1.2rem;
  color: var(--primary);
}
.faq-item.active .faq-toggle {
  background: var(--primary);
  color: var(--white);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-item.active .faq-answer {
  max-height: 500px;
}
.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--gray-600);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 16px;
}
.cta-section p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.cta-section .btn-white { font-size: 1.1rem; padding: 16px 40px; }

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  color: var(--gray-300);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  margin-top: 12px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--gray-400);
}

.footer h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: var(--gray-400);
  font-size: 0.9rem;
}
.footer-links a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid var(--dark-mid);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--gray-500);
}

/* ===== BLOG PAGE ===== */
.blog-hero {
  padding: 120px 0 60px;
  background: var(--dark);
  text-align: center;
}
.blog-hero h1 {
  color: var(--white);
  margin-bottom: 16px;
}
.blog-hero p {
  color: var(--gray-400);
  font-size: 1.1rem;
}

.blog-listing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding: 60px 0;
}

/* ===== BREADCRUMBS ===== */
.breadcrumb {
  padding: 12px 0;
  font-size: 0.85rem;
  color: var(--gray-400);
}
.breadcrumb a {
  color: var(--gray-400);
}
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { margin: 0 6px; }

/* ===== WISSEN PAGE ===== */
.wissen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.wissen-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  text-align: center;
}
.wissen-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}
.wissen-card-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
.wissen-card h3 {
  font-size: 1rem;
  margin-bottom: 10px;
}
.wissen-card p {
  color: var(--gray-500);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

/* ===== LEGAL PAGES ===== */
.legal-hero {
  padding: 120px 0 40px;
  background: var(--dark);
}
.legal-hero h1 { color: var(--white); }

.legal-content {
  padding: 48px 0 80px;
  max-width: 800px;
  margin: 0 auto;
}
.legal-content h2 {
  font-size: 1.4rem;
  margin: 36px 0 12px;
  padding-top: 12px;
}
.legal-content h3 {
  font-size: 1.1rem;
  margin: 24px 0 8px;
}
.legal-content p {
  color: var(--gray-600);
  margin-bottom: 14px;
}
.legal-content ul, .legal-content ol {
  margin-bottom: 14px;
  padding-left: 24px;
  color: var(--gray-600);
}
.legal-content li { margin-bottom: 6px; }

/* ===== SCROLL ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(3, 1fr); }
  .process-step:not(:last-child)::after { display: none; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .mobile-toggle { display: flex; }

  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 24px;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--gray-200);
    gap: 16px;
  }

  .hero { padding: 120px 0 60px; }
  .hero-stats { gap: 24px; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { text-align: center; justify-content: center; }

  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .pricing-card.popular { transform: none; }
  .pricing-card.popular:hover { transform: translateY(-8px); }

  .reasons-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; max-width: 300px; margin: 0 auto; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-listing-grid { grid-template-columns: 1fr; }
  .wissen-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  .section { padding: 60px 0; }
  .urgency-bar { font-size: 0.85rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: 1.8rem; }
  .pricing-price { font-size: 1.8rem; }
}


/* === Mobile Logo Size === */
@media (max-width: 768px) {
  .logo img, .nav-logo img, .navbar-brand img, .nav-brand img, .navbar__logo img {
    height: 36px !important;
  }
}