/* =============================================
   AUREATE INVESTMENTS - Premium Styles
   Navy #1B3A5C | Gold #C9A84C | Light bg
   ============================================= */

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

/* ---- Variables ---- */
:root {
  --navy: #1B3A5C;
  --navy-dark: #0F2238;
  --navy-light: #2A527E;
  --gold: #C9A84C;
  --gold-light: #E8C96B;
  --gold-dark: #A8872E;
  --white: #FFFFFF;
  --bg: #F8F7F4;
  --bg-card: #FFFFFF;
  --text: #1A1A2E;
  --text-muted: #5A6478;
  --border: #E4DDD0;
  --success: #2D7D46;
  --danger: #B91C1C;
  --orange: #D97706;

  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(27,58,92,0.10);
  --shadow-lg: 0 12px 48px rgba(27,58,92,0.16);
  --shadow-gold: 0 4px 24px rgba(201,168,76,0.20);

  --section-pad: 96px 0;
  --container: 1200px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
  color: var(--navy);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 4vw, 2.6rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
p { color: var(--text-muted); line-height: 1.75; }

/* ---- Container ---- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 860px; margin: 0 auto; padding: 0 24px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--navy-dark);
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201,168,76,0.35);
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 100%);
}
.btn-navy {
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow);
}
.btn-navy:hover {
  background: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}
.btn-lg { padding: 18px 36px; font-size: 1.05rem; border-radius: 14px; }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

/* ---- Badge ---- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.badge-gold { background: rgba(201,168,76,0.15); color: var(--gold-dark); border: 1px solid rgba(201,168,76,0.3); }
.badge-navy { background: rgba(27,58,92,0.08); color: var(--navy); border: 1px solid rgba(27,58,92,0.15); }
.badge-green { background: rgba(45,125,70,0.10); color: var(--success); border: 1px solid rgba(45,125,70,0.2); }

/* ---- Gold Divider ---- */
.gold-divider {
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  margin: 16px 0 24px;
}
.gold-divider.centered { margin: 16px auto 24px; }

/* ---- Section header ---- */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header .badge { margin-bottom: 16px; }
.section-header h2 { margin-bottom: 8px; }
.section-header .gold-divider.centered { margin-top: 20px; }
.section-header p { max-width: 600px; margin: 0 auto; font-size: 1.05rem; }

/* ============================================
   HEADER / NAV
   ============================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.site-header.scrolled { box-shadow: var(--shadow-lg); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
}
.nav-logo .logo-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-logo .logo-icon svg { color: var(--gold); }
.nav-logo span.gold { color: var(--gold); }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-menu > li { position: relative; }
.nav-menu a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-menu a:hover, .nav-menu a.active {
  color: var(--navy);
  background: rgba(27,58,92,0.07);
}

/* Dropdown */
.nav-has-dropdown { position: relative; }
.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 260px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.25s ease;
  z-index: 200;
}
.nav-has-dropdown:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.84rem;
  color: var(--text-muted);
  transition: all 0.2s;
}
.nav-dropdown a:hover { background: var(--bg); color: var(--navy); }

.nav-cta { margin-left: 8px; }
.nav-hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: all 0.3s; }

/* Mobile nav */
@media (max-width: 900px) {
  .nav-hamburger { display: block; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    gap: 4px;
    align-items: stretch;
    z-index: 999;
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: 12px 16px; font-size: 0.95rem; }
  .nav-cta { display: none; }
  .nav-dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; background: var(--bg); margin-top: 4px; padding: 4px; }
  .nav-has-dropdown:hover .nav-dropdown { display: none; }
}

