/* /static/feuerwerksplaner.css
   FWP (FeuerWerksPlaner) – MANDL PYROTECHNIK
   - Kundenorientierte Einleitung (Hero + 3 Schritte-Karten) + Single-Column Formular
   - Multi-Step Wizard, Help-Popovers, Effekt-Previews
   - Responsive, mobile-optimiert, Dark-Luxury Stil
*/

/* =========================
   0) Design Tokens (Planer Scope)
   ========================= */

:root {
  --fw-bg: #020308;
  --fw-bg-soft: #05060a;
  --fw-bg-elevated: #070a11;

  --fw-text: #f5f5f7;
  --fw-text-soft: #a4abb8;
  --fw-text-muted: rgba(245, 245, 247, 0.72);

  --fw-accent: #007f7f;
  --fw-accent-soft: #0b9999;
  --fw-gold: #f2c14f;

  --fw-danger: #ff5a5a;
  --fw-success: #17d3c3;

  --fw-border-soft: rgba(255, 255, 255, 0.08);
  --fw-border-subtle: rgba(255, 255, 255, 0.05);
  --fw-border-strong: rgba(255, 255, 255, 0.14);

  --fw-radius-xxl: 26px;
  --fw-radius-xl: 22px;
  --fw-radius-lg: 16px;
  --fw-radius-md: 12px;
  --fw-radius-pill: 999px;

  --fw-shadow-soft: 0 22px 64px rgba(0, 0, 0, 0.72);
  --fw-shadow-subtle: 0 14px 34px rgba(0, 0, 0, 0.55);
  --fw-shadow-focus: 0 0 0 2px rgba(11, 153, 153, 0.22);

  --fw-transition-fast: 0.16s ease-out;
  --fw-transition-med: 0.28s cubic-bezier(0.33, 0.02, 0.11, 0.99);

  --fw-font-heading: "Poppins", system-ui, -apple-system, sans-serif;
  --fw-font-body: "Inter", system-ui, -apple-system, sans-serif;

  --fw-max-width: 1320px;

  /* Spacing scale */
  --fw-s-2: 2px;
  --fw-s-4: 4px;
  --fw-s-6: 6px;
  --fw-s-8: 8px;
  --fw-s-10: 10px;
  --fw-s-12: 12px;
  --fw-s-14: 14px;
  --fw-s-16: 16px;
  --fw-s-18: 18px;
  --fw-s-20: 20px;
  --fw-s-24: 24px;
  --fw-s-28: 28px;
  --fw-s-32: 32px;

  /* Help/Popover */
  --fw-popover-bg: rgba(0, 0, 0, 0.92);
  --fw-popover-border: rgba(0, 127, 127, 0.35);
  --fw-popover-shadow: 0 18px 52px rgba(0, 0, 0, 0.75);

  /* Modal */
  --fw-modal-overlay: rgba(0, 0, 0, 0.68);

  /* Safe area for iOS */
  --fw-safe-b: env(safe-area-inset-bottom, 0px);
}

/* =========================
   1) Reset / Base
   ========================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at top, rgba(0, 127, 127, 0.14), transparent 55%),
    radial-gradient(circle at bottom, rgba(242, 193, 79, 0.05), transparent 60%),
    linear-gradient(180deg, rgba(2, 3, 8, 1) 0%, rgba(1, 2, 5, 1) 100%);
  color: var(--fw-text);
  font-family: var(--fw-font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Sticky Footer: Main füllt Resthöhe, Footer bleibt am unteren Viewport (wichtig bei eingeblendetem Planer) */
#topbar-root {
  flex-shrink: 0;
}

#main-content.nv-fw-main {
  flex: 1 0 auto;
}

#footer-root {
  flex-shrink: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: none;
  box-shadow: var(--fw-shadow-focus);
}

/* Skip link (im HTML vorhanden) */
.nv-skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.nv-skip-link:focus {
  left: 16px;
  top: 12px;
  width: auto;
  height: auto;
  padding: 10px 12px;
  border-radius: var(--fw-radius-pill);
  border: 1px solid rgba(0, 127, 127, 0.6);
  background: rgba(0, 0, 0, 0.88);
  color: var(--fw-accent-soft);
  z-index: 9999;
}

/* =========================
   2) Page Wrapper
   ========================= */

.nv-fw-main {
  width: 100%;
  margin: 0 auto;
  padding: 0 0 calc(56px + var(--fw-safe-b));
}

/* =========================
   3) Hero – Kundenorientierte Einleitung
   ========================= */

.nv-fw-hero {
  position: relative;
  padding: 88px 20px 48px;
  overflow: hidden;
  isolation: isolate;
}

.nv-fw-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("/media/background1.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.25;
  transform: translateZ(0);
  z-index: 0;
}

.nv-fw-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at top left, rgba(0, 127, 127, 0.22), transparent 55%),
    radial-gradient(circle at bottom right, rgba(242, 193, 79, 0.10), transparent 55%),
    linear-gradient(180deg, rgba(2, 3, 8, 0.55) 0%, rgba(2, 3, 8, 0.85) 100%);
}

.nv-fw-hero-inner {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.nv-fw-hero-eyebrow {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fw-accent-soft);
}

.nv-fw-hero-title {
  margin: 12px 0 20px;
  font-family: var(--fw-font-heading);
  font-weight: 600;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  letter-spacing: 0.02em;
  line-height: 1.25;
  color: var(--fw-text);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}

