/**
 * LoftVision – Custom Styles
 * FAQ, Verarbeitungs-Showcase, Kontaktformular, Aufmaß-Widget
 */

/* ══════════════════════════════════════
 *  CSS Custom Properties
 * ══════════════════════════════════════ */

/* Header-Anpassung */

:root {
  --lv-primary: #1a1a1a;
  --lv-accent: #C89978;
  --lv-accent-hover: #B8875E;
  --lv-accent-light: rgba(200, 153, 120, 0.12);
  --lv-bg: #ffffff;
  --lv-bg-light: #f7f7f5;
  --lv-bg-dark: #161616;
  --lv-bg-card: #1e1e1e;
  --lv-text: #333333;
  --lv-text-light: #666666;
  --lv-text-dark-primary: #f0f0f0;
  --lv-text-dark-secondary: #999999;
  --lv-border: #e0e0e0;
  --lv-border-dark: #2a2a2a;
  --lv-error: #e74c3c;
  --lv-success: #27ae60;
  --lv-radius: 8px;
  --lv-radius-lg: 12px;
  --lv-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  --lv-shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
  --lv-font: 'Urbanist', sans-serif;
  --lv-transition: 0.3s ease;
}

/* ══════════════════════════════════════
 *  FAQ-Akkordeon [lv_faq]
 * ══════════════════════════════════════ */

.lv-faq-accordion {
  max-width: 800px;
  margin: 40px auto;
  font-family: var(--lv-font);
}

.lv-faq-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--lv-primary);
  margin-bottom: 24px;
  text-align: center;
}

.lv-faq-item {
  border-bottom: 1px solid var(--lv-border);
}

.lv-faq-item:first-of-type {
  border-top: 1px solid var(--lv-border);
}

.lv-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--lv-font);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--lv-primary);
  text-align: left;
  line-height: 1.4;
  transition: color var(--lv-transition);
}

.lv-faq-question:hover {
  color: var(--lv-accent);
}

.lv-faq-icon {
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform var(--lv-transition);
  color: var(--lv-accent);
}

.lv-faq-question[aria-expanded="true"] .lv-faq-icon {
  transform: rotate(180deg);
}

.lv-faq-answer {
  overflow: hidden;
}

.lv-faq-answer p {
  padding: 0 0 20px;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--lv-text-light);
}

/* ══════════════════════════════════════
 *  Verarbeitungs-Showcase [lv_verarbeitung]
 * ══════════════════════════════════════ */

.lv-showcase {
  max-width: 1100px;
  margin: 60px auto;
  padding: 0 20px;
  font-family: var(--lv-font);
}

.lv-showcase-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--lv-primary);
  text-align: center;
  margin-bottom: 8px;
}

.lv-showcase-subtitle {
  font-size: 1.05rem;
  color: var(--lv-text-light);
  text-align: center;
  margin-bottom: 40px;
}

.lv-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.lv-showcase-item {
  background: var(--lv-bg-light);
  border-radius: var(--lv-radius-lg);
  padding: 32px 24px;
  transition: transform var(--lv-transition), box-shadow var(--lv-transition);
}

.lv-showcase-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--lv-shadow-lg);
}

.lv-showcase-icon {
  color: var(--lv-accent);
  margin-bottom: 16px;
}

.lv-showcase-item h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--lv-primary);
  margin-bottom: 10px;
}

.lv-showcase-item p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--lv-text-light);
  margin: 0;
}

@media (max-width: 768px) {
  .lv-showcase-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .lv-showcase-item {
    padding: 24px 20px;
  }
}

/* ══════════════════════════════════════
 *  Individuelle Anfrage [lv_contact_form]
 *  V6 Wizard – Split-Layout Dark Theme
 *  Illustration links + Formular rechts
 * ══════════════════════════════════════ */

/* ── Split Layout Container ── */
.lv-wizard-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 960px;
  margin: 0 auto;
  min-height: calc(100vh - 80px);
  font-family: var(--lv-font);
  position: relative;
  overflow: visible;
}
/* Rundungen killen — Nur Layout-Elemente, NICHT Dots/SVGs */
.lv-wizard-layout .lv-field input,
.lv-wizard-layout .lv-field select,
.lv-wizard-layout .lv-field textarea,
.lv-wizard-layout .lv-toggle-btn,
.lv-wizard-layout .lv-upload-zone,
.lv-wizard-layout .lv-btn {
  border-radius: 0 !important;
}