/* ============================================
   HERO HOMEPAGE
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 72px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.pexels.com/photos/15803904/pexels-photo-15803904.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940');
  background-size: cover;
  background-position: center;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(15,34,56,0.92) 0%, rgba(27,58,92,0.80) 50%, rgba(27,58,92,0.55) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 80px 0;
}
.hero-content .badge { margin-bottom: 24px; background: rgba(201,168,76,0.2); color: var(--gold-light); border-color: rgba(201,168,76,0.4); }
.hero-content h1 { color: var(--white); margin-bottom: 20px; }
.hero-content h1 em { color: var(--gold-light); font-style: normal; }
.hero-content p { color: rgba(255,255,255,0.80); font-size: 1.1rem; margin-bottom: 36px; max-width: 560px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-stat { color: var(--white); }
.hero-stat strong { display: block; font-family: 'Playfair Display', serif; font-size: 2rem; color: var(--gold-light); }
.hero-stat span { font-size: 0.82rem; color: rgba(255,255,255,0.65); }

@media (max-width: 768px) {
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .hero-stat strong { font-size: 1.5rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

/* ============================================
   PIERRE CARDS / GRID
   ============================================ */
.section { padding: var(--section-pad); }
.section-alt { background: var(--white); }
.section-navy { background: var(--navy-dark); }
.section-navy h2, .section-navy h3, .section-navy h4 { color: var(--white); }
.section-navy p { color: rgba(255,255,255,0.70); }

.pierres-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}
.pierre-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}
.pierre-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(201,168,76,0.3);
}
.pierre-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.pierre-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.pierre-card:hover .pierre-card-img img { transform: scale(1.05); }
.pierre-card-img .rendite-tag {
  position: absolute;
  top: 16px; right: 16px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy-dark);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
}
.pierre-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.pierre-card-body h3 { margin-bottom: 6px; font-size: 1.35rem; }
.pierre-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}
.pierre-card-meta .meta-item {
  font-size: 0.78rem;
  color: var(--text-muted);
  background: var(--bg);
  padding: 4px 10px;
  border-radius: 50px;
  border: 1px solid var(--border);
}
.pierre-card-body p { font-size: 0.88rem; flex: 1; margin-bottom: 20px; }
.pierre-card-body .btn { margin-top: auto; width: 100%; justify-content: center; }

/* ============================================
   SIMULATEUR DE RENDEMENT
   ============================================ */
.simulateur {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.simulateur::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(201,168,76,0.08);
}
.simulateur h3 { color: var(--white); font-size: 1.6rem; margin-bottom: 8px; }
.simulateur > p { color: rgba(255,255,255,0.65); margin-bottom: 32px; }
.sim-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}
.sim-group { display: flex; flex-direction: column; gap: 8px; }
.sim-group label {
  color: rgba(255,255,255,0.80);
  font-size: 0.85rem;
  font-weight: 500;
}
.sim-group input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,0.2);
  outline: none;
}
.sim-group input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(201,168,76,0.4);
}
.sim-group select {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  color: var(--white);
  padding: 12px 16px;
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
}
.sim-group select option { background: var(--navy-dark); }
.sim-value {
  color: var(--gold-light);
  font-size: 1.1rem;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
}
.sim-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.1);
}
.sim-result-item { text-align: center; }
.sim-result-item .result-val {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--gold-light);
  font-weight: 700;
  display: block;
}
.sim-result-item .result-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
  display: block;
}
.sim-cta {
  margin-top: 28px;
  text-align: center;
}
.sim-disclaimer {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
  text-align: center;
  margin-top: 12px;
}

@media (max-width: 768px) {
  .simulateur { padding: 28px 20px; }
  .sim-controls { grid-template-columns: 1fr; }
  .sim-results { grid-template-columns: 1fr; gap: 12px; }
}

/* ============================================
   WHY INVEST / AVANTAGES
   ============================================ */
.avantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}
.avantage-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--border);
  transition: all 0.3s;
}
.avantage-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
  transform: translateY(-4px);
}
.avantage-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, rgba(27,58,92,0.08), rgba(201,168,76,0.10));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 1px solid var(--border);
}
.avantage-icon svg { color: var(--navy); }
.avantage-card h4 { margin-bottom: 8px; font-size: 1rem; }
.avantage-card p { font-size: 0.88rem; }

