/* ── RICH CONTENT PAGES (3d.html, photogrammetrie.html, innov.html) ── */

body { line-height: 1.7; }

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--navy-light); }

/* ── SECTIONS ── */
.section { padding: 5rem 5vw; }
.section-light { background: var(--cream); }
.section-dark { background: var(--navy-dark); color: var(--white); }

.section h2 {
  font-family: 'Raleway', sans-serif;
  color: var(--navy-dark); font-size: 2.1rem; margin-bottom: 1.5rem;
  font-weight: 800;
}
.section-dark h2 { color: var(--white); }

.section p { max-width: 950px; color: var(--text-light); margin-bottom: 1rem; line-height: 1.75; }
.section ul li, .section ol li { color: var(--text-light); line-height: 1.75; margin-bottom: 0.4rem; }
.section-dark p { color: rgba(255,255,255,0.85); }

/* ── SERVICE HEADER ── */
.service-header {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 12rem 5vw 5rem;
  color: var(--white);
}
.header-content { max-width: 950px; }
.service-header h1 {
  font-family: 'Raleway', sans-serif;
  font-size: 3rem; margin-bottom: 1rem; font-weight: 800;
}
.service-header h1 em { font-style: normal; color: var(--gold); }
.service-header p { max-width: 850px; color: rgba(255,255,255,0.88); font-size: 1.1rem; }

/* ── CARDS ── */
.card {
  background: var(--cream);
  border-left: 4px solid var(--navy);
  padding: 1.6rem; margin: 1.5rem 0;
  border-radius: 6px;
  border: 1px solid var(--cream-dark);
  border-left: 4px solid var(--navy);
}
.card strong { color: var(--navy-dark); }

.highlight {
  background: #e8f2fb; padding: 1.2rem;
  border-radius: 6px; margin-top: 1.5rem; color: var(--navy-dark);
  border: 1px solid #c8dff4;
}
.warning {
  background: #fff8e6;
  border-left: 4px solid var(--gold);
  padding: 1.2rem; border-radius: 6px; margin-top: 1.5rem;
  border: 1px solid #f5e0b0;
  border-left: 4px solid var(--gold);
}

/* ── FEATURE GRID ── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem; margin-top: 2rem;
}
.feature-box {
  background: var(--white); padding: 1.8rem;
  border-radius: 8px;
  border: 1px solid rgba(26,95,160,0.1);
  box-shadow: 0 2px 12px rgba(10,35,64,0.05);
  transition: box-shadow 0.25s, transform 0.25s;
}
.feature-box:hover {
  box-shadow: 0 8px 28px rgba(10,35,64,0.1);
  transform: translateY(-3px);
}
.feature-box h3 {
  font-family: 'Raleway', sans-serif;
  color: var(--navy-dark); margin-bottom: 0.8rem; font-size: 1rem;
  font-weight: 700;
}
.feature-box p { font-size: 0.92rem; color: var(--text-light); }

/* ── STEPS ── */
.steps {
  counter-reset: step; list-style: none; padding-left: 0;
}
.steps li {
  counter-increment: step;
  background: var(--white); margin-bottom: 0.8rem;
  padding: 1rem 1rem 1rem 1.2rem;
  border-radius: 6px;
  border: 1px solid rgba(26,95,160,0.1);
  color: var(--text-light);
}
.steps li::before {
  content: counter(step);
  background: var(--navy); color: white;
  font-weight: bold; border-radius: 50%;
  padding: 4px 10px; margin-right: 12px;
  font-size: 0.85rem;
}

/* ── TABLE ── */
.table-wrap { overflow-x: auto; margin-top: 2rem; }
table { width: 100%; border-collapse: collapse; }
th {
  background: var(--navy); color: white;
  padding: 0.9rem 1rem; text-align: left;
  font-family: 'Raleway', sans-serif; font-size: 0.85rem;
  font-weight: 700;
}
td { padding: 0.85rem 1rem; border-bottom: 1px solid var(--cream-dark); color: var(--text-light); font-size: 0.9rem; }
tr:nth-child(even) td { background: var(--cream); }
tr:hover td { background: #deeaf6; }

/* ── FOOTER CTA ── */
.footer-cta {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: white; padding: 5rem 5vw; text-align: center;
}
.footer-cta h2 { color: white; }
.footer-cta p { color: rgba(255,255,255,0.8); max-width: 600px; margin: 1rem auto; }
.btn-gold {
  background: var(--gold); color: var(--dark);
  padding: 1rem 2.5rem; text-decoration: none;
  font-weight: 800; border-radius: 4px;
  display: inline-block; margin-top: 2rem;
  transition: background 0.2s, transform 0.2s;
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); }