.nv-fw-hero-lead {
  margin: 0;
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  line-height: 1.7;
  color: var(--fw-text-soft);
}

.nv-fw-hero-lead strong {
  color: var(--fw-gold);
  font-weight: 600;
}

.nv-fw-hero-cards {
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.nv-fw-hero-card {
  padding: 20px 18px;
  border-radius: var(--fw-radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(2, 6, 12, 0.85);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: transform var(--fw-transition-fast), box-shadow var(--fw-transition-fast), border-color var(--fw-transition-fast);
}

.nv-fw-hero-card:hover {
  border-color: rgba(0, 127, 127, 0.25);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  transform: translateY(-2px);
}

.nv-fw-hero-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
  border-radius: 50%;
  font-family: var(--fw-font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #021014;
  background: linear-gradient(145deg, var(--fw-accent-soft), var(--fw-accent));
  box-shadow: 0 4px 12px rgba(0, 127, 127, 0.35);
}

.nv-fw-hero-card-title {
  margin: 0 0 8px;
  font-family: var(--fw-font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--fw-text);
}

.nv-fw-hero-card-text {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--fw-text-soft);
}

.nv-fw-hero-cta-wrap {
  margin-top: 36px;
  text-align: center;
}

.nv-fw-hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: var(--fw-radius-pill);
  font-family: var(--fw-font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--fw-accent), var(--fw-accent-soft));
  box-shadow: 0 4px 20px rgba(0, 127, 127, 0.4);
  transition: transform var(--fw-transition-fast), box-shadow var(--fw-transition-fast);
}

.nv-fw-hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 127, 127, 0.5);
}

.nv-fw-hero-bg-glow {
  position: absolute;
  width: 480px;
  height: 480px;
  right: -10%;
  top: -120px;
  background:
    radial-gradient(circle, rgba(0, 127, 127, 0.18), transparent 55%),
    radial-gradient(circle at 60% 40%, rgba(242, 193, 79, 0.06), transparent 60%);
  opacity: 0.7;
  pointer-events: none;
  filter: blur(4px);
  z-index: 1;
  animation: nvGlowPulse 5s ease-in-out infinite;
}

@keyframes nvGlowPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 0.95; }
}

/* =========================
   Hero ausblenden wenn Planer geöffnet (Klick "Zum Planer")
   ========================= */

.nv-fw-hero {
  max-height: 2000px;
  transition: max-height 0.4s cubic-bezier(0.33, 0.02, 0.11, 0.99), opacity 0.3s ease;
}

.nv-fw-main.nv-fw-planner-open .nv-fw-hero {
  max-height: 0;
  min-height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  padding-top: 0;
  padding-bottom: 0;
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  .nv-fw-hero {
    transition: none;
  }
  .nv-fw-main.nv-fw-planner-open .nv-fw-hero {
    transition: none;
  }
}

/* =========================
   Planner Panel Collapse/Expand (Progressive Enhancement)
   no-js: panel visible. js: collapsed by default, expanded on button click.
   Panel darf erst nach Klick auf "Zum Planer" sichtbar sein – inkl. kein Rest-Padding.
   ========================= */

.js .nv-fw-wrapper {
  display: grid;
  grid-template-rows: 0fr;
  padding: 0;
  margin: 0;
  min-height: 0;
  overflow: hidden;
  transition: grid-template-rows 0.4s cubic-bezier(0.33, 0.02, 0.11, 0.99);
}

.js .nv-fw-wrapper > .nv-fw-layout {
  overflow: hidden;
  opacity: 0;
  transform: translate3d(0, 12px, 0);
  transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.33, 0.02, 0.11, 0.99);
  pointer-events: none;
  min-height: 0;
}

.js .nv-fw-wrapper.is-open {
  grid-template-rows: 1fr;
  overflow: visible;
  /* Padding kommt von .nv-fw-wrapper (inkl. responsive Media Queries) */
}

.js .nv-fw-wrapper.is-open > .nv-fw-layout {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  .nv-fw-hero-bg-glow { animation: none; }

  .js .nv-fw-wrapper,
  .js .nv-fw-wrapper > .nv-fw-layout {
    transition: none !important;
    transform: none !important;
  }
}

/* =========================
   4) Layout: Single Column (ohne Sidebar)
   ========================= */

/* Padding nur wenn Panel geöffnet (.is-open); Standard-Padding für no-js */
.nv-fw-wrapper {
  padding: 16px 20px 48px;
}

.js .nv-fw-wrapper:not(.is-open) {
  padding: 0;
}

.nv-fw-layout {
  max-width: 720px;
  margin: 0 auto;
}

/* =========================
   5) Form Column (Card)
   ========================= */

.nv-fw-form-column {
  background:
    linear-gradient(180deg, rgba(0, 127, 127, 0.05) 0%, transparent 30%),
    rgba(4, 8, 14, 0.98);
  border-radius: var(--fw-radius-xxl);
  padding: 28px 24px 32px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.02) inset,
    0 20px 48px rgba(0, 0, 0, 0.45);
  position: relative;
}

.nv-fw-form-header {
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nv-fw-section-title {
  margin: 0 0 8px;
  font-family: var(--fw-font-heading);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: var(--fw-text);
}

.nv-fw-section-desc {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--fw-text-soft);
}

.nv-fw-section-desc-long {
  display: block;
}

.nv-fw-step-progress {
  margin: 10px 0 0;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--fw-accent-soft);
}