/* ============================================
   COMPARATIF PAGE
   ============================================ */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.compare-table th {
  padding: 20px 24px;
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
}
.compare-table th:first-child { background: var(--bg); color: var(--text-muted); }
.compare-table th.aureate { background: var(--navy); color: var(--white); }
.compare-table th.aureate .badge-winner {
  display: inline-block;
  background: var(--gold);
  color: var(--navy-dark);
  font-size: 0.7rem;
  padding: 3px 10px;
  border-radius: 50px;
  margin-left: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
}
.compare-table th.flawless { background: #2D4A3E; color: var(--white); }
.compare-table td {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.compare-table td:first-child { background: var(--bg); font-weight: 500; color: var(--text-muted); }
.compare-table td.aureate-col { background: rgba(27,58,92,0.04); }
.compare-table td.flawless-col { background: rgba(45,74,62,0.04); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table .check { color: var(--success); font-weight: 700; }
.compare-table .cross { color: var(--danger); }
.compare-table .star { color: var(--gold-dark); font-weight: 700; }

/* ============================================
   PIERRE DETAIL PAGE
   ============================================ */
.pierre-hero {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  position: relative;
  overflow: hidden;
}
.pierre-hero::after {
  content: '';
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 45%;
  background: rgba(201,168,76,0.04);
  clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
}
.pierre-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.pierre-hero-text .badge { margin-bottom: 20px; }
.pierre-hero-text h1 { color: var(--white); margin-bottom: 16px; }
.pierre-hero-text .hero-desc { color: rgba(255,255,255,0.75); font-size: 1.05rem; margin-bottom: 32px; }
.pierre-hero-text .stats-bar {
  display: flex;
  gap: 32px;
  margin-bottom: 32px;
}
.stat-item strong { display: block; font-family: 'Playfair Display', serif; font-size: 1.6rem; color: var(--gold-light); }
.stat-item span { font-size: 0.78rem; color: rgba(255,255,255,0.55); }
.pierre-hero-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
}
.pierre-hero-img img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 768px) {
  .pierre-hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .pierre-hero { padding: 100px 0 48px; }
  .pierre-hero-text .stats-bar { gap: 20px; }
}

/* ============================================
   AVANTAGES LIST (pierre page)
   ============================================ */
.pros-cons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.pros-card, .cons-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
}
.pros-card { border-top: 4px solid var(--success); }
.cons-card { border-top: 4px solid #F59E0B; }
.pros-card h4 { color: var(--success); margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
.cons-card h4 { color: #B45309; margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
.pros-card li, .cons-card li {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
  align-items: flex-start;
}
.pros-card li::before { content: 'v'; color: var(--success); font-weight: 700; flex-shrink: 0; }
.cons-card li::before { content: '!'; color: #F59E0B; font-weight: 700; flex-shrink: 0; }

@media (max-width: 768px) {
  .pros-cons-grid { grid-template-columns: 1fr; }
}

/* ============================================
   FAQ
   ============================================ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  cursor: pointer;
  transition: background 0.2s;
}
.faq-question:hover { background: rgba(27,58,92,0.03); }
.faq-question h4 { font-size: 0.95rem; font-family: 'Inter', sans-serif; font-weight: 600; color: var(--navy); }
.faq-icon { color: var(--navy); flex-shrink: 0; transition: transform 0.3s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { padding: 0 24px; max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s; }
.faq-item.open .faq-answer { max-height: 400px; padding-bottom: 20px; }
.faq-answer p { font-size: 0.9rem; }

/* ============================================
   CONTACT / TALLY FORM
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: start;
}
.contact-info h2 { margin-bottom: 16px; }
.contact-info p { margin-bottom: 32px; }
.contact-features li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.contact-features li:last-child { border-bottom: none; }
.contact-feature-icon {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-feature-icon svg { color: var(--gold); }
.contact-feature-text strong { display: block; font-weight: 600; color: var(--navy); margin-bottom: 3px; font-size: 0.9rem; }
.contact-feature-text span { font-size: 0.82rem; color: var(--text-muted); }
.tally-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 8px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  min-height: 500px;
}

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal-on-scroll[data-delay="100"] { transition-delay: 0.1s; }
.reveal-on-scroll[data-delay="200"] { transition-delay: 0.2s; }
.reveal-on-scroll[data-delay="300"] { transition-delay: 0.3s; }
.reveal-on-scroll[data-delay="400"] { transition-delay: 0.4s; }
.reveal-on-scroll[data-delay="500"] { transition-delay: 0.5s; }

/* ============================================
   STICKY FOOTER MARKETING BAR
   ============================================ */
.sticky-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 900;
  background: linear-gradient(90deg, var(--navy-dark) 0%, var(--navy) 60%, #1e4a7a 100%);
  border-top: 2px solid var(--gold);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 -4px 32px rgba(27,58,92,0.3);
}
.sticky-bar.visible { transform: translateY(0); }
.sticky-bar-text {
  display: flex;
  align-items: center;
  gap: 14px;
}
.sticky-bar-text .pulse {
  width: 10px; height: 10px;
  background: #22C55E;
  border-radius: 50%;
  animation: pulse 2s infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.4); }
  50% { box-shadow: 0 0 0 8px rgba(34,197,94,0); }
}
.sticky-bar-text p { color: var(--white); font-size: 0.88rem; margin: 0; }
.sticky-bar-text p strong { color: var(--gold-light); }
.sticky-bar-actions { display: flex; gap: 10px; align-items: center; flex-shrink: 0; }
.sticky-bar-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s;
}
.sticky-bar-close:hover { color: var(--white); }

@media (max-width: 768px) {
  .sticky-bar { flex-direction: column; padding: 12px 16px; gap: 10px; }
  .sticky-bar-text p { font-size: 0.8rem; }
  .sticky-bar-actions { width: 100%; justify-content: center; }
  .sticky-bar-actions .btn { flex: 1; justify-content: center; font-size: 0.85rem; padding: 10px 16px; }
}

/* ============================================
   EXIT POPUP
   ============================================ */
.exit-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,34,56,0.75);
  z-index: 9998;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(4px);
}
.exit-overlay.active { display: flex; }
.exit-popup {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 560px;
  width: 100%;
  overflow: hidden;
  position: relative;
  box-shadow: 0 24px 80px rgba(0,0,0,0.3);
  animation: popIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes popIn {
  0% { transform: scale(0.8) translateY(30px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.exit-popup-top {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  padding: 40px 36px 32px;
  text-align: center;
  position: relative;
}
.exit-popup-top .gold-gem {
  font-size: 3rem;
  margin-bottom: 12px;
  display: block;
}
.exit-popup-top h3 { color: var(--white); font-size: 1.5rem; margin-bottom: 8px; }
.exit-popup-top p { color: rgba(255,255,255,0.70); font-size: 0.9rem; max-width: 380px; margin: 0 auto; }
.exit-popup-close {
  position: absolute;
  top: 16px; right: 16px;
  background: rgba(255,255,255,0.15);
  border: none;
  color: white;
  width: 32px; height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.exit-popup-close:hover { background: rgba(255,255,255,0.25); }
.exit-popup-body { padding: 32px 36px; }
.exit-popup-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}
.exit-popup-benefit {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.exit-popup-benefit svg { color: var(--gold-dark); flex-shrink: 0; }
.exit-popup-body .btn { width: 100%; justify-content: center; font-size: 1rem; }
.exit-popup-skip {
  display: block;
  text-align: center;
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s;
}
.exit-popup-skip:hover { color: var(--navy); }

@media (max-width: 480px) {
  .exit-popup-top { padding: 28px 24px 24px; }
  .exit-popup-body { padding: 24px; }
  .exit-popup-benefits { grid-template-columns: 1fr; }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.65);
  padding: 72px 0 0;
  padding-bottom: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand .nav-logo .logo-icon { background: rgba(255,255,255,0.1); }
.footer-brand p { font-size: 0.85rem; line-height: 1.7; max-width: 280px; }
.footer-col h5 {
  color: var(--white);
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  margin-bottom: 20px;
  font-weight: 600;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.8rem; margin: 0; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 0.78rem; color: rgba(255,255,255,0.4); transition: color 0.2s; }
.footer-legal a:hover { color: var(--gold-light); }
.footer-disclaimer {
  background: rgba(255,255,255,0.04);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0;
}
.footer-disclaimer p {
  font-size: 0.73rem;
  color: rgba(255,255,255,0.3);
  text-align: center;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .site-footer { padding-bottom: 140px; }
}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
  padding: 16px 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.breadcrumb li { font-size: 0.8rem; color: var(--text-muted); }
.breadcrumb li a { color: var(--navy); transition: color 0.2s; }
.breadcrumb li a:hover { color: var(--gold-dark); }
.breadcrumb li + li::before { content: '/'; margin-right: 8px; }

/* ============================================
   INTERNAL LINKS BLOCK
   ============================================ */
.related-stones {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 32px;
}
.related-stone-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.25s;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--navy);
}
.related-stone-link:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}
.related-stone-link svg { color: var(--gold-dark); flex-shrink: 0; }

/* ============================================
   HERO PAGE INTERNE
   ============================================ */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 120px 0 72px;
  text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,0.70); font-size: 1.1rem; max-width: 600px; margin: 0 auto 24px; }
