/* ─── PRODUCT DETAIL PAGE ─── */

/* ── BREADCRUMB ── */
.pd-breadcrumb {
  padding: 90px 40px 0;
  font-size: .75rem;
  color: var(--text-muted);
}
.pd-breadcrumb-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
}
.pd-breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color .2s;
}
.pd-breadcrumb a:hover { color: var(--accent-cometa); }
.pd-breadcrumb-sep { color: var(--text-muted); opacity: .5; }
.pd-breadcrumb-brand.cometa { color: var(--accent-cometa); }
.pd-breadcrumb-brand.materialise { color: var(--accent-materialise); }
.pd-breadcrumb-current { color: var(--text-primary); font-weight: 500; }

/* ── PRODUCT HERO ── */
.pd-hero {
  padding: 40px 40px 80px;
}
.pd-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.pd-hero-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  object-fit: contain;
  background: linear-gradient(135deg, #1a1d2e 0%, #252a42 100%);
  padding: 24px;
}
.pd-hero-content.pd-hero-full {
  grid-column: 1 / -1;
  max-width: 700px;
}
.pd-hero-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}
.pd-title {
  font-family: 'Roboto Flex', sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.pd-tagline {
  font-size: 1.05rem;
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.65;
  margin-bottom: 20px;
}
.pd-hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 24px;
  flex-wrap: wrap;
}

/* Price badge */
.pd-price-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--accent-cometa);
  background: var(--accent-cometa-dim);
  padding: 8px 18px;
  border-radius: 100px;
  margin-top: 12px;
}
.pd-price-badge.materialise {
  color: var(--accent-materialise);
  background: var(--accent-materialise-dim);
}
.pd-price-badge svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ── DETAILS SECTION ── */
.pd-details {
  padding: 80px 40px;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.pd-details-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
}
.pd-description h2,
.pd-highlights h3 {
  font-family: 'Roboto Flex', sans-serif;
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 20px;
}
.pd-description p {
  font-size: .92rem;
  color: var(--text-secondary);
  line-height: 1.75;
  font-weight: 300;
}
.pd-highlights-list {
  list-style: none;
  padding: 0;
}
.pd-highlights-list li {
  position: relative;
  padding: 12px 0 12px 28px;
  border-bottom: 1px solid var(--border);
  font-size: .88rem;
  color: var(--text-primary);
  font-weight: 400;
}
.pd-highlights-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.pd-highlights-list li.cometa::before { background: var(--accent-cometa); }
.pd-highlights-list li.materialise::before { background: var(--accent-materialise); }

/* ── SPECS TABLES ── */
.pd-specs {
  padding: 80px 40px;
}
.pd-specs-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.pd-specs-inner > h2 {
  font-family: 'Roboto Flex', sans-serif;
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 40px;
}
.pd-spec-group {
  margin-bottom: 32px;
}
.pd-spec-group-title {
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.pd-spec-group-title.cometa { color: var(--accent-cometa); }
.pd-spec-group-title.materialise { color: var(--accent-materialise); }

.pd-spec-table {
  width: 100%;
  border-collapse: collapse;
}
.pd-spec-table tr {
  border-bottom: 1px solid var(--border);
}
.pd-spec-table td {
  padding: 12px 16px;
  font-size: .84rem;
  vertical-align: top;
}
.pd-spec-label {
  color: var(--text-muted);
  font-weight: 500;
  width: 40%;
  letter-spacing: .02em;
}
.pd-spec-value {
  color: var(--text-primary);
  font-weight: 400;
}

/* ── USE CASES ── */
.pd-usecases {
  padding: 48px 40px;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.pd-usecases-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.pd-usecases-inner h2 {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.pd-usecase-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.pd-usecase-tag {
  font-size: .72rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  padding: 5px 14px;
  border-radius: 100px;
}

/* ── RELATED PRODUCTS ── */
.pd-related {
  padding: 80px 40px;
}
.pd-related-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.pd-related-inner > h2 {
  font-family: 'Roboto Flex', sans-serif;
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 32px;
}
.pd-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
}
.pd-related-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-decoration: none;
  transition: border-color .25s, transform .2s;
  position: relative;
  overflow: hidden;
}
.pd-related-card::after {
  content: 'Produktdetails →';
  display: block;
  margin-top: 16px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--accent-cometa);
}
.pd-related-card.materialise::after {
  color: var(--accent-materialise);
}
.pd-related-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}
.pd-related-card.cometa::before { background: var(--accent-cometa); }
.pd-related-card.materialise::before { background: var(--accent-materialise); }
.pd-related-card:hover {
  border-color: rgba(255,255,255,.14);
  transform: translateY(-3px);
}
.pd-related-card h4 {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin: 12px 0 8px;
}
.pd-related-card p {
  font-size: .82rem;
  color: var(--text-secondary);
  line-height: 1.6;
  font-weight: 300;
}