/* Stepper: Fortschrittsanzeige */
.nv-fw-stepper {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nv-fw-stepper-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nv-fw-stepper-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: var(--fw-radius-pill);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--fw-text-muted);
  position: relative;
  transition: color var(--fw-transition-fast), background var(--fw-transition-fast);
}

.nv-fw-stepper-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.nv-fw-stepper-index {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
}

.nv-fw-stepper-item.is-complete {
  color: var(--fw-text-soft);
}

.nv-fw-stepper-item.is-complete .nv-fw-stepper-index {
  background: rgba(0, 127, 127, 0.25);
  color: var(--fw-accent-soft);
}

.nv-fw-stepper-item.is-active {
  color: var(--fw-text);
}

.nv-fw-stepper-item.is-active .nv-fw-stepper-index {
  background: linear-gradient(145deg, var(--fw-accent-soft), var(--fw-accent));
  color: #021014;
  box-shadow: 0 0 0 1px rgba(0, 127, 127, 0.4);
}

.nv-fw-stepper-item.is-upcoming {
  color: var(--fw-text-muted);
}

.nv-fw-stepper-item .nv-fw-stepper-label {
  white-space: nowrap;
}

@media (max-width: 640px) {
  .nv-fw-stepper-list {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .nv-fw-stepper-item .nv-fw-stepper-label {
    display: none;
  }

  .nv-fw-stepper-item:not(:last-child)::after {
    right: -4px;
    width: 8px;
  }
}

.nv-fw-form {
  margin-top: 0;
}

/* Dynamisch geladene Pakete (GET /api/fwp/packages) */
.nv-fw-packages {
  display: grid;
  gap: var(--fw-s-20);
  margin-bottom: var(--fw-s-24);
  padding: var(--fw-s-20) 0;
  border-bottom: 1px solid var(--fw-border-soft);
}
.nv-fw-packages:empty {
  display: none;
}
.nv-fw-package {
  padding: var(--fw-s-18) var(--fw-s-20);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--fw-border-subtle);
  border-radius: var(--fw-radius-lg);
}
.nv-fw-package h3 {
  margin: 0 0 var(--fw-s-10);
  font-family: var(--fw-font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--fw-text);
}
.nv-fw-package-hint {
  margin: 0 0 var(--fw-s-8);
  font-size: 0.9rem;
  color: var(--fw-accent-soft);
}
.nv-fw-package-details {
  margin: 0 0 var(--fw-s-10);
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--fw-text-soft);
}
.nv-fw-package-bullets {
  margin: 0;
  padding-left: 1.25rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--fw-text-muted);
}
.nv-fw-package-bullets li {
  margin-bottom: var(--fw-s-4);
}

#planner-panel {
  scroll-margin-top: 88px;
}

#fw-planner-form {
  scroll-margin-top: 88px;
}

/* =========================
   6) Steps
   ========================= */

.nv-fw-step {
  margin-bottom: 20px;
  padding: 18px 18px 18px;
  border-radius: var(--fw-radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-left: 3px solid var(--fw-accent);
  background: rgba(2, 6, 12, 0.7);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.nv-fw-step[hidden] {
  display: none !important;
}

.nv-fw-step-summary {
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: var(--fw-radius-md);
  border: 1px solid rgba(255, 90, 90, 0.4);
  background: rgba(40, 6, 6, 0.6);
  color: #ffb9b9;
  font-size: 0.82rem;
  line-height: 1.5;
}

.nv-fw-step-summary[hidden] {
  display: none !important;
}

.nv-fw-step-header {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}

.nv-fw-step-number {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: #021014;
  background: linear-gradient(145deg, var(--fw-accent-soft), var(--fw-accent));
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 127, 127, 0.3);
}

.nv-fw-step-title {
  margin: 0;
  font-family: var(--fw-font-heading);
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fw-text);
}

.nv-fw-step-desc {
  margin: 2px 0 0;
  font-size: 0.82rem;
  color: var(--fw-text-soft);
  line-height: 1.55;
}

.nv-fw-hint {
  margin: 10px 0 0;
  font-size: 0.76rem;
  color: var(--fw-text-soft);
  line-height: 1.5;
}

.nv-fw-field-hint {
  margin: 6px 0 0;
  font-size: 0.75rem;
  color: var(--fw-text-muted);
  line-height: 1.45;
}

.nv-fw-sunset-block {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--fw-radius-lg);
  border: 1px solid rgba(0, 127, 127, 0.2);
  background: rgba(2, 8, 12, 0.6);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.nv-fw-sunset-info {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--fw-text-soft);
}

.nv-fw-sunset-info strong {
  color: var(--fw-gold);
}

/* =========================
   7) Fields
   ========================= */

.nv-fw-field {
  margin-bottom: 10px;
  position: relative; /* für Popovers */
}

.nv-fw-field-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 6px;
}

/* Labels */
.nv-fw-field label {
  display: inline-flex; /* NEU: Icon neben Label */
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fw-text-soft);
}

/* Für Blöcke, wo Label + Icon getrennt sind */
.nv-fw-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}