.page-hero .badge { display: inline-flex; margin-bottom: 20px; background: rgba(201,168,76,0.15); color: var(--gold-light); border-color: rgba(201,168,76,0.3); }

/* ============================================
   TRUST BADGES
   ============================================ */
.trust-bar {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 500;
}
.trust-item svg { color: var(--navy); }

/* ============================================
   UTILS
   ============================================ */
.text-gold { color: var(--gold-dark); }
.text-green { color: var(--success); }
.text-red { color: var(--danger); }
.text-orange { color: var(--orange); }
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0 !important; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.pt-0 { padding-top: 0 !important; }
.bg-white { background: var(--white); }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.pagination a, .pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text-muted);
  transition: all 0.2s;
}
.pagination a:hover { border-color: var(--navy); color: var(--navy); }
.pagination span.current { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* ============================================
   RATGEBER BLOG STYLES
   ============================================ */

/* --- Featured Article --- */
.ratgeber-featured {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  margin-bottom: 64px;
}
.ratgeber-featured-img {
  position: relative;
  min-height: 400px;
}
.ratgeber-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.featured-badge {
  position: absolute;
  top: 20px; left: 20px;
  background: var(--gold);
  color: var(--navy-dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.ratgeber-featured-content {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ratgeber-featured-content .badge { margin-bottom: 16px; }
.ratgeber-featured-content h2 { margin-bottom: 8px; font-size: clamp(1.3rem, 2.5vw, 1.9rem); }
.ratgeber-featured-content p { margin: 16px 0 0; font-size: 0.95rem; }

@media (max-width: 768px) {
  .ratgeber-featured { grid-template-columns: 1fr; }
  .ratgeber-featured-img { min-height: 260px; }
  .ratgeber-featured-content { padding: 28px 24px; }
}

/* --- Filter Pills --- */
.ratgeber-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}
.filter-pill:hover { border-color: var(--navy); color: var(--navy); }
.filter-pill.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* --- Articles Grid --- */
.ratgeber-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}
.ratgeber-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}
.ratgeber-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(201,168,76,0.3);
}
.ratgeber-card-img {
  position: relative;
  height: 200px;
  display: block;
  overflow: hidden;
}
.ratgeber-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.ratgeber-card:hover .ratgeber-card-img img { transform: scale(1.05); }
.ratgeber-card-cat {
  position: absolute;
  bottom: 12px; left: 12px;
  background: rgba(15,34,56,0.85);
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.ratgeber-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.ratgeber-card-body h3 {
  font-size: 1.05rem;
  margin: 8px 0;
  line-height: 1.35;
}
.ratgeber-card-body h3 a {
  color: var(--navy);
  transition: color 0.2s;
}
.ratgeber-card-body h3 a:hover { color: var(--gold-dark); }
.ratgeber-card-body p {
  font-size: 0.86rem;
  flex: 1;
  margin-bottom: 16px;
}
.ratgeber-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--navy);
  transition: color 0.2s;
  margin-top: auto;
}
.ratgeber-card-link:hover { color: var(--gold-dark); }

