/* /static/index.css */
/* Vollständiges Stylesheet für die Startseite
   MANDL PYROTECHNIK
   - Dark Theme
   - Konsistent mit Topbar & Footer
   - Alle Sektionen sichtbar & klar strukturiert
*/

/* =========================
   Global Setup & Tokens
   ========================= */

:root {
  --nv-bg: #020308;
  --nv-bg-soft: #05060a;
  --nv-bg-elevated: #070a11;

  --nv-text: #f5f5f7;
  --nv-text-soft: #b0b6c3;

  --nv-accent: #007f7f;
  --nv-accent-soft: #0b9999;
  --nv-gold: #f2c14f;

  --nv-border-soft: rgba(255, 255, 255, 0.06);

  --nv-radius-xl: 24px;
  --nv-radius-lg: 18px;
  --nv-radius-pill: 999px;

  --nv-shadow-soft: 0 18px 50px rgba(0, 0, 0, 0.5);
  --nv-shadow-subtle: 0 10px 30px rgba(0, 0, 0, 0.42);

  --nv-transition-fast: 0.18s ease-out;
  --nv-transition-med: 0.28s cubic-bezier(0.33, 0.02, 0.11, 0.99);

  --nv-font-heading: "Poppins", system-ui, -apple-system, sans-serif;
  --nv-font-body: "Inter", system-ui, -apple-system, sans-serif;

  --nv-max-width: 1320px;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top, rgba(0, 127, 127, 0.14), transparent),
    radial-gradient(circle at bottom, rgba(242, 193, 79, 0.04), transparent),
    var(--nv-bg);
  color: var(--nv-text);
  font-family: var(--nv-font-body);
  -webkit-font-smoothing: antialiased;
}

/* Links global */
a {
  color: inherit;
  text-decoration: none;
}

/* Haupt-Container */
.nv-main {
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

/* =========================
   Sections & Layout
   ========================= */

.nv-section {
  position: relative;
  width: 100%;
}

.nv-section-padded {
  padding: 72px 24px;
}

.nv-section-dark {
  background:
    radial-gradient(circle at top, rgba(0, 127, 127, 0.06), transparent),
    var(--nv-bg-soft);
}

/* Sektion Header */

.nv-section-header {
  max-width: var(--nv-max-width);
  margin: 0 auto 36px;
  text-align: left;
}

.nv-section-title {
  margin: 0 0 10px;
  font-family: var(--nv-font-heading);
  font-weight: 600;
  font-size: 1.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--nv-text);
}

.nv-section-subtitle {
  margin: 0;
  font-size: 0.98rem;
  color: var(--nv-text-soft);
  max-width: 640px;
}

/* =========================
   Hero (orientiert an Feuerwerk-Service / dienstleistung.css)
   ========================= */

.nv-hero {
  position: relative;
  width: 100%;
  min-height: 70vh;
  padding: 96px 24px 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Desktop: Hero bei 1920×1080 exakt ein volles Viewport (100vh), dann Scroll-Transform */
@media (min-width: 1024px) {
  #start.nv-hero.nv-hero-home {
    min-height: 100vh;
    height: 100vh;
    padding: 96px 24px 72px;
    box-sizing: border-box;
  }
}

.nv-hero-home {
  isolation: isolate;
}

/* Hero-Hintergrund: Bildschicht + CSS-Fallback, bei Desktop fullscreen 1920×1080 */
.nv-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  overflow: hidden;
  background-image: url("/media/background1.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--nv-bg);
}

.nv-hero-bg img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  pointer-events: none;
  opacity: 1;
  visibility: visible;
}

/* Sicherstellen: Hero-Bild auf Startseite immer sichtbar */
#start.nv-hero .nv-hero-bg,
#start.nv-hero .nv-hero-bg img {
  opacity: 1;
  visibility: visible;
}

/* Dunkles Overlay für Lesbarkeit (Bild bleibt sichtbar) */
.nv-hero-home::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at top left, rgba(0, 127, 127, 0.15), transparent 50%),
    radial-gradient(circle at bottom right, rgba(242, 193, 79, 0.05), transparent 50%),
    linear-gradient(180deg, rgba(2, 3, 8, 0.45) 0%, rgba(2, 3, 8, 0.75) 100%);
}

.nv-hero-inner {
  position: relative;
  max-width: var(--nv-max-width);
  margin: 0 auto;
  z-index: 2;
}

#start .nv-hero-title,
#start .nv-hero-subtitle,
#start .nv-hero-quote {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.5);
}

.nv-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--nv-radius-pill);
  border: 1px solid rgba(0, 127, 127, 0.4);
  color: var(--nv-accent-soft);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  background: rgba(0, 0, 0, 0.78);
}

.nv-hero-title {
  margin: 18px 0 12px;
  font-family: var(--nv-font-heading);
  font-weight: 600;
  font-size: clamp(2rem, 3.4vw, 3rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--nv-text);
  line-height: 1.2;
}

.nv-hero-subtitle {
  margin: 0 0 16px;
  max-width: 720px;
  font-size: 1.05rem;
  color: var(--nv-text-soft);
  line-height: 1.7;
}

.nv-hero-quote {
  margin: 0 0 20px;
  max-width: 720px;
  font-size: 1rem;
  color: rgba(245, 245, 247, 0.92);
  line-height: 1.65;
}

.nv-hero-pills {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 860px;
}

.nv-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: var(--nv-radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.62);
  color: var(--nv-text-soft);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.nv-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
}

.nv-hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 0 0 18px;
  font-size: 0.9rem;
  color: var(--nv-text-soft);
}

.nv-hero-links-sep {
  opacity: 0.5;
}

.nv-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--nv-text-soft);
}

/* Dekoelemente im Hero */


