/* =============================================
   PropertyTerrier – Heimsicherheit-Ratgeber Stylesheet
   ============================================= */

:root {
  --primary: #1c3d6e;
  --primary-dark: #122840;
  --accent: #c8781a;
  --dark: #111827;
  --dark-2: #0d1520;
  --text: #1c1c1c;
  --text-light: #484848;
  --text-lighter: #888;
  --bg: #f4f6f9;
  --white: #ffffff;
  --border: #dce1e9;
  --border-light: #eaecf2;
  --card-shadow: 0 1px 4px rgba(0,0,0,0.07);
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --max-width: 1200px;
  --content-width: 740px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: var(--font-sans); background: var(--bg); color: var(--text); line-height: 1.6; }

h1, h2, h3, h4 { font-family: var(--font-serif); line-height: 1.25; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--primary); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ── HEADER ── */
.site-header {
  background: var(--dark);
  color: white;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.4);
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
}
.site-logo {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 700;
  color: white;
  display: flex;
  align-items: center;
  gap: 9px;
  letter-spacing: -0.01em;
}
.logo-icon {
  width: 30px;
  height: 30px;
  background: var(--accent);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.header-nav a {
  color: rgba(255,255,255,0.75);
  font-size: 0.88rem;
  transition: color 0.18s;
  letter-spacing: 0.01em;
}
.header-nav a:hover { color: white; }
.btn-sub {
  background: var(--accent) !important;
  color: white !important;
  padding: 0.48rem 1.2rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.82rem !important;
  letter-spacing: 0.02em;
  transition: background 0.18s !important;
  white-space: nowrap;
}
.btn-sub:hover { background: #a8621a !important; }
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
}

/* ── CATEGORY NAV ── */
.category-nav {
  background: var(--dark-2);
  border-top: 1px solid rgba(255,255,255,0.07);
}
.category-nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  gap: 0;
}
.category-nav-inner::-webkit-scrollbar { display: none; }
.category-nav a {
  color: rgba(255,255,255,0.55);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.58rem 0.95rem;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: all 0.18s;
  letter-spacing: 0.02em;
}
.category-nav a:hover, .category-nav a.active {
  color: white;
  border-bottom-color: var(--accent);
}

/* ── READING PROGRESS BAR ── */
#reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--accent);
  z-index: 200;
  transition: width 0.08s linear;
}

/* ── LAYOUT ── */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.main-content { max-width: var(--max-width); margin: 0 auto; padding: 2.5rem 1.5rem; }
.section { margin-bottom: 3.5rem; }

/* ── SECTION HEADER ── */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 0.7rem;
  border-bottom: 2px solid var(--border);
}
.section-title {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-lighter);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.section-title-count {
  font-size: 0.72rem;
  color: #bbb;
  font-weight: 400;
}
.section-link {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.section-link:hover { color: var(--primary-dark); }

/* ── ARTICLE CARDS ── */
.articles-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }
.articles-grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.25rem; }
.articles-grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.25rem; }

.article-card {
  background: white;
  border-radius: 7px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}
.article-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}
.article-card-img {
  width: 100%;
  height: 185px;
  object-fit: cover;
  flex-shrink: 0;
}
.article-card-body {
  padding: 1.1rem 1.15rem 0.9rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.6rem;
  flex-wrap: wrap;
}
.cat-tag {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  background: rgba(26,107,58,0.08);
  padding: 0.18rem 0.48rem;
  border-radius: 3px;
  white-space: nowrap;
}
.art-date { font-size: 0.72rem; color: var(--text-lighter); }
.art-read { font-size: 0.72rem; color: var(--text-lighter); margin-left: auto; }
.article-card h3 {
  font-size: 1.0rem;
  margin-bottom: 0.45rem;
  line-height: 1.3;
  flex: 1;
}
.article-card p {
  font-size: 0.83rem;
  color: var(--text-light);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-card-footer {
  padding: 0.6rem 1.15rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-lighter);
}

