/* ==================================================================
   LOVABLE WELCOME LAYOUT — 1:1 nach ModuleWelcome.tsx Screenshot
   ================================================================== */

/* ---------- Welcome Hero ---------- */
.welcome-hero {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-top: 120px;
}
.welcome-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.welcome-hero-bg::before {
  /* Gradient overlay left to right (text-side darker, portrait-side visible) */
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to right, var(--bg) 0%, rgba(8,6,10,0.95) 35%, rgba(8,6,10,0.5) 60%, rgba(8,6,10,0.3) 100%);
  z-index: 2;
}
.welcome-hero-bg::after {
  /* Bottom fade */
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--bg) 0%, rgba(8,6,10,0.4) 40%, transparent 100%);
  z-index: 2;
}
.welcome-hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 75% center;
  opacity: 0.85;
}

/* Subtle grid pattern */
.welcome-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(201, 169, 106, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 169, 106, 0.06) 1px, transparent 1px);
  background-size: 80px 80px;
  z-index: 3;
  pointer-events: none;
}

.welcome-hero-inner {
  position: relative;
  z-index: 5;
  padding-bottom: 80px;
  width: 100%;
}

.welcome-hero-content {
  max-width: 640px;
}

.welcome-badges {
  display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px;
}
.welcome-badge {
  display: inline-block;
  padding: 7px 16px;
  font-family: var(--font-grotesk);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-weight: 500;
}
.welcome-badge-gold {
  background: rgba(201, 169, 106, 0.12);
  border: 1px solid rgba(201, 169, 106, 0.4);
  color: var(--gold);
}
.welcome-badge-ghost {
  background: rgba(8, 6, 10, 0.5);
  border: 1px solid rgba(201, 169, 106, 0.18);
  color: var(--ink-soft);
}

.welcome-title {
  font-family: var(--font-modern);
  font-size: clamp(3rem, 6.5vw, 5.5rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 24px;
}
.welcome-title .text-gold { color: var(--gold); }

.welcome-subtitle {
  font-family: var(--font-modern);
  font-style: italic;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  color: rgba(201, 169, 106, 0.85);
  margin: 0 0 28px;
  font-weight: 400;
}

.welcome-description {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 36px;
  max-width: 560px;
}

.welcome-meta-row {
  display: flex; flex-wrap: wrap; gap: 28px;
  color: var(--ink-mute);
}
.welcome-meta-item {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink-soft);
}
.welcome-meta-item svg { color: var(--gold); flex-shrink: 0; }
.welcome-meta-item-gold { color: var(--gold); }

.welcome-hero-line {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent 0%, rgba(201, 169, 106, 0.4) 50%, transparent 100%);
  z-index: 4;
}

/* ---------- Video Section ---------- */
.welcome-video-section {
  padding: 80px 0 40px;
}
.welcome-video-wrap {
  max-width: 900px;
  margin: 0 auto;
}
.welcome-video {
  width: 100%;
  display: block;
  border-radius: 16px;
  border: 1px solid rgba(201, 169, 106, 0.2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 80px rgba(201, 169, 106, 0.05);
  background: var(--card);
}
.welcome-video-caption {
  text-align: center;
  margin-top: 20px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--ink-mute);
}

/* ---------- Main Content Grid ---------- */
.lov-main-section {
  padding: 80px 0 100px;
}
.lov-grid {
  display: grid;
  gap: 56px;
  grid-template-columns: 1fr;
  max-width: 1280px;
  margin: 0 auto;
}
@media (min-width: 1024px) {
  .lov-grid { grid-template-columns: 2fr 1fr; gap: 64px; }
}
.lov-main-col > * + * { margin-top: 64px; }

/* ---------- Corner Frame (decorative) ---------- */
.lov-corner {
  position: absolute;
  width: 64px;
  height: 64px;
  pointer-events: none;
  border-color: rgba(201, 169, 106, 0.4);
}
.lov-corner-sm { width: 48px; height: 48px; }
.lov-corner-thin { width: 32px; height: 32px; }
.lov-corner-tl {
  top: 0; left: 0;
  border-left: 2px solid;
  border-top: 2px solid;
  border-color: rgba(201, 169, 106, 0.4);
}
.lov-corner-br {
  bottom: 0; right: 0;
  border-right: 2px solid;
  border-bottom: 2px solid;
  border-color: rgba(201, 169, 106, 0.4);
}
.lov-corner-thin.lov-corner-tl { border-left-width: 1px; border-top-width: 1px; }
.lov-corner-thin.lov-corner-br { border-right-width: 1px; border-bottom-width: 1px; }