.nv-hero-glow {
  position: absolute;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(0, 127, 127, 0.26), transparent 62%);
  top: -120px;
  right: 6%;
  opacity: 0.55;
  pointer-events: none;
  filter: blur(6px);
  z-index: 1; /* über Overlay, unter Inhalt */
  will-change: opacity;
  animation: nvGlowPulse 10s ease-in-out infinite;
}

@keyframes nvGlowPulse {
  0%, 100% { opacity: 0.48; }
  50% { opacity: 0.62; }
}

.nv-hero-particles {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.08) 0, transparent 40%),
    radial-gradient(circle at 82% 8%, rgba(242, 193, 79, 0.12) 0, transparent 42%);
  opacity: 0.045;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 1; /* über Overlay, unter Inhalt */
}

@media (prefers-reduced-motion: reduce) {
  .nv-hero-glow {
    animation: none !important;
  }
}

/* =========================
   Buttons
   ========================= */

.nv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: var(--nv-radius-pill);
  font-family: var(--nv-font-body);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--nv-transition-med);
  gap: 6px;
  white-space: nowrap;
}

.nv-btn-primary {
  background: linear-gradient(to right, var(--nv-accent), var(--nv-accent-soft));
  color: #ffffff;
  box-shadow: var(--nv-shadow-soft);
}

.nv-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.7);
}

.nv-btn-ghost {
  background: transparent;
  color: var(--nv-gold);
  border-color: rgba(242, 193, 79, 0.7);
}

.nv-btn-ghost:hover {
  background: radial-gradient(circle at top left, rgba(0, 127, 127, 0.22), rgba(0, 0, 0, 0.98));
  color: var(--nv-accent-soft);
  transform: translateY(-1px);
}

/* =========================
   Grids
   ========================= */

.nv-grid {
  display: grid;
  gap: 20px;
  max-width: var(--nv-max-width);
  margin: 0 auto;
}

.nv-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nv-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* =========================
   Hauptleistungs-Cards
   ========================= */

.nv-card {
  padding: 22px 20px 20px;
  background:
    radial-gradient(circle at top, rgba(0, 127, 127, 0.16), transparent),
    var(--nv-bg-elevated);
  border-radius: var(--nv-radius-xl);
  border: 1px solid var(--nv-border-soft);
  box-shadow: var(--nv-shadow-subtle);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nv-card-title {
  margin: 0;
  font-family: var(--nv-font-heading);
  font-weight: 500;
  font-size: 1.2rem;
  color: var(--nv-text);
}

.nv-card-text {
  margin: 0;
  font-size: 0.92rem;
  color: var(--nv-text-soft);
  line-height: 1.6;
}

.nv-card-list {
  margin: 6px 0 10px;
  padding-left: 18px;
  font-size: 0.86rem;
  color: var(--nv-text-soft);
}

.nv-card-list li {
  margin-bottom: 4px;
}

.nv-card-hover {
  transition: all var(--nv-transition-med);
}

.nv-card-hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--nv-shadow-soft);
  border-color: rgba(0, 127, 127, 0.5);
}

/* Link unten in Cards */

.nv-link-arrow {
  margin-top: auto;
  font-size: 0.84rem;
  color: var(--nv-accent-soft);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding-bottom: 1px;
  border-bottom: 1px solid transparent;
  transition: all var(--nv-transition-fast);
}

.nv-link-arrow::after {
  content: "↗";
  font-size: 0.78rem;
  transition: transform var(--nv-transition-fast);
}

.nv-link-arrow:hover {
  color: var(--nv-gold);
  border-color: rgba(0, 127, 127, 0.6);
}

.nv-link-arrow:hover::after {
  transform: translate(3px, -2px);
}

/* =========================
   Weitere Angebote Cards
   ========================= */

.nv-card-soft {
  padding: 16px 16px 14px;
  border-radius: var(--nv-radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.04);
  background:
    radial-gradient(circle at top, rgba(0, 127, 127, 0.12), transparent),
    rgba(3, 5, 9, 0.98);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all var(--nv-transition-fast);
}

.nv-card-soft:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 127, 127, 0.5);
  box-shadow: var(--nv-shadow-soft);
}

.nv-card-label {
  margin: 0;
  font-family: var(--nv-font-heading);
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nv-gold);
}

.nv-card-desc {
  margin: 0;
  font-size: 0.86rem;
  color: var(--nv-text-soft);
  line-height: 1.5;
}

.nv-link-soft {
  margin-top: auto;
  font-size: 0.8rem;
  color: var(--nv-accent-soft);
  padding-bottom: 1px;
  border-bottom: 1px solid transparent;
  transition: all var(--nv-transition-fast);
}

.nv-link-soft:hover {
  border-color: rgba(0, 127, 127, 0.7);
  color: var(--nv-gold);
}

/* =========================
   Warum Mandl / USP
   ========================= */

.nv-why-grid {
  margin-top: 18px;
}

.nv-why-item {
  padding: 18px 16px;
  border-radius: var(--nv-radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.04);
  background: rgba(4, 6, 10, 0.98);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.5);
  transition: all var(--nv-transition-fast);
}

.nv-why-item h3 {
  margin: 0 0 6px;
  font-family: var(--nv-font-heading);
  font-size: 1rem;
  font-weight: 500;
  color: var(--nv-gold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nv-why-item p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--nv-text-soft);
  line-height: 1.5;
}

.nv-why-item:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 127, 127, 0.5);
  box-shadow: var(--nv-shadow-soft);
}

/* =========================
   Overview + Leistungen (zusammenhängender Leistungsbereich)
   ========================= */