/* Featured card (larger) */
.article-card.featured .article-card-img { height: 260px; }
.article-card.featured h3 { font-size: 1.2rem; }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  color: white;
  padding: 0;
  overflow: hidden;
}
.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 420px;
}
.hero-content {
  padding: 3rem 2.5rem 3rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-tag {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.hero-tag::before { content: ''; display: inline-block; width: 18px; height: 2px; background: var(--accent); }
.hero-content h1 { font-size: 2.3rem; line-height: 1.18; margin-bottom: 1rem; }
.hero-content p {
  font-size: 1.0rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}
.hero-meta { font-size: 0.78rem; color: rgba(255,255,255,0.45); }
.hero-meta span + span::before { content: ' · '; }
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── SUBSCRIPTION BANNER ── */
.sub-banner {
  background: linear-gradient(135deg, var(--dark) 0%, #1a3d2b 100%);
  color: white;
  padding: 3rem 2rem;
  border-radius: 8px;
  text-align: center;
  margin: 2rem 0;
  border-left: 4px solid var(--accent);
}
.sub-banner h2 { font-size: 1.9rem; margin-bottom: 0.65rem; }
.sub-banner p { color: rgba(255,255,255,0.72); margin-bottom: 1.5rem; font-size: 1.0rem; max-width: 520px; margin-left: auto; margin-right: auto; }
.sub-banner-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.btn-primary {
  background: var(--primary);
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 5px;
  font-weight: 700;
  font-size: 0.92rem;
  display: inline-block;
  transition: background 0.18s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: var(--primary-dark); color: white; }
.btn-outline {
  background: transparent;
  color: white;
  padding: 0.73rem 1.9rem;
  border-radius: 5px;
  font-weight: 600;
  font-size: 0.92rem;
  border: 1.5px solid rgba(255,255,255,0.38);
  display: inline-block;
  transition: all 0.18s;
}
.btn-outline:hover { background: rgba(255,255,255,0.1); color: white; }
.btn-accent {
  background: var(--accent);
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 5px;
  font-weight: 700;
  font-size: 0.92rem;
  display: inline-block;
  transition: background 0.18s;
  border: none;
  cursor: pointer;
}
.btn-accent:hover { background: #a8621a; color: white; }

/* ── NEWSLETTER BOX ── */
.newsletter-box {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  margin: 1.5rem 0;
}
.newsletter-box h3 { margin-bottom: 0.4rem; }
.newsletter-box p { font-size: 0.88rem; color: var(--text-light); margin-bottom: 1.25rem; }
.newsletter-form { display: flex; gap: 0.65rem; max-width: 420px; margin: 0 auto; }
.newsletter-form input[type="email"] {
  flex: 1;
  padding: 0.62rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  font-size: 0.88rem;
  background: var(--bg);
  font-family: var(--font-sans);
}
.newsletter-form input[type="email"]:focus { outline: none; border-color: var(--primary); }
.newsletter-notice { font-size: 0.72rem; color: var(--text-lighter); margin-top: 0.65rem; }

/* ── FOOTER ── */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.65);
  padding: 3.5rem 0 2rem;
  margin-top: 4rem;
}
.footer-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer-brand .site-logo { margin-bottom: 0.9rem; }
.footer-brand p { font-size: 0.83rem; line-height: 1.65; color: rgba(255,255,255,0.48); }
.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1rem;
}
.footer-col li + li { margin-top: 0.45rem; }
.footer-col a { font-size: 0.83rem; color: rgba(255,255,255,0.55); transition: color 0.18s; }
.footer-col a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ── ARTICLE PAGE ── */
.article-header { max-width: var(--content-width); margin: 2.5rem auto 0; padding: 0 1.5rem; }
.article-header .cat-tag { font-size: 0.75rem; margin-bottom: 0.9rem; display: inline-block; }
.article-header h1 { font-size: 2.2rem; line-height: 1.18; margin-bottom: 0.9rem; }
.article-lead {
  font-size: 1.12rem;
  color: var(--text-light);
  line-height: 1.68;
  margin-bottom: 1.5rem;
  font-family: var(--font-sans);
}
.article-byline {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}
.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, #2da858 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
  font-family: var(--font-sans);
}
.byline-info { flex: 1; }
.byline-name { font-weight: 700; font-size: 0.88rem; }
.byline-date { font-size: 0.77rem; color: var(--text-lighter); }
.byline-reading { font-size: 0.77rem; color: var(--text-lighter); }