/* ---------- Welcome Box ---------- */
.lov-welcome-box {
  position: relative;
  background: rgba(20, 16, 26, 0.5);
  border: 1px solid rgba(201, 169, 106, 0.2);
  padding: 48px 40px;
}
.lov-section-title {
  font-family: var(--font-modern);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 28px;
}
.lov-section-title .text-gold { color: var(--gold); }
.lov-prose p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0 0 22px;
}
.lov-prose p:last-child { margin-bottom: 0; }
.lov-prose strong { color: var(--ink); font-weight: 600; }

/* ---------- Section Divider ---------- */
.lov-section-divider {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 40px;
}
.lov-divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent 0%, rgba(201, 169, 106, 0.3) 100%);
}
.lov-divider-line:last-child {
  background: linear-gradient(to left, transparent 0%, rgba(201, 169, 106, 0.3) 100%);
}
.lov-divider-label {
  font-family: var(--font-grotesk);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: rgba(201, 169, 106, 0.7);
  white-space: nowrap;
}

/* ---------- Kernwerte Grid ---------- */
.lov-values-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .lov-values-grid { grid-template-columns: 1fr 1fr; }
}
.lov-value-card {
  padding: 30px 28px;
  background: rgba(8, 6, 10, 0.4);
  border: 1px solid rgba(201, 169, 106, 0.1);
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}
.lov-value-card:hover {
  border-color: rgba(201, 169, 106, 0.3);
  background: rgba(8, 6, 10, 0.6);
}
.lov-value-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(201, 169, 106, 0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.lov-value-card:hover::before { opacity: 1; }
.lov-value-icon {
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(201, 169, 106, 0.35);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  margin-bottom: 22px;
  transition: all 0.4s;
}
.lov-value-card:hover .lov-value-icon {
  background: rgba(201, 169, 106, 0.12);
  border-color: rgba(201, 169, 106, 0.55);
}
.lov-value-title {
  font-family: var(--font-modern);
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 10px;
}
.lov-value-desc {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-mute);
  margin: 0;
}

/* ---------- Kursstruktur (Modules list) ---------- */
.lov-modules-list {
  display: flex; flex-direction: column; gap: 16px;
}
.lov-module-row {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  padding: 22px 26px;
  background: rgba(20, 16, 26, 0.4);
  border: 1px solid rgba(201, 169, 106, 0.1);
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}
.lov-module-row:not(.is-current):hover {
  border-color: rgba(201, 169, 106, 0.3);
}
.lov-module-row.is-current {
  background: rgba(201, 169, 106, 0.08);
  border-color: rgba(201, 169, 106, 0.4);
}
.lov-module-num {
  flex-shrink: 0;
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(8, 6, 10, 0.5);
  border: 1px solid rgba(201, 169, 106, 0.3);
  font-family: var(--font-modern);
  font-size: 19px;
  font-weight: 600;
  color: var(--ink-mute);
  transition: all 0.4s;
}
.lov-module-row.is-current .lov-module-num {
  background: rgba(201, 169, 106, 0.18);
  border-color: var(--gold);
  color: var(--gold);
}
.lov-module-row:hover .lov-module-num {
  border-color: rgba(201, 169, 106, 0.55);
}
.lov-module-body { flex: 1; }
.lov-module-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 14px; margin-bottom: 6px;
}
.lov-module-title {
  font-family: var(--font-modern);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  transition: color 0.3s;
}
.lov-module-row.is-current .lov-module-title { color: var(--gold); }
.lov-module-row:not(.is-current):hover .lov-module-title { color: var(--gold); }
.lov-module-lessons {
  flex-shrink: 0;
  font-family: var(--font-grotesk);
  font-size: 13px;
  color: var(--ink-faint);
}
.lov-module-desc {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-mute);
  margin: 0;
}
.lov-current-badge {
  display: inline-block;
  margin-top: 12px;
  padding: 5px 14px;
  background: rgba(201, 169, 106, 0.2);
  border: 1px solid rgba(201, 169, 106, 0.4);
  color: var(--gold);
  font-family: var(--font-grotesk);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

/* ---------- Usage Box ---------- */
.lov-usage-box {
  position: relative;
  background: rgba(20, 16, 26, 0.3);
  border: 1px solid rgba(201, 169, 106, 0.1);
  padding: 48px 44px;
}
.lov-usage-head {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 32px;
}
.lov-usage-head svg { color: var(--gold); }
.lov-usage-head h3 {
  font-family: var(--font-modern);
  font-size: 20px;
  font-weight: 600;
  color: var(--gold);
  margin: 0;
}
.lov-usage-list p {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0 0 22px;
}
.lov-usage-list p:last-child { margin-bottom: 0; }
.lov-usage-list strong { color: var(--ink); font-weight: 600; }

/* ---------- Quote ---------- */
.lov-quote {
  position: relative;
  padding: 56px 32px;
  text-align: center;
  margin: 0;
}
.lov-quote-line {
  position: absolute;
  left: 0; right: 0;
  top: 0; bottom: 0;
  border-top: 1px solid rgba(201, 169, 106, 0.25);
  border-bottom: 1px solid rgba(201, 169, 106, 0.25);
  pointer-events: none;
}
.lov-quote-mark {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 56px; height: 40px;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-modern);
  font-style: italic;
  font-size: 56px;
  color: var(--gold);
  line-height: 1;
}
.lov-quote-top { top: -20px; }
.lov-quote-bottom { bottom: -20px; }
.lov-quote p {
  font-family: var(--font-modern);
  font-style: italic;
  font-size: clamp(1.5rem, 2.5vw, 1.95rem);
  line-height: 1.5;
  color: rgba(244, 234, 215, 0.9);
  max-width: 640px;
  margin: 0 auto;
}

