/* ============================================================
   SYNOVA Footer Widget — Editorial Premium Footer
   ============================================================ */

.nf-wrap, .nf-wrap * { box-sizing: border-box; }

.nf-wrap {
  --bg:      #07050a;
  --bg-2:    #14100a;
  --fg:      #f3e6d2;
  --fg-mute: rgba(243,230,210,0.62);
  --fg-soft: rgba(243,230,210,0.82);
  --gold:    #d4af7f;
  --gold-2:  #b8966e;
  --gold-d:  #7a5230;
  --line:    rgba(184,150,110,0.18);
  --line-2:  rgba(243,230,210,0.08);

  --serif: 'Playfair Display', Georgia, serif;
  --sans:  'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono:  'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;

  position: relative;
  width: 100%;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(122,82,48,0.18), transparent 60%),
    radial-gradient(ellipse 60% 80% at 100% 100%, rgba(184,150,110,0.10), transparent 60%),
    var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  overflow: hidden;
  isolation: isolate;
}
/* Animierter Lichtbalken oben */
.nf-wrap::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(184,150,110,0.5) 30%, rgba(212,175,127,0.95) 50%, rgba(184,150,110,0.5) 70%, transparent 100%);
  background-size: 200% 100%;
  animation: nf-beam 8s linear infinite;
}
@keyframes nf-beam { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* ===== MARQUEE ===== */
.nf-marquee {
  position: relative;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.nf-marquee::before, .nf-marquee::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}
.nf-marquee::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.nf-marquee::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }

.nf-marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 1.8rem;
  white-space: nowrap;
  animation: nf-marq 42s linear infinite;
  will-change: transform;
}
.nf-marq-item {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.2rem, 2.4vw, 1.85rem);
  font-weight: 400;
  color: var(--fg);
  letter-spacing: -0.01em;
}
.nf-marq-item:nth-child(4n+1) { color: var(--gold); }
.nf-marq-sep {
  display: inline-flex;
  align-items: center;
  color: var(--gold);
  opacity: 0.5;
}
.nf-marq-sep svg { width: 11px; height: 11px; }
@keyframes nf-marq {
  from { transform: translateX(0); }
  to   { transform: translateX(-25%); }
}

/* ===== MAIN ===== */
.nf-main {
  max-width: 1380px;
  margin: 0 auto;
  padding: 5rem 3rem 4rem;
  display: grid;
  grid-template-columns: 1.3fr 2fr;
  gap: 5rem;
  align-items: start;
}

/* ===== BRAND BLOCK ===== */
.nf-brand { position: relative; }

.nf-greet {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.85rem;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: var(--fg-mute);
  margin-bottom: 2rem;
}
.nf-greet-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
  animation: nf-pulse 2.4s ease-in-out infinite;
}
@keyframes nf-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(1.3); }
}
.nf-greet-text { color: var(--fg-mute); }
.nf-greet-time { color: var(--gold); font-variant-numeric: tabular-nums; }

/* Wortmarke — riesig editorial */
.nf-wordmark {
  font-family: var(--serif);
  font-size: clamp(4.5rem, 12vw, 9rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.04em;
  margin: 0 0 1.75rem;
  color: var(--fg);
  display: flex;
  align-items: baseline;
  gap: 0.18em;
  flex-wrap: wrap;
}
.nf-word-1 { font-weight: 400; }
.nf-word-2 {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}

.nf-tagline {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--fg-mute);
  max-width: 420px;
  margin: 0 0 2.5rem;
}

/* Status Panel */
.nf-status {
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(212,175,127,0.05), rgba(122,82,48,0.02));
  border: 1px solid var(--line);
  border-radius: 12px;
}
.nf-status-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--line-2);
}
.nf-status-pulse {
  position: relative;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74,222,128, 0.5);
  animation: nf-status-pulse 2s cubic-bezier(.66,0,0,1) infinite;
}
@keyframes nf-status-pulse {
  to { box-shadow: 0 0 0 12px transparent; }
}
.nf-status-label {
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--fg-soft);
  font-weight: 500;
}
.nf-status-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.nf-status-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.nf-status-key {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.nf-status-val {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--fg);
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}

/* ===== NAV COLS ===== */
.nf-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.nf-col-title {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.5rem;
  font-weight: 500;
  position: relative;
  padding-bottom: 0.75rem;
}
.nf-col-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 24px;
  height: 1px;
  background: var(--gold);
}
.nf-col-links {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.nf-col-links li { margin: 0; }
.nf-col-links a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--fg-mute);
  font-size: 0.92rem;
  letter-spacing: 0.005em;
  transition: color 0.3s ease, padding-left 0.3s cubic-bezier(.2,.8,.2,1);
}
.nf-col-links a span { transition: transform 0.3s cubic-bezier(.2,.8,.2,1); }
.nf-col-links a::before {
  content: '→';
  display: inline-block;
  width: 0;
  margin-right: 0;
  color: var(--gold);
  opacity: 0;
  transition: opacity 0.3s ease, width 0.3s cubic-bezier(.2,.8,.2,1), margin-right 0.3s ease;
}
.nf-col-links a:hover {
  color: var(--gold);
}
.nf-col-links a:hover::before {
  opacity: 1;
  width: 16px;
  margin-right: 0.6rem;
}

