/* ============================================================
   LimeCats / LimeCrema – Design System v3
   Semantische Farbvariablen, WCAG-AA-Kontrast, kein Farb-Kippen
   ============================================================ */

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

/* ============================================================
   LIGHT MODE (Standard)
   ============================================================ */
:root {
  /* Semantische Oberflächen */
  --bg: #f7f8f3;            /* Seitenhintergrund – sehr hell, leicht warm */
  --surface: #ffffff;        /* Karten, Panels */
  --surface-soft: #eef0e6;   /* abgesetzte Bereiche */
  --surface-inverse: #14170f;/* dunkle Flächen (Header, Verdict) */
  --surface-inverse-2: #1d2115;

  /* Text – immer dunkel im Light Mode */
  --text: #171a11;           /* Primärtext – Kontrast ~15:1 auf --bg */
  --text-soft: #3d4333;      /* Sekundärtext */
  --text-muted: #5c6450;     /* Meta, muted – Kontrast >4.5:1 auf --surface */
  --text-inverse: #f4f7e8;   /* Text auf dunklen Flächen */
  --text-inverse-muted: #b9c2a4;

  /* Akzent (Lime) – dunkle Schrift auf Lime = guter Kontrast */
  --accent: #a8cc2e;         /* Lime-Grund */
  --accent-strong: #8fb51f;  /* Lime dunkler (Text auf hell) */
  --accent-soft: #eaf3c4;    /* Lime sehr hell (Hintergründe) */
  --on-accent: #1c2408;      /* Text AUF Lime-Flächen – dunkel! */

  /* Linien & Schatten */
  --line: #dde2d0;
  --line-strong: #c9cfb8;
  --shadow-sm: 0 1px 2px rgba(20,23,15,.05), 0 4px 12px rgba(20,23,15,.05);
  --shadow-md: 0 2px 4px rgba(20,23,15,.05), 0 12px 32px rgba(20,23,15,.09);
  --shadow-lg: 0 4px 8px rgba(20,23,15,.06), 0 24px 64px rgba(20,23,15,.14);

  /* Feedback-Farben (Pros/Cons) – dunkle Schrift auf hellen Flächen */
  --pro-bg: #eef6df;
  --pro-line: #cfe4a0;
  --pro-text: #2c4010;
  --con-bg: #fbeceb;
  --con-line: #ecc9c6;
  --con-text: #5e1f1b;

  /* Typo */
  --font-display: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --container: 1120px;
}

/* ============================================================
   DARK MODE – NUR wenn vom System gewünscht, mit eigenen
   semantischen Werten (kein Umdrehen von Einzelvariablen!)
   ============================================================ */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #11140c;
    --surface: #191d12;
    --surface-soft: #202519;
    --surface-inverse: #0b0d07;
    --surface-inverse-2: #161a10;

    --text: #eef2df;
    --text-soft: #c3cbb0;
    --text-muted: #98a182;
    --text-inverse: #f4f7e8;
    --text-inverse-muted: #aab393;

    --accent: #b9dd3a;
    --accent-strong: #cfe58a;
    --accent-soft: #262d12;
    --on-accent: #1c2408;

    --line: #2c3322;
    --line-strong: #3a432c;

    --pro-bg: #1c2610;
    --pro-line: #33441b;
    --pro-text: #c8e08a;
    --con-bg: #2a1715;
    --con-line: #4a2622;
    --con-text: #f0b5af;
  }
}

/* ============================================================
   Reset & Base
   ============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ============ Header (sticky, blur) ============ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--surface-inverse);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--text-inverse);
  font-family: var(--font-display); font-weight: 700; font-size: 1.3rem;
  letter-spacing: -0.02em;
}
.logo-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  display: grid; place-items: center; font-size: 1.1rem;
}
.logo-text .accent { color: var(--accent); }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  color: var(--text-inverse-muted); text-decoration: none;
  font-size: 0.92rem; font-weight: 500;
  padding: 8px 14px; border-radius: 999px;
  transition: color .2s, background .2s;
}
.main-nav a:hover { color: var(--text-inverse); background: rgba(255,255,255,0.1); }
.main-nav a.active { color: var(--on-accent); background: var(--accent); }

/* ============ Hero ============ */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse 80% 60% at 20% -10%, rgba(168,204,46,0.18), transparent 60%),
    radial-gradient(ellipse 60% 50% at 90% 10%, rgba(168,204,46,0.10), transparent 55%),
    linear-gradient(160deg, var(--surface-inverse) 0%, var(--surface-inverse) 55%, var(--surface-inverse-2) 100%);
  color: var(--text-inverse);
  padding: 96px 0 88px;
  overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, black, transparent 75%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(168,204,46,0.12);
  border: 1px solid rgba(168,204,46,0.4);
  color: var(--accent); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.04em; padding: 6px 16px; border-radius: 999px;
  margin-bottom: 24px; text-transform: uppercase;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.08;
  max-width: 720px; margin-bottom: 20px;
}
.hero h1 .accent {
  background: linear-gradient(120deg, var(--accent), var(--accent-strong));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero .lead { font-size: 1.15rem; color: var(--text-inverse-muted); max-width: 560px; margin-bottom: 36px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: var(--on-accent);
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  padding: 14px 28px; border-radius: 14px; text-decoration: none;
  box-shadow: 0 4px 20px rgba(168,204,46,0.3);
  transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(168,204,46,0.4); }
.btn-secondary { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2); color: var(--text-inverse); box-shadow: none; }
.btn-secondary:hover { background: rgba(255,255,255,0.14); box-shadow: none; }

