/* ============================================
   pitklasing.de — Bancaire / Institutionnel
   ============================================ */

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

:root {
  --primary: #0A1F44;
  --primary-dark: #061429;
  --primary-light: #1a3a6e;
  --secondary: #C9A84C;
  --secondary-dark: #a8883a;
  --secondary-light: #e2c97a;
  --white: #ffffff;
  --gray-50: #f8f9fa;
  --gray-100: #f1f3f5;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --gray-600: #6c757d;
  --gray-700: #495057;
  --gray-800: #343a40;
  --gray-900: #212529;
  --success: #2ecc71;
  --danger: #e74c3c;
  --radius: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 3px rgba(10,31,68,.08);
  --shadow: 0 4px 16px rgba(10,31,68,.10);
  --shadow-lg: 0 8px 32px rgba(10,31,68,.14);
  --shadow-xl: 0 20px 60px rgba(10,31,68,.18);
  --transition: 0.22s ease;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

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

body {
  font-family: var(--font);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 72px;
}

/* ── TYPOGRAPHY ── */
h1,h2,h3,h4,h5,h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary);
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.15rem; }
p { color: var(--gray-700); line-height: 1.75; }
a { color: var(--secondary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--secondary-dark); }
img { max-width: 100%; height: auto; display: block; }

/* ── LAYOUT ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-lg { padding: 120px 0; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }

/* ── HEADER ── */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 900;
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-mark {
  width: 38px;
  height: 38px;
  background: var(--primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-mark svg { width: 22px; height: 22px; }
.logo-text { line-height: 1.1; }
.logo-name { font-size: 1.1rem; font-weight: 800; color: var(--primary); letter-spacing: -0.03em; }
.logo-sub { font-size: 0.65rem; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 500; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  padding: 6px 12px;
  border-radius: var(--radius);
  transition: all var(--transition);
  white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active {
  color: var(--primary);
  background: var(--gray-100);
}
.nav-dropdown { position: relative; }
.nav-dropdown > a::after { content: ' ▾'; font-size: 0.7em; opacity: 0.6; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition);
  z-index: 99;
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: 9px 16px;
  font-size: 0.85rem;
  color: var(--gray-700);
  border-radius: 0;
}
.dropdown-menu a:hover { background: var(--gray-50); color: var(--primary); }

.nav-cta {
  background: var(--secondary) !important;
  color: var(--primary) !important;
  font-weight: 600 !important;
  padding: 8px 18px !important;
  border-radius: var(--radius) !important;
}
.nav-cta:hover { background: var(--secondary-dark) !important; }

.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--primary); margin: 5px 0; transition: all var(--transition); }

/* ── HERO ── */
.hero {
  position: relative;
  background: var(--primary);
  overflow: hidden;
  padding: 100px 0 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.12;
}
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(201,168,76,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,.05) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(201,168,76,.15);
  border: 1px solid rgba(201,168,76,.3);
  color: var(--secondary);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.hero h1 { color: var(--white); margin-bottom: 16px; font-size: clamp(2rem, 3.5vw, 2.8rem); }
.hero h1 span { color: var(--secondary); }
.hero-lead { color: rgba(255,255,255,0.75); font-size: 1.1rem; margin-bottom: 32px; line-height: 1.7; }
.hero-stats {
  display: flex;
  gap: 32px;
  margin-bottom: 36px;
}
.hero-stat-val { display: block; font-size: 1.8rem; font-weight: 800; color: var(--white); line-height: 1; }
.hero-stat-lbl { font-size: 0.75rem; color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 4px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Hero Calculator */
.hero-calc {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-xl);
}
.hero-calc h3 { color: var(--primary); margin-bottom: 20px; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }
.calc-result-box {
  background: var(--primary);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  margin-top: 20px;
}
.calc-result-label { font-size: 0.75rem; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.08em; }
.calc-result-value { font-size: 2rem; font-weight: 800; color: var(--secondary); margin-top: 4px; }
.calc-result-detail { font-size: 0.8rem; color: rgba(255,255,255,0.5); margin-top: 6px; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary { background: var(--secondary); color: var(--primary); }
.btn-primary:hover { background: var(--secondary-dark); color: var(--primary); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(201,168,76,.4); }
.btn-outline { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,.35); }
.btn-outline:hover { background: rgba(255,255,255,.1); color: var(--white); }
.btn-dark { background: var(--primary); color: var(--white); }
.btn-dark:hover { background: var(--primary-dark); color: var(--white); transform: translateY(-1px); }
.btn-sm { padding: 8px 16px; font-size: 0.8rem; }
.btn-lg { padding: 15px 32px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

/* ── FORMS ── */
.form-group { margin-bottom: 18px; }
.form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-600);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.form-control {
  width: 100%;
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--gray-800);
  background: var(--gray-50);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  padding: 10px 14px;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-control:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(201,168,76,.15);
  background: var(--white);
}
.form-control-lg { padding: 13px 16px; font-size: 1rem; }
input[type="range"] { -webkit-appearance: none; width: 100%; height: 4px; background: var(--gray-200); border-radius: 50px; outline: none; padding: 0; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; background: var(--secondary); border-radius: 50%; cursor: pointer; }
.range-labels { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--gray-500); margin-top: 4px; }