/* --- Article Meta --- */
.article-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.article-meta span, .article-meta time {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--text-muted);
}

/* --- Indicateur de mise à jour dynamique --- */
.article-updated {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  color: var(--success);
  background: rgba(45,125,70,0.08);
  padding: 3px 8px;
  border-radius: 50px;
  border: 1px solid rgba(45,125,70,0.2);
  font-weight: 600;
}

/* --- Freshness badge --- */
.freshness-badge {
  display: inline-flex;
  align-items: center;
}

/* --- Badge année sur image article --- */
.article-year-badge {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy-dark);
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
  box-shadow: var(--shadow);
}

/* --- Dernière mise à jour footer --- */
.article-last-update {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  margin-top: 32px;
}
.article-last-update svg { color: var(--gold-dark); flex-shrink: 0; }

/* --- Sidebar markt --- */
.sidebar-markt {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
}
.sidebar-markt-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.sidebar-markt-header h5 {
  font-family: 'Playfair Display', serif;
  font-size: 0.9rem;
  color: var(--navy);
  font-weight: 600;
}
.markt-dot {
  width: 8px; height: 8px;
  background: #22C55E;
  border-radius: 50%;
  animation: pulse 2s infinite;
  flex-shrink: 0;
}
.markt-date {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.markt-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}
.markt-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.markt-list li:last-child { border-bottom: none; padding-bottom: 0; }
.markt-list li span:first-child { color: var(--text-muted); }
.markt-up {
  color: var(--success);
  font-weight: 700;
}
.sidebar-markt-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  transition: color 0.2s;
}
.sidebar-markt-link:hover { color: var(--gold-dark); }