.nv-overview-leistungen-wrap {
  position: relative;
  background:
    linear-gradient(180deg, transparent 0%, rgba(2, 3, 8, 0.3) 12%, rgba(5, 6, 10, 0.5) 50%, transparent 100%),
    radial-gradient(ellipse 120% 80% at 50% 30%, rgba(0, 127, 127, 0.06), transparent 55%),
    var(--nv-bg);
}

/* Übergang zwischen Overview und Leistungen: dezentes Glow-Band */
#overview.nv-overview-block {
  padding-bottom: 56px;
  --nv-overview-progress: 0;
}

#leistungen.nv-leistungen-block {
  padding-top: 48px;
  position: relative;
  --nv-leistungen-progress: 0;
}

#leistungen.nv-leistungen-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(90%, 800px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 127, 127, 0.25), rgba(242, 193, 79, 0.12), rgba(0, 127, 127, 0.25), transparent);
  opacity: 0.7;
  pointer-events: none;
}

/* Dekorative Layer (scroll-gekoppelt via --nv-*-progress), aria-hidden im HTML */
.nv-section-glowline {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120%;
  pointer-events: none;
  z-index: 0;
  opacity: calc(0.12 * var(--nv-overview-progress, 0));
  background: linear-gradient(105deg, transparent 0%, rgba(0, 127, 127, 0.08) 35%, rgba(242, 193, 79, 0.04) 65%, transparent 100%);
  background-size: 100% 100%;
  background-position: 0 calc(-20% + 30% * var(--nv-overview-progress, 0));
  transition: opacity 0.25s ease-out;
}

.nv-section-sparks {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.nv-section-sparks-overview::before,
.nv-section-sparks-overview::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 193, 79, 0.08), transparent 65%);
  opacity: calc(0.5 * var(--nv-overview-progress, 0));
  transition: opacity 0.3s ease-out;
}

.nv-section-sparks-overview::before {
  top: 15%;
  right: 8%;
}

.nv-section-sparks-overview::after {
  bottom: 25%;
  left: 5%;
  background: radial-gradient(circle, rgba(0, 127, 127, 0.1), transparent 65%);
}

.nv-section-burst {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.nv-section-burst-leistungen::before {
  content: "";
  position: absolute;
  bottom: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 600px;
  height: 200px;
  background: radial-gradient(ellipse 80% 100% at 50% 100%, rgba(0, 127, 127, 0.06), transparent 70%);
  opacity: calc(0.6 * var(--nv-leistungen-progress, 0));
  transition: opacity 0.3s ease-out;
}

/* Overview: Premium Leistungsradar */
#overview .nv-section-header {
  position: relative;
  z-index: 1;
  margin-bottom: 40px;
}

#overview .nv-section-title {
  font-size: 1.75rem;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

#overview .nv-section-subtitle {
  font-size: 0.96rem;
  line-height: 1.65;
  max-width: 600px;
}

#overview .nv-why-grid {
  position: relative;
  z-index: 1;
  margin-top: 0;
  gap: 22px;
}

#overview .nv-why-item {
  position: relative;
  padding: 22px 20px 20px;
  border-radius: var(--nv-radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background:
    radial-gradient(circle at 70% 20%, rgba(0, 127, 127, 0.08), transparent 50%),
    rgba(6, 8, 14, 0.96);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.03);
  overflow: hidden;
  transition: transform var(--nv-transition-med), border-color var(--nv-transition-fast), box-shadow var(--nv-transition-med);
}

#overview .nv-why-item:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 127, 127, 0.35);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 127, 127, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

#overview .nv-why-item:focus-within {
  outline: none;
  border-color: rgba(0, 127, 127, 0.5);
  box-shadow: 0 0 0 2px rgba(0, 127, 127, 0.25);
}

/* Spark-Line / Glow pro Why-Item (subtil) */
.nv-why-item-spark {
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(242, 193, 79, 0.2));
  opacity: 0.5;
  border-radius: 1px;
}

.nv-why-item-badge {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--nv-accent-soft);
  margin-bottom: 10px;
  opacity: 0.9;
}

#overview .nv-why-item .nv-why-item-title,
#overview .nv-why-item h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--nv-text);
}

#overview .nv-why-item p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--nv-text-soft);
}

/* Leistungen: Signature Cards */
#leistungen .nv-section-header {
  position: relative;
  z-index: 1;
  margin-bottom: 44px;
}

#leistungen .nv-section-title {
  font-size: 1.75rem;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

#leistungen .nv-section-subtitle {
  font-size: 0.96rem;
  line-height: 1.65;
  max-width: 620px;
}

.nv-leistungen-cards {
  position: relative;
  z-index: 1;
  gap: 28px;
  align-items: stretch;
}

.nv-card-signature {
  position: relative;
  padding: 28px 26px 26px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  border-radius: var(--nv-radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.07);
  background:
    radial-gradient(ellipse 100% 80% at 50% 0%, rgba(0, 127, 127, 0.1), transparent 55%),
    var(--nv-bg-elevated);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: transform var(--nv-transition-med), border-color var(--nv-transition-fast), box-shadow var(--nv-transition-med);
}

.nv-card-signature:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 127, 127, 0.4);
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 127, 127, 0.12);
}

.nv-card-signature:focus-within {
  outline: none;
  border-color: rgba(0, 127, 127, 0.5);
  box-shadow: 0 0 0 2px rgba(0, 127, 127, 0.28);
}

.nv-card-badge {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--nv-accent-soft);
  margin-bottom: 12px;
}

.nv-card-signature .nv-card-title {
  margin: 0 0 12px;
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--nv-text);
}

.nv-card-signature .nv-card-text {
  margin: 0 0 14px;
  font-size: 0.94rem;
  line-height: 1.6;
}

