:root {
  --green: #2e7d32;
  --green-light: #43a047;
  --green-dark: #1b5e20;
  --green-bg: #f1f8e9;
  --accent: #ff8f00;
  --text: #212121;
  --text-muted: #616161;
  --border: #e0e0e0;
  --white: #ffffff;
  --card-shadow: 0 2px 12px rgba(0,0,0,0.08);
  --radius: 12px;
}

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

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

/* ── HEADER ── */
header {
  background: var(--green);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
}

.logo-icon { font-size: 28px; }

.logo-text {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.logo-text span { color: #a5d6a7; }

nav { display: flex; gap: 4px; }

nav a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
}

nav a:hover, nav a.active {
  color: var(--white);
  background: rgba(255,255,255,0.15);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: white;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  animation: heroZoom 20s ease-out forwards;
  z-index: 0;
}

@keyframes heroZoom {
  from { transform: scale(1.08); }
  to   { transform: scale(1); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.52);
  z-index: 1;
}

/* ── CATEGORY HERO (Hunde/Katzen/etc.) ── */
.cat-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  animation: heroZoom 15s ease-out forwards;
  z-index: 0;
}

.cat-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.32);
  z-index: 1;
}

.cat-hero h1, .cat-hero p {
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
  padding: 130px 24px 110px;
  animation: fadeInUp 1s ease-out both;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Glassmorphism Badges */
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-badge {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
  padding: 7px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* Title */
.hero h1 {
  font-size: clamp(30px, 5.5vw, 60px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-title-main {
  background: linear-gradient(to right, #fb923c, #ef4444);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title-sub {
  display: block;
  font-size: clamp(18px, 3vw, 32px);
  font-weight: 400;
  color: rgba(255,255,255,0.92);
  margin-top: 8px;
}

.hero p {
  font-size: 17px;
  opacity: 0.88;
  margin: 0 auto 32px;
  max-width: 580px;
  line-height: 1.75;
  animation: fadeInUp 1s ease-out 0.4s both;
}

/* Search */
.hero-search {
  display: flex;
  gap: 0;
  max-width: 560px;
  margin: 0 auto 28px;
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
  animation: fadeInUp 1s ease-out 0.5s both;
}

.hero-search input {
  flex: 1;
  border: none;
  padding: 16px 24px;
  font-size: 15px;
  outline: none;
  color: var(--text);
}

.hero-search button {
  background: linear-gradient(135deg, #f97316, #ef4444);
  border: none;
  padding: 16px 26px;
  color: white;
  font-size: 15px;
  cursor: pointer;
  font-weight: 700;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.hero-search button:hover { opacity: 0.88; }

/* Beliebte Themen */
.hero-topics {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 34px;
  animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-topics-label {
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  font-weight: 500;
  width: 100%;
  margin-bottom: 4px;
}

.topic-pill {
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.28);
  color: white;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.topic-pill:hover {
  background: rgba(255,255,255,0.92);
  color: #1a1a1a;
  transform: translateY(-2px);
}

/* CTA Button */
.hero-cta {
  display: inline-block;
  background: linear-gradient(135deg, #ea580c, #dc2626);
  color: white;
  padding: 15px 38px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(234,88,12,0.45);
  transition: all 0.3s;
  animation: fadeInUp 1s ease-out 0.7s both;
}

.hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(234,88,12,0.55);
}

/* Scroll Indicator */
.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.65);
  font-size: 12px;
  letter-spacing: 0.5px;
  animation: fadeInUp 1s ease-out 2s both;
}

.hero-scroll-arrow {
  font-size: 20px;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(9px); }
}

/* ── CATEGORIES ── */
.categories-section {
  max-width: 1200px;
  margin: 48px auto 0;
  padding: 0 20px;
}

.section-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title::after {
  content: '';
  flex: 1;
  height: 2px;
  background: var(--border);
  margin-left: 8px;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 14px;
}

.cat-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  color: var(--text);
}

.cat-card:hover, .cat-card.active {
  border-color: var(--green);
  background: var(--green-bg);
  transform: translateY(-2px);
  box-shadow: var(--card-shadow);
}

.cat-card .emoji { font-size: 36px; display: block; margin-bottom: 8px; }
.cat-card .label { font-size: 13px; font-weight: 600; }
.cat-card .count { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

/* ── ARTICLE GRID ── */
.articles-section {
  max-width: 1200px;
  margin: 48px auto;
  padding: 0 20px;
}

.filter-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 7px 16px;
  border: 2px solid var(--border);
  background: white;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn:hover, .filter-btn.active {
  border-color: var(--green);
  background: var(--green);
  color: white;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

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

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.article-thumb {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.article-badge {
  display: inline-block;
  background: var(--green-bg);
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.article-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }

.article-body h3 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  margin: 10px 0 8px;
}

.article-body p {
  font-size: 14px;
  color: var(--text-muted);
  flex: 1;
  margin-bottom: 14px;
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 12px;
  margin-top: auto;
}

.ai-badge {
  background: #e8eaf6;
  color: #3949ab;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 50px;
}

/* ── AFFILIATE PRODUCT BOX ── */
.product-box {
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  padding: 20px;
  margin: 28px 0;
  background: #fff8e1;
  display: flex;
  gap: 16px;
  align-items: center;
}

.product-img {
  font-size: 56px;
  min-width: 70px;
  text-align: center;
}

.product-info { flex: 1; }

.product-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.product-info h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.product-info p { font-size: 13px; color: var(--text-muted); margin-bottom: 12px; }

.product-price {
  font-size: 22px;
  font-weight: 800;
  color: var(--green-dark);
  margin-bottom: 10px;
}

.btn-amazon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: background 0.2s;
}

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

/* ── ARTICLE PAGE ── */
.article-page {
  max-width: 820px;
  margin: 0 auto;
  padding: 40px 20px;
}

.article-page h1 {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  line-height: 1.3;
  margin: 16px 0 12px;
}

.article-page .meta-row {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.article-hero-img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
  margin-bottom: 32px;
}

.article-page h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 32px 0 12px;
  color: var(--green-dark);
}

.article-page p {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 16px;
}

.article-page ul {
  margin: 16px 0 20px 20px;
  font-size: 16px;
  line-height: 2;
}

.tip-box {
  background: var(--green-bg);
  border-left: 4px solid var(--green);
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  margin: 24px 0;
  font-size: 15px;
}

.tip-box strong { color: var(--green-dark); }

/* ── NEWSLETTER ── */
.newsletter {
  background: linear-gradient(135deg, #ea580c, #dc2626);
  color: white;
  text-align: center;
  padding: 60px 20px;
  margin: 60px 0 0;
}

.newsletter h2 { font-size: 28px; font-weight: 700; margin-bottom: 10px; }
.newsletter p { opacity: 0.85; margin-bottom: 24px; font-size: 16px; }

.newsletter-form {
  display: flex;
  gap: 0;
  max-width: 480px;
  margin: 0 auto;
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.newsletter-form input {
  flex: 1;
  border: none;
  padding: 14px 20px;
  font-size: 15px;
  outline: none;
}

.newsletter-form button {
  background: var(--accent);
  border: none;
  padding: 14px 22px;
  color: white;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .newsletter-form {
    flex-direction: column;
    border-radius: 12px;
  }
  .newsletter-form input {
    border-radius: 12px 12px 0 0;
    text-align: center;
  }
  .newsletter-form button {
    border-radius: 0 0 12px 12px;
    padding: 14px;
    font-size: 16px;
  }
}

/* ── FOOTER ── */
footer {
  background: #1a1a1a;
  color: #aaa;
  padding: 40px 20px 20px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}

.footer-brand .logo { margin-bottom: 12px; }
.footer-brand p { font-size: 14px; line-height: 1.7; }
.footer-col h4 { color: white; font-size: 14px; font-weight: 700; margin-bottom: 14px; }

.footer-col a {
  display: block;
  color: #888;
  text-decoration: none;
  font-size: 13px;
  margin-bottom: 8px;
  transition: color 0.2s;
}

.footer-col a:hover { color: #a5d6a7; }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid #333;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  flex-wrap: wrap;
  gap: 8px;
}

.affiliate-notice {
  background: #fff3e0;
  border: 1px solid #ffe0b2;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 13px;
  color: #6d4c41;
  margin: 24px 0;
}

/* ── COOKIE OVERLAY ── */
.cookie-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 9998;
  animation: fadeIn 0.3s ease;
}

.cookie-banner {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  border-radius: 16px;
  padding: 36px 32px 28px;
  z-index: 9999;
  width: 90%;
  max-width: 480px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  animation: popIn 0.35s cubic-bezier(0.34,1.56,0.64,1);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes popIn {
  from { opacity: 0; transform: translate(-50%, -48%) scale(0.92); }
  to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.cookie-banner .cookie-icon {
  font-size: 42px;
  display: block;
  margin-bottom: 14px;
}

.cookie-banner h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
}

.cookie-banner p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.cookie-banner p a {
  color: var(--green);
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cookie-btn-accept {
  background: var(--green);
  color: white;
  border: none;
  padding: 13px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  width: 100%;
}

.cookie-btn-accept:hover { background: var(--green-dark); }

.cookie-btn-decline {
  background: transparent;
  color: var(--text-muted);
  border: 2px solid var(--border);
  padding: 11px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  width: 100%;
}

.cookie-btn-decline:hover { border-color: #aaa; color: var(--text); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav { display: none; }
  nav.open { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--green-dark); padding: 10px; }
  .hamburger { display: block; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .product-box { flex-direction: column; text-align: center; }
  .articles-grid { grid-template-columns: 1fr; }
}