.article-hero-img { max-width: var(--content-width); margin: 2rem auto; padding: 0 1.5rem; }
.article-hero-img img { width: 100%; height: 380px; object-fit: cover; border-radius: 7px; }
.img-caption { font-size: 0.77rem; color: var(--text-lighter); margin-top: 0.5rem; font-style: italic; }

.article-body { max-width: var(--content-width); margin: 0 auto; padding: 0 1.5rem 3rem; }
.article-body p { font-size: 1.05rem; line-height: 1.8; margin-bottom: 1.5rem; }
.article-body h2 { font-size: 1.5rem; margin: 2.5rem 0 1rem; }
.article-body h3 { font-size: 1.2rem; margin: 2rem 0 0.75rem; }
.article-body blockquote {
  border-left: 3px solid var(--accent);
  padding: 0.6rem 1.5rem;
  margin: 2rem 0;
  background: rgba(200,120,26,0.05);
  border-radius: 0 5px 5px 0;
}
.article-body blockquote p { font-style: italic; font-size: 1.08rem; color: var(--text-light); margin-bottom: 0; }
.article-body ul { padding-left: 1.5rem; margin-bottom: 1.5rem; list-style: disc; }
.article-body ul li { font-size: 1.05rem; line-height: 1.75; margin-bottom: 0.4rem; }
.article-body .article-inline-img { margin: 2rem 0; }
.article-body .article-inline-img img { width: 100%; border-radius: 6px; }


/* Taboola placement */
.taboola-placeholder {
  margin: 2.5rem 0;
  min-height: 80px;
  border-radius: 6px;
  background: var(--bg);
  border: 1px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--text-lighter);
}

/* ── ARTICLE TAGS ── */
.article-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; margin: 2rem 0; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.art-tag {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 0.28rem 0.82rem;
  font-size: 0.78rem;
  color: var(--text-light);
  transition: all 0.18s;
}
.art-tag:hover { background: var(--border); }

/* ── RELATED ARTICLES ── */
.related-section { max-width: var(--content-width); margin: 0 auto; padding: 0 1.5rem 3rem; }
.related-section h3 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-lighter);
  margin-bottom: 1.25rem;
  padding-bottom: 0.65rem;
  border-bottom: 2px solid var(--border);
}
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }

