/* ==========================================================================
   bf-check.de — Design System
   Hell & Professional — Vertrauenswürdig, seriös, zugänglich
   ========================================================================== */

/* --- Variables --- */
:root {
  --white: #ffffff;
  --bg: #ffffff;
  --bg-light: #f8fafc;
  --bg-subtle: #f1f5f9;
  --bg-blue: #eff6ff;
  --primary: #1e40af;
  --primary-light: #3b82f6;
  --primary-dark: #1e3a8a;
  --primary-bg: #dbeafe;
  --success: #059669;
  --success-light: #d1fae5;
  --danger: #dc2626;
  --danger-light: #fee2e2;
  --warning: #d97706;
  --warning-light: #fef3c7;
  --text: #1e293b;
  --text-secondary: #64748b;
  --text-light: #94a3b8;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: all 0.2s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-light); }

/* --- Container --- */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 800px; margin: 0 auto; padding: 0 24px; }
.container-xs { max-width: 680px; margin: 0 auto; padding: 0 24px; }

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}
.nav-logo span { color: var(--text-secondary); font-weight: 400; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 22px;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: var(--white) !important;
  font-weight: 600;
  font-size: 0.88rem;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}
.nav-cta:hover { background: var(--primary-light); color: var(--white) !important; transform: translateY(-1px); }
/* Mobile nav toggle */
.nav-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--text); padding: 4px; }

/* ==========================================================================
   Hero Sections
   ========================================================================== */
.hero {
  padding: 80px 0 60px;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.hero-badge.danger { background: var(--danger-light); color: var(--danger); }
.hero-badge.success { background: var(--success-light); color: var(--success); }
.hero-badge.info { background: var(--primary-bg); color: var(--primary); }
.hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
  color: var(--text);
  letter-spacing: -0.5px;
}
.hero h1 .highlight { color: var(--primary); }
.hero p.lead {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 32px;
}
/* Hero small (for subpages) */
.hero-sm {
  padding: 48px 0 32px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.hero-sm h1 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text);
}
.hero-sm p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

/* --- Hero URL Input --- */
.hero-input {
  display: flex;
  gap: 0;
  max-width: 560px;
  margin: 0 auto;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}
.hero-input:focus-within { border-color: var(--primary-light); box-shadow: 0 0 0 3px rgba(59,130,246,0.15); }
.hero-input input {
  flex: 1;
  padding: 16px 20px;
  border: none;
  background: transparent;
  font-size: 1rem;
  color: var(--text);
  outline: none;
  font-family: inherit;
}
.hero-input input::placeholder { color: var(--text-light); }
.hero-input button {
  padding: 16px 28px;
  border: none;
  background: var(--primary);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
  white-space: nowrap;
}
.hero-input button:hover { background: var(--primary-light); }

/* --- Trust Bar --- */
.trust-bar {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.trust-bar .trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
}
.trust-bar .trust-icon { color: var(--success); font-size: 1rem; }

/* --- Trust Cards (under hero) --- */
.trust-cards {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.trust-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  text-align: center;
  min-width: 110px;
}
.trust-card .num {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
}
.trust-card .label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section {
  padding: 80px 0;
}
.section-alt {
  padding: 80px 0;
  background: var(--bg-light);
}
.section-blue {
  padding: 80px 0;
  background: var(--bg-blue);
}
.section-title {
  font-size: 1.8rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 10px;
  color: var(--text);
}
.section-sub {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto 40px;
}

/* ==========================================================================
   Grid System
   ========================================================================== */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ==========================================================================
   Cards
   ========================================================================== */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
}
.card:hover { box-shadow: var(--shadow-md); }
.card .card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
}
.card .card-icon.blue { background: var(--primary-bg); color: var(--primary); }
.card .card-icon.green { background: var(--success-light); color: var(--success); }
.card .card-icon.red { background: var(--danger-light); color: var(--danger); }
.card .card-icon.orange { background: var(--warning-light); color: var(--warning); }
.card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.card p { color: var(--text-secondary); font-size: 0.9rem; margin: 0; }

/* Stat Cards */
.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}
.stat-card .stat-num {
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 6px;
}
.stat-card .stat-num.red { color: var(--danger); }
.stat-card .stat-num.orange { color: var(--warning); }
.stat-card .stat-num.blue { color: var(--primary); }
.stat-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.stat-card p { color: var(--text-secondary); font-size: 0.85rem; margin: 0; }

/* ==========================================================================
   Steps
   ========================================================================== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 40px; }
.step { text-align: center; }
.step-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.step h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.step p { color: var(--text-secondary); font-size: 0.88rem; }

/* ==========================================================================
   Pricing
   ========================================================================== */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.price-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.price-card:hover { box-shadow: var(--shadow-lg); }
