/* ===========================
   CouponUser – Global Styles
   =========================== */

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

:root {
  --brand:      #1a6b3a;   /* forest green – coupon/savings feel */
  --brand-dark: #134f2b;
  --accent:     #f59e0b;   /* amber for highlights */
  --accent-dark:#d97706;
  --text:       #1a1a2e;
  --muted:      #6b7280;
  --bg:         #f8fafc;
  --white:      #ffffff;
  --border:     #e5e7eb;
  --radius:     10px;
  --shadow:     0 2px 12px rgba(0,0,0,.08);
  --shadow-lg:  0 8px 32px rgba(0,0,0,.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

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

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

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

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .15s;
  border: 2px solid transparent;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); text-decoration: none; }

.btn-primary { background: var(--brand); color: var(--white); }
.btn-primary:hover { background: var(--brand-dark); }

.btn-outline { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn-outline:hover { background: var(--brand); color: var(--white); }

.btn-accent { background: var(--accent); color: var(--white); }
.btn-accent:hover { background: var(--accent-dark); }

.btn-lg { padding: 16px 32px; font-size: 17px; }
.btn-sm { padding: 8px 16px; font-size: 14px; }

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
  font-weight: 800;
  color: var(--brand);
  text-decoration: none;
}
.logo-icon { font-size: 26px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: background .15s, color .15s;
  text-decoration: none;
}
.main-nav a:hover { background: #f1f5f1; color: var(--brand); text-decoration: none; }

.nav-cta {
  background: var(--accent) !important;
  color: var(--white) !important;
  font-weight: 700 !important;
  margin-left: 8px;
}
.nav-cta:hover { background: var(--accent-dark) !important; }

.burger {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text);
}

/* ============================
   HERO
   ============================ */
.hero {
  background: linear-gradient(135deg, #0f4026 0%, #1a6b3a 50%, #2d9b57 100%);
  color: var(--white);
  padding: 72px 0 60px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: .5px;
}

.hero h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
}

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

.hero-sub {
  font-size: 17px;
  opacity: .88;
  margin-bottom: 28px;
  max-width: 500px;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-actions .btn-outline { border-color: rgba(255,255,255,.6); color: var(--white); }
.hero-actions .btn-outline:hover { background: rgba(255,255,255,.15); }

.hero-stats {
  display: flex;
  gap: 28px;
}

.stat { display: flex; flex-direction: column; }
.stat strong { font-size: 22px; font-weight: 800; }
.stat span { font-size: 13px; opacity: .75; }

/* Hero cards */
.hero-visual { display: flex; flex-direction: column; gap: 16px; }

.hero-card {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: 20px;
  transition: transform .2s;
}
.hero-card:hover { transform: translateY(-2px); }
.hero-card--sm { opacity: .85; }

.hc-tag {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
  letter-spacing: .5px;
}
.hc-tag--green { background: #22c55e; }

.hc-title { font-weight: 700; font-size: 16px; margin-bottom: 8px; }
.hc-meta { font-size: 13px; opacity: .7; margin-bottom: 10px; }
.hc-lock { font-size: 13px; opacity: .85; }

/* ============================
   SECTION COMMONS
   ============================ */
section { padding: 64px 0; }

.section-title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  margin-bottom: 10px;
}
.section-sub { color: var(--muted); margin-bottom: 36px; max-width: 560px; }

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}
.section-header .section-title { margin-bottom: 0; }

/* ============================
   CATEGORIES
   ============================ */
.categories { background: var(--white); }

.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--brand); text-decoration: none; }

.cat-icon { font-size: 36px; margin-bottom: 12px; }
.cat-name { font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.cat-count { font-size: 13px; color: var(--muted); }

/* ============================
   GUIDES
   ============================ */
.guides { background: var(--bg); }

.guides-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.guide-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.guide-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.guide-img {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}

.guide-body { padding: 20px; }

.guide-cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--brand);
  background: #e8f5ec;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.guide-card h3 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
}