.nv-fw-label-row > label {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Inputs */
.nv-fw-field input[type="text"],
.nv-fw-field input[type="email"],
.nv-fw-field input[type="tel"],
.nv-fw-field input[type="date"],
.nv-fw-field input[type="time"],
.nv-fw-field textarea {
  width: 100%;
  padding: 10px 11px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(1, 2, 4, 0.96);
  color: var(--fw-text);
  font-family: var(--fw-font-body);
  font-size: 0.88rem;
  transition:
    border-color var(--fw-transition-fast),
    box-shadow var(--fw-transition-fast),
    transform var(--fw-transition-fast),
    background-color var(--fw-transition-fast);
}

.nv-fw-field textarea {
  resize: vertical;
  min-height: 84px;
}

.nv-fw-field input::placeholder,
.nv-fw-field textarea::placeholder {
  color: rgba(164, 171, 184, 0.72);
}

.nv-fw-field input:focus,
.nv-fw-field textarea:focus {
  outline: none;
  border-color: rgba(11, 153, 153, 0.95);
  box-shadow: 0 0 0 1px rgba(11, 153, 153, 0.28);
  background: rgba(0, 0, 0, 0.98);
}

.nv-fw-field input:disabled,
.nv-fw-field textarea:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Fehlerzustand: Rote Border & Hintergrund */
.nv-fw-field input.nv-fw-field-error,
.nv-fw-field textarea.nv-fw-field-error {
  border-color: rgba(255, 90, 90, 0.75);
  background: rgba(40, 6, 6, 0.4);
  box-shadow: 0 0 0 1px rgba(255, 90, 90, 0.3);
}

.nv-fw-field input.nv-fw-field-error:focus,
.nv-fw-field textarea.nv-fw-field-error:focus {
  border-color: rgba(255, 90, 90, 0.9);
  box-shadow: 0 0 0 2px rgba(255, 90, 90, 0.25);
}

/* Fehlermeldung unter dem Feld */
.nv-fw-field-error-message {
  margin-top: 6px;
  padding: 8px 10px;
  border-radius: var(--fw-radius-md);
  border: 1px solid rgba(255, 90, 90, 0.5);
  background: rgba(40, 6, 6, 0.85);
  color: #ffb9b9;
  font-size: 0.8rem;
  line-height: 1.5;
  display: block;
}

.nv-fw-field-error-message[hidden] {
  display: none !important;
}

/* Fehler bei Pills/Gruppen */
.nv-fw-pill-group[aria-invalid="true"],
.nv-fw-choice-row[aria-invalid="true"] {
  position: relative;
}

.nv-fw-pill-group[aria-invalid="true"]::after,
.nv-fw-choice-row[aria-invalid="true"]::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: var(--fw-radius-md);
  border: 1px solid rgba(255, 90, 90, 0.5);
  pointer-events: none;
}

/* Fehler bei Checkbox (Consent) */
.nv-fw-check-privacy input[type="checkbox"].nv-fw-field-error + .nv-fw-check-mark {
  border-color: rgba(255, 90, 90, 0.75);
  background: rgba(40, 6, 6, 0.4);
}

/* =========================
   7a) Help Icons + Popovers (NEU)
   ========================= */

.nv-fw-help-icon {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(3, 5, 9, 0.92);
  color: var(--fw-accent-soft);
  font-weight: 700;
  font-size: 0.75rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  padding: 0;
  flex-shrink: 0;
  transition:
    transform var(--fw-transition-fast),
    border-color var(--fw-transition-fast),
    box-shadow var(--fw-transition-fast),
    color var(--fw-transition-fast),
    background-color var(--fw-transition-fast);
}

.nv-fw-help-icon:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 127, 127, 0.85);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.58);
  color: var(--fw-gold);
}

.nv-fw-help-icon:active {
  transform: translateY(0);
}

.nv-fw-help-icon[aria-expanded="true"] {
  border-color: rgba(11, 153, 153, 0.95);
  color: var(--fw-gold);
  background: linear-gradient(to right, rgba(0, 127, 127, 0.20), rgba(0, 0, 0, 0.92));
}

/* Popover container (inline, JS toggelt hidden + aria-expanded) */
.nv-fw-help-popover {
  position: absolute;
  right: 0;
  top: 28px;
  width: min(520px, 100%);
  padding: 10px 12px;
  border-radius: var(--fw-radius-lg);
  border: 1px solid var(--fw-popover-border);
  background: var(--fw-popover-bg);
  box-shadow: var(--fw-popover-shadow);
  z-index: 50;
}

.nv-fw-help-popover::before {
  content: "";
  position: absolute;
  top: -7px;
  right: 10px;
  width: 12px;
  height: 12px;
  transform: rotate(45deg);
  background: var(--fw-popover-bg);
  border-left: 1px solid var(--fw-popover-border);
  border-top: 1px solid var(--fw-popover-border);
}

.nv-fw-help-popover p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--fw-text-soft);
}

/* =========================
   8) Pills (Event / Duration)
   ========================= */

.nv-fw-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nv-fw-pill {
  padding: 7px 12px;
  font-size: 0.82rem;
  border-radius: var(--fw-radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(3, 5, 9, 0.98);
  color: var(--fw-text-soft);
  cursor: pointer;
  transition:
    transform var(--fw-transition-fast),
    border-color var(--fw-transition-fast),
    color var(--fw-transition-fast),
    box-shadow var(--fw-transition-fast),
    background-color var(--fw-transition-fast);
  user-select: none;
}

.nv-fw-pill:hover {
  border-color: rgba(0, 127, 127, 0.9);
  color: var(--fw-accent-soft);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.58);
  transform: translateY(-1px);
}

.nv-fw-pill:active {
  transform: translateY(0);
}

