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

:root {
  --farbe-primaer:   #3A5800;
  --farbe-sekundaer: #6A9000;
  --farbe-akzent:    #FFD820;
  --font-heading: Montserrat, Georgia, serif;
  --font-body: Inter, system-ui, sans-serif;
  --bg:        #ffffff;
  --bg-soft:   #FFF8B0;
  --bg-header: #1A2A00;
  --text:      #1A2A00;
  --text-muted:#3A5800;
  --border:    #c8d4a0;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 4px rgba(26,42,0,0.08);
  --shadow:    0 4px 16px rgba(26,42,0,0.12);
  --shadow-lg: 0 8px 32px rgba(26,42,0,0.18);
  --max-w: 1200px;
}

html.dark {
  --bg: #111111;
  --bg-soft: #222222;
  --bg-header: #000000;
  --text: #ffffff;
  --text-muted: #eeeeee;
  --border: #444444;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.3;
  color: var(--text);
}

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

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

main { min-height: calc(100vh - 140px); }

/* ── LAYOUT ────────────────────────────────────────────── */
.section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 3rem 1.25rem;
}

.section + .section {
  padding-top: 0;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  gap: 1rem;
}

.section-titel {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--text);
}

.section-mehr {
  font-size: 0.9rem;
  color: var(--farbe-primaer);
  font-weight: 600;
  white-space: nowrap;
}

/* ── PRODUKTE GRID ─────────────────────────────────────── */
.produkte-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.25rem;
}

@media (max-width: 640px) {
  .produkte-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
}

/* ── PAGE HEADER ───────────────────────────────────────── */
.page-header {
  background: linear-gradient(135deg, color-mix(in srgb, var(--farbe-primaer) 6%, white), white);
  border-bottom: 1px solid var(--border);
  padding: 3rem 1.25rem 2rem;
}

html.dark .page-header {
  background: linear-gradient(135deg, color-mix(in srgb, var(--farbe-primaer) 12%, #0f1412), #0f1412);
}

.page-header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.page-header h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.page-header p {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 600px;
}

/* ── LEER ──────────────────────────────────────────────── */
.leer {
  text-align: center;
  padding: 5rem 1rem;
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* ── BADGE ─────────────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.badge-bestseller { background: #fef3c7; color: #92400e; }
.badge-empfehlung { background: color-mix(in srgb, var(--farbe-primaer) 12%, white); color: var(--farbe-primaer); }
.badge-neuheit    { background: #dcfce7; color: #166534; }
.badge-deal       { background: #fee2e2; color: #991b1b; }
.badge-eol        { background: #f3f4f6; color: #6b7280; }

/* ── BUTTON ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
  text-decoration: none;
  border: none;
}

.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); text-decoration: none; }
.btn:active { transform: translateY(0); }

.btn-primaer {
  background: var(--farbe-primaer);
  color: white;
}

.btn-outline {
  background: transparent;
  color: var(--farbe-primaer);
  border: 2px solid var(--farbe-primaer);
}

.btn-amazon {
  background: #ff9900;
  color: #111;
  font-weight: 700;
}

.btn-amazon:hover { background: #e88900; }

/* ── CHIP / TAG ────────────────────────────────────────── */
.chip {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 500;
  background: color-mix(in srgb, var(--farbe-primaer) 10%, white);
  color: var(--farbe-primaer);
}

/* ── BEWERTUNG STERNE ──────────────────────────────────── */
.sterne {
  display: inline-flex;
  gap: 1px;
  color: #f59e0b;
  font-size: 0.9rem;
}

/* ── SCROLLABLE ROW ────────────────────────────────────── */
@media (max-width: 768px) {
  .scroll-row {
    display: flex;
    overflow-x: auto;
    gap: 0.75rem;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
  }
  .scroll-row::-webkit-scrollbar { display: none; }
  .scroll-row > * { flex: 0 0 200px; }
}