/* ── CARDS ── */
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
}
.card:hover { box-shadow: var(--shadow-lg); border-color: var(--gray-300); transform: translateY(-2px); }
.card-icon {
  width: 48px; height: 48px;
  background: rgba(201,168,76,.1);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  color: var(--secondary);
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 8px; font-size: 1.05rem; }
.card p { font-size: 0.9rem; color: var(--gray-600); }

.card-horizontal {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all var(--transition);
}
.card-horizontal:hover { box-shadow: var(--shadow); border-color: var(--secondary-light); }

/* ── CALCULATOR WIDGET ── */
.calc-widget {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.calc-header {
  background: var(--primary);
  padding: 20px 28px;
}
.calc-header h2 { color: var(--white); font-size: 1.2rem; margin-bottom: 4px; }
.calc-header p { color: rgba(255,255,255,0.6); font-size: 0.85rem; margin: 0; }
.calc-body { padding: 28px; }
.calc-result {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-top: 20px;
}
.calc-result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.9rem;
}
.calc-result-row:last-child { border-bottom: none; }
.calc-result-row span:first-child { color: var(--gray-600); }
.calc-result-row span:last-child { font-weight: 700; color: var(--primary); }
.calc-result-row.highlight span:last-child { color: var(--secondary); font-size: 1.3rem; }
.calc-tabs { display: flex; gap: 4px; margin-bottom: 24px; border-bottom: 1px solid var(--gray-200); padding-bottom: 0; }
.calc-tab {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-500);
  padding: 8px 16px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  font-family: var(--font);
}
.calc-tab.active { color: var(--primary); border-bottom-color: var(--secondary); }

/* ── SECTION LABELS ── */
.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 10px;
}
.section-title { margin-bottom: 14px; }
.section-desc { color: var(--gray-600); font-size: 1rem; max-width: 560px; }
.section-head { margin-bottom: 48px; }
.section-head.center { text-align: center; }
.section-head.center .section-desc { margin: 0 auto; }

/* ── BACKGROUNDS ── */
.bg-dark { background: var(--primary); }
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4 { color: var(--white); }
.bg-dark p { color: rgba(255,255,255,0.7); }
.bg-light { background: var(--gray-50); }
.bg-gold { background: var(--secondary); }
.bg-gold h2, .bg-gold h3 { color: var(--primary); }

/* ── TABLES ── */
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow); border: 1px solid var(--gray-200); }
table { width: 100%; border-collapse: collapse; }
thead { background: var(--primary); }
thead th { color: var(--white); font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; padding: 14px 18px; text-align: left; }
tbody td { padding: 14px 18px; font-size: 0.9rem; border-bottom: 1px solid var(--gray-100); }
tbody tr:last-child td { border-bottom: none; }
tbody tr:nth-child(even) { background: var(--gray-50); }
tbody tr:hover { background: rgba(201,168,76,.05); }
.td-check { color: var(--success); font-size: 1.1rem; }
.td-cross { color: var(--gray-400); font-size: 1.1rem; }
.td-star { color: var(--secondary); font-weight: 700; }
.row-highlight { background: rgba(201,168,76,.08) !important; border-left: 3px solid var(--secondary); }

/* ── STAT BOXES ── */
.stat-box {
  text-align: center;
  padding: 32px 20px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  background: var(--white);
}
.stat-value { font-size: 2.4rem; font-weight: 800; color: var(--secondary); line-height: 1; }
.stat-label { font-size: 0.8rem; color: var(--gray-500); margin-top: 6px; text-transform: uppercase; letter-spacing: 0.08em; }