/* ── Blueprint Grid Background (full page) ── */
.lv-wizard-layout::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(200,153,120,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,153,120,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}
.lv-wizard-layout::after {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(200,153,120,0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ── Illustration Side (links) ── */
.lv-illust-side {
  position: sticky;
  top: 0;
  height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  padding: 40px 32px 40px 48px;
  z-index: 1;
  box-sizing: border-box;
}

.lv-illust-frame {
  position: relative;
  width: 100%;
  max-width: 300px;
  aspect-ratio: 3 / 4;
  overflow: visible;
}

.lv-illust-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
}
.lv-illust-svg.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

/* ── SVG Annotations ── */
.lv-anno {
  font-family: var(--lv-font);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 2px;
  fill: rgba(200,153,120,0.4);
  text-transform: uppercase;
}

/* ── SVG Line-Draw Animation ── */
.lv-draw-line {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
}
/* Desktop Illustrationen */
.lv-illust-svg.active .lv-draw-line {
  animation: lvDrawIn 1.5s ease-out forwards;
}
.lv-illust-svg.active .lv-draw-d1 { animation-delay: 0.1s; }
.lv-illust-svg.active .lv-draw-d2 { animation-delay: 0.3s; }
.lv-illust-svg.active .lv-draw-d3 { animation-delay: 0.5s; }
.lv-illust-svg.active .lv-draw-d4 { animation-delay: 0.7s; }

@keyframes lvDrawIn {
  to { stroke-dashoffset: 0; }
}

/* ── Context Text (below illustration) ── */
.lv-illust-context {
  text-align: center;
  margin-top: 32px;
}
.lv-ctx-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #C89978;
  margin-bottom: 8px;
  transition: opacity 0.4s ease;
}
.lv-ctx-text {
  font-size: 13px;
  color: #555;
  line-height: 1.6;
  max-width: 260px;
  margin: 0 auto;
  transition: opacity 0.4s ease;
}

/* ── Form Side (rechts) ── */
.lv-form-side {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 80px);
  padding: 40px 40px 40px 48px;
  border-left: 1px solid rgba(200,153,120,0.08);
  z-index: 1;
  box-sizing: border-box;
}

.lv-form-inner {
  width: 100%;
  max-width: 420px;
  overflow: visible;
}

.lv-form-inner .lv-contact-form {
  width: 100%;
  overflow: visible;
}

/* ── Progress Bar ──
   Flexbox-Row: [Step] — [Line] — [Step] — [Line] — [Step]
   Jeder Step enthält: Dot (Kreis) + Label (Text darunter)
   Lines verbinden die Dots auf Höhe der Dot-Mitte */
.lv-contact-form .lv-progress-wrap {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  align-items: flex-start !important;
  justify-content: center !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 0 !important;
  margin-bottom: 48px;
  transition: opacity 0.3s;
  overflow: visible !important;
  width: 100%;
  padding: 4px 8px;
  box-sizing: border-box;
  position: relative;
  z-index: 10;
}
.lv-contact-form .lv-progress-step {
  display: flex !important;
  visibility: visible !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 6px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}
