/* ============================================================
   PAGE-SPECIFIC STYLES — einrichtungsplaner 3d (index.html)
   web-erhebung.de
   ============================================================ */

/* --- HERO SECTION --- */
.hero {
  position: relative;
  padding: 5rem 0 4rem;
  overflow: hidden;
  background: linear-gradient(135deg, #0a0e1a 0%, #0d1629 50%, #0a0e1a 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(59, 130, 246, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}

.hero__eyebrow-dot {
  width: 6px;
  height: 6px;
  background-color: #3b82f6;
  border-radius: 50%;
  display: inline-block;
}

.hero h1 {
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, #f9fafb 0%, #93c5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 1.125rem;
  color: #9ca3af;
  max-width: 640px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.hero__cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero__trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  color: #6b7280;
}

.hero__trust-item svg {
  color: #3b82f6;
}

/* --- INTRO SECTION --- */
.intro {
  background-color: #0a0e1a;
}

.intro .container--narrow {
  max-width: 760px;
}

.intro h2 {
  margin-bottom: 1.5rem;
}

.intro p {
  font-size: 1rem;
  color: #9ca3af;
  line-height: 1.8;
}

/* --- CRITERIA SECTION --- */
.criteria {
  background-color: #070b14;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  padding: 0 1.5rem;
}

.section-header h2 {
  margin-bottom: 0.75rem;
}

.section-header p {
  color: #6b7280;
  font-size: 0.9375rem;
}

.criteria-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.criteria-card {
  background-color: #111827;
  border: 1px solid #1e2d45;
  border-radius: 12px;
  padding: 1.5rem 1.25rem;
  text-align: center;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.criteria-card:hover {
  border-color: rgba(59, 130, 246, 0.35);
  transform: translateY(-2px);
}

.criteria-icon {
  width: 48px;
  height: 48px;
  background-color: rgba(59, 130, 246, 0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: #3b82f6;
}

.criteria-card h3 {
  font-size: 0.9375rem;
  margin-bottom: 0.5rem;
  color: #f9fafb;
}

.criteria-card p {
  font-size: 0.8125rem;
  color: #6b7280;
  margin: 0;
}

@media (max-width: 900px) {
  .criteria-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .criteria-grid {
    grid-template-columns: 1fr;
  }
}

/* --- COMPARISON TABLE SECTION --- */
.comparison {
  background-color: #0a0e1a;
}

.winner-row {
  background: linear-gradient(90deg, rgba(59,130,246,0.08) 0%, rgba(59,130,246,0.04) 100%) !important;
  border-left: 3px solid #3b82f6;
}

.winner-row td:first-child {
  color: #93c5fd !important;
}

.tool-name {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.score-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  font-size: 0.8125rem;
  font-weight: 700;
}

.score--top {
  background-color: rgba(59, 130, 246, 0.2);
  color: #93c5fd;
}

.score--high {
  background-color: rgba(16, 185, 129, 0.15);
  color: #6ee7b7;
}

.score--mid {
  background-color: rgba(245, 158, 11, 0.15);
  color: #fcd34d;
}

.star-row {
  color: #f59e0b;
  font-size: 0.875rem;
  white-space: nowrap;
}

.price-tag {
  font-size: 0.875rem;
  white-space: nowrap;
}

.price-free {
  color: #10b981;
  font-weight: 600;
}

.price-freemium {
  color: #3b82f6;
}

.price-paid {
  color: #9ca3af;
}

/* --- TESTSIEGER / FEATURED REVIEW --- */
.featured-review {
  background-color: #070b14;
}

.featured-card {
  background: linear-gradient(135deg, #111827 0%, #0f1a2e 100%);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 0 40px rgba(59, 130, 246, 0.1);
  max-width: 860px;
  margin: 0 auto;
}

.featured-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.featured-title-group h2 {
  font-size: 1.625rem;
  margin-bottom: 0.375rem;
}

.featured-title-group .subtitle {
  color: #6b7280;
  font-size: 0.875rem;
  margin: 0;
}

.featured-score {
  text-align: center;
  flex-shrink: 0;
}

.score-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #3b82f6;
  line-height: 1;
  display: block;
}

.score-label {
  font-size: 0.75rem;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-top: 0.25rem;
}

.featured-intro {
  color: #9ca3af;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid #1e2d45;
}

.review-pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 2rem;
  margin-bottom: 2rem;
}

.review-col h4 {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
  color: #6b7280;
}

.review-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.review-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9375rem;
  line-height: 1.4;
  color: #9ca3af;
}

.review-item--pro svg { color: #10b981; flex-shrink: 0; margin-top: 2px; }
.review-item--con svg { color: #ef4444; flex-shrink: 0; margin-top: 2px; }

.featured-cta {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid #1e2d45;
}

@media (max-width: 600px) {
  .featured-card {
    padding: 1.5rem;
  }

  .featured-header {
    flex-direction: column;
  }

  .featured-score {
    text-align: left;
  }

  .review-pros-cons {
    grid-template-columns: 1fr;
  }
}

/* --- OTHER REVIEWS --- */
.other-reviews {
  background-color: #0a0e1a;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.review-card {
  background-color: #111827;
  border: 1px solid #1e2d45;
  border-radius: 12px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color 0.2s ease;
}

.review-card:hover {
  border-color: rgba(59, 130, 246, 0.25);
}

.review-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.review-card h3 {
  font-size: 1.0625rem;
  color: #f9fafb;
}

.review-card-score {
  font-size: 1.125rem;
  font-weight: 700;
  color: #3b82f6;
}

.review-card p {
  font-size: 0.9rem;
  color: #9ca3af;
  line-height: 1.65;
  flex-grow: 1;
  margin: 0;
}

.review-card-tag {
  font-size: 0.8125rem;
  color: #6b7280;
  padding-top: 0.75rem;
  border-top: 1px solid #1e2d45;
}

.review-card-tag strong {
  color: #9ca3af;
}

@media (max-width: 900px) {
  .reviews-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

/* --- GUIDE / USE CASES --- */
.guide {
  background-color: #070b14;
}

.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.use-case-card {
  background-color: #111827;
  border: 1px solid #1e2d45;
  border-radius: 12px;
  padding: 1.75rem;
  transition: border-color 0.2s ease;
}

.use-case-card:hover {
  border-color: rgba(59, 130, 246, 0.25);
}

.use-case-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.use-case-card h3 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  color: #f9fafb;
}

.use-case-card p {
  font-size: 0.9rem;
  color: #9ca3af;
  margin: 0;
  line-height: 1.65;
}

@media (max-width: 900px) {
  .use-cases-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .use-cases-grid {
    grid-template-columns: 1fr;
  }
}

/* --- FAQ --- */
.faq {
  background-color: #0a0e1a;
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

/* --- CTA BANNER --- */
.cta-banner {
  background: linear-gradient(135deg, #1a2a4a 0%, #0f1d38 50%, #0d1629 100%);
  border-top: 1px solid rgba(59, 130, 246, 0.2);
  border-bottom: 1px solid rgba(59, 130, 246, 0.2);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner__inner {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.cta-banner h2 {
  margin-bottom: 1rem;
}

.cta-banner p {
  color: #9ca3af;
  margin-bottom: 2rem;
  font-size: 1.0625rem;
}