.nv-fw-pill.nv-fw-pill-active {
  border-color: rgba(11, 153, 153, 0.95);
  background: linear-gradient(to right, rgba(0, 127, 127, 0.22), rgba(0, 0, 0, 0.98));
  color: var(--fw-gold);
  box-shadow: var(--fw-shadow-subtle);
}

/* =========================
   9) Radio / Checkbox
   ========================= */

.nv-fw-choice-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.nv-fw-choice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--fw-text-soft);
  cursor: pointer;
  padding: 6px 10px;
  border-radius: var(--fw-radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(3, 5, 9, 0.65);
  transition: all var(--fw-transition-fast);
}

.nv-fw-choice:hover {
  border-color: rgba(0, 127, 127, 0.55);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.55);
  transform: translateY(-1px);
}

.nv-fw-choice input[type="radio"] {
  accent-color: var(--fw-accent);
}

/* Checkbox tags */
.nv-fw-tags {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}

.nv-fw-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  color: var(--fw-text-soft);
  padding: 8px 10px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(3, 5, 9, 0.98);
  cursor: pointer;
  transition: all var(--fw-transition-fast);
}

.nv-fw-tag input[type="checkbox"] {
  accent-color: var(--fw-accent);
}

.nv-fw-tag:hover {
  border-color: rgba(0, 127, 127, 0.5);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.58);
  transform: translateY(-1px);
}

/* =========================
   9a) Effect Previews (NEU)
   ========================= */

/* Tag mit Preview-Button */
.nv-fw-tag-preview {
  justify-content: flex-start;
}

.nv-fw-tag-preview > span {
  flex: 1;
  min-width: 0;
}

/* kleiner Preview Button neben Effekt */
.nv-fw-preview-btn {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(1, 2, 4, 0.92);
  color: var(--fw-accent-soft);
  font-weight: 700;
  font-size: 0.78rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition:
    transform var(--fw-transition-fast),
    border-color var(--fw-transition-fast),
    box-shadow var(--fw-transition-fast),
    color var(--fw-transition-fast),
    background-color var(--fw-transition-fast);
}

.nv-fw-preview-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 127, 127, 0.85);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.58);
  color: var(--fw-gold);
}

.nv-fw-preview-btn:active {
  transform: translateY(0);
}

.nv-fw-preview-btn[aria-expanded="true"] {
  border-color: rgba(11, 153, 153, 0.95);
  color: var(--fw-gold);
  background: linear-gradient(to right, rgba(0, 127, 127, 0.20), rgba(0, 0, 0, 0.92));
}

/* Inline Preview Dialog (unterhalb der Tag-Liste) */
.nv-fw-effect-preview {
  margin-top: 6px;
  padding: 10px 10px;
  border-radius: var(--fw-radius-lg);
  border: 1px solid rgba(0, 127, 127, 0.24);
  background:
    radial-gradient(circle at top, rgba(0, 127, 127, 0.10), transparent 65%),
    rgba(1, 2, 4, 0.96);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.55);
}

.nv-fw-effect-preview-inner h4 {
  margin: 0 0 6px;
  font-family: var(--fw-font-heading);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--fw-gold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nv-fw-effect-preview-inner p {
  margin: 0 0 10px;
  font-size: 0.80rem;
  line-height: 1.55;
  color: var(--fw-text-soft);
}

/* Medien-Platzhalter: CSS/JS kann später Hintergrundbild / Icon setzen */
.nv-fw-effect-media {
  display: flex;
  gap: 10px;
  align-items: center;
}

.nv-fw-effect-thumb {
  width: 100%;
  height: 92px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 30% 35%, rgba(242, 193, 79, 0.12), transparent 60%),
    radial-gradient(circle at 70% 60%, rgba(0, 127, 127, 0.14), transparent 58%),
    rgba(3, 5, 9, 0.98);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.55);
}

/* optional: kompaktere Grid-Darstellung für Previews, wenn du später mehrere Thumbs willst */
.nv-fw-tags-with-previews .nv-fw-effect-preview {
  margin-left: 0;
}

/* =========================
   10) Step 3 – Standort & Karte
   ========================= */

.nv-fw-step3-section {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nv-fw-step3-section:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.nv-fw-step3-section-title {
  margin: 0 0 12px;
  font-family: var(--fw-font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fw-gold);
}

.nv-fw-step3-section .nv-fw-field {
  margin-bottom: 14px;
}

.nv-fw-step3-section .nv-fw-field:last-child {
  margin-bottom: 0;
}

.nv-fw-geocode-btn {
  margin-top: 10px;
}

.nv-fw-step3-map-desc {
  margin: 0 0 12px;
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--fw-text-soft);
}