/* --- Rechner Banner --- */
.rechner-banner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}
.rechner-banner h2 { color: var(--white); margin-bottom: 12px; }
.rechner-banner p { color: rgba(255,255,255,0.70); }
.rechner-banner-actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; flex-shrink: 0; }

@media (max-width: 768px) {
  .rechner-banner { grid-template-columns: 1fr; }
  .rechner-banner-actions { flex-direction: row; flex-wrap: wrap; }
}

/* ============================================
   ARTICLE PAGE STYLES
   ============================================ */

/* --- Article Hero --- */
.article-hero {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 48px 0 0;
}
.article-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.article-hero-text .badge { margin-bottom: 16px; }
.article-hero-text h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: 16px; }
.article-intro {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-top: 20px;
}
.article-hero-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  align-self: center;
  position: relative;
}
.article-hero-img img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 768px) {
  .article-hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .article-hero { padding: 32px 0 0; }
}

/* --- Article Layout --- */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}
.article-main { min-width: 0; }
.article-section { margin-bottom: 48px; }
.article-section h2 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); margin-bottom: 4px; }
.article-section p { font-size: 0.95rem; line-height: 1.85; }

/* --- TOC --- */
.article-toc {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 40px;
  border-left: 4px solid var(--gold);
}
.article-toc h4 { margin-bottom: 16px; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--navy); }
.article-toc ol { list-style: decimal; padding-left: 20px; }
.article-toc ol li { margin-bottom: 8px; }
.article-toc ol li a { font-size: 0.88rem; color: var(--text-muted); transition: color 0.2s; }
.article-toc ol li a:hover { color: var(--gold-dark); }

/* --- CTA Box in article --- */
.article-cta-box {
  display: flex;
  gap: 20px;
  align-items: center;
  background: linear-gradient(135deg, rgba(27,58,92,0.05), rgba(201,168,76,0.08));
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin: 40px 0;
}
.article-cta-icon { font-size: 2.5rem; flex-shrink: 0; }
.article-cta-text h4 { margin-bottom: 6px; }
.article-cta-text p { font-size: 0.88rem; margin: 0; }
.article-cta-box .btn { flex-shrink: 0; }

