/* Emerald Night Theme - fasssauna-check.de */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Fraunces:ital,wght@0,400;0,700;1,400&display=swap');

/* === Reset & Base === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

:root {
  --bg: #080f0d;
  --card: #0d1a16;
  --card-hover: #122420;
  --accent: #34d399;
  --accent-dim: rgba(52, 211, 153, 0.12);
  --accent2: #a78bfa;
  --gold: #fbbf24;
  --text: #e2ede8;
  --text-heading: #f0faf5;
  --text-muted: #8aab9e;
  --border: rgba(52, 211, 153, 0.12);
  --border-strong: rgba(52, 211, 153, 0.25);
  --glow: rgba(52, 211, 153, 0.06);
  --shadow: rgba(0, 0, 0, 0.4);
  --amazon-orange: #FF9900;
  --success: #34d399;
  --warning: #fbbf24;
  --danger: #f87171;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

/* === Typography === */
h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  color: var(--text-heading);
  line-height: 1.3;
}

h1 { font-size: 2.2rem; font-weight: 700; margin-bottom: 1rem; letter-spacing: -0.02em; }
h2 { font-size: 1.6rem; font-weight: 700; margin-top: 2.5rem; margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--border); }
h3 { font-size: 1.25rem; font-weight: 600; margin-top: 1.8rem; margin-bottom: 0.8rem; color: var(--accent); }
p { margin-bottom: 1rem; }
a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: #6ee7b7; }
img { max-width: 100%; height: auto; }
ul, ol { margin: 1rem 0 1rem 1.5rem; }
li { margin-bottom: 0.5rem; }
strong { color: var(--text-heading); }
sup { color: var(--accent); font-size: 0.75rem; }

/* === Header === */
header, .site-header {
  background: rgba(8, 15, 13, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.8rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Fraunces', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
}

.logo span { color: var(--accent); }

.main-nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.main-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.2s;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.main-nav a:hover, .main-nav a.active { color: var(--accent); }

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.5rem;
  cursor: pointer;
}
.hamburger span { display: block; width: 20px; height: 2px; background: var(--text); margin: 4px 0; }

/* === Content === */
.content, main.content {
  max-width: 820px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

/* === Breadcrumb === */
.breadcrumb { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }

/* === Article Meta === */
.article-meta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

/* === Hero Image === */
.hero-image, .product-hero img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 12px;
  margin: 1rem 0 1.5rem;
}

/* === TOC === */
.toc {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 1.5rem 0 2rem;
}
.toc h2, .toc h3 { font-family: 'Inter', sans-serif; font-size: 1rem; margin: 0 0 0.8rem; color: var(--accent); border: none; padding: 0; }
.toc ul, .toc ol { margin: 0; padding-left: 1.2rem; }
.toc li { margin-bottom: 0.4rem; }
.toc a { color: var(--text); font-size: 0.9rem; }
.toc a:hover { color: var(--accent); }

/* === Info Box === */
.info-box {
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.08), rgba(52, 211, 153, 0.02));
  border-left: 4px solid var(--accent);
  border-radius: 0 12px 12px 0;
  padding: 1.2rem 1.5rem;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}
.info-box h3 { margin-top: 0; font-size: 1rem; }
.info-box p { margin: 0; }
.info-box strong { color: var(--accent); }

/* === Warning Box === */
.warning-box {
  background: linear-gradient(135deg, rgba(248, 113, 113, 0.08), rgba(248, 113, 113, 0.02));
  border-left: 4px solid var(--danger);
  border-radius: 0 12px 12px 0;
  padding: 1.2rem 1.5rem;
  margin: 1.5rem 0;
}

/* === Tables === */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background: var(--card);
  border-radius: 12px;
  overflow: hidden;
  font-size: 0.9rem;
}
thead { background: var(--card-hover); }
th { color: var(--accent); font-weight: 600; text-align: left; padding: 0.8rem 1rem; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; }
td { padding: 0.8rem 1rem; border-top: 1px solid var(--border); vertical-align: top; }
tr:hover { background: rgba(52, 211, 153, 0.04); }

