/* ── DT Industrieservice UG – Shared Styles for Detail Pages ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { width: 100%; overflow-x: hidden; }
body { font-family: 'Figtree', sans-serif; color: #1e2d4e; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

:root {
  --navy: #0c2756; --navy-mid: #0f3068; --light-blue: #dce8f6;
  --text-dark: #1e2d4e; --text-mid: #64748b; --accent: #2563eb;
  --radius: 0.75rem; --max-w: 1240px;
}

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }

.btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.7rem 1.75rem; border-radius: 100px; font-family: inherit;
  font-size: 0.9rem; font-weight: 600; cursor: pointer;
  transition: transform 0.25s, filter 0.25s; border: none;
}
.btn:hover { transform: translateY(-2px); filter: brightness(92%); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }

.section-label {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--navy); margin-bottom: 1rem;
}
.section-label::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #e53e3e; flex-shrink: 0; }
.section-label.light { color: rgba(255,255,255,0.65); }
.section-label.light::before { background: rgba(255,255,255,0.5); }

/* ── Nav ── */
.nav { position: sticky; top: 0; z-index: 999; background: var(--navy); box-shadow: 0 2px 20px rgba(0,0,0,0.25); }
.nav-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; display: flex; align-items: center; height: 68px; gap: 2rem; }
.nav-logo { display: flex; align-items: center; flex-shrink: 0; gap: 0.75rem; }
.nav-logo img { height: 44px; width: 44px; border-radius: 6px; object-fit: cover; }
.nav-logo-text { color: #fff; font-weight: 800; font-size: 0.95rem; letter-spacing: 0.03em; line-height: 1.2; }
.nav-logo-text span { display: block; font-weight: 400; font-size: 0.72rem; color: rgba(255,255,255,0.6); letter-spacing: 0.06em; }
.nav-links { display: flex; list-style: none; gap: 1.75rem; flex: 1; align-items: center; }
.nav-links a { color: rgba(255,255,255,0.82); font-size: 0.875rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-right { display: flex; align-items: center; }
.btn-contact { background: #1a3b78; color: #fff; padding: 0.5rem 1.25rem; border-radius: 100px; font-size: 0.875rem; font-weight: 600; transition: background 0.2s; }
.btn-contact:hover { background: #234d9a; }

/* ── Hero (white, 2-col) ── */
.detail-hero { background: #fff; padding: clamp(3.5rem, 6vw, 5rem) 2rem 0; }
.detail-hero-inner { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; padding-bottom: clamp(3rem, 5vw, 4.5rem); }
.detail-hero-left h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 800; color: var(--text-dark); line-height: 1.1; margin-bottom: 1.25rem; }
.detail-hero-left p { font-size: 0.97rem; color: var(--text-mid); line-height: 1.75; max-width: 440px; }
.detail-hero-right img { width: 100%; border-radius: var(--radius); object-fit: cover; height: 400px; box-shadow: 0 12px 40px rgba(0,0,0,0.12); }

/* ── Statement (light-blue, centered) ── */
.detail-statement { background: var(--light-blue); padding: clamp(4rem, 7vw, 6rem) 2rem; text-align: center; }
.detail-statement .section-label { justify-content: center; margin-bottom: 0.75rem; }
.detail-statement h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; color: var(--text-dark); max-width: 700px; margin: 0 auto; line-height: 1.15; }

/* ── Why Section (white, 2-col) ── */
.detail-why { background: #fff; padding: clamp(4rem, 7vw, 6rem) 2rem; }
.detail-why-inner { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.detail-why-left h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: var(--text-dark); margin-bottom: 1rem; line-height: 1.2; }
.detail-why-left p { font-size: 0.93rem; color: var(--text-mid); line-height: 1.75; margin-bottom: 0.9rem; }
.detail-why-right img { width: 100%; border-radius: var(--radius); object-fit: cover; height: 380px; box-shadow: 0 12px 40px rgba(0,0,0,0.1); }

/* ── Use Cases (light-blue, 3 cards) ── */
.detail-usecases { background: var(--light-blue); padding: clamp(4rem, 7vw, 6rem) 2rem; }
.detail-usecases-inner { max-width: var(--max-w); margin: 0 auto; }
.detail-usecases .section-label { margin-bottom: 0.75rem; }
.detail-usecases h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800; color: var(--text-dark); margin-bottom: 2.5rem; }
.usecase-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.usecase-card { background: #fff; border-radius: var(--radius); padding: 2rem 1.75rem; }
.usecase-icon { width: 40px; height: 40px; background: var(--light-blue); border-radius: 0.5rem; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.usecase-icon svg { width: 20px; height: 20px; stroke: var(--navy); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.usecase-card h4 { font-size: 1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 0.6rem; }
.usecase-card p { font-size: 0.875rem; color: var(--text-mid); line-height: 1.65; }

/* ── Process (white intro + navy block) ── */
.detail-process-intro { background: #fff; padding: clamp(4rem, 7vw, 6rem) 2rem 3rem; text-align: center; }
.detail-process-intro .section-label { justify-content: center; margin-bottom: 0.75rem; }
.detail-process-intro h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800; color: var(--text-dark); margin-bottom: 0.75rem; }
.detail-process-intro p { font-size: 0.93rem; color: var(--text-mid); max-width: 600px; margin: 0 auto; line-height: 1.7; }

.detail-process-navy { background: var(--navy); padding: 0 2rem clamp(4rem, 7vw, 6rem); }
.detail-process-block { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; padding-top: clamp(3rem, 5vw, 4rem); }
.detail-process-block.reverse { direction: rtl; }
.detail-process-block.reverse > * { direction: ltr; }
.process-left h3 { font-size: 1.5rem; font-weight: 800; color: #fff; margin-bottom: 1rem; }
.process-left p { font-size: 0.9rem; color: rgba(255,255,255,0.75); line-height: 1.7; margin-bottom: 1.25rem; }
.process-list { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.process-list li { display: flex; align-items: center; gap: 0.65rem; font-size: 0.9rem; color: rgba(255,255,255,0.85); }
.process-list li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.5); flex-shrink: 0; }
.process-right img { width: 100%; border-radius: var(--radius); object-fit: cover; max-height: 360px; }

/* ── CTA (Collaborate) ── */
.collaborate { background: var(--light-blue); padding: clamp(4rem, 7vw, 6rem) 2rem; }
.collaborate-inner { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.collaborate-left h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800; color: var(--text-dark); line-height: 1.2; margin-bottom: 1rem; }
.collaborate-left p { color: var(--text-mid); font-size: 0.92rem; margin-bottom: 1.75rem; }
.collaborate-right img { width: 100%; border-radius: var(--radius); object-fit: cover; height: 400px; box-shadow: 0 12px 40px rgba(0,0,0,0.12); }

/* ── Footer ── */
footer { background: var(--navy); color: #fff; padding: 4rem 2rem 0; }
.footer-inner { max-width: var(--max-w); margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-logo { display: flex; align-items: center; gap: 0.65rem; margin-bottom: 1rem; }
.footer-logo img { height: 40px; width: 40px; border-radius: 6px; object-fit: cover; }
.footer-logo-text { color: #fff; font-weight: 800; font-size: 0.9rem; line-height: 1.2; }
.footer-logo-text span { display: block; font-weight: 400; font-size: 0.7rem; color: rgba(255,255,255,0.55); }
.footer-brand-desc { font-size: 0.83rem; color: rgba(255,255,255,0.58); margin-bottom: 1.5rem; line-height: 1.7; max-width: 280px; }
.footer-col h4 { font-size: 0.88rem; font-weight: 700; margin-bottom: 1rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a { font-size: 0.82rem; color: rgba(255,255,255,0.58); transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 1.25rem 0; font-size: 0.78rem; color: rgba(255,255,255,0.45); flex-wrap: wrap; gap: 0.75rem; }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { color: rgba(255,255,255,0.45); transition: color 0.2s; }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.8); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .detail-hero-inner, .detail-why-inner, .detail-process-block, .collaborate-inner { grid-template-columns: 1fr; gap: 2rem; }
  .detail-process-block.reverse { direction: ltr; }
  .usecase-cards { grid-template-columns: 1fr; }
  .detail-hero-right img, .detail-why-right img { height: 260px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 580px) {
  .footer-top { grid-template-columns: 1fr; }
}