.nv-fw-map-container {
  width: 100%;
  height: 280px;
  border-radius: var(--fw-radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  background: rgba(3, 5, 9, 0.98);
}

.nv-fw-map-container.leaflet-container {
  font-family: var(--fw-font-body);
}

.nv-fw-map-coords {
  margin: 10px 0 0;
  font-size: 0.8rem;
  color: var(--fw-text-muted);
  line-height: 1.5;
}

/* Leaflet: Marker & Controls an Dark-Theme anpassen */
.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
  background: rgba(4, 8, 14, 0.98);
  color: var(--fw-text);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.leaflet-control-zoom a {
  background: rgba(4, 8, 14, 0.9) !important;
  color: var(--fw-text-soft) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}

.leaflet-control-zoom a:hover {
  background: rgba(0, 127, 127, 0.25) !important;
  color: var(--fw-accent-soft) !important;
}

.nv-fw-help {
  margin: 2px 0 0;
  font-size: 0.76rem;
  color: var(--fw-text-soft);
  line-height: 1.45;
}

/* =========================
   11) Buttons
   ========================= */

.nv-fw-step-actions {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.nv-fw-step-actions-split {
  justify-content: space-between;
  align-items: center;
}

.nv-fw-action-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nv-fw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border-radius: var(--fw-radius-pill);
  font-family: var(--fw-font-body);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition:
    transform var(--fw-transition-fast),
    box-shadow var(--fw-transition-med),
    border-color var(--fw-transition-fast),
    color var(--fw-transition-fast),
    background-color var(--fw-transition-fast),
    opacity var(--fw-transition-fast);
  gap: 6px;
  background: transparent;
  color: var(--fw-text-soft);
  user-select: none;
}

.nv-fw-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.nv-fw-btn-primary {
  background: linear-gradient(135deg, var(--fw-accent), var(--fw-accent-soft));
  color: #fff;
  box-shadow:
    0 2px 12px rgba(0, 127, 127, 0.35),
    var(--fw-shadow-subtle);
}

.nv-fw-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 6px 20px rgba(0, 127, 127, 0.4),
    var(--fw-shadow-soft);
}

.nv-fw-btn-primary:active {
  transform: translateY(0);
}

.nv-fw-btn-ghost {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--fw-text);
  background: rgba(1, 2, 4, 0.96);
}

.nv-fw-btn-ghost:hover {
  color: var(--fw-accent-soft);
  border-color: rgba(0, 127, 127, 0.85);
  box-shadow: var(--fw-shadow-subtle);
  transform: translateY(-1px);
}

.nv-fw-btn-ghost:active {
  transform: translateY(0);
}

/* =========================
   12) Step 5 – Ergebnis & Lead-Anfrage (kompakt)
   ========================= */

.nv-fw-step5-result {
  margin-bottom: 20px;
}

.nv-fw-step5-recommendation {
  padding: 16px 16px;
  border-radius: var(--fw-radius-lg);
  border: 1px solid rgba(0, 127, 127, 0.3);
  background:
    linear-gradient(135deg, rgba(0, 127, 127, 0.12) 0%, transparent 60%),
    rgba(2, 6, 12, 0.98);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--fw-text-soft);
}

.nv-fw-step5-recommendation .nv-fw-rec-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.nv-fw-step5-recommendation .nv-fw-rec-badge {
  padding: 4px 10px;
  border-radius: var(--fw-radius-pill);
  border: 1px solid rgba(0, 127, 127, 0.4);
  background: rgba(0, 8, 12, 0.9);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fw-accent-soft);
}

.nv-fw-step5-recommendation .nv-fw-rec-meta {
  display: flex;
  gap: 10px;
  font-size: 0.72rem;
  color: var(--fw-text-muted);
}

.nv-fw-step5-recommendation .nv-fw-rec-title {
  margin: 0 0 8px;
  font-family: var(--fw-font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--fw-text);
  letter-spacing: 0.02em;
}

.nv-fw-step5-recommendation .nv-fw-rec-pricing {
  margin: 8px 0;
  color: var(--fw-gold);
}

.nv-fw-step5-recommendation .nv-fw-rec-details {
  margin: 8px 0 0;
  line-height: 1.65;
}

.nv-fw-step5-recommendation .nv-fw-rec-cta {
  margin: 10px 0 0;
  font-weight: 500;
  color: var(--fw-text);
}

.nv-fw-step5-recommendation strong {
  color: var(--fw-gold);
}

.nv-fw-placeholder {
  margin: 0;
  color: var(--fw-text-soft);
}

.nv-fw-step5-recommendation-inner {
  min-height: 1px;
}

.nv-fw-step5-skeleton {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 4px 0;
}

.nv-fw-skeleton-line {
  display: block;
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.06) 0%,
    rgba(255, 255, 255, 0.12) 50%,
    rgba(255, 255, 255, 0.06) 100%
  );
  background-size: 200% 100%;
  animation: nv-fw-skeleton-shine 1.2s ease-in-out infinite;
}

.nv-fw-skeleton-line-short {
  max-width: 60%;
}

@media (prefers-reduced-motion: reduce) {
  .nv-fw-skeleton-line {
    animation: none;
    background: rgba(255, 255, 255, 0.08);
  }
}

@keyframes nv-fw-skeleton-shine {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.nv-fw-step5-details {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: var(--fw-radius-md);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(3, 5, 9, 0.85);
}

.nv-fw-step5-details-summary {
  font-family: var(--fw-font-heading);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--fw-text-soft);
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.nv-fw-step5-details-summary::-webkit-details-marker {
  display: none;
}

.nv-fw-step5-details-summary::marker {
  display: none;
}

.nv-fw-step5-details[open] .nv-fw-step5-details-summary {
  margin-bottom: 10px;
  color: var(--fw-gold);
}

.nv-fw-step5-details-content {
  margin-top: 8px;
  padding-left: 0;
}

.nv-fw-step5-reasons-list {
  margin: 0;
  padding-left: 18px;
  list-style: disc;
  color: var(--fw-text-soft);
  line-height: 1.6;
}

.nv-fw-step5-reasons-list li {
  margin-bottom: 6px;
}

.nv-fw-step5-lead-section {
  margin-top: 24px;
  padding: 18px 16px;
  border-radius: var(--fw-radius-lg);
  border: 1px solid rgba(0, 127, 127, 0.2);
  background: rgba(2, 8, 14, 0.6);
}

.nv-fw-step5-lead-title {
  margin: 0 0 6px;
  font-family: var(--fw-font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--fw-text);
  letter-spacing: 0.03em;
}

.nv-fw-step5-lead-desc {
  margin: 0 0 14px;
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--fw-text-soft);
}

