/* ============================================================
   LEISTUNGEN-PAGE.CSS — individual service category pages
   ============================================================ */

/* ── Hero ────────────────────────────────────────────────── */
.lp-hero {
  position: relative;
  min-height: 42vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 8rem 0 4rem;
}

.lp-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0f0f1a 0%, #1a0508 60%, #0d0d0d 100%);
  z-index: 0;
}

.lp-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(179,10,24,0.12) 0%, transparent 65%),
    radial-gradient(ellipse at 20% 80%, rgba(179,10,24,0.06) 0%, transparent 50%);
}

.lp-hero-bg::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(179,10,24,0.4), transparent);
}

.lp-hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.lp-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.45);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
  width: fit-content;
}

.lp-breadcrumb:hover { color: var(--color-primary); }
.lp-breadcrumb i { font-size: 0.75rem; }

.lp-category-tag {
  display: inline-block;
  padding: 4px 14px;
  border: 1px solid rgba(179,10,24,0.5);
  border-radius: 100px;
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  width: fit-content;
}

.lp-hero-content h1 {
  font-family: var(--font-accent);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  color: var(--color-white);
  line-height: 1.1;
  margin: 0;
}

.lp-hero-desc {
  max-width: 600px;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
  margin: 0;
}

/* ── Products Section ────────────────────────────────────── */
.lp-products {
  background: var(--color-darker);
  padding: clamp(4rem, 7vw, 6rem) 0;
}

.lp-section-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 2.5rem;
}

.lp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
}

/* ── Ghost Image Card ────────────────────────────────────── */
.lp-item-card {
  border-radius: 16px;
  overflow: hidden;
  background: #111118;
  border: 1px solid rgba(255,255,255,0.06);
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.lp-item-card:hover {
  border-color: rgba(179,10,24,0.45);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

/* Ghost image area */
.lp-item-ghost {
  width: 100%;
  aspect-ratio: 4 / 3;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #18181f 0%, #0f0f14 100%);
}

.lp-item-ghost::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(179,10,24,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 75% 75%, rgba(255,255,255,0.02) 0%, transparent 50%);
}

/* ghost shimmer animation */
.lp-item-ghost::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255,255,255,0.03) 50%,
    transparent 100%
  );
  animation: ghostShimmer 2.4s ease-in-out infinite;
}

@keyframes ghostShimmer {
  0%   { left: -100%; }
  100% { left: 160%; }
}

.lp-item-ghost > i {
  font-size: 2.5rem;
  color: rgba(255,255,255,0.1);
  position: relative;
  z-index: 1;
  transition: color 0.3s ease, transform 0.3s ease;
}

.lp-item-card:hover .lp-item-ghost > i {
  color: rgba(179,10,24,0.35);
  transform: scale(1.1);
}

/* real image (if provided) */
.lp-item-ghost img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.lp-item-card:hover .lp-item-ghost img {
  transform: scale(1.05);
}

/* Info strip */
.lp-item-info {
  padding: 0.9rem 1rem 1rem;
  background: #0e0e14;
}

.lp-item-accent {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  margin-bottom: 0.6rem;
}

.lp-item-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-white);
  margin: 0;
  line-height: 1.35;
}

/* ── CTA Section ─────────────────────────────────────────── */
.lp-cta {
  background: linear-gradient(135deg, rgba(179,10,24,0.1), rgba(255,255,255,0.04));
  border-top: 1px solid rgba(179,10,24,0.2);
  padding: clamp(4rem, 7vw, 6rem) 0;
  text-align: center;
}

.lp-cta h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
}

.lp-cta p {
  color: rgba(255,255,255,0.55);
  font-size: 1rem;
  margin-bottom: 2rem;
}

.lp-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--color-primary);
  color: #fff;
  padding: 0.9rem 2rem;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.lp-cta-btn:hover {
  background: #e00d1f;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(179,10,24,0.4);
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .lp-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .lp-hero { padding: 7rem 0 3rem; min-height: auto; }
  .lp-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .lp-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
}
