/* hormonbalance-ratgeber.de — Ratgeber für Wechseljahre & Hormonbalance */
/* Purple/Rose palette · Lora (headings) + Nunito (body) */

:root {
  /* Primary = Sirenevyj (variable names --navy/--emerald kept for class compat across PBN network) */
  --navy: #5E3870;
  --navy-light: #7B4F8E;
  --navy-dark: #48275A;
  /* Accent = Rozovyj */
  --emerald: #E37BA3;
  --emerald-light: #F5A0C0;
  --emerald-bg: #FBF0F5;
  --gray-50: #faf8fb;
  --gray-100: #f3eef5;
  --gray-200: #e8e0eb;
  --gray-400: #b3a5b8;
  --gray-600: #7a6b7f;
  --gray-800: #3d3042;
  --white: #ffffff;
  --gold: #d69b5a;
  --red-soft: #c15a6a;
  --font-head: 'Lora', Georgia, 'Times New Roman', serif;
  --font: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 820px;
  --shadow-sm: 0 1px 3px rgba(94,56,112,0.08);
  --shadow-md: 0 4px 12px rgba(94,56,112,0.12);
  --radius: 10px;
}

/* Apply Lora to all headings (serif for feminine-editorial tone) */
h1, h2, h3, h4, h5, .logo .logo-main, .card-big-text, .product-name, .hero h1, .home-hero h1 {
  font-family: var(--font-head);
  letter-spacing: -0.01em;
}

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

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

body {
  font-family: var(--font);
  color: var(--navy);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--emerald); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ── TOP NOTICE BAR ── */
.top-bar {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  font-size: 0.78rem;
  text-align: center;
  padding: 7px 16px;
  letter-spacing: 0.02em;
}
.top-bar span { margin: 0 12px; }
.top-bar .sep { opacity: 0.4; }

/* ── HEADER ── */
header {
  background: var(--white);
  border-bottom: 2px solid var(--emerald);
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  color: var(--navy);
  text-decoration: none;
}
.logo .logo-main {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy);
}
.logo .logo-main em {
  font-style: normal;
  color: var(--emerald);
}
.logo .logo-sub {
  font-size: 0.62rem;
  font-weight: 400;
  color: var(--gray-600);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
nav { display: flex; gap: 28px; align-items: center; }
nav a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  opacity: 0.75;
  transition: opacity 0.15s;
}
nav a:hover { opacity: 1; text-decoration: none; }
.nav-soon {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--navy);
  opacity: 0.35;
  cursor: default;
  user-select: none;
}

/* ── MAIN CONTAINER ── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.article-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── BREADCRUMB ── */
.breadcrumb {
  padding: 16px 0 8px;
  font-size: 0.8rem;
  color: var(--gray-600);
}
.breadcrumb a { color: var(--gray-600); }
.breadcrumb span { margin: 0 6px; opacity: 0.5; }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 72px 24px 56px;
  text-align: center;
}
.hero .kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.35);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.hero .lead {
  opacity: 0.95;
}
.hero .meta {
  opacity: 0.88;
}
.hero h1 {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.2;
  max-width: 700px;
  margin: 0 auto 18px;
  letter-spacing: -0.02em;
}
.hero .lead {
  font-size: 1.05rem;
  opacity: 0.82;
  max-width: 560px;
  margin: 0 auto 28px;
}
.hero .meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  font-size: 0.82rem;
  opacity: 0.65;
  flex-wrap: wrap;
}
.hero .meta-item { display: flex; align-items: center; gap: 5px; }

/* ── WINNER BOX ── */
.winner-box {
  background: linear-gradient(135deg, #3a1f4a 0%, #281230 100%);
  border: 2px solid var(--emerald);
  border-radius: 12px;
  padding: 28px 32px;
  margin: 40px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.winner-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--emerald), #F5C4D6, var(--emerald));
}
.winner-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--emerald);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
}
.winner-box h2 {
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 6px;
  font-weight: 700;
}
.winner-box .winner-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  max-width: 480px;
}
.winner-score {
  text-align: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 16px 24px;
  min-width: 120px;
}
.winner-score .score-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--emerald);
  line-height: 1;
}
.winner-score .score-label {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
}

/* ── ARTICLE CONTENT ── */
.article-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin: 44px 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gray-200);
  letter-spacing: -0.02em;
}
.article-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin: 28px 0 10px;
}
.article-content p {
  color: var(--gray-800);
  margin-bottom: 16px;
  font-size: 0.97rem;
}
.article-content ul, .article-content ol {
  padding-left: 20px;
  margin-bottom: 16px;
}
.article-content li {
  color: var(--gray-800);
  margin-bottom: 6px;
  font-size: 0.95rem;
}
.article-content strong { color: var(--navy); }