@media (max-width: 600px) {
  .article-cta-box { flex-direction: column; text-align: center; }
  .article-cta-box .btn { width: 100%; justify-content: center; }
}

/* --- Pierre link in article --- */
.article-pierre-link {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 32px;
}
.article-pierre-link p { margin: 0; font-size: 0.9rem; }

@media (max-width: 600px) {
  .article-pierre-link { flex-direction: column; }
}

/* --- Sidebar --- */
.article-sidebar {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.sidebar-cta {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
}
.sidebar-cta h4 { color: var(--white); margin-bottom: 8px; }
.sidebar-cta p { color: rgba(255,255,255,0.65); font-size: 0.85rem; margin-bottom: 16px; }
.sidebar-trust {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 16px;
  text-align: left;
}
.sidebar-trust span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
}

.sidebar-rechner {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
}
.sidebar-rechner-icon { font-size: 2rem; margin-bottom: 8px; }
.sidebar-rechner h4 { margin-bottom: 6px; }
.sidebar-rechner p { font-size: 0.83rem; }

.sidebar-articles {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
}
.sidebar-articles h5 { font-family: 'Playfair Display', serif; font-size: 0.9rem; color: var(--navy); margin-bottom: 16px; }
.sidebar-article-link {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  transition: all 0.2s;
}
.sidebar-article-link:last-child { border-bottom: none; padding-bottom: 0; }
.sidebar-article-link:hover { opacity: 0.8; }
.sidebar-article-link img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.sidebar-article-link div { display: flex; flex-direction: column; gap: 4px; }
.sidebar-article-cat { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gold-dark); font-weight: 600; }
.sidebar-article-link strong { font-size: 0.8rem; color: var(--navy); line-height: 1.3; font-weight: 500; }

.sidebar-stones {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
}
.sidebar-stones h5 { font-family: 'Playfair Display', serif; font-size: 0.9rem; color: var(--navy); margin-bottom: 14px; }
.sidebar-stones ul li { margin-bottom: 8px; }
.sidebar-stones ul li a { font-size: 0.84rem; color: var(--text-muted); display: flex; align-items: center; gap: 8px; transition: color 0.2s; }
.sidebar-stones ul li a::before { content: '💎'; font-size: 0.7rem; }
.sidebar-stones ul li a:hover { color: var(--gold-dark); }

/* Responsive article layout */
@media (max-width: 960px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
}

/* ============================================
   CALCULATEUR IMMOBILIEN vs EDELSTEINE
   ============================================ */

/* --- Main layout --- */
.rechner-layout {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 40px;
  align-items: start;
}

/* --- Inputs Panel --- */
.rechner-inputs {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 96px;
}
.rechner-inputs-header { margin-bottom: 28px; }
.rechner-inputs-header h3 { font-size: 1.2rem; margin-bottom: 4px; }
.rechner-inputs-header p { font-size: 0.84rem; }

.rechner-group {
  margin-bottom: 24px;
}
.rechner-group label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}
.rechner-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--border);
  outline: none;
  cursor: pointer;
}
.rechner-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--navy);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(27,58,92,0.3);
  border: 3px solid var(--white);
}
.rechner-slider-row {
  display: flex;
  align-items: center;
  gap: 16px;
}
.rechner-val {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
  min-width: 90px;
  text-align: right;
}
.rechner-quick {
  display: flex;
  gap: 6px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.rechner-quick button {
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s;
  font-family: 'Inter', sans-serif;
}
.rechner-quick button:hover { border-color: var(--navy); color: var(--navy); background: var(--white); }
.rechner-select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235A6478' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}
.rechner-select:focus { border-color: var(--navy); }
.rechner-advanced-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 16px;
  cursor: pointer;
  width: 100%;
  font-family: 'Inter', sans-serif;
  transition: all 0.2s;
}
.rechner-advanced-toggle:hover { border-color: var(--navy); background: rgba(27,58,92,0.04); }
.rechner-advanced-toggle #advanced-arrow { margin-left: auto; transition: transform 0.3s; }
.rechner-advanced {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid var(--border);
  margin-top: 12px;
}
.rechner-advanced .rechner-group { margin-bottom: 16px; }
.rechner-advanced .rechner-group:last-child { margin-bottom: 0; }