.lv-contact-form .lv-progress-dot {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  min-height: 28px !important;
  max-width: 28px !important;
  max-height: 28px !important;
  border-radius: 50% !important;
  border: 1.5px solid #555 !important;
  display: flex !important;
  visibility: visible !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 11px;
  font-weight: 700;
  color: #777;
  transition: all 0.4s ease;
  flex-shrink: 0;
  background: transparent !important;
  box-sizing: border-box !important;
  position: relative;
  z-index: 2;
  line-height: 1;
  padding: 0 !important;
  margin: 0 !important;
  overflow: visible !important;
}
/* SVG Checkmark in done dots */
.lv-contact-form .lv-progress-dot svg {
  width: 14px;
  height: 14px;
  display: block;
}
.lv-contact-form .lv-progress-dot.active {
  border-color: #C89978 !important;
  color: #C89978;
  background: rgba(200,153,120,0.08) !important;
  box-shadow: 0 0 12px rgba(200,153,120,0.15);
}
.lv-contact-form .lv-progress-dot.done {
  border-color: #C89978 !important;
  background: #C89978 !important;
  color: #161616;
}
.lv-contact-form .lv-progress-label {
  display: block !important;
  visibility: visible !important;
  font-size: 13px;
  font-weight: 600;
  color: #444;
  letter-spacing: 0.3px;
  transition: color 0.4s;
  white-space: nowrap;
  text-align: center;
}
.lv-contact-form .lv-progress-label.active { color: #C89978; }
.lv-contact-form .lv-progress-label.done { color: #777; }
.lv-contact-form .lv-progress-line {
  flex: 1 1 auto;
  height: 1px !important;
  background: #444 !important;
  position: relative;
  overflow: hidden;
  min-width: 24px;
  max-height: 1px !important;
  margin-top: 14px;
  display: block !important;
  visibility: visible !important;
  flex-shrink: 1;
  z-index: 1;
  margin-left: 8px;
  margin-right: 8px;
}
.lv-contact-form .lv-progress-line .fill {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  width: 0;
  background: #C89978;
  transition: width 0.5s ease;
}
.lv-contact-form .lv-progress-line.done .fill { width: 100%; }

/* ── Steps Viewport ── */
.lv-steps-viewport {
  position: relative;
  overflow: hidden;
  min-height: 380px;
}
.lv-step {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  opacity: 0;
  transform: translateX(40px);
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.lv-step.active {
  position: relative;
  opacity: 1;
  transform: translateX(0);
  pointer-events: all;
}
.lv-step.exit-left {
  opacity: 0;
  transform: translateX(-40px);
}
.lv-step.enter-right {
  opacity: 0;
  transform: translateX(40px);
}

/* ── Step Header ── */
.lv-step-header {
  margin-bottom: 28px;
}
.lv-step-eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #C89978;
  margin-bottom: 14px;
}
.lv-step-title {
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #999 !important;
  line-height: 1.5 !important;
  margin: 0 !important;
  padding: 0 !important;
}
.lv-step-desc {
  display: none;
}

/* ── Staggered Field Animations ── */
.lv-step.active .lv-field,
.lv-step.active .lv-toggle-row,
.lv-step.active .lv-upload-zone,
.lv-step.active .lv-dsgvo {
  opacity: 0;
  transform: translateY(8px);
  animation: lvFieldIn 0.35s ease-out forwards;
}
.lv-step.active .lv-toggle-row     { animation-delay: 0.05s; }
.lv-step.active .lv-row:nth-of-type(1) .lv-field:nth-child(1) { animation-delay: 0.08s; }
.lv-step.active .lv-row:nth-of-type(1) .lv-field:nth-child(2) { animation-delay: 0.12s; }
.lv-step.active .lv-row:nth-of-type(2) .lv-field:nth-child(1) { animation-delay: 0.16s; }
.lv-step.active .lv-row:nth-of-type(2) .lv-field:nth-child(2) { animation-delay: 0.2s; }
.lv-step.active .lv-row:nth-of-type(3) .lv-field { animation-delay: 0.24s; }
.lv-step.active .lv-row:nth-of-type(4) .lv-field { animation-delay: 0.28s; }
.lv-step.active .lv-upload-zone    { animation-delay: 0.1s; }
.lv-step.active .lv-dsgvo          { animation-delay: 0.18s; }

@keyframes lvFieldIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes lvFadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Toggle ── */
.lv-toggle-row { display: flex; margin-bottom: 24px; }
.lv-toggle-btn {
  flex: 1; padding: 13px 16px; text-align: center;
  font-size: 14px; font-weight: 600;
  font-family: var(--lv-font);
  cursor: pointer; transition: all 0.25s ease;
  border: 1px solid #333;
  background: transparent; color: #555;
}
.lv-toggle-btn:first-child { border-right: none; }
.lv-toggle-btn.active {
  background: #C89978; color: #161616;
  border-color: #C89978; font-weight: 700;
  box-shadow: 0 2px 10px rgba(200, 153, 120, 0.2);
}
.lv-toggle-btn:not(.active):hover { color: #999; border-color: #444; }

/* ── Conditional (Firmenname) ── */
.lv-conditional {
  max-height: 0; overflow: hidden;
  opacity: 0; transition: all 0.35s ease;
}
.lv-conditional.is-visible {
  max-height: 90px; opacity: 1;
  margin-bottom: 20px;
}

/* ── Rows + Fields ── */
.lv-row { display: flex; gap: 14px; margin-bottom: 22px; }
.lv-field { flex: 1; position: relative; }

.lv-field label {
  display: block; font-size: 11px; font-weight: 600;
  color: #777; letter-spacing: 0.5px;
  text-transform: uppercase; margin-bottom: 8px;
}
.lv-field label .opt {
  color: #444; font-weight: 400;
  text-transform: none; font-size: 10px;
}

.lv-field input,
.lv-field select {
  width: 100%; padding: 14px 0;
  background: transparent; border: none;
  border-bottom: 1px solid #333;
  color: #e0dcd6; font-family: var(--lv-font);
  font-size: 15px; outline: none;
  transition: border-color 0.3s;
  border-radius: 0;
  -webkit-appearance: none; appearance: none;
  box-sizing: border-box;
}
.lv-field textarea {
  width: 100%; padding: 14px 16px;
  background: rgba(255,255,255,0.02);
  border: 1px solid #333;
  color: #e0dcd6; font-family: var(--lv-font);
  font-size: 15px; outline: none;
  transition: border-color 0.3s;
  resize: vertical; min-height: 100px;
  border-radius: 0; box-sizing: border-box;
}
.lv-field input::placeholder,
.lv-field textarea::placeholder { color: #666; font-weight: 300; }

/* Chrome Autofill: weißen Hintergrund killen */
.lv-field input:-webkit-autofill,
.lv-field input:-webkit-autofill:hover,
.lv-field input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #161616 inset !important;
  -webkit-text-fill-color: #e0dcd6 !important;
  border-bottom: 1px solid #333 !important;
  transition: background-color 5000s ease-in-out 0s;
}
.lv-field input:focus,
.lv-field select:focus,
.lv-field textarea:focus { border-color: #C89978; }

.lv-field select {
  color: #666; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23555' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  padding-right: 20px;
}
.lv-field select.has-value { color: #e0dcd6; }

.lv-field .unit {
  position: absolute; right: 0; bottom: 15px;
  color: #555; font-size: 13px;
  pointer-events: none;
}

/* Hide number input arrows */
.lv-field input[type="number"]::-webkit-outer-spin-button,
.lv-field input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none; margin: 0;
}
.lv-field input[type="number"] { -moz-appearance: textfield; }

/* ── Upload ── */
.lv-upload-zone {
  border: 1px dashed #333; padding: 32px 20px;
  text-align: center; cursor: pointer;
  transition: all 0.2s; margin-bottom: 24px;
}
.lv-upload-zone:hover,
.lv-upload-zone.lv-upload-area--dragover {
  border-color: #C89978;
  background: rgba(200,153,120,0.03);
}
.lv-upload-zone .lv-upload-placeholder svg { margin-bottom: 10px; }
.lv-upload-zone .uz-main { font-size: 14px; color: #666; }
.lv-upload-zone .uz-main strong { color: #C89978; }
.lv-upload-zone .uz-sub { font-size: 11px; color: #444; margin-top: 6px; }

.lv-upload-preview {
  display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px;
}
.lv-preview-item { position: relative; width: 90px; text-align: center; }
.lv-preview-item img {
  width: 90px; height: 70px; object-fit: cover;
  border-radius: 6px; border: 1px solid #333;
}
.lv-preview-pdf {
  width: 90px; height: 70px;
  display: flex; align-items: center; justify-content: center;
  background: #222; border-radius: 6px;
  border: 1px solid #333;
  font-weight: 700; color: #C89978; font-size: 0.85rem;
}
.lv-preview-name {
  display: block; font-size: 0.7rem; color: #555;
  margin-top: 4px; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}
.lv-preview-remove {
  position: absolute; top: -6px; right: -6px;
  width: 22px; height: 22px; border-radius: 50%;
  border: none; background: #e74c3c; color: #fff;
  font-size: 14px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}

/* ── DSGVO ── */
.lv-dsgvo {
  display: flex; gap: 10px;
  align-items: flex-start; margin-top: 8px;
}
.lv-dsgvo input[type="checkbox"] {
  width: 16px; height: 16px; margin-top: 2px;
  flex-shrink: 0; accent-color: #C89978; cursor: pointer;
}
.lv-dsgvo label {
  font-size: 12px; color: #555; line-height: 1.6;
  text-transform: none; letter-spacing: 0;
}
.lv-dsgvo label a {
  color: #C89978; text-decoration: none;
  border-bottom: 1px solid rgba(200,153,120,0.3);
}
.lv-dsgvo label a:hover { border-color: #C89978; }
.lv-dsgvo.has-error label { color: #e74c3c; }
.lv-dsgvo.has-error input[type="checkbox"] { outline: 2px solid #e74c3c; outline-offset: 2px; }

/* ── Navigation Buttons ── */
.lv-nav-row {
  display: flex;
  gap: 12px;
  margin-top: 40px;
}
.lv-btn-back {
  padding: 14px 28px;
  background: transparent;
  border: 1px solid #333;
  color: #777;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--lv-font);
  cursor: pointer;
  transition: all 0.2s;
}
.lv-btn-back:hover { border-color: #555; color: #aaa; }
.lv-btn-next {
  flex: 1;
  padding: 14px 28px;
  background: #C89978 !important;
  color: #161616 !important;
  border: none !important;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--lv-font);
  cursor: pointer;
  transition: all 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.lv-btn-next:hover {
  background: #B8875E !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(200,153,120,0.3);
}
.lv-btn-next:active {
  transform: translateY(0);
  box-shadow: none;
}
.lv-btn-next svg { transition: transform 0.2s; }
.lv-btn-next:hover svg { transform: translateX(3px); }
.lv-btn-next:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

/* ── Error ── */
.lv-field.has-error input,
.lv-field.has-error select,
.lv-field.has-error textarea { border-color: #e74c3c !important; }
.lv-field-error {
  font-size: 11px; color: #e74c3c; margin-top: 4px;
}

/* ── Status-Meldung ── */
.lv-form-message {
  margin-top: 16px; padding: 14px 20px;
  border-radius: 0; font-size: 0.9rem;
}
.lv-form-message--success {
  background: rgba(39, 174, 96, 0.1); color: #27ae60;
  border: 1px solid rgba(39, 174, 96, 0.25);
}
.lv-form-message--error {
  background: rgba(231, 76, 60, 0.1); color: #e74c3c;
  border: 1px solid rgba(231, 76, 60, 0.25);
}

/* ── Success State ── */
.lv-success-state {
  text-align: center;
  padding: 40px 0;
}
.lv-success-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(200,153,120,0.08);
  border: 2px solid #C89978;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  animation: lvScaleIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@keyframes lvScaleIn {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.lv-success-state h2 {
  font-size: 24px;
  font-weight: 800;
  color: #f0ece7;
  margin-bottom: 8px;
  animation: lvFadeUp 0.5s ease-out 0.2s both;
}
.lv-success-state p {
  font-size: 14px;
  color: #777;
  line-height: 1.7;
  max-width: 360px;
  margin: 0 auto 32px;
  animation: lvFadeUp 0.5s ease-out 0.3s both;
}
.lv-success-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #C89978;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border-bottom: 1px solid rgba(200,153,120,0.3);
  padding-bottom: 2px;
  transition: border-color 0.2s;
  animation: lvFadeUp 0.5s ease-out 0.4s both;
}
.lv-success-link:hover { border-color: #C89978; }

/* ── Mobile Illustration (horizontal banner) ── */
.lv-mobile-illust {
  display: none;
  padding: 16px 20px;
  justify-content: center;
  align-items: center;
  position: relative;
  height: auto;
  min-height: 100px;
  overflow: visible;
  box-sizing: border-box;
}
.lv-mobile-illust svg {
  opacity: 0;
  transition: opacity 0.5s ease;
  position: absolute;
  width: 280px;
  height: auto;
  max-width: 100%;
  overflow: visible;
}
.lv-mobile-illust svg.active {
  opacity: 1;
  position: relative;
}

/* ── Draw Animation für Mobile Mini-SVGs ── */
.lv-mobile-illust svg .lv-draw-line {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
}
.lv-mobile-illust svg.active .lv-draw-line {
  animation: lvDrawIn 1.2s ease-out forwards;
}
.lv-mobile-illust svg.active .lv-draw-d1 { animation-delay: 0.05s; }
.lv-mobile-illust svg.active .lv-draw-d2 { animation-delay: 0.15s; }
.lv-mobile-illust svg.active .lv-draw-d3 { animation-delay: 0.25s; }
.lv-mobile-illust svg.active .lv-draw-d4 { animation-delay: 0.35s; }

/* Mobile SVGs kräftiger darstellen (kleine Screens brauchen mehr Kontrast) */
.lv-mobile-illust svg.active {
  filter: brightness(1.4) contrast(1.1);
}

/* ── Mobile: Illustration ausblenden, Mini-Illust zeigen ── */
@media (max-width: 900px) {
  .lv-wizard-layout {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .lv-illust-side {
    display: none !important;
  }
  .lv-mobile-illust {
    display: flex !important;
  }
  .lv-form-side {
    border-left: none;
    padding: 80px 20px 60px;
    min-height: auto;
    align-items: flex-start;
    scroll-margin-top: 80px;
  }
  .lv-form-inner {
    max-width: 100%;
  }
  .lv-row { flex-direction: column; }

  /* ── Progress Bar Mobile ──
     Höhere Spezifität via .lv-contact-form Prefix */
  .lv-contact-form .lv-progress-wrap {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 0 !important;
    margin-bottom: 24px;
    overflow: visible !important;
    width: 100%;
    padding: 8px 12px;
    box-sizing: border-box;
    position: relative;
    z-index: 10;
  }
  .lv-contact-form .lv-progress-step {
    display: flex !important;
    visibility: visible !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 4px;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
  }
  .lv-contact-form .lv-progress-dot {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    min-height: 28px !important;
    max-width: 28px !important;
    max-height: 28px !important;
    border-radius: 50% !important;
    display: flex !important;
    visibility: visible !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 11px;
    font-weight: 700;
    border: 1.5px solid #555 !important;
    background: transparent !important;
    color: #777;
    box-sizing: border-box !important;
    overflow: visible !important;
    position: relative;
    z-index: 2;
  }
  .lv-contact-form .lv-progress-dot.active {
    border-color: #C89978 !important;
    color: #C89978;
    background: rgba(200,153,120,0.08) !important;
    box-shadow: 0 0 12px rgba(200,153,120,0.15);
  }
  .lv-contact-form .lv-progress-dot.done {
    border-color: #C89978 !important;
    background: #C89978 !important;
    color: #161616;
  }
  .lv-contact-form .lv-progress-label {
    display: block !important;
    visibility: visible !important;
    font-size: 10px;
    letter-spacing: 0.3px;
    text-align: center;
  }
  .lv-contact-form .lv-progress-line {
    flex: 1 1 auto;
    min-width: 30px;
    height: 1px !important;
    max-height: 1px !important;
    margin-top: 14px;
    margin-left: 6px;
    margin-right: 6px;
    display: block !important;
    visibility: visible !important;
    background: #444 !important;
    position: relative;
    z-index: 1;
  }

  /* ── Mobile Illustration ── */
  .lv-mobile-illust {
    overflow: visible;
    height: auto;
    min-height: 100px;
    margin-bottom: 8px;
  }

  /* ── Steps Viewport: NICHT overflow:hidden auf Mobile ──
     Auf Mobile brauchen wir kein Clipping weil kein Slide-Out sichtbar ist
     (single column layout, nichts geht nach links/rechts raus) */
  .lv-steps-viewport {
    overflow: hidden;
    /* Bleibt hidden wegen translateX Animation —
       der sichtbare Content wird nicht geclippt weil
       Progress-Bar AUSSERHALB des Viewports liegt */
  }
}

/* ══════════════════════════════════════
 *  Burger-Menü: Goldener Menüpunkt
 *  „Individuelle Anfrage"
 * ══════════════════════════════════════ */

/* Menüpunkt "Individuelle Anfrage" im Mega-Menu (injiziert per JS) */
.lv-menu-anfrage-item {
  margin-top: 8px;
}

.lv-menu-anfrage-link {
  display: inline-block;
  color: #C89978 !important;
  font-family: 'Urbanist', sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(200, 153, 120, 0.4);
  padding: 8px 20px;
  border-radius: 4px;
  transition: all 0.3s ease;
  opacity: 0.85;
}

.lv-menu-anfrage-link:hover {
  opacity: 1;
  background: rgba(200, 153, 120, 0.1);
  border-color: #C89978;
}

/* ══════════════════════════════════════
 *  Aufmaß – Popup + Desktop Header-Link
 *  Nur auf /konfigurator/
 * ══════════════════════════════════════ */

/* --- Overlay --- */
.aufmass-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .75);
  z-index: 99998;
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}

.aufmass-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* --- Modal --- */
.aufmass-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(.95);
  width: 90%;
  max-width: 420px;
  background: #1a1a1a;
  border-radius: 16px;
  padding: 32px 28px;
  z-index: 99999;
  border: 1px solid rgba(200, 169, 110, .2);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .6);
  opacity: 0;
  transition: all .3s ease;
  pointer-events: none;
  font-family: 'Urbanist', sans-serif;
}

.aufmass-modal.is-active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;
}

.aufmass-modal .am-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.aufmass-modal .am-icon {
  background: rgba(200, 153, 120, .12);
  border-radius: 12px;
  padding: 10px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.aufmass-modal .am-title {
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  line-height: 1.2;
}

.aufmass-modal .am-sub {
  color: #999;
  font-size: 12px;
  margin-top: 3px;
}

.aufmass-modal .am-body {
  color: #bbb;
  font-size: 13.5px;
  line-height: 1.7;
  margin: 0 0 24px;
}

.aufmass-modal .am-btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #C89978, #B8875E);
  color: #fff;
  padding: 14px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  font-family: 'Urbanist', sans-serif;
  border: none;
  cursor: pointer;
  width: 100%;
  transition: opacity .2s;
}

.aufmass-modal .am-btn-primary:hover {
  opacity: .85;
  color: #fff !important;
}

.aufmass-modal .am-btn-skip {
  display: block;
  width: 100%;
  background: transparent;
  border: 1px solid #333;
  color: #999;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 13px;
  font-family: 'Urbanist', sans-serif;
  cursor: pointer;
  transition: all .2s;
  margin-top: 10px;
  text-align: center;
}

.aufmass-modal .am-btn-skip:hover {
  border-color: #555;
  color: #ccc;
}

/* --- Header Link (alle Viewports) --- */
.aufmass-desktop-link {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  font-family: 'Urbanist', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .3px;
  color: #C89978;
  text-decoration: none;
  white-space: nowrap;
  background: transparent;
  border: 1px solid rgba(200, 153, 120, .3);
  border-radius: 4px;
  transition: all .2s ease;
}

@media (min-width: 1025px) {
  .aufmass-desktop-link.is-active {
    display: inline-flex;
  }
}

.aufmass-desktop-link:hover {
  background: #C89978;
  border-color: #C89978;
  color: #fff !important;
}

.aufmass-desktop-link:hover svg {
  stroke: #fff;
}

/* --- Mobile FAB (schwebendes Maßband-Icon mit Slide-Label) --- */
.aufmass-fab {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 16px;
  height: 44px;
  background: #C89978;
  border-radius: 22px;
  align-items: center;
  text-decoration: none;
  z-index: 9999;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .35);
  overflow: hidden;
  padding: 0 13px;
  gap: 0;
}

.aufmass-fab svg {
  stroke: #fff;
  flex-shrink: 0;
}

.aufmass-fab .fab-label {
  color: #fff;
  font-family: 'Urbanist', sans-serif;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  max-width: 0;
  opacity: 0;
  padding-left: 0;
  transition: max-width .4s cubic-bezier(.4,0,.2,1),
              opacity .3s ease,
              padding-left .4s cubic-bezier(.4,0,.2,1);
}

.aufmass-fab.is-expanded .fab-label {
  max-width: 150px;
  opacity: 1;
  padding-left: 7px;
}

.aufmass-fab:active {
  transform: scale(.95);
}

@media (max-width: 1024px) {
  .aufmass-fab {
    display: flex;
  }
}

/* "Beratung buchen" Button – Hover in Brand-Farbe */
#stickyheaders .elementor-element-2351a146 .elementor-button:hover {
  background-color: #C89978 !important;
  border-color: #C89978 !important;
  color: #fff !important;
}

/* ══════════════════════════════════════
 *  Konfigurator – "Dein Maß nicht dabei?"
 * ══════════════════════════════════════ */

.lv-konfig-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 10px 20px;
  font-family: 'Urbanist', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--lv-accent);
  text-decoration: none;
  border: 1px solid rgba(200, 153, 120, 0.3);
  border-radius: 8px;
  transition: all 0.2s ease;
  background: rgba(200, 153, 120, 0.05);
}

.lv-konfig-link:hover {
  background: var(--lv-accent);
  border-color: var(--lv-accent);
  color: #fff;
}

.lv-konfig-link svg {
  flex-shrink: 0;
}
