/* ==========================================
   KONFIGURATOR SHOWCASE SECTION
   Royal Bronze Theme
   ========================================== */

.konfig-showcase {
  position: relative;
  padding: 120px 20px;
  background: transparent;
  overflow: hidden;
}

.konfig-showcase-container {
  max-width: 2100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* ── Video side ── */
.konfig-showcase-media {
  position: relative; z-index: 1;
  will-change: transform;
  transition: transform 0.1s ease-out;
}

.konfig-video-wrapper {
  position: relative;
  width: 100%; aspect-ratio: 870 / 490; max-width: 870px;
  border-radius: 24px; overflow: hidden;
  box-shadow: 0 24px 80px rgba(44,62,80,0.25), 0 0 0 1px rgba(176,141,87,0.2);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.konfig-video-wrapper:hover {
  box-shadow: 0 32px 100px rgba(176,141,87,0.3), 0 0 0 1px rgba(176,141,87,0.4);
  transform: scale(1.02);
}

.konfig-video { width: 100%; height: 100%; object-fit: cover; display: block; }

.konfig-accent-image {
  position: absolute; width: 180px; height: 140px;
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 12px 40px rgba(44,62,80,0.3);
  border: 3px solid rgba(176,141,87,0.2);
  will-change: transform;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.konfig-accent-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.konfig-accent-image:hover img { transform: scale(1.1); }
.konfig-accent-top    { top: -100px; left: -40px; transform: rotate(-8deg); }
.konfig-accent-bottom { bottom: -20px; right: -40px; transform: rotate(6deg); }

/* ── Text side ── */
.konfig-showcase-content {
  position: relative; z-index: 2;
  will-change: transform, opacity;
  transition: transform 0.1s ease-out;
}

/* Title — Cormorant Garamond */
.konfig-showcase-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: var(--weight-h1);
  font-style: normal;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: #2C3E50;
  opacity: 0; transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

html[data-theme="dim"] .konfig-showcase-title { color: #B08D57; }

/* Subtitle — Inter */
.konfig-showcase-subtitle {
  font-family: var(--font-body);
  font-size: var(--text-label);
  font-weight: var(--weight-label);
  font-style: normal;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(44,62,80,0.6);
  margin: 0 0 32px;
  opacity: 0; transform: translateY(20px);
  animation: fadeInUp 0.8s ease 0.2s forwards;
}

html[data-theme="dim"] .konfig-showcase-subtitle { color: rgba(176,141,87,0.7); }

/* Description — Inter */
.konfig-showcase-description {
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: var(--weight-body);
  font-style: normal;
  line-height: 1.7;
  color: rgba(44,62,80,0.85);
  margin: 0 0 40px; max-width: 560px;
  opacity: 0; transform: translateY(20px);
  animation: fadeInUp 0.8s ease 0.4s forwards;
}

html[data-theme="dim"] .konfig-showcase-description { color: rgba(245,242,237,0.85); }

.konfig-showcase-features {
  display: flex; flex-direction: column;
  gap: 16px; margin-bottom: 48px;
}

/* Feature items — Inter */
.konfig-feature-item {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: var(--weight-button);
  font-style: normal;
  color: rgba(44,62,80,0.9);
  opacity: 0; transform: translateX(-20px);
  animation: slideInLeft 0.6s ease forwards;
}

.konfig-feature-item:nth-child(1) { animation-delay: 0.6s; }
.konfig-feature-item:nth-child(2) { animation-delay: 0.7s; }
.konfig-feature-item:nth-child(3) { animation-delay: 0.8s; }
.konfig-feature-item:nth-child(4) { animation-delay: 0.9s; }

html[data-theme="dim"] .konfig-feature-item { color: rgba(245,242,237,0.9); }

.konfig-feature-icon {
  display: flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 50%;
  background: rgba(176,141,87,0.15); color: #B08D57;
  font-size: 14px; transition: all 0.3s ease;
}

.konfig-feature-item:hover .konfig-feature-icon {
  background: rgba(176,141,87,0.25);
  transform: scale(1.15) rotate(10deg);
}

/* CTA — Inter (kursiv als Akzent erlaubt) */
.konfig-showcase-cta {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 0 0 4px;
  background: none; border: none;
  border-bottom: 2px solid currentColor;
  color: #2C3E50;
  font-family: var(--font-body);
  font-size: var(--text-lead);
  font-weight: var(--weight-button);
  font-style: italic;
  letter-spacing: 0.02em;
  text-decoration: none; cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0; transform: translateY(20px);
  animation: fadeInUp 0.8s ease 1s forwards;
}

html[data-theme="dim"] .konfig-showcase-cta { color: #B08D57; }

.konfig-showcase-cta:hover { color: #B08D57; border-bottom-color: #B08D57; transform: translateY(-1px); }
html[data-theme="dim"] .konfig-showcase-cta:hover { color: #d4b07a; border-bottom-color: #d4b07a; }
.konfig-showcase-cta svg { transition: transform 0.3s ease; }
.konfig-showcase-cta:hover svg { transform: translateX(4px); }

@keyframes fadeInUp   { to { opacity: 1; transform: translateY(0); } }
@keyframes slideInLeft { to { opacity: 1; transform: translateX(0); } }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .konfig-showcase-container { grid-template-columns: 1fr; gap: 60px; }
  .konfig-showcase-media    { order: 2; }
  .konfig-showcase-content  { order: 1; text-align: center; }
  .konfig-showcase-description { margin-left: auto; margin-right: auto; }
  .konfig-showcase-features { align-items: center; }
  .konfig-video-wrapper     { max-width: 100%; width: 100%; }
}

@media (max-width: 768px) {
  .konfig-showcase            { padding: 80px 20px; }
  .konfig-video-wrapper       { width: 100%; border-radius: 16px; }
  .konfig-accent-image        { width: 120px; height: 90px; }
  .konfig-accent-top          { left: -20px; }
  .konfig-accent-bottom       { right: -20px; }
}

@media (max-width: 480px) {
  .konfig-video-wrapper  { border-radius: 12px; }
  .konfig-accent-image   { display: none; }
  .konfig-showcase-cta   { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .konfig-showcase-media, .konfig-showcase-content,
  .konfig-accent-image, .konfig-video-wrapper,
  .konfig-showcase-title, .konfig-showcase-subtitle,
  .konfig-showcase-description, .konfig-feature-item,
  .konfig-showcase-cta {
    animation: none !important; transition: none !important;
    opacity: 1 !important; transform: none !important;
  }
}