/* ── LIVE DATA TICKER ── */
.ticker-bar {
  background: var(--primary-dark);
  padding: 10px 0;
  overflow: hidden;
}
.ticker-inner { display: flex; gap: 40px; animation: ticker 30s linear infinite; white-space: nowrap; }
.ticker-inner:hover { animation-play-state: paused; }
.ticker-item { display: inline-flex; align-items: center; gap: 8px; font-size: 0.8rem; color: rgba(255,255,255,0.7); }
.ticker-item strong { color: var(--white); }
.ticker-up { color: var(--success) !important; }
.ticker-down { color: #e74c3c !important; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── BREADCRUMB ── */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--gray-500); margin-bottom: 24px; flex-wrap: wrap; }
.breadcrumb a { color: var(--gray-500); }
.breadcrumb a:hover { color: var(--secondary); }
.breadcrumb span { color: var(--gray-400); }

/* ── BADGES ── */
.badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 50px;
}
.badge-gold { background: rgba(201,168,76,.15); color: var(--secondary-dark); }
.badge-primary { background: rgba(10,31,68,.1); color: var(--primary); }
.badge-green { background: rgba(46,204,113,.1); color: #27ae60; }
.badge-red { background: rgba(231,76,60,.1); color: #c0392b; }

/* ── FAQ ── */
.faq-item { border-bottom: 1px solid var(--gray-200); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  cursor: pointer;
  font-weight: 600;
  color: var(--primary);
  font-size: 0.95rem;
  gap: 16px;
}
.faq-question .faq-icon { flex-shrink: 0; width: 24px; height: 24px; background: var(--gray-100); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; transition: all var(--transition); }
.faq-item.open .faq-icon { background: var(--secondary); color: var(--primary); transform: rotate(45deg); }
.faq-answer { display: none; padding: 0 0 18px; color: var(--gray-600); font-size: 0.9rem; line-height: 1.8; }
.faq-item.open .faq-answer { display: block; }

/* ── LIVE RATES ── */
.rates-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.rate-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
}
.rate-code { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gray-500); margin-bottom: 4px; }
.rate-value { font-size: 1.4rem; font-weight: 800; color: var(--primary); }
.rate-name { font-size: 0.75rem; color: var(--gray-500); margin-top: 2px; }

/* ── CHART ── */
.chart-bar-wrap { display: flex; flex-direction: column; gap: 10px; }
.chart-bar-item { display: flex; align-items: center; gap: 12px; }
.chart-bar-label { width: 120px; font-size: 0.8rem; color: var(--gray-600); flex-shrink: 0; text-align: right; }
.chart-bar-track { flex: 1; height: 28px; background: var(--gray-100); border-radius: 50px; overflow: hidden; }
.chart-bar-fill { height: 100%; border-radius: 50px; display: flex; align-items: center; justify-content: flex-end; padding-right: 12px; font-size: 0.78rem; font-weight: 700; color: var(--white); transition: width 1s ease; }
.chart-bar-val { width: 60px; font-size: 0.82rem; font-weight: 700; color: var(--primary); text-align: right; }

/* ── STICKY FOOTER ── */
.sticky-footer-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 800;
  background: var(--primary);
  border-top: 2px solid var(--secondary);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 -4px 20px rgba(10,31,68,.25);
}
.sticky-footer-text { color: rgba(255,255,255,0.85); font-size: 0.88rem; }
.sticky-footer-text strong { color: var(--white); }
.sticky-footer-actions { display: flex; gap: 10px; flex-shrink: 0; }
.sticky-footer-close { background: none; border: none; color: rgba(255,255,255,0.4); cursor: pointer; font-size: 1.2rem; padding: 4px 8px; line-height: 1; }
.sticky-footer-close:hover { color: var(--white); }

