/* ═══════════════════════════════════════════════
   SEO-UNTERSEITE — WebSalzhausen
   Nutzt CSS-Variablen aus der globalen style.css:
   --forest, --forest-mid, --moss, --sage, --cream,
   --sand, --amber, --amber-light, --white,
   --text-dark, --text-mid, --text-light
═══════════════════════════════════════════════ */

/* PERFORMANCE OPTIMIZATIONS */
#seo-stats, #seo-leistungen {
  content-visibility: auto;
  contain-intrinsic-size: 500px;
}

/* ─── HERO ─── */
#seo-hero {
  position: relative;
  background: var(--forest);
  padding: 160px 80px 100px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.seo-hero-content {
  position: relative; z-index: 2;
  max-width: 660px;
  flex: 1 1 auto;
}
#seo-hero h1 .highlight { color: var(--amber); }

/* ─── HERO-VISUAL: Browser-Mockup mit Säulendiagramm ─── */
#seo-hero .hero-visual {
  position: relative; z-index: 2;
  flex: 0 1 400px;
  padding: 0;
}
.seo-mock-title {
  font-family: 'Syne', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}
.seo-mock-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  height: 140px;
  padding: 0 4px;
}
.seo-mock-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  gap: 8px;
}
.seo-mock-col-bar {
  width: 100%;
  max-width: 26px;
  background: linear-gradient(180deg, var(--amber-light), var(--amber));
  border-radius: 5px 5px 2px 2px;
  height: 0%;
  transition: height 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.seo-mock-col-bar--peak {
  background: linear-gradient(180deg, var(--amber-light), var(--amber));
  box-shadow: 0 0 14px rgba(212,160,68,0.5);
}
.seo-mock-col-label {
  font-size: 0.62rem;
  font-weight: 500;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.02em;
}

/* ─── STATISTIK-SEKTION ─── */
#seo-stats {
  background: var(--forest);
  background-image:
    radial-gradient(circle at 15% 20%, rgba(212,160,68,0.08), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(74,124,89,0.15), transparent 45%);
  padding: 100px 80px;
  position: relative;
}
.seo-stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.seo-stats-heading {
  color: var(--white);
  max-width: 680px;
  margin: 0 auto 16px;
}
.seo-stats-intro {
  color: rgba(255,255,255,0.6);
  font-size: 1rem; line-height: 1.7; font-weight: 300;
  max-width: 560px;
  margin: 0 auto 64px;
}
.seo-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: stretch;
  text-align: center;
}
.seo-stat-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 44px 28px;
  backdrop-filter: blur(6px);
  transition: transform 0.25s, border-color 0.25s;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.seo-stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212,160,68,0.35);
}
.seo-stat-number {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  font-weight: 800;
  color: var(--amber);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1;
}
.seo-stat-label {
  font-size: 0.95rem; line-height: 1.65;
  color: rgba(255,255,255,0.75);
  font-weight: 300;
  max-width: 260px;
  margin: 0 auto;
}
.seo-stat-label strong {
  color: var(--white);
  font-weight: 600;
}
.seo-stats-footnote {
  margin-top: 40px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  font-weight: 300;
}

/* ─── BALKENDIAGRAMM-KARTE ─── */
.seo-stat-card--chart {
  text-align: left;
  align-items: stretch;
  justify-content: center;
}
.seo-chart-title {
  font-family: 'Syne', sans-serif;
  font-size: 0.95rem; font-weight: 700;
  color: var(--white);
  margin-bottom: 24px;
  text-align: center;
}
.seo-bar-chart {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 20px;
}
.seo-bar-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.seo-bar-row-label {
  width: 68px;
  flex-shrink: 0;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  text-align: right;
}
.seo-bar-track {
  flex: 1;
  background: rgba(255,255,255,0.08);
  border-radius: 100px;
  height: 30px;
  overflow: hidden;
  position: relative;
}
.seo-bar-fill {
  height: 100%;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 14px;
  width: 0%;
  transition: width 1.1s cubic-bezier(0.22, 1, 0.36, 1);
  white-space: nowrap;
}
.seo-bar-fill--organic {
  background: linear-gradient(90deg, var(--moss), var(--amber));
  box-shadow: 0 0 16px rgba(212,160,68,0.35);
}
.seo-bar-fill--paid {
  background: rgba(255,255,255,0.25);
}
.seo-bar-value {
  font-family: 'Syne', sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--forest); /* Besserer Kontrast für Barrierefreiheit */
}
.seo-bar-fill--paid .seo-bar-value {
  color: var(--white);
}
.seo-chart-footnote {
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.65);
  font-weight: 300;
  text-align: center;
}
.seo-chart-footnote strong {
  color: var(--amber-light);
  font-weight: 600;
}

/* ─── SEO-LEISTUNGEN GRID ─── */
#seo-leistungen {
  background: var(--white);
  padding: 100px 80px;
}
.seo-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.seo-feature-card {
  background: var(--cream);
  border-radius: 16px;
  padding: 36px 30px;
  transition: transform 0.25s, box-shadow 0.25s;
  border: 1px solid transparent;
}
.seo-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(26,58,42,0.1);
  border-color: var(--sand);
}
.seo-feature-icon {
  font-size: 2rem;
  margin-bottom: 18px;
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: var(--white);
  border-radius: 12px;
}
.seo-feature-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.15rem; font-weight: 700;
  color: var(--forest);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.seo-feature-card p {
  font-size: 0.92rem; line-height: 1.65;
  color: var(--text-light);
  font-weight: 400;
}

/* ─── CTA / PAKET-TEASER ─── */
#seo-cta {
  background: var(--cream);
  padding: 100px 80px 120px;
  display: flex;
  justify-content: center;
}
.seo-cta-box {
  background: var(--forest);
  background-image: radial-gradient(circle at 80% 20%, rgba(212,160,68,0.12), transparent 55%);
  border-radius: 24px;
  padding: 72px 60px;
  max-width: 720px;
  width: 100%;
  text-align: center;
  box-shadow: 0 24px 60px rgba(26,58,42,0.25);
}
.seo-cta-icon {
  font-size: 2.6rem;
  margin-bottom: 20px;
}
.seo-cta-box h2 {
  color: var(--white);
  max-width: 100%;
  margin-bottom: 16px;
}
.seo-cta-box p {
  color: rgba(255,255,255,0.7);
  font-size: 1.02rem; line-height: 1.7;
  font-weight: 300;
  max-width: 560px;
  margin: 0 auto 36px;
}
.seo-cta-box p em {
  color: var(--amber-light);
  font-style: normal;
  font-weight: 500;
}

/* ═══════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  #seo-hero { padding: 140px 40px 80px; flex-direction: column; align-items: stretch; }
  .seo-hero-content { max-width: 100%; }
  #seo-hero .hero-visual { max-width: 100%; }
  #seo-stats, #seo-leistungen, #seo-cta { padding-left: 40px; padding-right: 40px; }
  .seo-stats-grid { grid-template-columns: 1fr; gap: 20px; }
  .seo-stat-card--chart { order: -1; }
  .seo-feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  #seo-hero { padding: 120px 20px 64px; }
  #seo-stats, #seo-leistungen, #seo-cta { padding: 64px 20px; }
  .seo-feature-grid { grid-template-columns: 1fr; }
  .seo-cta-box { padding: 48px 28px; border-radius: 18px; }
  .seo-stat-card { padding: 32px 20px; }
  .seo-bar-row-label { width: 56px; font-size: 0.72rem; }
  .seo-bar-track { height: 26px; }
  .seo-mock-chart { height: 110px; }
  .seo-mock-col-label { font-size: 0.56rem; }
}