/* ===== RESET & BASIS ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #2E7D32;
  --primary-light: #4CAF50;
  --accent: #FF8F00;
  --text: #212121;
  --text-light: #616161;
  --bg: #FAFAFA;
  --white: #ffffff;
  --border: #E0E0E0;
  --radius: 12px;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-hover: 0 6px 24px rgba(0,0,0,0.14);
}

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

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-light); }

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

/* ===== HEADER / NAV ===== */
header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

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

nav ul {
  display: flex;
  list-style: none;
  gap: 28px;
}

nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s;
}

nav a:hover { color: var(--primary); }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, #E8F5E9 0%, #FFF8E1 100%);
  padding: 72px 20px;
  text-align: center;
}

.hero-inner { max-width: 760px; margin: 0 auto; }

.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: normal;
  color: var(--primary);
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-light);
  max-width: 580px;
  margin: 0 auto 32px;
}

.btn {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s, transform 0.1s;
}

.btn:hover {
  background: var(--primary-light);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-accent {
  background: var(--accent);
}
.btn-accent:hover { background: #F57C00; }

/* ===== CONTAINER ===== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== SECTION HEADINGS ===== */
.section { padding: 64px 20px; }
.section-alt { background: var(--white); }

.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 48px;
  font-size: 1.05rem;
}

/* ===== ARTIKEL-KARTEN ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}

.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.card-badge {
  background: var(--primary);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 14px;
  display: inline-block;
  border-radius: 0 0 8px 0;
}

.card-img-placeholder {
  height: 180px;
  background: linear-gradient(135deg, #E8F5E9, #C8E6C9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
}

.card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-tag {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}

.card p {
  font-size: 0.93rem;
  color: var(--text-light);
  flex: 1;
  margin-bottom: 16px;
}

.card-link {
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 4px;
}

.card-link::after { content: " →"; }

/* ===== ALTER-NAVIGATION ===== */
.age-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 48px;
}

.age-btn {
  background: var(--white);
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.age-btn:hover, .age-btn.active {
  background: var(--primary);
  color: white;
}

/* ===== VERTRAUEN-BEREICH ===== */
.trust-bar {
  background: var(--primary);
  color: white;
  padding: 32px 20px;
}

.trust-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  text-align: center;
}

.trust-item strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
}

.trust-item span {
  font-size: 0.9rem;
  opacity: 0.85;
}

/* ===== ARTIKEL-SEITE ===== */
.article-hero {
  background: linear-gradient(135deg, #E8F5E9 0%, #FFF8E1 100%);
  padding: 48px 20px;
}

.article-hero-inner { max-width: 760px; margin: 0 auto; }

.article-meta {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 16px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.article-meta span { display: flex; align-items: center; gap: 4px; }

.article-hero h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.article-hero .lead {
  font-size: 1.1rem;
  color: var(--text-light);
}

.article-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 20px;
}

.article-body h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 40px 0 16px;
  color: var(--text);
}

.article-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 28px 0 12px;
}

.article-body p { margin-bottom: 16px; color: var(--text); }

.article-body ul, .article-body ol {
  margin: 0 0 16px 24px;
}

.article-body li { margin-bottom: 8px; }

/* ===== PRODUKT-BOX ===== */
.produkt-box {
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  padding: 24px;
  margin: 32px 0;
  background: #F1F8E9;
}

.produkt-box-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.produkt-rang {
  background: var(--primary);
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.produkt-box h3 { margin: 0; font-size: 1.1rem; }

.produkt-bewertung {
  color: var(--accent);
  font-size: 1rem;
  margin-bottom: 12px;
}

.produkt-pros { list-style: none; margin: 0 0 16px; }
.produkt-pros li::before { content: "✓ "; color: var(--primary); font-weight: 700; }
.produkt-pros li { margin-bottom: 6px; font-size: 0.93rem; }

.btn-amazon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FF9900;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: background 0.2s;
}

.btn-amazon:hover { background: #E68900; color: white; }

/* ===== AFFILIATE HINWEIS ===== */
.affiliate-hinweis {
  background: transparent;
  border: 1px solid #e8e8e8;
  padding: 10px 16px;
  margin: 20px 0;
  border-radius: 6px;
  font-size: 0.8rem;
  color: #aaa;
}
.affiliate-hinweis strong { font-weight: 600; color: #c0c0c0; }

/* ===== FAQ SECTION ===== */
.faq-section { margin: 48px 0 32px; }
.faq-section > h2 { font-size: 1.5rem; margin-bottom: 24px; }
.faq-item { border-bottom: 1px solid #eee; padding: 20px 0; }
.faq-item:last-child { border-bottom: none; }
.faq-item h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; color: var(--primary); }
.faq-item p { color: var(--text-light); line-height: 1.65; margin: 0; }

/* ===== PRODUKT BILD ===== */
.produkt-img-link { display: block; text-align: center; margin: 16px 0 20px; }
.produkt-img-link img { max-width: 180px; height: auto; border-radius: 8px; border: 1px solid #f0f0f0; transition: transform 0.2s; }
.produkt-img-link img:hover { transform: scale(1.03); }

/* ===== INHALTSVERZEICHNIS ===== */
.toc {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin: 32px 0;
}

.toc h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.toc ol { margin-left: 20px; }
.toc li { margin-bottom: 6px; font-size: 0.93rem; }

/* ===== FOOTER ===== */
footer {
  background: #1B5E20;
  color: rgba(255,255,255,0.85);
  padding: 48px 20px 24px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo { color: white; margin-bottom: 12px; }

.footer-brand p { font-size: 0.9rem; opacity: 0.8; max-width: 280px; }

footer h4 {
  color: white;
  font-size: 0.95rem;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

footer ul { list-style: none; }
footer ul li { margin-bottom: 10px; }
footer ul a { color: rgba(255,255,255,0.75); font-size: 0.9rem; transition: color 0.2s; }
footer ul a:hover { color: white; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  opacity: 0.7;
}

/* ===== COOKIE BANNER ===== */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #212121;
  color: white;
  padding: 20px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}

#cookie-banner p { font-size: 0.9rem; max-width: 700px; opacity: 0.9; }
#cookie-banner a { color: #81C784; }

.cookie-buttons { display: flex; gap: 12px; flex-shrink: 0; }

.btn-cookie-ok {
  background: var(--primary-light);
  color: white;
  border: none;
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.9rem;
}

.btn-cookie-ablehnen {
  background: transparent;
  color: white;
  border: 1px solid rgba(255,255,255,0.4);
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.9rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  nav ul { display: none; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .trust-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .hero { padding: 48px 16px; }
  .section { padding: 40px 16px; }
  .card-grid { grid-template-columns: 1fr; }
}