.guide-card p { font-size: 14px; color: var(--muted); margin-bottom: 14px; }

.guide-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
}

.guide-lock { color: #7c3aed; font-weight: 600; }
.guide-free { color: #059669; font-weight: 600; }

/* ============================
   PREMIUM TEASER
   ============================ */
.premium-teaser {
  background: linear-gradient(135deg, #134f2b 0%, #1a6b3a 100%);
  color: var(--white);
}

.premium-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
}

.pt-text h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 800; margin-bottom: 16px; }
.pt-text p { opacity: .88; margin-bottom: 20px; font-size: 16px; max-width: 480px; }

.pt-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}
.pt-list li { font-size: 15px; }

.pt-note { font-size: 13px; opacity: .65; margin-top: 12px; }

.pv-box {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius);
  overflow: hidden;
}

.pv-plan {
  padding: 28px;
  text-align: center;
  position: relative;
}
.pv-plan--highlight { background: rgba(255,255,255,.1); }

.pv-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.pv-name { font-size: 14px; opacity: .75; margin-bottom: 6px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; }
.pv-price { font-size: 36px; font-weight: 800; }
.pv-price span { font-size: 16px; font-weight: 400; opacity: .75; }
.pv-save { font-size: 13px; color: #86efac; font-weight: 600; margin-top: 4px; }

.pv-divider { height: 1px; background: rgba(255,255,255,.15); }

/* ============================
   NEWS
   ============================ */
.news { background: var(--white); }

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-card {
  padding: 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: box-shadow .2s;
}
.news-card:hover { box-shadow: var(--shadow); }

.news-date { font-size: 12px; color: var(--muted); margin-bottom: 8px; font-weight: 500; }
.news-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; line-height: 1.4; }
.news-card h4 a { color: var(--text); }
.news-card h4 a:hover { color: var(--brand); text-decoration: none; }
.news-card p { font-size: 14px; color: var(--muted); }

/* ============================
   FOOTER
   ============================ */
.site-footer {
  background: #0f2d1a;
  color: rgba(255,255,255,.75);
  padding-top: 56px;
}

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

.footer-logo { font-size: 20px; font-weight: 800; color: var(--white); margin-bottom: 12px; }
.footer-col p { font-size: 14px; line-height: 1.7; }
.footer-company { margin-top: 12px; font-size: 13px; opacity: .65; }

.footer-col h4 { color: var(--white); font-size: 14px; font-weight: 700; margin-bottom: 14px; text-transform: uppercase; letter-spacing: .5px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul a { font-size: 14px; color: rgba(255,255,255,.65); }
.footer-col ul a:hover { color: var(--white); text-decoration: none; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,.5); }
.footer-disclaimer { margin-top: 4px; font-size: 12px; opacity: .45; }

/* ============================
   SUBSCRIBE PAGE
   ============================ */
.sub-hero {
  background: linear-gradient(135deg, #0f4026 0%, #1a6b3a 100%);
  color: var(--white);
  padding: 60px 0 48px;
  text-align: center;
}
.sub-hero h1 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; margin-bottom: 14px; }
.sub-hero p { font-size: 17px; opacity: .88; max-width: 540px; margin: 0 auto; }

.sub-plans {
  padding: 64px 0;
  background: var(--bg);
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.plan-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 14px;
  padding: 36px 28px;
  text-align: center;
  position: relative;
  transition: box-shadow .2s;
}
.plan-card:hover { box-shadow: var(--shadow-lg); }
.plan-card--popular { border-color: var(--brand); }

.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
}

.plan-name { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); margin-bottom: 10px; }
.plan-price { font-size: 42px; font-weight: 800; color: var(--text); }
.plan-price sup { font-size: 20px; vertical-align: top; margin-top: 10px; display: inline-block; }
.plan-price sub { font-size: 16px; font-weight: 400; color: var(--muted); }
.plan-desc { font-size: 14px; color: var(--muted); margin: 10px 0 24px; }