.hero-stats { display: flex; gap: 48px; margin-top: 56px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.1); }
.hero-stats .stat b { display: block; font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--text-inverse); }
.hero-stats .stat span { font-size: 0.85rem; color: var(--text-inverse-muted); }

/* ============ Sections ============ */
.section { padding: 80px 0; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head .kicker {
  color: var(--accent-strong); text-transform: uppercase;
  letter-spacing: 0.12em; font-size: 0.78rem; font-weight: 700; margin-bottom: 12px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700; letter-spacing: -0.02em; line-height: 1.15;
  margin-bottom: 12px;
}
.section-head p { color: var(--text-muted); font-size: 1.02rem; }

.section-soft { background: var(--surface-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 28px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.feature-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--accent-soft); display: grid; place-items: center;
  font-size: 1.2rem; margin-bottom: 16px;
}
.feature h3 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; margin-bottom: 8px; }
.feature p { color: var(--text-muted); font-size: 0.93rem; }

/* ============ Cards ============ */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-img {
  aspect-ratio: 16/9; background: var(--surface-soft);
  display: grid; place-items: center; font-size: 3rem;
  border-bottom: 1px solid var(--line);
}
.card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-family: var(--font-display); font-size: 1.08rem; font-weight: 600; line-height: 1.35; margin-bottom: 8px; }
.card-body h3 a { text-decoration: none; }
.card-body h3 a:hover { color: var(--accent-strong); }
.card-body p { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 16px; flex: 1; }
.card-footer { display: flex; align-items: center; justify-content: space-between; }
.tag {
  display: inline-block; background: var(--surface-soft);
  border: 1px solid var(--line); color: var(--text-soft);
  border-radius: 999px; padding: 3px 14px;
  font-size: 0.75rem; font-weight: 500;
}
.card-rating { color: var(--accent-strong); font-weight: 600; font-size: 0.85rem; }
.card.coming-soon { opacity: 0.75; }

/* ============ Artikel-Seite ============ */
.article-hero {
  background: linear-gradient(160deg, var(--surface-inverse), var(--surface-inverse-2));
  color: var(--text-inverse); padding: 72px 0 56px;
}
.article-hero .container { max-width: 820px; }
.article-hero .kicker {
  color: var(--accent); text-transform: uppercase;
  letter-spacing: 0.12em; font-size: 0.78rem; font-weight: 700; margin-bottom: 14px;
}
.article-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 800; letter-spacing: -0.025em; line-height: 1.12;
  margin-bottom: 16px;
}
.article-hero .meta { color: var(--text-inverse-muted); font-size: 0.9rem; }

.article { max-width: 820px; margin: 0 auto; padding: 56px 24px 96px; }
.article > p { font-size: 1.05rem; margin-bottom: 20px; color: var(--text); }
.article h2 {
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 700; letter-spacing: -0.015em;
  margin: 48px 0 18px; padding-top: 16px;
  scroll-margin-top: 90px;
}
.article h2::before {
  content: ''; display: block; width: 48px; height: 4px;
  background: var(--accent); border-radius: 2px; margin-bottom: 14px;
}
.article h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; margin: 28px 0 10px; }
.article ul, .article ol { margin: 0 0 20px 4px; list-style: none; }
.article ul li, .article ol li { position: relative; padding-left: 26px; margin-bottom: 8px; color: var(--text); }
.article ul li::before {
  content: ''; position: absolute; left: 0; top: 0.6em;
  width: 8px; height: 8px; border-radius: 2px; background: var(--accent);
}
.article ol { counter-reset: item; }
.article ol li { counter-increment: item; }
.article ol li::before {
  content: counter(item);
  position: absolute; left: 0; top: 0;
  width: 20px; height: 20px; border-radius: 6px;
  background: var(--surface-soft); border: 1px solid var(--line);
  color: var(--accent-strong); font-size: 0.75rem; font-weight: 700;
  display: grid; place-items: center;
}