.price-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: scale(1.02);
}
.price-card.featured::before {
  content: 'BELIEBT';
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1px;
}
.price-name { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.price-amount { font-size: 2.8rem; font-weight: 900; color: var(--primary); }
.price-currency { font-size: 1rem; font-weight: 400; color: var(--text-secondary); }
.price-period { color: var(--text-secondary); font-size: 0.85rem; margin-bottom: 24px; margin-top: 4px; }
.price-features { list-style: none; text-align: left; margin-bottom: 28px; flex: 1; }
.price-features li {
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 8px;
}
.price-features li::before { content: '\2713'; color: var(--success); font-weight: 700; font-size: 0.85rem; }
.price-features li.no::before { content: '\2717'; color: var(--text-light); }
.price-features li.no { opacity: 0.5; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-light); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--border); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-white { background: var(--white); color: var(--primary); }
.btn-white:hover { background: var(--bg-light); }
.btn-block { display: flex; width: 100%; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

/* ==========================================================================
   CTA Box
   ========================================================================== */
.cta-box {
  background: var(--bg-blue);
  border: 1px solid var(--primary-bg);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  margin: 40px 0;
}
.cta-box h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 10px; }
.cta-box p { color: var(--text-secondary); margin-bottom: 24px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); padding: 18px 0; cursor: pointer; }
.faq-q {
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text);
}
.faq-q::after { content: '+'; font-size: 1.4rem; color: var(--text-light); font-weight: 300; transition: var(--transition); }
.faq-a { color: var(--text-secondary); font-size: 0.92rem; margin-top: 10px; display: none; line-height: 1.65; }
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-q::after { content: '\2212'; }

/* ==========================================================================
   Blog / Article Cards
   ========================================================================== */
.article-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}
.article-card:hover { box-shadow: var(--shadow-md); border-color: var(--primary-bg); transform: translateY(-2px); }
.article-card .tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  background: var(--primary-bg);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.article-card h2 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 6px; line-height: 1.35; }
.article-card p { color: var(--text-secondary); font-size: 0.85rem; line-height: 1.55; margin: 0; }

/* ==========================================================================
   Blog Article Content
   ========================================================================== */
.article-content { max-width: 720px; margin: 0 auto; padding: 40px 24px 60px; }
.article-content .breadcrumb { font-size: 0.82rem; color: var(--text-secondary); margin-bottom: 20px; }
.article-content .breadcrumb a { color: var(--primary); }
.article-content .article-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  background: var(--primary-bg);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.article-content h1 {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
  color: var(--text);
}
.article-content .meta-info {
  color: var(--text-secondary);
  font-size: 0.82rem;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.article-content h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 36px 0 14px;
  color: var(--text);
}
.article-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 14px;
  line-height: 1.75;
}
.article-content strong { color: var(--text); }

/* ==========================================================================
   Alert Boxes
   ========================================================================== */
.alert {
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 20px 0;
}
.alert.danger { background: var(--danger-light); border-left: 4px solid var(--danger); }
.alert.warning { background: var(--warning-light); border-left: 4px solid var(--warning); }
.alert.info { background: var(--primary-bg); border-left: 4px solid var(--primary); }
.alert.success { background: var(--success-light); border-left: 4px solid var(--success); }
.alert h3 { font-size: 0.95rem; margin-bottom: 6px; }
.alert p { font-size: 0.88rem; color: var(--text-secondary); margin: 0; }

/* ==========================================================================
   Tables
   ========================================================================== */
.table-wrap { overflow-x: auto; margin: 20px 0; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.table-wrap th {
  text-align: left;
  padding: 12px 16px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  font-weight: 700;
  color: var(--text);
}
.table-wrap td { padding: 12px 16px; border: 1px solid var(--border); color: var(--text-secondary); }
.table-wrap tr:hover td { background: var(--bg-light); }

/* ==========================================================================
   Lists
   ========================================================================== */
.check-list { list-style: none; margin: 16px 0; }
.check-list li {
  padding: 10px 0;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-light);
}
.check-list li::before { content: '\2713'; color: var(--success); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.risk-list { list-style: none; margin: 16px 0; }
.risk-list li {
  padding: 14px 0;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border-bottom: 1px solid var(--border);
}
.risk-list .icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.risk-list h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 2px; color: var(--text); }
.risk-list p { font-size: 0.85rem; color: var(--text-secondary); margin: 0; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--bg-light);
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}
.footer-brand .logo { font-size: 1.1rem; font-weight: 800; color: var(--primary); margin-bottom: 10px; }
.footer-brand p { color: var(--text-secondary); font-size: 0.85rem; max-width: 300px; }
.footer-col h4 { font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text); margin-bottom: 14px; }
.footer-col a { display: block; color: var(--text-secondary); font-size: 0.88rem; padding: 4px 0; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--text-light);
}
.footer-bottom a { color: var(--text-secondary); }