/* ── SUBSCRIPTION PAGE ── */
.abo-header {
  background: linear-gradient(135deg, var(--dark) 0%, #1a3d2b 100%);
  color: white;
  padding: 4rem 1.5rem;
  text-align: center;
  border-bottom: 3px solid var(--accent);
}
.abo-header h1 { font-size: 2.5rem; margin-bottom: 0.75rem; }
.abo-header p { font-size: 1.1rem; color: rgba(255,255,255,0.72); max-width: 550px; margin: 0 auto; }
.abo-content { max-width: 820px; margin: 3rem auto; padding: 0 1.5rem; }

.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 3rem; }
.pricing-card {
  background: white;
  border: 2px solid var(--border);
  border-radius: 9px;
  padding: 2rem;
  text-align: center;
  position: relative;
  transition: box-shadow 0.2s;
}
.pricing-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.09); }
.pricing-card.featured { border-color: var(--primary); }
.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.8rem;
  border-radius: 20px;
  white-space: nowrap;
  letter-spacing: 0.04em;
}
.pricing-period { font-size: 0.8rem; color: var(--text-lighter); margin-bottom: 0.4rem; }
.pricing-amount { font-size: 2.8rem; font-weight: 700; font-family: var(--font-serif); line-height: 1.1; }
.pricing-amount sub { font-size: 1rem; font-weight: 400; color: var(--text-lighter); }
.pricing-desc { font-size: 0.83rem; color: var(--text-light); margin: 0.75rem 0 1.5rem; line-height: 1.5; }
.pricing-features li {
  font-size: 0.875rem;
  padding: 0.38rem 0;
  padding-left: 1.6rem;
  position: relative;
  color: var(--text-light);
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li::before { content: '✓'; position: absolute; left: 0; color: var(--primary); font-weight: 700; }
.pricing-features { margin-bottom: 1.5rem; }

.abo-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin: 3rem 0; }
.abo-feature { background: white; border-radius: 8px; padding: 1.5rem; text-align: center; box-shadow: var(--card-shadow); }
.abo-feature .feat-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.abo-feature h4 { font-size: 1.0rem; margin-bottom: 0.4rem; }
.abo-feature p { font-size: 0.83rem; color: var(--text-light); line-height: 1.55; }

.faq-section { margin: 3rem 0; }
.faq-item { background: white; border-radius: 7px; margin-bottom: 0.75rem; overflow: hidden; border: 1px solid var(--border); }
.faq-q { padding: 1.1rem 1.25rem; font-weight: 700; font-size: 0.92rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-q::after { content: '+'; font-size: 1.2rem; color: var(--accent); font-weight: 400; }
.faq-a { padding: 0 1.25rem 1.1rem; font-size: 0.88rem; color: var(--text-light); line-height: 1.65; display: none; }
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-q::after { content: '−'; }

/* ── ABOUT PAGE ── */
.about-hero {
  background: linear-gradient(135deg, var(--dark) 0%, #1a3d2b 100%);
  color: white;
  padding: 5rem 1.5rem;
  text-align: center;
  border-bottom: 3px solid var(--accent);
}
.about-hero h1 { font-size: 2.75rem; margin-bottom: 1rem; }
.about-hero p { font-size: 1.12rem; color: rgba(255,255,255,0.72); max-width: 620px; margin: 0 auto; line-height: 1.68; }
.about-content { max-width: 780px; margin: 3.5rem auto; padding: 0 1.5rem; }
.about-content h2 { font-size: 1.65rem; margin: 2.5rem 0 1rem; }
.about-content p { font-size: 0.97rem; color: var(--text-light); line-height: 1.75; margin-bottom: 1.1rem; }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin: 2rem 0; }
.team-card { background: white; border-radius: 8px; padding: 1.5rem 1rem; text-align: center; box-shadow: var(--card-shadow); }
.team-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  margin: 0 auto 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  font-family: var(--font-sans);
}
.team-name { font-size: 0.9rem; font-weight: 700; margin-bottom: 0.2rem; }
.team-role { font-size: 0.77rem; color: var(--text-lighter); }

.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin: 2.5rem 0; }
.stat-box { background: var(--dark); color: white; border-radius: 8px; padding: 1.5rem; text-align: center; }
.stat-num { font-size: 2rem; font-weight: 700; font-family: var(--font-serif); color: white; }
.stat-label { font-size: 0.78rem; color: rgba(255,255,255,0.55); margin-top: 0.25rem; }