/* Callout */
.callout {
  background: var(--surface-soft); border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 20px 24px; margin: 32px 0;
}
.callout strong { color: var(--text); }

/* Produkt-Karte */
.product-card {
  border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 28px; margin: 28px 0;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s, border-color .25s;
}
.product-card:hover { box-shadow: var(--shadow-md); border-color: var(--accent); }
.product-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.product-rank {
  width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
  background: var(--accent); color: var(--on-accent);
  font-family: var(--font-display); font-weight: 700;
  display: grid; place-items: center; font-size: 1rem;
}
.product-card h3 { margin: 0; font-size: 1.2rem; }
.product-badge {
  margin-left: auto; background: var(--surface-inverse); color: var(--accent);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em;
  text-transform: uppercase; padding: 5px 12px; border-radius: 999px;
}
.product-specs { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 14px; }
.product-specs span {
  background: var(--surface-soft); border: 1px solid var(--line);
  border-radius: 8px; padding: 4px 12px; font-size: 0.8rem; color: var(--text-soft);
}
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 16px 0; }
.pros, .cons { border-radius: var(--r-sm); padding: 16px 18px; font-size: 0.9rem; }
.pros { background: var(--pro-bg); border: 1px solid var(--pro-line); color: var(--pro-text); }
.cons { background: var(--con-bg); border: 1px solid var(--con-line); color: var(--con-text); }
.pros b, .cons b { display: block; margin-bottom: 8px; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; }
.pros li, .cons li { padding-left: 20px; }
.pros li::before { background: var(--accent-strong); }
.cons li::before { background: #c96a64; }

.btn-buy {
  display: inline-block; margin-top: 6px;
  background: var(--surface-inverse); color: var(--text-inverse);
  font-weight: 600; font-size: 0.92rem;
  padding: 12px 24px; border-radius: 12px; text-decoration: none;
  transition: background .2s, transform .2s;
}
.btn-buy:hover { background: var(--surface-inverse-2); transform: translateY(-1px); }

/* Tabelle */
.table-wrap { overflow-x: auto; margin: 24px 0; border-radius: var(--r-md); border: 1px solid var(--line); }
.article table { width: 100%; border-collapse: collapse; font-size: 0.92rem; min-width: 640px; }
.article th, .article td { padding: 14px 16px; text-align: left; }
.article thead th {
  background: var(--surface-inverse); color: var(--text-inverse);
  font-family: var(--font-display); font-weight: 600; font-size: 0.82rem;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.article tbody tr:nth-child(even) { background: var(--surface-soft); }
.article tbody tr:hover { background: var(--accent-soft); }
.article tbody td:first-child { font-weight: 600; }

/* FAQ */
.faq { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; margin: 24px 0; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: none; }
.faq-item details { padding: 20px 24px; cursor: pointer; }
.faq-item summary {
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::after { content: '+'; font-size: 1.4rem; color: var(--accent-strong); transition: transform .2s; }
.faq-item details[open] summary::after { transform: rotate(45deg); }
.faq-item details p { margin-top: 12px; color: var(--text-muted); font-size: 0.95rem; }

/* Verdict */
.verdict {
  background: linear-gradient(135deg, var(--surface-inverse), var(--surface-inverse-2));
  color: var(--text-inverse); border-radius: var(--r-lg);
  padding: 40px; margin: 40px 0;
}
.verdict h2 { color: var(--text-inverse); margin-top: 0; }
.verdict h2::before { background: var(--accent); }
.verdict p { color: var(--text-inverse-muted); }
.verdict strong { color: var(--accent); }

/* Breadcrumb */
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 20px; }
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent-strong); }
.breadcrumb span::before { content: '/'; margin: 0 8px; color: var(--line-strong); }

/* ============ Footer ============ */
.site-footer { background: var(--surface-inverse); color: var(--text-inverse-muted); padding: 48px 0 32px; }
.site-footer .container { display: flex; flex-direction: column; gap: 16px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-nav a { color: var(--text-inverse-muted); text-decoration: none; margin-left: 20px; font-size: 0.9rem; }
.footer-nav a:hover { color: var(--accent); }
.site-footer p { font-size: 0.82rem; }

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .feature-grid, .card-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .feature-grid, .card-grid { grid-template-columns: 1fr; }
  .hero { padding: 64px 0; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .pros-cons { grid-template-columns: 1fr; }
  .main-nav a { padding: 6px 10px; font-size: 0.85rem; }
  .section { padding: 56px 0; }
  .article { padding: 40px 20px 72px; }
  .verdict { padding: 28px; }
}