.nv-card-signature .nv-card-list {
  margin: 0 0 18px;
  padding-left: 20px;
  font-size: 0.88rem;
}

.nv-card-signature .nv-link-arrow {
  margin-top: auto;
  padding-top: 4px;
  font-size: 0.88rem;
  font-weight: 500;
}

/* Handel: sachlich – feine lineare Accent-Struktur */
.nv-card-handel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 127, 127, 0.4), transparent);
  opacity: 0.6;
  border-radius: var(--nv-radius-xl) var(--nv-radius-xl) 0 0;
  pointer-events: none;
}

/* Service: emotional – weicher Glow */
.nv-card-service {
  background:
    radial-gradient(ellipse 90% 70% at 70% 30%, rgba(242, 193, 79, 0.06), transparent 50%),
    radial-gradient(ellipse 100% 80% at 50% 0%, rgba(0, 127, 127, 0.1), transparent 55%),
    var(--nv-bg-elevated);
}

.nv-card-service::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(242, 193, 79, 0.25), transparent);
  opacity: 0.5;
  border-radius: var(--nv-radius-xl) var(--nv-radius-xl) 0 0;
  pointer-events: none;
}

/* Overview + Leistungen: Responsive */
@media (max-width: 1024px) {
  #overview .nv-why-grid {
    gap: 18px;
  }
  #overview .nv-why-item {
    padding: 20px 18px 18px;
  }
  .nv-leistungen-cards {
    gap: 22px;
  }
  .nv-card-signature {
    padding: 24px 22px 22px;
    min-height: 280px;
  }
}

@media (max-width: 768px) {
  #overview.nv-overview-block {
    padding-bottom: 44px;
  }
  #leistungen.nv-leistungen-block {
    padding-top: 36px;
  }
  #leistungen.nv-leistungen-block::before {
    width: 85%;
  }
  #overview .nv-section-header,
  #leistungen .nv-section-header {
    margin-bottom: 32px;
  }
  .nv-card-signature {
    padding: 22px 20px 20px;
    min-height: auto;
  }
}

@media (max-width: 540px) {
  #overview .nv-why-item {
    padding: 18px 16px 16px;
  }
}

/* Reduced motion: Dekorative Scroll-Effekte aus, Inhalte sofort sichtbar */
@media (prefers-reduced-motion: reduce) {
  .nv-overview-leistungen-wrap .nv-section-glowline,
  .nv-overview-leistungen-wrap .nv-section-sparks-overview::before,
  .nv-overview-leistungen-wrap .nv-section-sparks-overview::after,
  .nv-overview-leistungen-wrap .nv-section-burst-leistungen::before {
    opacity: 0 !important;
    transition: none;
  }
  #overview .nv-why-item,
  .nv-card-signature {
    transition: none;
  }
}

/* --- Overview + Leistungen Abschlussnotiz ---
 * Optisch: Beide Blöcke wirken als zusammenhängender Leistungsbereich (Wrapper-Gradient,
 * Glow-Band zwischen Sektionen). Overview = Premium-Leistungsradar mit 4 Why-Items (Badge, Spark-Line, Kartenoptik).
 * Leistungen = zwei Signature Cards mit Badge, stärkerer Titel-Hierarchie, CTA unten; Handel mit Accent-Linie, Service mit weichem Glow.
 * Feuerwerk-Bezug: Glowline/Sparks/Burst als dekorative Layer (opacity/position an --nv-overview-progress / --nv-leistungen-progress);
 * keine Partikel-Animation, nur ruhige Glows und Lichtspuren. Neue Klassen: .nv-overview-leistungen-wrap, .nv-overview-block,
 * .nv-leistungen-block, .nv-section-glowline, .nv-section-sparks, .nv-section-sparks-overview, .nv-section-burst, .nv-section-burst-leistungen,
 * .nv-why-item-spark, .nv-why-item-badge, .nv-why-item-title, .nv-leistungen-cards, .nv-card-signature, .nv-card-handel, .nv-card-service, .nv-card-badge.
 */

/* =========================
   Über Uns – Cinematic 16:9 Story-Stage (4 Szenen, scrolldriven)
   ========================= */

#ueber-uns.nv-about-cinematic-section {
  position: relative;
  padding: 0;
  overflow: visible;
  background: var(--nv-bg);
}

.nv-about-cinematic {
  position: relative;
  min-height: 220vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.nv-about-stage-wrap {
  position: sticky;
  top: 80px;
  width: 100%;
  padding: 0 24px 24px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nv-about-stage {
  position: relative;
  width: min(100%, 1920px);
  aspect-ratio: 16 / 9;
  max-height: min(calc(100vh - 120px), 1080px);
  border-radius: var(--nv-radius-xl);
  overflow: hidden;
  box-shadow: var(--nv-shadow-soft), 0 0 0 1px var(--nv-border-soft);
  isolation: isolate;
}

/* Background Layer – Fallback/Gradient; eigener Bildhintergrund pro Szene */
.nv-about-cinematic-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 70% at 50% 20%, rgba(0, 127, 127, 0.12), transparent 55%),
    radial-gradient(ellipse 80% 60% at 75% 75%, rgba(242, 193, 79, 0.06), transparent 50%),
    linear-gradient(180deg, rgba(2, 3, 8, 0.97) 0%, rgba(5, 6, 12, 0.98) 100%),
    var(--nv-bg);
}

/* Pro Szene eigenes WebP-Hintergrundbild (nur aktive Szene sichtbar via Opacity) */
#ueber-uns .nv-about-scene[data-scene="0"] {
  background: url("/media/background1.webp") center / cover no-repeat;
}
#ueber-uns .nv-about-scene[data-scene="1"] {
  background: url("/media/background2.webp") center / cover no-repeat;
}
#ueber-uns .nv-about-scene[data-scene="2"] {
  background: url("/media/background5.webp") center / cover no-repeat;
}
#ueber-uns .nv-about-scene[data-scene="3"] {
  background: url("/media/background4.webp") center / cover no-repeat;
}