.plan-features {
  list-style: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.plan-features li { font-size: 14px; display: flex; gap: 8px; align-items: flex-start; }
.plan-features li::before { content: '✓'; color: var(--brand); font-weight: 700; flex-shrink: 0; }
.plan-features li.no::before { content: '✗'; color: var(--muted); }

.sub-faq { padding: 64px 0; background: var(--white); }
.faq-list { max-width: 700px; margin: 0 auto; display: flex; flex-direction: column; gap: 0; }

.faq-item { border-bottom: 1px solid var(--border); padding: 20px 0; }
.faq-item h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.faq-item p { font-size: 14px; color: var(--muted); }

/* ============================
   ARTICLE PAGE
   ============================ */
.article-hero {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 48px 0 32px;
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  padding: 48px 0 72px;
}

.article-body h2 { font-size: 24px; font-weight: 800; margin: 32px 0 14px; }
.article-body h3 { font-size: 19px; font-weight: 700; margin: 24px 0 10px; }
.article-body p { font-size: 16px; line-height: 1.8; margin-bottom: 16px; color: #374151; }
.article-body ul { padding-left: 20px; margin-bottom: 16px; }
.article-body ul li { margin-bottom: 8px; font-size: 15px; line-height: 1.7; }

.paywall {
  position: relative;
  margin-top: 32px;
}
.paywall-blur {
  filter: blur(4px);
  user-select: none;
  pointer-events: none;
  max-height: 180px;
  overflow: hidden;
  opacity: .5;
}
.paywall-overlay {
  text-align: center;
  padding: 32px 24px;
  background: linear-gradient(to top, var(--white) 60%, transparent);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}
.paywall-overlay h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.paywall-overlay p { color: var(--muted); font-size: 14px; margin-bottom: 16px; }

.article-sidebar { }
.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
}
.sidebar-widget h4 { font-size: 15px; font-weight: 700; margin-bottom: 14px; }

.article-tag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: var(--brand); background: #e8f5ec; padding: 3px 10px; border-radius: 4px; display: inline-block; margin-bottom: 12px; }
.article-title { font-size: clamp(24px, 3.5vw, 36px); font-weight: 800; line-height: 1.2; margin-bottom: 16px; }
.article-meta { display: flex; gap: 16px; font-size: 14px; color: var(--muted); flex-wrap: wrap; }

/* ============================
   IMPRESSUM / DATENSCHUTZ
   ============================ */
.legal-page { padding: 64px 0; }
.legal-page .legal-content { max-width: 760px; }
.legal-page h1 { font-size: 32px; font-weight: 800; margin-bottom: 32px; }
.legal-page h2 { font-size: 20px; font-weight: 700; margin: 32px 0 10px; border-bottom: 1px solid var(--border); padding-bottom: 8px; }
.legal-page h3 { font-size: 16px; font-weight: 700; margin: 20px 0 8px; }
.legal-page p { font-size: 15px; line-height: 1.8; margin-bottom: 12px; color: #374151; }
.legal-page ul { padding-left: 20px; margin-bottom: 12px; }
.legal-page ul li { font-size: 15px; line-height: 1.7; margin-bottom: 4px; }
.legal-page a { color: var(--brand); }

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .main-nav { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--border); padding: 16px; gap: 4px; box-shadow: var(--shadow); }
  .main-nav.nav-open { display: flex; }
  .burger { display: block; }
  .site-header { position: relative; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }

  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .guides-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .premium-inner { grid-template-columns: 1fr; }
  .pt-visual { display: none; }

  .plans-grid { grid-template-columns: 1fr; max-width: 420px; }
  .footer-inner { grid-template-columns: 1fr; }

  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { display: none; }
}

@media (max-width: 480px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { gap: 16px; }
  .stat strong { font-size: 18px; }
}