/* ── INFO BOX ── */
.info-box {
  background: var(--emerald-bg);
  border-left: 4px solid var(--emerald);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px;
  margin: 24px 0;
}
.info-box p { margin: 0; font-size: 0.9rem; color: #48275A; }
.info-box strong { color: #2E1540; }

/* ── CRITERIA LIST ── */
.criteria-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 24px 0;
}
.criteria-item {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 14px 16px;
}
.criteria-item .c-num {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--emerald);
  line-height: 1;
  margin-bottom: 4px;
}
.criteria-item .c-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
}
.criteria-item .c-desc {
  font-size: 0.77rem;
  color: var(--gray-600);
  margin-top: 4px;
}

/* ── COMPARISON TABLE ── */
.table-wrap {
  overflow-x: auto;
  margin: 28px 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.comparison-table thead {
  background: var(--navy);
  color: var(--white);
}
.comparison-table thead th {
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 0.8rem;
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.comparison-table thead th:first-child { width: 220px; }
.comparison-table tbody tr:nth-child(even) { background: var(--gray-50); }
.comparison-table tbody tr.winner-row {
  background: #FBF0F5;
  font-weight: 500;
}
.comparison-table tbody tr.winner-row td:first-child { font-weight: 700; }
.comparison-table td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--gray-200);
  vertical-align: middle;
}
.comparison-table td:first-child { font-size: 0.9rem; }
.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 700;
  margin-right: 6px;
  vertical-align: middle;
}
.rank-1 { background: var(--gold); color: #5a3e00; }
.rank-2 { background: #c0c0c0; color: #3a3a3a; }
.rank-3 { background: #cd7f32; color: #3a2000; }
.rank-4, .rank-5 { background: var(--gray-200); color: var(--gray-600); }

.score-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
  font-size: 0.9rem;
}
.score-pill.high { color: var(--emerald); }
.score-pill.mid { color: var(--gold); }
.score-pill.low { color: var(--red-soft); }

.check { color: var(--emerald); font-weight: 700; }
.cross { color: var(--red-soft); font-weight: 700; }
.half { color: var(--gold); font-weight: 700; }

/* ── PRODUCT CARDS ── */
.product-card {
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 28px 30px;
  margin: 32px 0;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s;
}
.product-card:hover { box-shadow: var(--shadow-md); }
.product-card.winner-card {
  border-color: var(--emerald);
  border-width: 2px;
  background: linear-gradient(to bottom, #FAF2F7, #ffffff);
}
.product-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.product-header-left { flex: 1; }
.product-rank-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-600);
  margin-bottom: 4px;
}
.product-card.winner-card .product-rank-label { color: var(--emerald); }
.product-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
}
.product-brand { font-size: 0.82rem; color: var(--gray-600); }
.product-score-block {
  text-align: center;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 10px 18px;
  min-width: 90px;
}
.product-card.winner-card .product-score-block {
  background: var(--emerald-bg);
  border-color: var(--emerald);
}
.product-score-block .score-big {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}
.product-card.winner-card .product-score-block .score-big { color: var(--emerald); }
.product-score-block .score-max { font-size: 0.75rem; color: var(--gray-400); }

.stars { color: var(--gold); font-size: 0.9rem; margin: 6px 0; }

.ingredient-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0;
}
.chip {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  color: var(--gray-800);
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 500;
}
.chip.highlight {
  background: var(--emerald-bg);
  border-color: #F5C4D6;
  color: #5E3870;
  font-weight: 600;
}

.pro-con {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 18px 0;
  font-size: 0.87rem;
}
.pros h4, .cons h4 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.pros h4 { color: var(--emerald); }
.cons h4 { color: var(--red-soft); }
.pros ul, .cons ul { list-style: none; padding: 0; }
.pros li::before { content: "✓ "; color: var(--emerald); font-weight: 700; }
.cons li::before { content: "✗ "; color: var(--red-soft); font-weight: 700; }
.pros li, .cons li { margin-bottom: 5px; }

.cta-btn {
  display: inline-block;
  background: var(--emerald);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
  margin-top: 16px;
}
.cta-btn:hover { background: var(--emerald-light); text-decoration: none; transform: translateY(-1px); }
.cta-btn.secondary {
  background: var(--white);
  color: var(--navy);
  border: 1.5px solid var(--gray-300);
}
.cta-btn.secondary:hover { background: var(--gray-50); }

/* ── AFFILIATE NOTICE ── */
.affiliate-notice {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 0.78rem;
  color: var(--gray-600);
  margin: 24px 0;
}