.nv-fw-step5-consent {
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nv-fw-step5-send-btn {
  width: 100%;
  padding: 12px 20px;
  font-size: 0.9rem;
}

.nv-fw-step5-lead-sent {
  margin-top: 24px;
  padding: 20px 18px;
  border-radius: var(--fw-radius-lg);
  border: 1px solid rgba(23, 211, 195, 0.3);
  background:
    linear-gradient(135deg, rgba(23, 211, 195, 0.08) 0%, transparent 60%),
    rgba(2, 18, 18, 0.85);
  text-align: center;
}

.nv-fw-step5-lead-sent-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #021014;
  background: linear-gradient(135deg, var(--fw-success), rgba(23, 211, 195, 0.9));
  box-shadow: 0 4px 16px rgba(23, 211, 195, 0.3);
}

.nv-fw-step5-lead-sent-text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--fw-text-soft);
}

.nv-fw-step5-lead-sent-text strong {
  color: var(--fw-success);
}

/* Consent */
.nv-fw-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(1, 2, 4, 0.78);
  cursor: pointer;
  transition: all var(--fw-transition-fast);
}

.nv-fw-check:hover {
  border-color: rgba(0, 127, 127, 0.5);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.55);
  transform: translateY(-1px);
}

.nv-fw-check input[type="checkbox"] {
  margin-top: 2px;
  accent-color: var(--fw-accent);
}

.nv-fw-link {
  color: var(--fw-accent-soft);
  border-bottom: 1px solid rgba(0, 127, 127, 0.45);
  padding-bottom: 1px;
  transition: all var(--fw-transition-fast);
}

.nv-fw-link:hover {
  color: var(--fw-gold);
  border-color: rgba(242, 193, 79, 0.85);
}

/* =========================
   9b) Step 1: Datenschutz-Einverständnis (Rechtssicherheit)
   ========================= */

.nv-fw-consent-step1 {
  margin-top: 20px;
  margin-bottom: 0;
  padding: 0;
  border: none;
  background: transparent;
}

.nv-fw-consent-box {
  padding: 20px 20px 18px;
  border-radius: var(--fw-radius-md);
  border: 1px solid rgba(0, 127, 127, 0.2);
  background:
    linear-gradient(135deg, rgba(0, 127, 127, 0.04) 0%, transparent 60%),
    rgba(1, 4, 8, 0.6);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.02) inset,
    0 4px 16px rgba(0, 0, 0, 0.3);
  position: relative;
}

.nv-fw-consent-box::before {
  content: "Datenschutz";
  position: absolute;
  top: -10px;
  left: 20px;
  padding: 3px 10px;
  border-radius: var(--fw-radius-pill);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fw-accent-soft);
  background: rgba(2, 6, 10, 0.95);
  border: 1px solid rgba(0, 127, 127, 0.3);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.nv-fw-check-privacy {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 0 !important;
  margin: 0;
  cursor: pointer;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0;
  transition: none;
}

.nv-fw-check-privacy:hover {
  border: none !important;
  box-shadow: none !important;
  transform: none;
  background: transparent !important;
}

.nv-fw-check-privacy .nv-fw-check-mark {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 6px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: rgba(1, 2, 4, 0.9);
  transition: all var(--fw-transition-fast);
  position: relative;
}

.nv-fw-check-privacy input[type="checkbox"] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.nv-fw-check-privacy input[type="checkbox"]:focus-visible + .nv-fw-check-mark {
  box-shadow: var(--fw-shadow-focus);
}

.nv-fw-check-privacy input[type="checkbox"]:checked + .nv-fw-check-mark {
  border-color: var(--fw-accent-soft);
  background: linear-gradient(135deg, var(--fw-accent), var(--fw-accent-soft));
}

.nv-fw-check-privacy input[type="checkbox"]:checked + .nv-fw-check-mark::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 11px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.nv-fw-check-privacy .nv-fw-check-text {
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--fw-text-soft);
}

.nv-fw-check-privacy:hover .nv-fw-check-mark {
  border-color: rgba(0, 127, 127, 0.6);
}

.nv-fw-consent-desc {
  margin: 12px 0 0 34px;
  padding: 0;
  font-size: 0.75rem;
  color: var(--fw-text-muted);
  line-height: 1.5;
}

@media (max-width: 720px) {
  .nv-fw-consent-box {
    padding: 18px 16px 16px;
  }
  .nv-fw-consent-box::before {
    left: 16px;
    font-size: 0.64rem;
    letter-spacing: 0.08em;
    padding: 2px 8px;
  }
  .nv-fw-consent-desc {
    margin-left: 0;
    margin-top: 10px;
  }
}

/* Privacy hint */
.nv-fw-privacy-hint {
  margin-top: 10px;
  font-size: 0.76rem;
  color: var(--fw-text-soft);
  line-height: 1.55;
}

/* Tools */
.nv-fw-tools {
  margin-top: 10px;
  display: flex;
  justify-content: flex-end;
}

/* Messages */
.nv-fw-error,
.nv-fw-success {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 0.8rem;
  line-height: 1.5;
}