#ueber-uns .nv-about-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(105deg, rgba(2, 3, 8, 0.88) 0%, transparent 50%),
    linear-gradient(180deg, rgba(2, 3, 8, 0.6) 0%, rgba(5, 6, 12, 0.85) 100%);
  pointer-events: none;
}

/* Ambient Layer – dezente Tiefe */
.nv-about-stage-ambient {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 15% 25%, rgba(255, 255, 255, 0.03) 0%, transparent 25%),
    radial-gradient(circle at 88% 15%, rgba(242, 193, 79, 0.04) 0%, transparent 22%),
    radial-gradient(circle at 50% 90%, rgba(0, 127, 127, 0.05) 0%, transparent 30%);
  opacity: 0.9;
}

@keyframes nv-about-ambient-float {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.02); }
}

@media (prefers-reduced-motion: no-preference) {
  .nv-about-stage-ambient {
    animation: nv-about-ambient-float 12s ease-in-out infinite;
  }
}

/* Content Stage – Szenen */
.nv-about-scenes {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.nv-about-scene {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: clamp(32px, 5vw, 64px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s cubic-bezier(0.33, 0.02, 0.11, 0.99);
}

.nv-about-scene-active {
  opacity: 1;
  pointer-events: auto;
}

.nv-about-scene-panel {
  max-width: 56%;
  min-width: 280px;
}

.nv-about-scene-kicker {
  margin: 0 0 12px;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--nv-accent-soft);
}

.nv-about-scene-title {
  margin: 0 0 16px;
  font-family: var(--nv-font-heading);
  font-weight: 600;
  font-size: clamp(1.6rem, 3.2vw, 2.8rem);
  letter-spacing: 0.04em;
  line-height: 1.15;
  color: var(--nv-text);
}

#ueber-uns .nv-about-scene-title {
  text-transform: uppercase;
}

.nv-about-scene-text {
  margin: 0 0 20px;
  font-size: clamp(0.88rem, 1.2vw, 1rem);
  line-height: 1.65;
  color: var(--nv-text-soft);
  max-width: 480px;
}

.nv-about-scene-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nv-about-scene-tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: var(--nv-radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--nv-text-soft);
}

/* Scene Nav */
.nv-about-scene-nav {
  position: absolute;
  bottom: clamp(24px, 4vw, 40px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 12px;
  padding: 0;
}

.nv-about-scene-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  padding: 0;
  transition: background var(--nv-transition-fast), border-color var(--nv-transition-fast), transform var(--nv-transition-fast);
}

.nv-about-scene-dot:hover {
  background: rgba(255, 255, 255, 0.35);
  border-color: var(--nv-accent-soft);
}

.nv-about-scene-dot:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--nv-accent);
}

.nv-about-scene-dot-active {
  background: var(--nv-accent-soft);
  border-color: var(--nv-accent-soft);
  transform: scale(1.2);
}

/* Scene Counter */
.nv-about-scene-counter {
  position: absolute;
  top: clamp(24px, 4vw, 40px);
  right: clamp(24px, 4vw, 48px);
  z-index: 3;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--nv-text-soft);
}

.nv-about-scene-counter-current {
  color: var(--nv-text);
  font-weight: 600;
}

/* CTA */
.nv-about-stage-cta {
  position: absolute;
  bottom: clamp(24px, 4vw, 40px);
  right: clamp(24px, 4vw, 48px);
  z-index: 3;
}

.nv-about-stage-cta .nv-btn {
  min-width: 180px;
}

/* Responsive */
@media (max-width: 1024px) {
  .nv-about-cinematic {
    min-height: 200vh;
  }
  .nv-about-stage-wrap {
    top: 72px;
    padding: 0 18px 18px;
  }
  .nv-about-stage {
    max-height: min(calc(100vh - 100px), 80vh);
  }
  .nv-about-scene-panel {
    max-width: 70%;
  }
}

/* Mobile: 9:16 Portrait-Bühne, zentriert, Desktop 16:9 unverändert */
@media (max-width: 768px) {
  #ueber-uns.nv-about-cinematic-section {
    padding: 0 0 48px;
    scroll-margin-top: 72px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
  }
  .nv-about-cinematic {
    min-height: 180vh;
    min-height: 180dvh; /* Fallback für 180vh – dvh verhindert zu kleinen Track bei 19:9 */
    padding-top: 24px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0; /* Verhindert Schrumpfen als Flex-Kind → Scroll-Range bleibt positiv */
  }
  .nv-about-stage-wrap {
    position: relative;
    top: auto;
    width: 100%;
    max-width: 100%;
    padding: 24px 16px 16px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    box-sizing: border-box;
  }
  .nv-about-stage {
    width: min(92vw, 54vh);
    max-width: min(92vw, 54vh);
    aspect-ratio: 9 / 16;
    max-height: 90vh;
    margin: 0 auto;
    flex-shrink: 0;
    border-radius: var(--nv-radius-lg);
  }
  .nv-about-scene {
    padding: 24px 20px;
  }
  .nv-about-scene-panel {
    max-width: 100%;
    min-width: 0;
  }
  .nv-about-scene-counter {
    top: 16px;
    right: 16px;
  }
  .nv-about-stage-cta {
    bottom: 16px;
    right: 16px;
    left: 16px;
    text-align: center;
  }
  .nv-about-stage-cta .nv-btn {
    width: 100%;
    min-width: 0;
  }
}