.comparison-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* === Product Cards === */
.product-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.product-card:hover { border-color: var(--border-strong); box-shadow: 0 8px 32px var(--glow); }
.product-card .badge {
  display: inline-block;
  background: var(--accent);
  color: var(--bg);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.product-card .badge.gold { background: linear-gradient(135deg, var(--gold), #d97706); }
.product-card img { max-height: 220px; object-fit: contain; margin: 1rem auto; display: block; }

.product-specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.5rem;
  margin: 1rem 0;
  font-size: 0.85rem;
}
.product-specs .spec { background: var(--card-hover); padding: 0.5rem 0.8rem; border-radius: 8px; }
.product-specs .spec-label { color: var(--text-muted); font-size: 0.75rem; display: block; }
.product-specs .spec-value { color: var(--text-heading); font-weight: 600; }

/* === Pro/Con Lists === */
.pro-con { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.5rem 0; }
.pro-list, .con-list {
  background: var(--card);
  border-radius: 12px;
  padding: 1.2rem;
  border: 1px solid var(--border);
}
.pro-list h4 { color: var(--success); margin-bottom: 0.8rem; font-size: 0.9rem; }
.con-list h4 { color: var(--danger); margin-bottom: 0.8rem; font-size: 0.9rem; }
.pro-list li::marker { color: var(--success); }
.con-list li::marker { color: var(--danger); }

/* === Author Box === */
.author-box {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 2.5rem 0 1.5rem;
}
.author-box h3 { margin-top: 0; color: var(--accent); font-size: 1rem; }
.author-box p { margin: 0; font-size: 0.9rem; color: var(--text-muted); }

/* === Source List === */
.source-list { margin: 2rem 0 1rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.source-list h4 { font-size: 0.85rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.5rem; }
.source-list ol { margin-left: 1.2rem; font-size: 0.82rem; color: var(--text-muted); }
.source-list li { margin-bottom: 0.3rem; }

/* === Homepage Specific === */
.hero { position: relative; overflow: hidden; min-height: 85vh; display: flex; align-items: center; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(8,15,13,0.94) 0%, rgba(8,15,13,0.55) 50%, rgba(8,15,13,0.88) 100%); }
.hero-content { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; padding: 4rem 1.5rem; }
.hero-badge { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--accent-dim); border: 1px solid rgba(52, 211, 153, 0.2); border-radius: 50px; padding: 0.4rem 1rem; font-size: 0.8rem; color: var(--accent); margin-bottom: 1.5rem; font-weight: 500; }
.hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 1.1; margin-bottom: 1.2rem; }
.hero h1 .accent { color: var(--accent); }
.hero > p, .hero-content > p { font-size: 1.15rem; color: var(--text-muted); max-width: 550px; margin-bottom: 2rem; line-height: 1.7; }
.hero-cta { display: inline-flex; align-items: center; gap: 0.6rem; background: var(--accent); color: var(--bg); padding: 0.9rem 2rem; border-radius: 12px; text-decoration: none; font-weight: 700; font-size: 1rem; transition: all 0.3s; white-space: nowrap; }
@media(max-width:480px){ .hero-cta { font-size: 0.85rem; padding: 0.8rem 1.4rem; } }
.hero-cta:hover { background: white; color: var(--bg); transform: translateY(-2px); box-shadow: 0 10px 40px rgba(52, 211, 153, 0.3); }
.hero-stats { display: flex; gap: 3rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.stat-num { font-family: 'Fraunces', serif; font-size: 2rem; font-weight: 700; color: white; }
.stat-label { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 0.2rem; }

/* Featured Section */
.featured-section { max-width: 1200px; margin: 0 auto; padding: 5rem 1.5rem; }
.section-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--accent); font-weight: 600; margin-bottom: 0.8rem; }
.section-title { font-family: 'Fraunces', serif; font-size: 2.5rem; font-weight: 700; margin-bottom: 1rem; line-height: 1.2; }
.section-subtitle { color: var(--text-muted); font-size: 1.05rem; max-width: 600px; margin-bottom: 3rem; }

.featured {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3rem;
}
.featured-img img { width: 100%; height: 400px; object-fit: cover; border-radius: 12px; }
.featured-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--gold); font-weight: 700; margin-bottom: 0.8rem; }
.featured h2 { border: none; padding: 0; margin-top: 0; }
.featured p { color: var(--text-muted); margin-bottom: 1.5rem; line-height: 1.7; }
.featured-price { font-family: 'Fraunces', serif; font-size: 1.5rem; color: var(--gold); font-weight: 700; }
.featured-price small { font-size: 0.85rem; color: var(--text-muted); font-weight: 400; }