/* ── LEGAL PAGES ── */
.legal-header { background: var(--dark); color: white; padding: 3rem 1.5rem; }
.legal-header h1 { font-size: 2rem; }
.legal-content { max-width: 740px; margin: 2.5rem auto; padding: 0 1.5rem 5rem; }
.legal-updated { font-size: 0.82rem; color: var(--text-lighter); margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); }
.legal-content h2 { font-size: 1.3rem; margin: 2.5rem 0 0.8rem; }
.legal-content h3 { font-size: 1.05rem; margin: 1.5rem 0 0.6rem; }
.legal-content p { font-size: 0.93rem; line-height: 1.75; margin-bottom: 1rem; color: var(--text-light); }
.legal-content ul { padding-left: 1.5rem; margin-bottom: 1rem; list-style: disc; }
.legal-content ul li { font-size: 0.93rem; line-height: 1.7; margin-bottom: 0.4rem; color: var(--text-light); }
.legal-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  margin: 1rem 0 1.5rem;
}
.legal-box p { margin: 0 !important; }
.legal-box p + p { margin-top: 0.35rem !important; }

/* ── ALL ARTICLES PAGE ── */
.all-articles-header { background: var(--dark); color: white; padding: 3rem 1.5rem; border-bottom: 3px solid var(--accent); }
.all-articles-header h1 { font-size: 2.1rem; margin-bottom: 0.4rem; }
.all-articles-header p { font-size: 0.95rem; color: rgba(255,255,255,0.6); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .articles-grid-4 { grid-template-columns: repeat(2,1fr); }
  .team-grid { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 860px) {
  .articles-grid { grid-template-columns: repeat(2,1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-img { height: 260px; }
  .abo-features { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 640px) {
  .articles-grid, .articles-grid-2, .related-grid { grid-template-columns: 1fr; }
  .header-nav { display: none; }
  .mobile-menu-btn { display: block; }
  .footer-top { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2,1fr); }
  .abo-features { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2,1fr); }
  .article-header h1 { font-size: 1.75rem; }
  .hero-content h1 { font-size: 1.65rem; }
  .hero-content { padding: 2rem 1.5rem; }
}


/* MediaGo-style soft funnel */
.narrow { max-width: 820px; }
.funnel-page { max-width: var(--max-width); margin: 0 auto; padding: 3.2rem 1.5rem 4.5rem; }
.funnel-page h1 { font-size: clamp(2rem, 4vw, 3.1rem); margin-bottom: 1rem; color: var(--dark); }
.funnel-page h2 { font-size: 1.45rem; margin: 2rem 0 .7rem; color: var(--dark); }
.funnel-page p { color: var(--text-light); margin-bottom: 1rem; }
.funnel-page .lead { font-size: 1.08rem; color: var(--text-light); margin-bottom: 1.6rem; }
.funnel-kicker { display:inline-block; font-size:.74rem; font-weight:800; text-transform:uppercase; letter-spacing:.08em; color:var(--primary); background:rgba(26,107,58,.08); border:1px solid rgba(26,107,58,.18); border-radius:999px; padding:.35rem .75rem; margin-bottom:1rem; }
.option-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1.25rem; }
.option-card { background:#fff; border:1px solid var(--border); border-radius:9px; padding:1.35rem; box-shadow:var(--card-shadow); }
.option-card h2 { margin:0 0 .55rem; font-size:1.25rem; }
.option-card p { font-size:.92rem; }
.option-card a { color:var(--primary); font-weight:800; }
.single-cta { margin-top:2rem; padding-top:1.5rem; border-top:1px solid var(--border); }
.info-box { background:#fff; border:1px solid var(--border); border-left:4px solid var(--primary); border-radius:8px; padding:1.25rem; margin:1.5rem 0; }
.success-box { border-color:#b8e6c8; background:#f3fbf5; }
.funnel-page .contact-form { display:flex; flex-direction:column; gap:1.15rem; width:100%; max-width:620px; }
.funnel-page .form-group { display:flex; flex-direction:column; align-items:stretch; gap:.45rem; width:100%; }
.funnel-page .form-group label { display:block; font-size:.95rem; font-weight:800; color:var(--dark); }
.funnel-page .form-group input,
.funnel-page .form-group textarea,
.funnel-page .form-group select {
  display:block;
  width:100%;
  min-height:52px;
  padding:.85rem 1rem;
  border:1.5px solid var(--border);
  border-radius:6px;
  font:inherit;
  font-size:1rem;
  background:#fff;
  color:var(--text);
}
.funnel-page .form-group textarea { min-height:140px; resize:vertical; }
.privacy-note { font-size:.84rem; color:var(--text-light); line-height:1.55; }
@media (max-width: 900px) { .option-grid { grid-template-columns:1fr; } }
@media (max-width: 640px) {
  .funnel-page { padding: 2.2rem 1rem 3.4rem; }
  .funnel-page .container { padding: 0; }
  .funnel-page .contact-form { max-width: none; }
  .funnel-page .form-group input,
  .funnel-page .form-group textarea,
  .funnel-page .form-group select { font-size: 1rem; }
}


/* Visible final action for moderation review */
.final-action-panel { margin-top: 2rem; padding: 1.35rem; border: 1px solid var(--border); border-left: 4px solid var(--primary); border-radius: 10px; background: #fff; box-shadow: var(--card-shadow); display: grid; grid-template-columns: 1fr auto; gap: 1.25rem; align-items: center; }
.final-action-label { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); margin-bottom: .45rem; }
.final-action-panel h2 { margin: 0 0 .4rem; font-size: 1.35rem; }
.final-action-panel p { margin: 0; color: var(--text-light); }
.final-action-actions { display: flex; flex-wrap: wrap; gap: .65rem; justify-content: flex-end; }
.btn-secondary-action { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .72rem 1rem; border: 1px solid var(--border); border-radius: 6px; color: var(--dark); font-weight: 800; background: #fff; }
@media (max-width: 640px) { .final-action-panel { grid-template-columns: 1fr; padding: 1.1rem; } .final-action-actions { justify-content: stretch; } .final-action-actions a { width: 100%; } }

.homepage-final-action { grid-column: 1 / -1; margin-bottom: 1.5rem; }


/* ── PRODUCT CARDS (bridge page) ── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2.5rem 0;
}
.product-card {
  background: white;
  border: 2px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
  position: relative;
}
.product-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.11);
  transform: translateY(-3px);
}
.product-card.recommended {
  border-color: var(--primary);
}
.product-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--primary);
  color: white;
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 0.28rem 0.75rem;
  border-radius: 20px;
}
.product-badge.accent { background: var(--accent); }
.product-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  background: #eef0f5;
}
.product-img-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #eef0f5, #dde2ea);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
}
.product-body {
  padding: 1.35rem 1.35rem 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-category {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.product-card.recommended .product-category { color: var(--primary); }
.product-body h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  line-height: 1.3;
}
.product-body p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1rem;
  flex: 1;
}
.product-features {
  list-style: none;
  margin: 0 0 1.2rem;
  padding: 0;
}
.product-features li {
  font-size: 0.82rem;
  color: var(--text-light);
  padding: 0.3rem 0;
  padding-left: 1.3rem;
  position: relative;
  border-bottom: 1px solid var(--border-light);
}
.product-features li:last-child { border-bottom: none; }
.product-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.78rem;
}
.product-footer {
  padding: 1rem 1.35rem 1.35rem;
  border-top: 1px solid var(--border-light);
}
.product-availability {
  font-size: 0.77rem;
  color: var(--text-lighter);
  margin-top: 0.55rem;
  font-style: italic;
}
.btn-product {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.72rem 1rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  background: var(--primary);
  color: white;
  transition: background 0.18s;
  border: none;
  cursor: pointer;
}
.btn-product:hover { background: var(--primary-dark); color: white; }
.btn-product.muted {
  background: var(--bg);
  color: var(--text-light);
  border: 1px solid var(--border);
}
.btn-product.muted:hover { background: var(--border); color: var(--text); }

/* ── GUARDIAN MONITOR DETAIL SECTION ── */
.gm-detail-section {
  max-width: 1100px;
  margin: 3.5rem auto 0;
  padding: 0 1.5rem;
}
.gm-detail-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.gm-detail-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  background: rgba(28,61,110,0.07);
  border: 1px solid rgba(28,61,110,0.15);
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
  margin-bottom: 0.9rem;
}
.gm-detail-header h2 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
}
.gm-detail-header p {
  font-size: 0.95rem;
  color: var(--text-lighter);
}
.gm-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.gm-feature {
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.4rem 1.3rem;
  box-shadow: var(--card-shadow);
}
.gm-feature-icon {
  width: 96px;
  height: 96px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 0.85rem;
  background: #f0f4f8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.gm-feature-icon img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  display: block;
}
.gm-feature h4 {
  font-size: 0.97rem;
  margin-bottom: 0.45rem;
  color: var(--dark);
  line-height: 1.3;
}
.gm-feature p {
  font-size: 0.83rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}
.gm-benefits-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.1);
  margin-bottom: 0.5rem;
}
.gm-benefit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 1.5rem;
  padding: 2.5rem 2rem;
}
.gm-benefit-light {
  background: #f0f4f8;
}
.gm-benefit-dark {
  background: #1c2e4a;
  color: white;
}
.gm-benefit-img img {
  width: 100%;
  max-width: 180px;
  height: 180px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
.gm-benefit-kicker {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.gm-benefit-text h3 {
  font-size: 1.45rem;
  margin-bottom: 0.7rem;
  line-height: 1.2;
}
.gm-benefit-light .gm-benefit-text h3 { color: var(--dark); }
.gm-benefit-dark .gm-benefit-text h3 { color: white; }
.gm-benefit-text p {
  font-size: 0.88rem;
  line-height: 1.65;
  margin: 0;
}
.gm-benefit-light .gm-benefit-text p { color: var(--text-light); }
.gm-benefit-dark .gm-benefit-text p { color: rgba(255,255,255,0.72); }

@media (max-width: 860px) {
  .gm-features-grid { grid-template-columns: repeat(2, 1fr); }
  .gm-benefits-row { grid-template-columns: 1fr; }
  .gm-benefit { grid-template-columns: 1fr; text-align: center; padding: 2rem 1.5rem; }
  .gm-benefit-dark { order: 1; }
  .gm-benefit-img img { max-width: 140px; height: 140px; }
}
@media (max-width: 580px) {
  .gm-features-grid { grid-template-columns: 1fr; }
  .gm-detail-header h2 { font-size: 1.4rem; }
}

/* ── DISCLOSURE NOTICE ── */
.disclosure-notice {
  background: #fff9f0;
  border: 1px solid #e8d5b0;
  border-left: 4px solid var(--accent);
  border-radius: 6px;
  padding: 0.85rem 1.1rem;
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.55;
  margin: 0 0 2rem;
}
.disclosure-notice strong { color: var(--text); }

/* ── CRITERIA TABLE ── */
.criteria-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.88rem;
}
.criteria-table th {
  background: var(--dark);
  color: white;
  padding: 0.7rem 1rem;
  text-align: left;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.criteria-table td {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-light);
  vertical-align: top;
}
.criteria-table tr:last-child td { border-bottom: none; }
.criteria-table tr:nth-child(even) td { background: var(--bg); }
.criteria-table .check { color: var(--primary); font-weight: 700; }
.criteria-table .cross { color: #aaa; }

/* ── HEADER NAV ACTIVE STATE ── */
.header-nav a.active { color: white; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }

/* ── MOBILE NAV OPEN ── */
@media (max-width: 640px) {
  .header-nav.open {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 62px;
    left: 0;
    right: 0;
    background: var(--dark);
    padding: 1rem 1.5rem;
    z-index: 99;
    border-top: 1px solid rgba(255,255,255,0.1);
    gap: 0.5rem;
  }
  .header-nav.open a { padding: 0.5rem 0; font-size: 0.95rem; }
  .product-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .product-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 580px) {
  .product-grid { grid-template-columns: 1fr; }
}