/* Sehr hohe Viewports (z. B. 19:9 Portrait): mehr Scroll-Range, damit Szenen-Wechsel greift */
@media (max-width: 768px) and (max-aspect-ratio: 9/19) {
  .nv-about-cinematic {
    min-height: 220vh;
    min-height: 220dvh;
  }
}

@media (max-width: 540px) {
  .nv-about-cinematic {
    min-height: 160vh;
    min-height: 160dvh;
  }
  .nv-about-stage-wrap {
    padding: 20px 12px 12px;
  }
  .nv-about-stage {
    width: min(92vw, 52vh);
    max-width: min(92vw, 52vh);
    max-height: 88vh;
    margin-left: auto;
    margin-right: auto;
  }
  .nv-about-scene {
    padding: 20px 16px;
  }
  .nv-about-scene-title {
    font-size: 1.35rem;
  }
  .nv-about-scene-tags {
    gap: 8px 12px;
  }
  .nv-about-scene-tag {
    padding: 5px 12px;
    font-size: 0.74rem;
  }
}

/* Reduced Motion: keine Sticky-Stage, normale Höhe, sofortige Szenenwechsel */
@media (prefers-reduced-motion: reduce) {
  .nv-about-cinematic {
    min-height: auto !important;
    padding: 24px 0;
  }
  .nv-about-stage-wrap {
    position: relative !important;
    top: auto !important;
  }
  .nv-about-stage-ambient {
    animation: none !important;
  }
  .nv-about-scene {
    transition: none;
  }
  .nv-about-scene-dot {
    transition: none;
  }
}

/* =========================
   Steps (Ablauf)
   ========================= */

.nv-steps-grid {
  margin-top: 10px;
}

.nv-step {
  padding: 18px 16px 16px;
  border-radius: var(--nv-radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.04);
  background: rgba(4, 6, 10, 0.98);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.5);
  transition: all var(--nv-transition-fast);
}

.nv-step-number {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--nv-bg);
  background: linear-gradient(to bottom right, var(--nv-accent), var(--nv-gold));
  margin-bottom: 6px;
}

.nv-step-title {
  margin: 0 0 6px;
  font-family: var(--nv-font-heading);
  font-size: 1rem;
  font-weight: 500;
  color: var(--nv-gold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nv-step-text {
  margin: 0;
  font-size: 0.84rem;
  color: var(--nv-text-soft);
  line-height: 1.5;
}

.nv-step:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 127, 127, 0.5);
  box-shadow: var(--nv-shadow-soft);
}

/* =========================
   Kontakt / CTA (Premium & Pyro Vibe)
   ========================= */

/* A) Section: vergrößert, Hintergrundbild background3 + Overlay */
#kontakt {
  scroll-margin-top: 80px;
}
.nv-contact {
  position: relative;
  padding: clamp(80px, 12vw, 120px) 24px clamp(90px, 14vw, 140px);
  min-height: min(900px, 85vh);
  overflow: hidden;
  background: var(--nv-bg);
  display: flex;
  align-items: center;
}

.nv-contact-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--nv-bg) url("/media/background3.webp") center/cover no-repeat;
}

.nv-contact-bg img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  pointer-events: none;
}

.nv-contact::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(2, 3, 8, 0.82) 0%, rgba(2, 3, 8, 0.88) 50%, rgba(2, 3, 8, 0.92) 100%);
}

.nv-contact::before {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(800px circle at 20% 30%, rgba(0, 127, 127, 0.14), transparent 55%),
    radial-gradient(700px circle at 80% 20%, rgba(242, 193, 79, 0.08), transparent 60%),
    radial-gradient(900px circle at 50% 85%, rgba(255, 255, 255, 0.04), transparent 60%);
  filter: blur(10px);
  opacity: 1;
  transform: translate3d(0, 0, 0);
  animation: nvSparkDrift 16s ease-in-out infinite alternate;
}

@keyframes nvSparkDrift {
  0% { transform: translate3d(-1%, -1%, 0) scale(1.02); }
  100% { transform: translate3d(1%, 1%, 0) scale(1.04); }
}

/* B) Premium inner card + C) Aurora border */
.nv-contact-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--nv-max-width);
  margin: 0 auto;
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--nv-radius-xl);
  background: color-mix(in srgb, var(--nv-bg-elevated) 94%, black);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.06);
  border: 1px solid var(--nv-border-soft);
}

.nv-contact-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.nv-contact .nv-section-title {
  margin-bottom: 12px;
  font-size: 1.85rem;
}

.nv-contact .nv-section-subtitle {
  max-width: 620px;
  font-size: 1.02rem;
  line-height: 1.65;
}

/* D) Split layout */
.nv-contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 4vw, 44px);
  align-items: start;
}

@media (max-width: 900px) {
  .nv-contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nv-contact {
    padding: 60px 18px 80px;
    min-height: auto;
  }
}

@media (max-width: 540px) {
  .nv-contact {
    padding: 48px 16px 64px;
  }
  .nv-contact .nv-section-title {
    font-size: 1.5rem;
  }
}

/* E) Info column */
.nv-contact-info {
  min-width: 0;
}

.nv-contact-actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.nv-contact-benefits {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 10px;
}

.nv-contact-benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--nv-radius-lg);
  border: 1px solid var(--nv-border-soft);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.9rem;
  color: var(--nv-text-soft);
}

.nv-contact-benefits li span {
  flex-shrink: 0;
}

.nv-contact-quick {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 10px;
}

.nv-contact-quick .nv-link-inline {
  align-self: flex-start;
}

/* F) Form wrap + form card */
.nv-contact-formwrap {
  min-width: 0;
}

.nv-contact-form {
  margin: 0;
  padding: clamp(22px, 3.5vw, 32px);
  border-radius: var(--nv-radius-xl);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.4);
}