.nf-col--contact .nf-contact {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.nf-contact-line {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--fg-mute);
}
.nf-contact-link {
  font-size: 0.92rem;
  color: var(--fg-soft);
  text-decoration: none;
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 0.15rem;
  transition: color 0.3s ease, border-color 0.3s ease;
  align-self: flex-start;
}
.nf-contact-link:hover {
  color: var(--gold);
  border-color: var(--gold);
}

/* ===== NEWSLETTER ===== */
.nf-news {
  max-width: 1380px;
  margin: 0 auto;
  padding: 3rem 3rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
  border-top: 1px solid var(--line);
}
.nf-news-title {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--fg);
  margin: 0 0 0.6rem;
}
.nf-news-sub {
  font-size: 0.92rem;
  color: var(--fg-mute);
  margin: 0;
  max-width: 420px;
  line-height: 1.55;
}
.nf-news-form { width: 100%; }
.nf-news-input {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px;
  transition: border-color 0.3s ease;
}
.nf-news-input:focus-within { border-color: var(--gold); }
.nf-news-input input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
  padding: 0.65rem 1rem;
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--fg);
  letter-spacing: 0.01em;
}
.nf-news-input input::placeholder { color: rgba(243,230,210,0.35); }
.nf-news-input button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.3rem;
  background: var(--gold);
  color: #0a0805;
  border: 0;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.nf-news-input button svg { width: 14px; height: 14px; transition: transform 0.3s ease; }
.nf-news-input button:hover {
  background: var(--fg);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(212,175,127,0.3);
}
.nf-news-input button:hover svg { transform: translateX(3px); }

/* ===== CLOSING STATEMENT ===== */
.nf-closing {
  max-width: 1380px;
  margin: 0 auto;
  padding: 4rem 3rem;
  border-top: 1px solid var(--line);
  text-align: center;
}
.nf-closing-mark {
  display: block;
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 2rem;
  box-shadow: 0 0 14px rgba(212,175,127,0.5);
}
.nf-closing-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.4rem, 3.6vw, 2.6rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--gold);
  margin: 0;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== BOTTOM BAR ===== */
.nf-bot {
  max-width: 1380px;
  margin: 0 auto;
  padding: 1.75rem 3rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.7rem 1rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(243,230,210,0.4);
}
.nf-bot-sep { opacity: 0.5; }
.nf-totop {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: transparent;
  border: 0;
  color: var(--gold);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0;
  transition: color 0.3s ease, transform 0.3s ease;
}
.nf-totop svg { width: 13px; height: 13px; }
.nf-totop:hover { color: var(--fg); transform: translateY(-2px); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .nf-main {
    grid-template-columns: 1fr;
    padding: 4rem 2rem;
    gap: 3.5rem;
  }
  .nf-cols { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 2rem; }
  .nf-news { grid-template-columns: 1fr; padding: 2.5rem 2rem; gap: 1.75rem; }
  .nf-closing { padding: 3rem 2rem; }
  .nf-bot { padding: 1.5rem 2rem; }
}

@media (max-width: 600px) {
  .nf-marq-item { font-size: 1.1rem; }
  .nf-marquee { padding: 1rem 0; }
  .nf-main { padding: 3rem 1.5rem; gap: 2.5rem; }
  .nf-wordmark { font-size: clamp(3rem, 16vw, 4.5rem); }
  .nf-cols { grid-template-columns: 1fr; gap: 2rem; }
  .nf-status { padding: 1.25rem; }
  .nf-status-val { font-size: 1.15rem; }
  .nf-news { padding: 2rem 1.5rem; }
  .nf-news-input { flex-direction: column; gap: 0.5rem; padding: 0.85rem; border-radius: 12px; }
  .nf-news-input input { width: 100%; padding: 0.65rem 0.85rem; }
  .nf-news-input button { width: 100%; justify-content: center; padding: 0.85rem; }
  .nf-closing { padding: 2.5rem 1.5rem; }
  .nf-bot { padding: 1.25rem 1.5rem; font-size: 0.62rem; gap: 0.4rem 0.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  .nf-wrap::before, .nf-marquee-track, .nf-greet-dot, .nf-status-pulse { animation: none; }
}

/* Editor — kein full-bleed transformation */
.elementor-editor-active .nf-wrap { width: 100% !important; margin-left: 0 !important; }
