/* ============================================================
   OG Hildesheimer Börde — Main Page Specific Styles
   Page: grundriss-grundstück (index.html)
   ============================================================ */

/* --- Hero Section --- */
.hero {
  background: #0a0a0a;
  padding: 6rem 0 0;
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: radial-gradient(ellipse at top right, rgba(253, 37, 4, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fd2504;
  margin-bottom: 1.5rem;
  border: 1px dashed rgba(253, 37, 4, 0.4);
  padding: 0.4rem 0.8rem;
}

.hero__headline {
  max-width: 850px;
  margin-bottom: 1.5rem;
}

.hero__headline mark {
  background: none;
  color: #fd2504;
}

.hero__subtitle {
  font-size: 1.15rem;
  color: #999;
  max-width: 620px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

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

.hero__trust {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: #666;
}

.hero__trust .icon { color: #fd2504; }

/* Hero bottom rough divider */
.hero__divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin-top: -1px;
}

/* --- Why Section --- */
.why-section {
  background: #111111;
  padding: 5rem 0;
}

.why-section .section-intro {
  max-width: 660px;
  margin-bottom: 3rem;
}

.why-section p { font-size: 1.05rem; }

/* --- Services Section --- */
.services-section {
  background: #0a0a0a;
  padding: 5rem 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.service-card {
  background: #111;
  border: 2px dashed rgba(253, 37, 4, 0.35);
  padding: 2.5rem 2rem;
  position: relative;
  transition: border-color 0.2s;
}

.service-card:hover {
  border-color: rgba(253, 37, 4, 0.7);
}

.service-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 2rem;
  width: 60px;
  height: 3px;
  background: #fd2504;
}

.service-card__icon {
  width: 52px;
  height: 52px;
  color: #fd2504;
  margin-bottom: 1.5rem;
}

.service-card__title {
  font-size: 1.2rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 0.75rem;
}

.service-card__text {
  font-size: 0.9rem;
  color: #888;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.service-card__link {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fd2504;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* --- How It Works Section --- */
.how-section {
  background: #0d0d0d;
  padding: 5rem 0;
  border-top: 1px dashed rgba(255,255,255,0.06);
  border-bottom: 1px dashed rgba(255,255,255,0.06);
}

.how-section .section-header {
  max-width: 640px;
  margin-bottom: 3.5rem;
}

.how-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.how-image-placeholder {
  background: #161616;
  border: 2px dashed rgba(253, 37, 4, 0.3);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  color: #444;
  font-size: 0.85rem;
  text-align: center;
  padding: 2rem;
}

.how-image-placeholder .icon { color: #333; width: 48px; height: 48px; }

/* --- Audience Section --- */
.audience-section {
  background: #0a0a0a;
  padding: 5rem 0;
}

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

.audience-card {
  background: #111;
  padding: 2rem;
  border-left: 3px solid #fd2504;
  border-top: 1px dotted rgba(253, 37, 4, 0.25);
  border-right: 1px dotted rgba(255,255,255,0.06);
  border-bottom: 1px dotted rgba(255,255,255,0.06);
}

.audience-card__label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fd2504;
  margin-bottom: 0.6rem;
}

.audience-card__title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.6rem;
}

.audience-card__text {
  font-size: 0.9rem;
  color: #888;
  margin: 0;
}

/* --- Local Section --- */
.local-section {
  background: #111;
  padding: 5rem 0;
}

.local-box {
  border: 2px dotted rgba(253, 37, 4, 0.4);
  padding: 2.5rem;
  margin-top: 2.5rem;
  display: flex;
  gap: 3rem;
  align-items: center;
  flex-wrap: wrap;
}

.local-box__stat {
  text-align: center;
  flex: 1;
  min-width: 120px;
}

.local-box__stat .stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: #fd2504;
  display: block;
  line-height: 1;
}

.local-box__stat .stat-label {
  font-size: 0.8rem;
  color: #777;
  margin-top: 0.4rem;
  display: block;
}

/* --- Tool Spotlight Section --- */
.tool-section {
  background: #0a0a0a;
  padding: 5rem 0;
}

.tool-spotlight {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.tool-badge {
  display: inline-block;
  background: #fd2504;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  margin-bottom: 1rem;
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
}

.tool-name {
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 1rem;
}

.tool-name a { color: #fff; }
.tool-name a:hover { color: #fd2504; }

.tool-compare {
  margin-top: 2.5rem;
}

.tool-compare h4 {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #666;
  margin-bottom: 1rem;
}

/* --- Storytelling Section --- */
.story-section {
  background: #0d0d0d;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.story-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(253,37,4,0.3), transparent);
}

.story-image-placeholder {
  background: #161616;
  border: 2px dashed rgba(255,255,255,0.08);
  border-radius: 0;
  aspect-ratio: 16/7;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  color: #333;
  font-size: 0.8rem;
  text-align: center;
  padding: 2rem;
  margin-top: 3rem;
}

/* --- FAQ Section --- */
.faq-section {
  background: #0a0a0a;
  padding: 5rem 0;
}

.faq-section .section-header {
  max-width: 620px;
  margin-bottom: 3rem;
}

/* --- Final CTA Section --- */
.cta-final {
  background: #fd2504;
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(0,0,0,0.05) 0px,
    rgba(0,0,0,0.05) 1px,
    transparent 1px,
    transparent 8px
  );
}

.cta-final > .container { position: relative; z-index: 1; }

.cta-final h2 {
  color: #ffffff;
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.cta-final p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

/* ============================================================
   RESPONSIVE — Page-Specific
   ============================================================ */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .tool-spotlight { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .hero { padding: 4rem 0 0; }
  .hero__cta-group { flex-direction: column; align-items: flex-start; }
  .services-grid { grid-template-columns: 1fr; }
  .how-layout { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr; }
  .local-box { flex-direction: column; gap: 2rem; }
}
