/* ============================================
   GLASPRODUKTE PAGE STYLES
   ============================================ */

/* Service Hero with Background Image */
.service-hero {
  position: relative;
  padding-top: calc(var(--header-height) + var(--space-16));
  padding-bottom: var(--space-20);
  background: linear-gradient(135deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.3) 100%);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Dark Overlay für bessere Lesbarkeit */
.service-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.4) 100%);
  z-index: 0;
}

.service-hero__grid {
  display: grid;
  gap: var(--space-8);
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (min-width: 1024px) {
  .service-hero__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.service-hero__content {
  max-width: 560px;
}

.service-hero__label {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  background: var(--color-primary);
  color: white;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-4);
}

.service-hero__title {
  font-size: var(--text-5xl);
  margin-bottom: var(--space-4);
  color: white;
}

.service-hero__text {
  font-size: var(--text-xl);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-6);
}

.service-hero__image {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
}

.service-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

/* Products Grid */
.products-grid {
  display: grid;
  gap: var(--space-6);
}

@media (min-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Product Card */
.product-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--surface-card);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.product-card__image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--color-neutral-200);
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slower);
}

.product-card:hover .product-card__image img {
  transform: scale(1.05);
}

.product-card__content {
  padding: var(--space-5);
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Text-Only Cards (für Veredelung) */
.product-card--text-only .product-card__content {
  padding: var(--space-6);
}

.product-card__icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  background: var(--color-primary-subtle);
  color: var(--color-primary);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-4);
}

.product-card__icon i {
  width: 28px;
  height: 28px;
}

.product-card__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-2);
  background: var(--color-accent);
  color: var(--color-neutral-900);
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  font-weight: 600;
  margin-bottom: var(--space-2);
  align-self: flex-start;
}

.product-card__badge i {
  width: 12px;
  height: 12px;
}

.product-card__title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-2);
}

.product-card__text {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  margin-bottom: var(--space-4);
  line-height: 1.6;
}

.product-card__features {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: auto;
}

.product-card__feature {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-2);
  background: var(--color-neutral-100);
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  color: var(--text-secondary);
}

.product-card__feature i {
  width: 12px;
  height: 12px;
}

/* Features Section */
.features-section {
  background: var(--color-neutral-100);
  padding: var(--space-16) 0;
}

.features-grid {
  display: grid;
  gap: var(--space-4);
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature-card {
  padding: var(--space-6);
  background: var(--surface-card);
  border-radius: var(--radius-xl);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.feature-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-3);
  display: grid;
  place-items: center;
  background: var(--color-primary-subtle);
  color: var(--color-primary);
  border-radius: var(--radius-lg);
}

.feature-card__icon i {
  width: 32px;
  height: 32px;
}

.feature-card__title {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
}

.feature-card__text {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: white;
  padding: var(--space-12);
  border-radius: var(--radius-2xl);
  text-align: center;
  box-shadow: var(--shadow-2xl);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 60%;
  height: 200%;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  z-index: 0;
}

.cta-banner * {
  position: relative;
  z-index: 1;
}

.cta-banner__title {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-4);
  color: white;
}

.cta-banner__text {
  font-size: var(--text-lg);
  opacity: 0.95;
  margin-bottom: var(--space-6);
  max-width: 600px;
  margin-inline: auto;
  color: white;
}

/* Responsive */
@media (max-width: 768px) {
  .service-hero__title {
    font-size: var(--text-3xl);
  }

  .service-hero__text {
    font-size: var(--text-base);
  }

  .cta-banner {
    padding: var(--space-10);
  }

  .cta-banner__title {
    font-size: var(--text-2xl);
  }

  .cta-banner__text {
    font-size: var(--text-base);
  }
}