/* ═══════════════════════════════════════════════
   WEBDESIGN-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 */
#wd-leistungen, #wd-stats, #wd-ablauf {
  content-visibility: auto;
  contain-intrinsic-size: 500px;
}

/* ─── BREADCRUMB ─── */
.wd-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.85rem; font-weight: 400;
  color: rgba(255,255,255,0.55);
  margin-bottom: 28px;
}
.wd-breadcrumb a {
  color: rgba(255,255,255,0.7); text-decoration: none;
  transition: color 0.2s;
}
.wd-breadcrumb a:hover { color: var(--amber-light); }
.wd-breadcrumb span[aria-current] { color: var(--amber-light); }

/* ─── HERO ─── */
#wd-hero {
  position: relative;
  background: var(--forest);
  padding: 160px 80px 100px;
  overflow: hidden;
}
.wd-hero-content {
  position: relative; z-index: 2;
  max-width: 720px;
}
#wd-hero h1 .highlight { color: var(--amber); }

/* ─── LEISTUNGEN GRID ─── */
#wd-leistungen {
  background: var(--white);
  padding: 100px 80px;
}
.wd-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.wd-feature-card {
  background: var(--cream);
  border-radius: 16px;
  padding: 36px 30px;
  transition: transform 0.25s, box-shadow 0.25s;
  border: 1px solid transparent;
}
.wd-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(26,58,42,0.1);
  border-color: var(--sand);
}
.wd-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;
}
.wd-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;
}
.wd-feature-card p {
  font-size: 0.92rem; line-height: 1.65;
  color: var(--text-light);
  font-weight: 400;
}

/* ─── STATISTIK-SEKTION ─── */
#wd-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;
}
.wd-stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.section-label--light {
  color: var(--amber-light);
}
.wd-stats-heading {
  color: var(--white);
  max-width: 640px;
  margin: 0 auto 64px;
}
.wd-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.wd-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;
}
.wd-stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212,160,68,0.35);
}
.wd-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;
}
.wd-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;
}
.wd-stat-label strong {
  color: var(--white);
  font-weight: 600;
}
.wd-stats-footnote {
  margin-top: 40px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  font-weight: 300;
}

/* ─── ABLAUF / STEPS ─── */
#wd-ablauf {
  background: var(--white);
  padding: 100px 80px;
}
.wd-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
}
.wd-step {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 8px 0;
  border-top: 2px solid var(--sand);
  padding-top: 24px;
}
.wd-step-num {
  font-family: 'Syne', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--amber);
  letter-spacing: -0.02em;
}
.wd-step h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.05rem; font-weight: 700;
  color: var(--forest);
  margin-bottom: 4px;
}
.wd-step p {
  font-size: 0.88rem; line-height: 1.6;
  color: var(--text-light);
  font-weight: 400;
}

/* ─── CTA / PAKET-TEASER ─── */
#wd-cta {
  background: var(--cream);
  padding: 100px 80px 120px;
  display: flex;
  justify-content: center;
}
.wd-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);
}
.wd-cta-icon {
  font-size: 2.6rem;
  margin-bottom: 20px;
}
.wd-cta-box h2 {
  color: var(--white);
  max-width: 100%;
  margin-bottom: 16px;
}
.wd-cta-box p {
  color: rgba(255,255,255,0.7);
  font-size: 1.02rem; line-height: 1.7;
  font-weight: 300;
  max-width: 480px;
  margin: 0 auto 36px;
}

/* ═══════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  #wd-hero { padding: 140px 40px 80px; }
  #wd-leistungen, #wd-stats, #wd-ablauf, #wd-cta { padding-left: 40px; padding-right: 40px; }
  .wd-feature-grid { grid-template-columns: repeat(2, 1fr); }
  .wd-stats-grid { grid-template-columns: 1fr; gap: 20px; }
  .wd-steps { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
}

@media (max-width: 640px) {
  #wd-hero { padding: 120px 20px 64px; }
  #wd-leistungen, #wd-stats, #wd-ablauf, #wd-cta { padding: 64px 20px; }
  .wd-feature-grid { grid-template-columns: 1fr; }
  .wd-steps { grid-template-columns: 1fr; gap: 32px; }
  .wd-cta-box { padding: 48px 28px; border-radius: 18px; }
  .wd-stat-card { padding: 32px 20px; }
  .wd-breadcrumb { flex-wrap: wrap; font-size: 0.78rem; }
}