/* ── EXIT POPUP ── */
.exit-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,31,68,.7);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  padding: 20px;
}
.exit-overlay.active { display: flex; }
.exit-popup {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 560px;
  overflow: hidden;
  animation: popIn .3s ease;
  position: relative;
}
@keyframes popIn { from { transform: scale(.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.exit-popup-header {
  background: var(--primary);
  padding: 28px 32px 24px;
  position: relative;
}
.exit-popup-header h2 { color: var(--white); font-size: 1.4rem; margin-bottom: 6px; }
.exit-popup-header p { color: rgba(255,255,255,0.65); font-size: 0.9rem; margin: 0; }
.exit-popup-close {
  position: absolute;
  top: 16px; right: 16px;
  background: rgba(255,255,255,.1);
  border: none;
  color: var(--white);
  width: 30px; height: 30px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.exit-popup-close:hover { background: rgba(255,255,255,.2); }
.exit-popup-body { padding: 28px 32px; }
.exit-benefits { list-style: none; margin-bottom: 20px; }
.exit-benefits li { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--gray-700); padding: 6px 0; }
.exit-benefits li::before { content: '✓'; color: var(--success); font-weight: 700; flex-shrink: 0; }

/* ── FOOTER ── */
.site-footer { background: var(--primary-dark); padding: 64px 0 0; margin-bottom: 0; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.footer-brand p { color: rgba(255,255,255,0.5); font-size: 0.88rem; margin-top: 14px; line-height: 1.7; max-width: 280px; }
.footer-logo-name { font-size: 1.1rem; font-weight: 800; color: var(--white); letter-spacing: -0.03em; }
.footer-logo-sub { font-size: 0.65rem; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.1em; }
.footer-col h4 { color: rgba(255,255,255,0.9); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: rgba(255,255,255,0.5); font-size: 0.85rem; transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--secondary); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { color: rgba(255,255,255,0.35); font-size: 0.78rem; }
.footer-legal { display: flex; gap: 16px; }
.footer-legal a { color: rgba(255,255,255,0.35); font-size: 0.78rem; }
.footer-legal a:hover { color: var(--secondary); }

/* ── REVEAL ON SCROLL ── */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal-on-scroll.revealed { opacity: 1; transform: translateY(0); }

/* ── SPECIFIC PAGES ── */
.page-hero {
  background: var(--primary);
  padding: 64px 0 48px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(201,168,76,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,.04) 1px, transparent 1px);
  background-size: 48px 48px;
}
.page-hero-inner { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero-lead { color: rgba(255,255,255,0.65); font-size: 1.05rem; max-width: 600px; margin: 0; }

.sidebar-layout { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
.sidebar-sticky { position: sticky; top: 90px; }

.cta-box {
  background: var(--primary);
  border-radius: var(--radius-lg);
  padding: 36px;
  text-align: center;
}
.cta-box h3 { color: var(--white); margin-bottom: 10px; }
.cta-box p { color: rgba(255,255,255,0.6); font-size: 0.9rem; margin-bottom: 20px; }

.stone-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  background: var(--white);
  transition: all var(--transition);
}
.stone-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.stone-card img { width: 100%; height: 200px; object-fit: cover; }
.stone-card-body { padding: 20px; }
.stone-card h3 { font-size: 1rem; margin-bottom: 6px; }
.stone-rendite { font-size: 1.2rem; font-weight: 800; color: var(--secondary); }

/* ── PROGRESS INDICATOR ── */
.progress-bar { height: 4px; background: var(--gray-200); border-radius: 50px; overflow: hidden; margin-top: 8px; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--secondary), var(--secondary-light)); border-radius: 50px; transition: width 1s ease; }

/* ── COMPARISON TABLE ── */
.compare-badge-best {
  background: var(--secondary);
  color: var(--primary);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 3px 8px;
  border-radius: 50px;
}

/* ── UTILITY ── */
.text-gold { color: var(--secondary); }
.text-primary { color: var(--primary); }
.text-muted { color: var(--gray-500); }
.text-center { text-align: center; }
.text-right { text-align: right; }
.font-mono { font-family: 'Courier New', monospace; }
.fw-700 { font-weight: 700; }
.fw-600 { font-weight: 600; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.divider { border: none; border-top: 1px solid var(--gray-200); margin: 32px 0; }
.highlight-box { background: rgba(201,168,76,.08); border-left: 3px solid var(--secondary); border-radius: 0 var(--radius) var(--radius) 0; padding: 16px 20px; }
.info-box { background: rgba(10,31,68,.04); border-left: 3px solid var(--primary); border-radius: 0 var(--radius) var(--radius) 0; padding: 16px 20px; }

/* Tally iframe */
.tally-frame { width: 100%; min-height: 500px; border: none; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .sidebar-layout { grid-template-columns: 1fr; }
  .sidebar-sticky { position: static; }
}
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding: 64px 0 48px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; }
  .section { padding: 56px 0; }
  .main-nav { display: none; }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px; left: 0; right: 0; bottom: 0;
    background: var(--white);
    padding: 24px;
    overflow-y: auto;
    z-index: 899;
    gap: 4px;
  }
  .main-nav.open a { font-size: 1rem; padding: 12px 16px; }
  .hamburger { display: block; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .sticky-footer-bar { flex-direction: column; text-align: center; padding: 12px 16px; }
  .sticky-footer-actions { width: 100%; justify-content: center; }
  .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; background: var(--gray-50); margin-top: 4px; border-radius: var(--radius); }
  .hero-calc { display: none; }
  .exit-popup-header { padding: 20px; }
  .exit-popup-body { padding: 20px; }
  .table-wrap { font-size: 0.82rem; }
  thead th, tbody td { padding: 10px 12px; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.35rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}