/* ============================================
   BODOC – haus-zeichnen.css
   Page-specific styles for index.html
   ============================================ */

/* === HERO SECTION === */
.hero {
  background: #000;
  color: #fff;
  padding: 6rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  display: block;
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 50px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 50'%3E%3Cpath d='M0,30 C200,50 400,10 600,30 C800,50 1000,10 1200,30 L1200,50 L0,50 Z' fill='%23fff'/%3E%3C/svg%3E") no-repeat bottom;
  background-size: 100% 100%;
  z-index: 1;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  background: #fd2504;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.35rem 0.85rem;
  margin-bottom: 1.5rem;
}

.hero h1 {
  color: #fff;
  margin-bottom: 1.25rem;
}

.hero h1 .highlight {
  color: #fd2504;
}

.hero-sub {
  font-size: 1.15rem;
  color: #ccc;
  margin-bottom: 2rem;
  max-width: 50ch;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.hero-trust {
  margin-top: 2.5rem;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #aaa;
}

.hero-trust-item .icon {
  color: #fd2504;
}

.hero-image {
  position: relative;
}

.hero-image-placeholder {
  aspect-ratio: 4/3;
  background: #111;
  border: 3px dashed #fd2504;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #666;
  font-size: 0.85rem;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-image {
    display: none;
  }
  .hero {
    padding: 4rem 0 4rem;
  }
}

/* === PROBLEM SECTION === */
.section-problem {
  background: #fff;
  padding: 6rem 0 4rem;
}

.section-problem .intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.section-problem h2 {
  grid-column: 1 / -1;
  margin-bottom: 1rem;
}

.problem-text p {
  margin-bottom: 1rem;
  color: #333;
}

.problem-callout {
  background: #000;
  color: #fff;
  padding: 2rem;
  border-left: 6px solid #fd2504;
}

.problem-callout p {
  color: #ccc;
  font-size: 1rem;
  margin-bottom: 0;
}

.problem-callout strong {
  color: #fd2504;
}

@media (max-width: 768px) {
  .section-problem .intro-grid {
    grid-template-columns: 1fr;
  }
}

/* === SERVICES SECTION === */
.section-services {
  background: #000;
  color: #fff;
  padding: 5rem 0;
  position: relative;
}

.section-services::before {
  content: '';
  display: block;
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 50px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 50'%3E%3Cpath d='M0,20 C200,0 400,40 600,20 C800,0 1000,40 1200,20 L1200,0 L0,0 Z' fill='%23fff'/%3E%3C/svg%3E") no-repeat top;
  background-size: 100% 100%;
  z-index: 1;
}

.section-services::after {
  content: '';
  display: block;
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 50px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 50'%3E%3Cpath d='M0,30 C200,50 400,10 600,30 C800,50 1000,10 1200,30 L1200,50 L0,50 Z' fill='%23f5f5f5'/%3E%3C/svg%3E") no-repeat bottom;
  background-size: 100% 100%;
  z-index: 1;
}

.section-services .container {
  position: relative;
  z-index: 2;
}

.section-services h2 {
  color: #fff;
  text-align: center;
  margin-bottom: 0.75rem;
}

.section-services .section-sub {
  color: #aaa;
  text-align: center;
  margin: 0 auto 3rem;
  font-size: 1.05rem;
}

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

.service-card {
  background: #111;
  padding: 2rem 1.75rem;
  border: 2px dashed #333;
  position: relative;
  transition: border-color 0.2s, transform 0.2s;
}

.service-card:hover {
  border-color: #fd2504;
  transform: translateY(-4px);
}

.service-card-icon {
  width: 52px;
  height: 52px;
  background: #fd2504;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.service-card h3 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.service-card p {
  color: #aaa;
  font-size: 0.9rem;
  max-width: none;
}

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

/* === PROCESS SECTION === */
.section-process {
  background: #f5f5f5;
  padding: 6rem 0 5rem;
  position: relative;
}

.section-process::after {
  content: '';
  display: block;
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 50px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 50'%3E%3Cpath d='M0,25 C300,5 600,45 900,25 C1050,15 1150,35 1200,25 L1200,50 L0,50 Z' fill='%23fff'/%3E%3C/svg%3E") no-repeat bottom;
  background-size: 100% 100%;
  z-index: 1;
}

.section-process .container {
  position: relative;
  z-index: 2;
}

.section-process h2 {
  text-align: center;
  margin-bottom: 0.75rem;
}

.process-intro {
  text-align: center;
  color: #555;
  margin: 0 auto 3.5rem;
  font-size: 1.05rem;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 2rem;
  left: 12%;
  right: 12%;
  height: 3px;
  background: repeating-linear-gradient(
    90deg,
    #fd2504 0,
    #fd2504 10px,
    transparent 10px,
    transparent 20px
  );
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 1rem;
}

.step-number {
  width: 4rem;
  height: 4rem;
  background: #fd2504;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  border: 4px solid #f5f5f5;
  position: relative;
  z-index: 1;
}

.process-step h3 {
  font-size: 0.95rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.875rem;
  color: #555;
  max-width: none;
  text-align: center;
}

@media (max-width: 768px) {
  .process-steps {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .process-steps::before { display: none; }
}

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

/* === HOUSE TYPES SECTION === */
.section-types {
  background: #fff;
  padding: 6rem 0 5rem;
}

.section-types h2 {
  text-align: center;
  margin-bottom: 0.75rem;
}

.types-sub {
  text-align: center;
  color: #555;
  margin: 0 auto 3rem;
  font-size: 1.05rem;
}

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

.type-card {
  border: 2px dotted #000;
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  cursor: default;
}

.type-card:hover {
  background: #000;
  color: #fff;
  border-color: #000;
}

.type-card:hover .type-icon {
  color: #fd2504;
}

.type-icon {
  color: #fd2504;
  margin: 0 auto 1rem;
  transition: color 0.2s;
}

.type-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.type-card p {
  font-size: 0.85rem;
  color: #555;
  max-width: none;
  transition: color 0.2s;
}

.type-card:hover p {
  color: #aaa;
}

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

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

/* === CTA BANNER === */
.section-cta-banner {
  background: #fd2504;
  color: #fff;
  padding: 5rem 0;
  position: relative;
  text-align: center;
  overflow: hidden;
}

.section-cta-banner::before,
.section-cta-banner::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 50px;
  background-size: 100% 100%;
}

.section-cta-banner::before {
  top: -1px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 50'%3E%3Cpath d='M0,25 C300,45 600,5 900,25 C1050,35 1150,15 1200,25 L1200,0 L0,0 Z' fill='%23fff'/%3E%3C/svg%3E") no-repeat top;
}

.section-cta-banner::after {
  bottom: -1px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 50'%3E%3Cpath d='M0,25 C300,5 600,45 900,25 C1050,15 1150,35 1200,25 L1200,50 L0,50 Z' fill='%23000'/%3E%3C/svg%3E") no-repeat bottom;
}

.section-cta-banner .container {
  position: relative;
  z-index: 2;
}

.section-cta-banner h2 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1rem;
}