.nv-form-summary {
  margin-bottom: 14px;
  padding: 10px 14px;
  border-radius: var(--nv-radius-lg);
  font-size: 0.88rem;
  color: #e57373;
  background: rgba(229, 115, 115, 0.1);
  border: 1px solid rgba(229, 115, 115, 0.3);
}

.nv-form-summary:empty {
  display: none;
}

.nv-contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
}

@media (max-width: 520px) {
  .nv-contact-form-grid {
    grid-template-columns: 1fr;
  }
}

.nv-contact-field {
  margin-bottom: 14px;
}

.nv-contact-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--nv-text);
}

.nv-contact-field input[type="text"],
.nv-contact-field input[type="email"],
.nv-contact-field select,
.nv-contact-field textarea {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--nv-radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: var(--nv-text);
  font-family: var(--nv-font-body);
  font-size: 0.9rem;
  transition: border-color var(--nv-transition-fast), box-shadow var(--nv-transition-fast);
}

.nv-contact-field select,
.nv-contact-field select option {
  background-color: var(--nv-bg-elevated);
  color: var(--nv-text);
}

.nv-contact-field select option {
  background-color: var(--nv-bg-elevated);
  color: var(--nv-text);
}

.nv-contact-field input:focus,
.nv-contact-field select:focus,
.nv-contact-field textarea:focus {
  outline: none;
  border-color: rgba(0, 127, 127, 0.65);
  box-shadow: 0 0 0 3px rgba(0, 127, 127, 0.25);
}

.nv-contact-field.has-error input[type="text"],
.nv-contact-field.has-error input[type="email"],
.nv-contact-field.has-error select,
.nv-contact-field.has-error textarea {
  border-color: rgba(255, 90, 106, 0.65);
  box-shadow: 0 0 0 3px rgba(255, 90, 106, 0.2);
}

.nv-contact-field input::placeholder,
.nv-contact-field textarea::placeholder {
  color: var(--nv-text-soft);
  opacity: 0.7;
}

.nv-contact-field textarea {
  resize: vertical;
  min-height: 100px;
}

.nv-contact-field-error {
  display: block;
  margin-top: 4px;
  font-size: 0.8rem;
  color: #e57373;
}

.nv-contact-field-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.nv-contact-field-checkbox input[type="checkbox"] {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--nv-accent);
}

.nv-contact-field-checkbox label {
  margin-bottom: 0;
  font-weight: 400;
  font-size: 0.86rem;
  color: var(--nv-text-soft);
  line-height: 1.5;
}

.nv-contact-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

/* H) Actions */
.nv-contact-form-actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 520px) {
  .nv-contact-form-actions .nv-btn {
    width: 100%;
    justify-content: center;
  }
}

/* I) Success/Error toast-like */
.nv-contact-form-message {
  margin-top: 14px;
  font-size: 0.9rem;
  padding: 10px 14px;
  border-radius: var(--nv-radius-lg);
  opacity: 0;
  transform: translate3d(0, 8px, 0);
  transition: opacity 220ms var(--nv-transition-med), transform 260ms var(--nv-transition-med);
}

.nv-contact-form-message.is-visible {
  opacity: 1;
  transform: none;
}

.nv-contact-form-success {
  color: var(--nv-text);
  background: rgba(0, 127, 127, 0.15);
  border: 1px solid rgba(0, 127, 127, 0.4);
}

.nv-contact-form-error {
  color: #e57373;
  background: rgba(229, 115, 115, 0.1);
  border: 1px solid rgba(229, 115, 115, 0.3);
}

.nv-link-inline {
  color: var(--nv-accent-soft);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 127, 127, 0.4);
  padding-bottom: 1px;
}

.nv-link-inline:hover {
  color: var(--nv-gold);
  border-color: rgba(242, 193, 79, 0.6);
}

.nv-link-inline:focus-visible {
  outline: none;
  box-shadow: var(--nv-focus-ring);
}

.nv-contact-note {
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--nv-text-soft);
}

/* J) Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .nv-contact::before {
    animation: none !important;
  }

  .nv-contact-form-message {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .nv-contact-form-message.is-visible {
    opacity: 1;
    transform: none;
  }
}

/* =========================
   Scroll Showcase (3D Card Reveal) – geometrisch stabil, 2-Phasen-Animation
   ========================= */

/* Zentrale Variablen für Track/Sticky (Breakpoints überschreiben) */
.nv-scrollshowcase {
  --nv-scroll-sticky-top: 80px;
  --nv-scroll-track-min: 100dvh;
  --nv-scroll-gap: 32px;
  --nv-scroll-card-max: 960px;
  padding: 0;
  position: relative;
  background-image: url("/media/background2.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--nv-bg);
  overflow-x: clip;
  overflow-y: visible;
}

.nv-scrollshowcase::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(0, 127, 127, 0.06), transparent 55%),
    linear-gradient(180deg, rgba(2, 3, 8, 0.5) 0%, rgba(2, 3, 8, 0.78) 100%);
}

.nv-scrollshowcase-track {
  position: relative;
  z-index: 1;
  /* Genug Scrollweg für saubere 2-Phasen-Animation; dvh für stabile Viewport-Höhe */
  min-height: calc(100dvh + 420px);
  height: calc(100dvh + 420px);
}

.nv-scrollshowcase-sticky {
  position: sticky;
  top: var(--nv-scroll-sticky-top);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--nv-scroll-gap);
  padding: 48px 24px 64px;
  perspective: 1100px;
}

.nv-scrollshowcase-header {
  text-align: center;
  max-width: 640px;
  will-change: transform, opacity;
}

.nv-scrollshowcase-header .nv-section-title {
  text-align: center;
}