/* ==========================================================================
   Filter Bar (Blog)
   ========================================================================== */
.filter-bar { display: flex; gap: 8px; margin-bottom: 32px; flex-wrap: wrap; }
.filter-btn {
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}
.filter-btn:hover { border-color: var(--primary); color: var(--primary); }
.filter-btn.active { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* ==========================================================================
   Category Titles (Blog)
   ========================================================================== */
.cat-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 40px 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-bg);
  color: var(--text);
}
.cat-title:first-of-type { margin-top: 0; }

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.text-center { text-align: center; }
.text-secondary { color: var(--text-secondary); }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

/* ==========================================================================
   SVG Icons (inline)
   ========================================================================== */
.icon-shield, .icon-check, .icon-scan, .icon-pdf, .icon-lock, .icon-de {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}

/* ==========================================================================
   Lead Modal
   ========================================================================== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.active { display: flex; }
.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  padding: 36px;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}
.modal-box h3 { font-size: 1.2rem; margin-bottom: 6px; }
.modal-box .modal-sub { color: var(--text-secondary); font-size: 0.88rem; margin-bottom: 20px; }
.modal-input {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.95rem;
  margin-bottom: 12px;
  outline: none;
  font-family: inherit;
}
.modal-input:focus { border-color: var(--primary-light); box-shadow: 0 0 0 3px rgba(59,130,246,0.1); }
.modal-textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.95rem;
  margin-bottom: 14px;
  outline: none;
  font-family: inherit;
  resize: vertical;
  min-height: 80px;
}
.consent-box {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  background: var(--warning-light);
  border: 1px solid rgba(217,119,6,0.25);
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  font-size: 0.78rem;
  line-height: 1.5;
}
.consent-box input[type="checkbox"] { margin-top: 2px; flex-shrink: 0; accent-color: var(--warning); }
.modal-btn {
  width: 100%;
  padding: 14px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  font-family: inherit;
  transition: var(--transition);
}
.modal-btn:hover { background: var(--primary-light); }
.modal-error { color: var(--danger); font-size: 0.82rem; margin-top: 10px; display: none; }
.modal-success { text-align: center; padding: 20px 0; }
.modal-success .check { font-size: 2.5rem; margin-bottom: 10px; color: var(--success); }

/* ==========================================================================
   Subpage Image Sections
   ========================================================================== */
/* --- OceanSphere-style image banner with overlay --- */
.img-banner {
  position: relative;
  overflow: hidden;
  height: 400px;
  line-height: 0;
}
.img-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.img-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(30,64,175,0.75);
  pointer-events: none;
}
.img-banner .img-banner-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 48px 40px;
  z-index: 2;
  color: #fff;
  background: linear-gradient(transparent 0%, rgba(0,0,0,0.4) 100%);
}
.img-banner .img-banner-text h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
  line-height: 1.3;
}
.img-banner .img-banner-text p {
  font-size: 0.9rem;
  opacity: 0.9;
  color: #fff;
  margin: 0;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
  line-height: 1.5;
}

/* --- Simple image break (no overlay) --- */
.img-break {
  padding: 0;
  overflow: hidden;
  max-height: 300px;
  line-height: 0;
}
.img-break img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  filter: brightness(0.88);
}

/* --- Text + Image side by side --- */
.text-img-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.text-img-split .img-side {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  line-height: 0;
  position: relative;
}
.text-img-split .img-side::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30,64,175,0.1) 0%, transparent 60%);
  pointer-events: none;
  border-radius: var(--radius-lg);
}
.text-img-split .img-side img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  .hero-sm h1 { font-size: 1.6rem; }
  .hero-input { flex-direction: column; }
  .hero-input button { border-radius: 0 0 var(--radius-sm) var(--radius-sm); }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .text-img-split { grid-template-columns: 1fr; gap: 24px; }
  .text-img-split .img-side img { height: 240px; }
  .img-break, .img-break img { max-height: 200px; height: 200px; }
  .img-banner { height: 260px; }
  .img-banner .img-banner-text { padding: 24px; }
  .img-banner .img-banner-text h2 { font-size: 1.2rem; }
  .section, .section-alt, .section-blue { padding: 48px 0; }
  .section-title { font-size: 1.5rem; }
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--border); padding: 16px 24px; gap: 12px; box-shadow: var(--shadow-md); }
  .nav-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .trust-bar { gap: 16px; }
  .articles { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.7rem; }
  .container, .container-sm, .container-xs { padding: 0 16px; }
  .cta-box { padding: 32px 20px; }
}