/* Card Grid */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 1.5rem; max-width: 1200px; margin: 0 auto; }
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s;
  text-decoration: none;
  color: inherit;
}
.card:hover { background: var(--card-hover); transform: translateY(-4px); border-color: var(--border-strong); box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 40px var(--glow); }
.card-img { height: 220px; overflow: hidden; position: relative; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.card:hover .card-img img { transform: scale(1.05); }
.card-tag { position: absolute; top: 1rem; left: 1rem; background: rgba(52, 211, 153, 0.9); color: var(--bg); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; padding: 0.3rem 0.8rem; border-radius: 6px; }
.card-body { padding: 1.5rem; }
.card-body h3 { font-size: 1.15rem; font-weight: 700; margin: 0 0 0.5rem; line-height: 1.3; color: var(--text-heading); }
.card-body p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; margin: 0; }
.card-meta { display: flex; justify-content: space-between; align-items: center; padding: 0 1.5rem 1.2rem; }
.card-meta span { font-size: 0.78rem; color: var(--text-muted); }
.card-arrow { width: 32px; height: 32px; border-radius: 8px; background: var(--accent-dim); display: flex; align-items: center; justify-content: center; color: var(--accent); transition: all 0.3s; }
.card:hover .card-arrow { background: var(--accent); color: var(--bg); }

/* Article Cards (legacy) */
.article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; margin: 2rem 0; }
.article-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; transition: all 0.3s; text-decoration: none; color: inherit; display: block; }
.article-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px var(--glow); border-color: var(--border-strong); }
.article-card .card-image { height: 180px; background-size: cover; background-position: center; position: relative; }
.article-card .card-image .card-badge { position: absolute; top: 0.8rem; left: 0.8rem; background: var(--accent); color: var(--bg); font-size: 0.7rem; font-weight: 700; padding: 0.2rem 0.6rem; border-radius: 20px; text-transform: uppercase; }
.article-card .card-body { padding: 1.2rem; }
.article-card .card-body h3 { font-size: 1.1rem; margin: 0 0 0.5rem; color: var(--text-heading); }
.article-card .card-body p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }

/* === Stats Bar === */
.stats-bar { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; margin: 2rem 0; }
.stat-item { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 1.2rem; text-align: center; }
.stat-number { font-family: 'Fraunces', serif; font-size: 2rem; font-weight: 700; color: var(--accent); display: block; }
.stat-label-item { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }

/* === Rating === */
.rating { color: var(--amazon-orange); font-size: 1.1rem; letter-spacing: 2px; }
.rating-text { color: var(--text-muted); font-size: 0.85rem; margin-left: 0.5rem; }

/* === Footer === */
footer, .site-footer {
  border-top: 1px solid var(--border);
  margin-top: 3rem;
}

.footer-inner, footer .inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 1rem;
}

footer a, .site-footer a { color: var(--text-muted); text-decoration: none; margin-left: 1.5rem; }
footer a:hover, .site-footer a:hover { color: var(--accent); }
.affiliate-note { font-size: 0.75rem; color: var(--text-muted); opacity: 0.7; margin-top: 0.5rem; }

/* === Global overflow prevention === */
img, video, iframe, pre, code { max-width: 100%; }

/* === Responsive === */
@media (max-width: 768px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.3rem; }

  .main-nav { display: none; }
  .main-nav.show { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: rgba(8, 15, 13, 0.98); padding: 1rem 1.5rem; border-bottom: 1px solid var(--border); gap: 0.8rem; }
  .hamburger { display: block; }

  .header-inner { flex-wrap: nowrap; }

  .hero { min-height: 70vh; }
  .hero h1 { font-size: 2rem; }
  .hero-stats { gap: 1.5rem; flex-wrap: wrap; }

  .featured { grid-template-columns: 1fr; padding: 1.5rem; }
  .featured-img img { height: 250px; }

  .card-grid { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: 1fr; }

  .pro-con { grid-template-columns: 1fr; }
  .article-meta { flex-direction: column; gap: 0.5rem; }
  .author-box { flex-direction: column; text-align: center; }

  .footer-inner, footer .inner { flex-direction: column; text-align: center; }
  footer a { margin-left: 0; margin-right: 1rem; }

  .content { padding: 1.5rem 1rem 3rem; }

  table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

@media (max-width: 480px) {
  .product-specs { grid-template-columns: 1fr 1fr; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
}