.section-cta-banner p {
  color: rgba(255,255,255,0.9);
  font-size: 1.15rem;
  margin: 0 auto 2rem;
}

.cta-banner-deco {
  position: absolute;
  top: 50%;
  left: 5%;
  transform: translateY(-50%);
  opacity: 0.08;
  font-size: 15rem;
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.05em;
}

/* === BENEFITS SECTION === */
.section-benefits {
  background: #000;
  color: #fff;
  padding: 6rem 0 5rem;
  position: relative;
}

.section-benefits::after {
  content: '';
  display: block;
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 50px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 50'%3E%3Cpath d='M0,20 C200,40 500,5 700,25 C900,45 1100,10 1200,25 L1200,50 L0,50 Z' fill='%23fff'/%3E%3C/svg%3E") no-repeat bottom;
  background-size: 100% 100%;
  z-index: 1;
}

.section-benefits .container {
  position: relative;
  z-index: 2;
}

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

.benefits-text h2 {
  color: #fff;
  margin-bottom: 1.5rem;
}

.benefits-text p {
  color: #aaa;
  margin-bottom: 1.5rem;
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.benefit-icon {
  width: 36px;
  height: 36px;
  background: #fd2504;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.benefit-item h4 {
  font-size: 0.9rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.benefit-item p {
  font-size: 0.875rem;
  color: #aaa;
  max-width: none;
  margin: 0;
}

@media (max-width: 768px) {
  .benefits-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* === FAQ SECTION === */
.section-faq {
  background: #fff;
  padding: 6rem 0 5rem;
}

.section-faq h2 {
  text-align: center;
  margin-bottom: 0.75rem;
}

.faq-intro {
  text-align: center;
  color: #555;
  margin: 0 auto 3rem;
  font-size: 1.05rem;
}

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

/* === FOOTER CTA === */
.section-footer-cta {
  background: #000;
  color: #fff;
  padding: 4rem 0 3rem;
  text-align: center;
  border-top: 3px dashed #fd2504;
}

.section-footer-cta h2 {
  color: #fff;
  margin-bottom: 1rem;
}

.section-footer-cta p {
  color: #aaa;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
}