/* --- Results Panel --- */
.rechner-results {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Winner banner */
.rechner-winner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
}
.rechner-winner.winner-gem {
  background: linear-gradient(135deg, rgba(201,168,76,0.12), rgba(201,168,76,0.06));
  border-color: rgba(201,168,76,0.3);
}
.rechner-winner.winner-immo {
  background: linear-gradient(135deg, rgba(27,58,92,0.08), rgba(27,58,92,0.04));
  border-color: rgba(27,58,92,0.2);
}
.winner-icon { font-size: 2rem; flex-shrink: 0; }
.winner-text strong { display: block; font-family: 'Playfair Display', serif; font-size: 1.2rem; color: var(--navy); }
.winner-text span { font-size: 0.88rem; color: var(--text-muted); }

/* Compare cards */
.rechner-compare-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.compare-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 2px solid var(--border);
  transition: border-color 0.3s;
}
.compare-card.compare-gem { border-top: 4px solid var(--gold); }
.compare-card.compare-immo { border-top: 4px solid var(--navy-light); }
.compare-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.compare-card-icon { font-size: 1.8rem; }
.compare-card-label { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); font-weight: 600; }
.compare-card-type { display: block; font-size: 0.88rem; font-weight: 600; color: var(--navy); }
.compare-winner-badge {
  margin-left: auto;
  background: var(--gold);
  color: var(--navy-dark);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  white-space: nowrap;
}
.compare-loser-badge {
  margin-left: auto;
  background: rgba(27,58,92,0.1);
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 50px;
  white-space: nowrap;
}
.compare-card-main {
  text-align: center;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}
.compare-card-big {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
}
.compare-card-sub { display: block; font-size: 0.75rem; color: var(--text-muted); margin-top: 4px; }
.compare-card-details { display: flex; flex-direction: column; gap: 8px; }
.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}
.detail-row span:first-child { color: var(--text-muted); }
.detail-row span:last-child { font-weight: 600; }
.bold-row span { font-weight: 700; font-size: 0.88rem; }
.bold-row span:first-child { color: var(--navy); }

@media (max-width: 680px) {
  .rechner-compare-cards { grid-template-columns: 1fr; }
}

/* Chart */
.rechner-chart-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.rechner-chart-wrap h4 { margin-bottom: 20px; font-size: 1rem; }
#renditeChart { max-height: 280px; }

/* Insights */
.rechner-insights {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
}
.rechner-insights h4 { margin-bottom: 20px; }
.insights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.insight-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.84rem;
  color: var(--text-muted);
  padding: 12px;
  border-radius: var(--radius);
  background: var(--bg);
}
.insight-item span { line-height: 1.4; }
.insight-gem svg { color: var(--success); flex-shrink: 0; }
.insight-immo svg { color: var(--danger); flex-shrink: 0; }

/* Bottom CTA */
.rechner-bottom-cta {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
}
.rechner-bottom-cta p { color: rgba(255,255,255,0.75); margin-bottom: 20px; }
.rechner-bottom-cta .btn { margin: 0 auto; }
.rechner-disclaimer {
  display: block;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
  margin-top: 16px;
  line-height: 1.5;
}

/* Methodology */
.methodology-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.methodology-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  border-left: 4px solid var(--gold);
}
.methodology-item h4 { margin-bottom: 10px; font-size: 0.95rem; }
.methodology-item p { font-size: 0.84rem; }

@media (max-width: 768px) {
  .methodology-grid { grid-template-columns: 1fr; }
}

/* Rechner responsive */
@media (max-width: 1100px) {
  .rechner-layout { grid-template-columns: 1fr; }
  .rechner-inputs { position: static; }
}
@media (max-width: 600px) {
  .insights-grid { grid-template-columns: 1fr; }
}