/* ── 3D VIEWER (3d.html) ── */
.viewer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem; margin-top: 2rem;
}
.viewer-card {
  background: var(--white); border-radius: 10px; overflow: hidden;
  border: 1px solid rgba(26,95,160,0.1);
  box-shadow: 0 4px 20px rgba(10,35,64,0.07);
}
.viewer-3d { width: 100%; height: 280px; }
.viewer-3d iframe { width: 100%; height: 100%; border: none; display: block; }
.viewer-body { padding: 1.5rem; }
.viewer-body h3 { font-family: 'Raleway', sans-serif; color: var(--navy-dark); margin-bottom: 0.5rem; font-weight: 700; }
.viewer-body p { font-size: 0.9rem; color: var(--text-light); }

/* ── VIDEO HEADER (photogrammetrie.html) ── */
.service-header.video-header {
  position: relative; overflow: hidden;
  background: var(--navy-dark); padding: 12rem 5vw 5rem;
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; opacity: 0.35;
  pointer-events: none;
}
.video-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(13,61,122,0.7) 0%, rgba(26,95,160,0.5) 100%);
}
.service-header.video-header .header-content { position: relative; z-index: 2; }

/* ── MEDIA GRID (photogrammetrie.html) ── */
.media-grid { display: grid; gap: 2rem; margin-top: 2rem; }
.media-card {
  background: var(--white); border-radius: 10px; overflow: hidden;
  border: 1px solid rgba(26,95,160,0.1);
  box-shadow: 0 4px 20px rgba(10,35,64,0.07);
}
.media-card video { width: 100%; display: block; }
.media-body { padding: 1.5rem; }
.media-body h3 { font-family: 'Raleway', sans-serif; color: var(--navy-dark); margin-bottom: 0.5rem; font-weight: 700; }
.media-body p { font-size: 0.9rem; color: var(--text-light); }

/* ── PIPELINE (innov.html) ── */
.pipeline {
  display: flex; gap: 0; margin-top: 2rem; flex-wrap: wrap;
  border: 1px solid rgba(26,95,160,0.1); border-radius: 8px; overflow: hidden;
}
.pipeline-step {
  flex: 1; min-width: 160px; padding: 2rem 1.5rem;
  background: var(--white); text-align: center;
  border-right: 1px solid rgba(26,95,160,0.1);
  transition: background 0.25s;
}
.pipeline-step:last-child { border-right: none; }
.pipeline-step:hover { background: var(--cream); }
.pipeline-step span {
  display: block; font-size: 1.8rem; font-weight: 800;
  color: var(--navy); font-family: 'Raleway', sans-serif;
  opacity: 0.35; margin-bottom: 0.8rem;
}
.pipeline-step h3 { color: var(--navy-dark); font-family: 'Raleway', sans-serif; margin-bottom: 0.5rem; font-size: 0.95rem; }
.pipeline-step p { font-size: 0.82rem; color: var(--text-light); }

/* ── TECH STACK (innov.html) ── */
.tech-stack {
  display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1rem;
}
.tech-tag {
  background: var(--cream); color: var(--navy);
  padding: 0.35rem 0.9rem; border-radius: 20px;
  font-size: 0.8rem; font-weight: 600;
  border: 1px solid var(--cream-dark);
  transition: background 0.2s, color 0.2s;
}
.tech-tag:hover { background: var(--navy); color: white; }
.tech-tag.gold { background: #fff4e0; color: #a06010; border-color: #f5d898; }
.tech-tag.gold:hover { background: var(--gold); color: var(--dark); border-color: var(--gold); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .service-header h1 { font-size: 2rem; }
  .pipeline { flex-direction: column; }
  .pipeline-step { border-right: none; border-bottom: 1px solid rgba(26,95,160,0.1); }
  .viewer-grid, .feature-grid { grid-template-columns: 1fr; }
}