/* ── CTA BANNER ── */
.pd-cta {
  padding: 80px 40px;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-deep) 0%, #0d1220 100%);
}
.pd-cta-inner {
  max-width: 600px;
  margin: 0 auto;
}
.pd-cta-inner h2 {
  font-family: 'Roboto Flex', sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--text-primary);
  margin-bottom: 12px;
}
.pd-cta-inner p {
  font-size: .92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 28px;
}

/* ── SENSOR GALLERY ── */
.pd-sensors {
  padding: 80px 40px;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.pd-sensors-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.pd-sensors-inner > h2 {
  font-family: 'Roboto Flex', sans-serif;
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 36px;
}

/* Sensor Cards Grid */
.pd-sensor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 48px;
}
.pd-sensor-card {
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
/* Sensor-Karten: kein Hover (nicht klickbar, rein informativ) */
.pd-sensor-img {
  background: linear-gradient(145deg, #181c30 0%, #1a1f35 100%);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  overflow: hidden;
}
.pd-sensor-img img {
  width: 100%;
  max-width: 320px;
  height: 180px;
  object-fit: contain;
  border-radius: 8px;
}
.pd-sensor-info {
  padding: 20px 24px 24px;
}
.pd-sensor-info h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.pd-sensor-type {
  display: inline-block;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.pd-sensor-card.cometa .pd-sensor-type { color: var(--accent-cometa); }
.pd-sensor-card.materialise .pd-sensor-type { color: var(--accent-materialise); }
.pd-sensor-info p {
  font-size: .82rem;
  color: var(--text-secondary);
  line-height: 1.65;
  font-weight: 300;
  margin-bottom: 14px;
}
.pd-sensor-specs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.pd-sensor-specs .spec-chip {
  font-size: .72rem;
  padding: 3px 10px;
}

/* Application Gallery Title */
.pd-sensors-app-title {
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* Application Images Grid */
.pd-sensor-app-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.pd-sensor-app-img {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.pd-sensor-app-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
/* App-Bilder: kein Zoom-Hover (nicht klickbar) */
.pd-sensor-app-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.7));
  color: var(--text-primary);
  font-size: .75rem;
  font-weight: 500;
  padding: 24px 14px 10px;
}

/* Hero Application Image */
.pd-sensor-hero-img {
  margin-top: 8px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.pd-sensor-hero-img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 400px;
}

/* ── PRODUCT FAQ ── */
.pd-faq {
  padding: 80px 40px;
  background: var(--bg-card);
}
.pd-faq-inner {
  max-width: 760px;
  margin: 0 auto;
}
.pd-faq h2 {
  font-family: 'Roboto Flex', sans-serif;
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 32px;
  text-align: center;
}

/* ── DOWNLOADS ── */
.pd-downloads {
  padding: 80px 40px;
  border-top: 1px solid var(--border);
}
.pd-downloads-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.pd-downloads-inner > h2 {
  font-family: 'Roboto Flex', sans-serif;
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 28px;
}
.pd-downloads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}
.pd-download-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color .25s, transform .2s;
}
.pd-download-item:hover {
  border-color: rgba(255,255,255,.14);
  transform: translateY(-2px);
}
.pd-download-icon {
  flex-shrink: 0;
}
.pd-download-item.cometa .pd-download-icon { color: var(--accent-cometa); }
.pd-download-item.materialise .pd-download-icon { color: var(--accent-materialise); }
.pd-download-label {
  font-size: .88rem;
  font-weight: 500;
  color: var(--text-primary);
}
.pd-download-type {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ── PRODUCT PAGE CONTACT FORM ── */
.pd-contact {
  padding: 80px 40px;
  background: linear-gradient(180deg, var(--bg-deep) 0%, #0d1220 100%);
}
.pd-contact-inner {
  max-width: 680px;
  margin: 0 auto;
}
.pd-contact-header {
  text-align: center;
  margin-bottom: 36px;
}
.pd-contact-header h2 {
  font-family: 'Roboto Flex', sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--text-primary);
  margin-bottom: 12px;
}
.pd-contact-header p {
  font-size: .92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-weight: 300;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .pd-breadcrumb { padding: 84px 24px 0; }
  .pd-hero { padding: 32px 24px 60px; }
  .pd-hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .pd-details { padding: 60px 24px; }
  .pd-details-inner { grid-template-columns: 1fr; gap: 40px; }
  .pd-specs { padding: 60px 24px; }
  .pd-sensors { padding: 60px 24px; }
  .pd-sensor-grid { grid-template-columns: 1fr; }
  .pd-related { padding: 60px 24px; }
  .pd-cta { padding: 60px 24px; }
  .pd-usecases { padding: 36px 24px; }
  .pd-faq { padding: 60px 24px; }
  .pd-downloads { padding: 60px 24px; }
  .pd-contact { padding: 60px 24px; }
}
@media (max-width: 580px) {
  .pd-hero-actions { flex-direction: column; align-items: stretch; text-align: center; }
  .pd-spec-label { width: 45%; }
  .pd-related-grid { grid-template-columns: 1fr; }
  .pd-downloads-grid { grid-template-columns: 1fr; }
}