/* ---------- Sidebar ---------- */
.lov-sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
@media (min-width: 1024px) {
  .lov-sidebar {
    position: sticky;
    top: 120px;
    align-self: start;
  }
}

.lov-sidebar-card {
  position: relative;
  padding: 32px 28px;
  background: rgba(20, 16, 26, 0.5);
  border: 1px solid rgba(201, 169, 106, 0.2);
}
.lov-sidebar-title {
  font-family: var(--font-modern);
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 22px;
}
.lov-sidebar-list {
  list-style: none; padding: 0; margin: 0;
}
.lov-sidebar-list li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 0;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.lov-sidebar-list li svg {
  color: var(--gold); flex-shrink: 0; margin-top: 1px;
}

.lov-sidebar-cta {
  background: linear-gradient(140deg, rgba(201, 169, 106, 0.12) 0%, transparent 100%);
  border-color: rgba(201, 169, 106, 0.35);
}
.lov-cta-eyebrow {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 16px;
  color: var(--gold);
  font-family: var(--font-grotesk);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}
.lov-cta-eyebrow svg { color: var(--gold); }
.lov-cta-text {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-mute);
  margin: 0 0 22px;
}

.lov-btn {
  display: flex; align-items: center; justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px 18px;
  font-family: var(--font-grotesk);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s;
  border: 1px solid;
  cursor: pointer;
  margin-bottom: 12px;
}
.lov-btn:last-child { margin-bottom: 0; }
.lov-btn-primary {
  background: rgba(201, 169, 106, 0.15);
  border-color: var(--gold);
  color: var(--gold);
}
.lov-btn-primary:hover {
  background: rgba(201, 169, 106, 0.25);
}
.lov-btn-ghost {
  background: transparent;
  border-color: rgba(201, 169, 106, 0.3);
  color: var(--ink);
}
.lov-btn-ghost:hover {
  background: rgba(201, 169, 106, 0.08);
  border-color: var(--gold);
}

.lov-next-card {
  display: block;
  padding: 24px 22px;
  background: rgba(8, 6, 10, 0.5);
  border: 1px solid rgba(201, 169, 106, 0.12);
  text-decoration: none;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}
.lov-next-card:hover {
  border-color: rgba(201, 169, 106, 0.4);
}
.lov-next-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(201, 169, 106, 0.08) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.lov-next-card:hover::before { opacity: 1; }
.lov-next-eyebrow {
  display: block;
  font-family: var(--font-grotesk);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(201, 169, 106, 0.7);
  margin-bottom: 10px;
}
.lov-next-title {
  font-family: var(--font-modern);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 16px;
  transition: color 0.3s;
}
.lov-next-card:hover .lov-next-title { color: var(--gold); }
.lov-next-meta {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--ink-mute);
}
.lov-next-meta > span:first-child {
  display: inline-flex; align-items: center; gap: 6px;
}
.lov-next-meta > svg {
  color: rgba(201, 169, 106, 0.5);
  transition: all 0.3s;
}
.lov-next-card:hover .lov-next-meta > svg {
  color: var(--gold);
  transform: translateX(4px);
}

@media (max-width: 720px) {
  .welcome-hero-bg img { object-position: 70% center; }
  .welcome-hero-inner { padding-bottom: 50px; }
  .lov-welcome-box, .lov-usage-box { padding: 32px 24px; }
  .lov-module-row { padding: 18px 18px; }
}