.nv-scrollshowcase-header .nv-section-subtitle {
  text-align: center;
  max-width: 100%;
}

.nv-scrollshowcase-card {
  width: 100%;
  max-width: var(--nv-scroll-card-max);
  transform-origin: center top;
  will-change: transform, opacity;
}

.nv-scrollshowcase-card-inner {
  padding: 28px 24px 26px;
  border-radius: var(--nv-radius-xl);
  border: 1px solid var(--nv-border-soft);
  background:
    radial-gradient(ellipse at top, rgba(0, 127, 127, 0.12), transparent 70%),
    var(--nv-bg-elevated);
  box-shadow: var(--nv-shadow-soft);
  overflow: hidden;
}

/* Leistungsblock: 2 Karten (Handel / Feuerwerk as a Service). Ersetzt ehem. .nv-scrollshowcase-features. Keine innere Reveal-/Tilt-Logik. */
.nv-scrollshowcase-services {
  width: 100%;
  margin-top: 12px;
}

.nv-scrollshowcase-services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.nv-scrollshowcase-services .nv-scrollshowcase-service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 20px 18px 18px;
  border-radius: var(--nv-radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: none;
  transition: border-color var(--nv-transition-fast), box-shadow var(--nv-transition-fast);
}

.nv-scrollshowcase-services .nv-scrollshowcase-service-card:hover {
  border-color: rgba(0, 127, 127, 0.25);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  transform: none;
}

.nv-scrollshowcase-services .nv-card-title {
  margin: 0 0 10px;
  font-family: var(--nv-font-heading);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--nv-gold);
}

.nv-scrollshowcase-services .nv-card-text {
  margin: 0 0 12px;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--nv-text-soft);
}

.nv-scrollshowcase-services .nv-card-list {
  margin: 0 0 14px;
  padding-left: 18px;
  font-size: 0.82rem;
  color: var(--nv-text-soft);
}

.nv-scrollshowcase-services .nv-card-list li {
  margin-bottom: 6px;
}

.nv-scrollshowcase-services .nv-link-arrow {
  margin-top: auto;
  font-size: 0.84rem;
}

/* Reduced motion: no animation, everything visible and static */
.nv-scroll-static .nv-scrollshowcase-header,
.nv-scroll-static .nv-scrollshowcase-card {
  opacity: 1 !important;
  transform: none !important;
  will-change: auto;
}

@media (max-width: 768px) {
  .nv-scrollshowcase {
    --nv-scroll-sticky-top: 72px;
    --nv-scroll-gap: 24px;
  }

  .nv-scrollshowcase-track {
    min-height: calc(100dvh + 320px);
    height: calc(100dvh + 320px);
  }

  .nv-scrollshowcase-sticky {
    padding: 36px 18px 48px;
    perspective: 1000px;
  }

  .nv-scrollshowcase-card-inner {
    padding: 22px 18px 20px;
  }

  .nv-scrollshowcase-services {
    margin-top: 10px;
  }

  .nv-scrollshowcase-services-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .nv-scrollshowcase-services .nv-scrollshowcase-service-card {
    padding: 18px 16px 16px;
  }
}

@media (max-width: 540px) {
  .nv-scrollshowcase {
    --nv-scroll-sticky-top: 64px;
    --nv-scroll-gap: 20px;
  }

  .nv-scrollshowcase-track {
    min-height: calc(100dvh + 260px);
    height: calc(100dvh + 260px);
  }

  .nv-scrollshowcase-sticky {
    padding: 28px 16px 40px;
  }

  .nv-scrollshowcase-header {
    max-width: 100%;
  }
}

/* Fallback wo dvh nicht unterstützt wird */
@supports not (height: 100dvh) {
  .nv-scrollshowcase-track {
    min-height: calc(100vh + 420px);
    height: calc(100vh + 420px);
  }
  @media (max-width: 768px) {
    .nv-scrollshowcase-track {
      min-height: calc(100vh + 320px);
      height: calc(100vh + 320px);
    }
  }
  @media (max-width: 540px) {
    .nv-scrollshowcase-track {
      min-height: calc(100vh + 260px);
      height: calc(100vh + 260px);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .nv-scrollshowcase-track {
    min-height: auto;
    height: auto;
  }

  .nv-scrollshowcase-sticky {
    position: relative;
    top: auto;
  }

  .nv-scrollshowcase-header,
  .nv-scrollshowcase-card {
    opacity: 1 !important;
    transform: none !important;
    will-change: auto;
  }
}

/* Scroll Reveal + Tilt styles → /static/module/motion/motion.css */

/* =========================
   Responsive
   ========================= */

@media (max-width: 1024px) {
  .nv-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nv-hero {
    padding-top: 96px;
  }
}

@media (max-width: 768px) {
  .nv-section-padded {
    padding: 56px 18px;
  }

  .nv-hero {
    padding: 88px 18px 56px;
    align-items: center;
  }

  .nv-hero-subtitle {
    max-width: 100%;
  }

  .nv-grid-2 {
    grid-template-columns: 1fr;
  }

  .nv-grid-4 {
    grid-template-columns: 1fr 1fr;
  }

  .nv-contact-inner {
    padding: 24px 18px 22px;
  }
}

@media (max-width: 540px) {
  .nv-hero {
    padding: 82px 16px 46px;
  }

  .nv-hero-title {
    font-size: 1.8rem;
  }

  .nv-hero-meta {
    flex-direction: column;
    gap: 4px;
  }

  .nv-grid-4 {
    grid-template-columns: 1fr;
  }

  .nv-section-title {
    font-size: 1.6rem;
  }

  .nv-contact-inner {
    padding: 22px 16px 20px;
  }
}