.nv-fw-error {
  border: 1px solid rgba(255, 90, 90, 0.85);
  background: rgba(40, 6, 6, 0.96);
  color: #ffb9b9;
}

.nv-fw-success {
  border: 1px solid rgba(11, 153, 153, 0.9);
  background: rgba(2, 18, 18, 0.96);
  color: rgba(23, 211, 195, 0.95);
}

/* =========================
   13) Optional Modal (falls später genutzt)
   ========================= */

.nv-fw-modal[hidden] {
  display: none !important;
}

.nv-fw-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 18px;
}

.nv-fw-modal-overlay {
  position: absolute;
  inset: 0;
  background: var(--fw-modal-overlay);
  backdrop-filter: blur(4px);
}

.nv-fw-modal-card {
  position: relative;
  z-index: 2;
  width: min(720px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  border-radius: var(--fw-radius-xxl);
  border: 1px solid rgba(0, 127, 127, 0.25);
  background:
    radial-gradient(circle at top, rgba(0, 127, 127, 0.14), transparent 62%),
    rgba(4, 6, 10, 0.98);
  box-shadow: var(--fw-shadow-soft);
  padding: 14px 14px 16px;
}

.nv-fw-modal-close {
  position: absolute;
  right: 12px;
  top: 10px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(1, 2, 4, 0.96);
  color: var(--fw-text-soft);
  cursor: pointer;
  transition: all var(--fw-transition-fast);
}

.nv-fw-modal-close:hover {
  border-color: rgba(0, 127, 127, 0.85);
  color: var(--fw-gold);
  box-shadow: var(--fw-shadow-subtle);
  transform: translateY(-1px);
}

.nv-fw-modal-content {
  margin-top: 28px;
  color: var(--fw-text-soft);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* =========================
   14) Optional Scroll Animation Hooks (kompatibel zu nv-animate-on-scroll)
   ========================= */

.nv-fw-step,
.nv-fw-hero-inner,
.nv-fw-hero-card {
  transition:
    opacity var(--fw-transition-med),
    transform var(--fw-transition-med);
}

.nv-animate-on-scroll {
  opacity: 0;
  transform: translateY(14px);
}

.nv-animate-on-scroll.nv-animated {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   15) Responsive Breakpoints (inkl. Mobile)
   ========================= */

@media (max-width: 900px) {
  .nv-fw-hero-cards {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 28px;
  }

  .nv-fw-hero-bg {
    opacity: 0.18;
  }

  .nv-fw-hero-bg-glow {
    right: -20%;
    top: -100px;
    opacity: 0.75;
  }

  .nv-fw-idbar {
    grid-template-columns: 1fr;
  }

  .nv-fw-help-popover {
    left: 0;
    right: auto;
    width: min(460px, 100%);
  }

  .nv-fw-help-popover::before {
    left: 14px;
    right: auto;
  }
}

@media (max-width: 720px) {
  .nv-fw-hero {
    padding: 80px 16px 40px;
  }

  .nv-fw-hero-title {
    font-size: 1.6rem;
  }

  .nv-fw-hero-lead {
    font-size: 0.92rem;
  }

  .nv-fw-hero-cards {
    margin-top: 24px;
    gap: 14px;
  }

  .nv-fw-hero-card {
    padding: 16px 14px;
  }

  .nv-fw-hero-cta-wrap {
    margin-top: 28px;
  }

  .nv-fw-hero-cta {
    padding: 12px 28px;
    font-size: 0.9rem;
    width: 100%;
    max-width: 280px;
  }

  .nv-fw-wrapper {
    padding: 12px 16px 40px;
  }

  .nv-fw-form-column {
    padding: 22px 16px 28px;
  }

  .nv-fw-form-header {
    margin-bottom: 16px;
    padding-bottom: 14px;
  }

  .nv-fw-section-title {
    font-size: 1.05rem;
  }

  .nv-fw-section-desc-long {
    display: none;
  }

  .nv-fw-step-progress {
    margin-top: 6px;
  }

  .nv-fw-tags {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nv-fw-map-container {
    height: 240px;
  }

  .nv-fw-section-desc {
    font-size: 0.82rem;
  }

  .nv-fw-step {
    padding: 14px 14px 16px;
  }

  .nv-fw-field-grid {
    grid-template-columns: 1fr;
  }

  .nv-fw-step-actions-split {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .nv-fw-action-group {
    justify-content: stretch;
  }

  .nv-fw-btn {
    width: 100%;
  }

  .nv-fw-tools {
    justify-content: stretch;
  }

  .nv-fw-help-popover {
    top: 34px;
  }

  /* Step 5 responsive */
  .nv-fw-step5-lead-section {
    padding: 16px 14px;
  }

  .nv-fw-step5-lead-sent {
    padding: 18px 16px;
  }
}

@media (max-width: 420px) {
  .nv-fw-hero {
    padding: 76px 14px 32px;
  }

  .nv-fw-hero-title {
    font-size: 1.45rem;
  }

  .nv-fw-hero-card-icon {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }

  .nv-fw-wrapper {
    padding: 10px 14px 32px;
  }

  .nv-fw-form-column {
    padding: 18px 14px 24px;
  }

  .nv-fw-map-container {
    height: 240px;
  }

  .nv-fw-help-icon {
    width: 19px;
    height: 19px;
    font-size: 0.74rem;
  }

  .nv-fw-preview-btn {
    width: 21px;
    height: 21px;
    font-size: 0.74rem;
  }
}