/* ── SCIENCE SECTION ── */
.science-block {
  background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
  border: 1px solid #d0d8ff;
  border-radius: 12px;
  padding: 28px 30px;
  margin: 32px 0;
}
.science-block h3 { color: #2c3e8c; margin-top: 0; }
.science-block .pubmed-ref {
  font-size: 0.78rem;
  color: #4a5db0;
  background: rgba(44,62,140,0.06);
  padding: 4px 10px;
  border-radius: 4px;
  margin-top: 8px;
  display: inline-block;
}
.science-block .pubmed-ref a { color: #2c3e8c; font-weight: 600; }

/* ── FAQ ── */
.faq-section { margin: 44px 0; }
.faq-item {
  border-bottom: 1px solid var(--gray-200);
  padding: 18px 0;
}
.faq-item:first-child { border-top: 1px solid var(--gray-200); }
.faq-q {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  cursor: default;
}
.faq-q::before { content: "Q: "; color: var(--emerald); }
.faq-a {
  font-size: 0.92rem;
  color: var(--gray-800);
}

/* ── SCORE BAR ── */
.score-bar-wrap { margin: 8px 0; }
.score-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--gray-600);
  margin-bottom: 4px;
}
.score-bar-label span:last-child { font-weight: 700; color: var(--navy); }
.score-bar-bg {
  height: 7px;
  background: var(--gray-200);
  border-radius: 4px;
  overflow: hidden;
}
.score-bar-fill {
  height: 100%;
  background: var(--emerald);
  border-radius: 4px;
  transition: width 0.6s ease;
}

/* ── CONCLUSION BOX ── */
.conclusion-box {
  background: var(--navy);
  color: var(--white);
  border-radius: 12px;
  padding: 36px 40px;
  margin: 44px 0;
  text-align: center;
}
.conclusion-box h2 {
  color: var(--white);
  border: none;
  font-size: 1.6rem;
  margin-bottom: 12px;
}
.conclusion-box p { color: rgba(255,255,255,0.8); max-width: 500px; margin: 0 auto 24px; }
.conclusion-box .cta-btn { font-size: 1rem; padding: 14px 32px; }

/* ── HOMEPAGE HERO ── */
.home-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 80px 24px;
  text-align: center;
}
.home-hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}
.home-hero h1 em { font-style: normal; color: #F5C4D6; }
.home-hero .lead {
  font-size: 1.1rem;
  opacity: 0.8;
  max-width: 540px;
  margin: 0 auto;
}

/* ── ARTICLE GRID (Homepage) ── */
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 24px;
  padding-top: 48px;
}
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  padding-bottom: 60px;
}
.article-card {
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.15s;
  background: var(--white);
}
.article-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); text-decoration: none; }
.article-card-img {
  height: 180px;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  position: relative;
  overflow: hidden;
}
.card-img-inner {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  padding: 18px 20px;
  position: relative;
  z-index: 1;
}
.card-img-inner::before {
  content: '';
  position: absolute;
  right: -24px;
  top: -24px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  z-index: 0;
}
.card-img-inner::after {
  content: '';
  position: absolute;
  right: 28px;
  bottom: -36px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  z-index: 0;
}
.card-topic-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
  width: fit-content;
  position: relative;
  z-index: 2;
}
.card-big-text {
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  position: relative;
  z-index: 2;
}
.card-big-sub {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
  position: relative;
  z-index: 2;
}
.article-card-body { padding: 20px; }
.article-card-cat {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 8px;
}
.article-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 10px;
}
.article-card-meta { font-size: 0.78rem; color: var(--gray-400); }

/* ── FOOTER ── */
footer {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  padding: 40px 24px;
  margin-top: 60px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand .logo-main { font-size: 1.1rem; font-weight: 800; color: var(--navy); }
.footer-brand .logo-main em { font-style: normal; color: var(--emerald); }
.footer-brand p { font-size: 0.78rem; color: var(--gray-600); margin-top: 4px; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 0.82rem; color: var(--gray-600); }
.footer-note { font-size: 0.75rem; color: var(--gray-400); text-align: right; max-width: 300px; }

/* ── RESPONSIVE ── */
@media (max-width: 680px) {
  .hero h1 { font-size: 1.6rem; }
  .home-hero h1 { font-size: 2rem; }
  .winner-box { grid-template-columns: 1fr; }
  .winner-score { display: none; }
  .criteria-grid { grid-template-columns: repeat(2, 1fr); }
  .pro-con { grid-template-columns: 1fr; }
  .product-header { flex-direction: column; }
  .conclusion-box { padding: 28px 20px; }
  nav { display: none; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-note { text-align: left; max-width: 100%; }
}

@media (max-width: 480px) {
  .criteria-grid { grid-template-columns: 1fr 1fr; }
  .article-wrap { padding: 0 16px; }
}
