/* Newsletter-Landing: eigenes Layout — body-padding-top der Topbar (sidebar.css) zurücknehmen */
body.newsletter-landing-page {
  --nl-pad-inline: clamp(18px, 4.5vw, 44px);
  /* sidebar.css: body { padding-top: var(--topbar-h) } — hier ohne sichtbare Topbar */
  padding-top: 0 !important;
}

.newsletter-landing-page .site-topbar {
  display: none !important;
}

.newsletter-landing-page #cur,
.newsletter-landing-page #bar {
  display: none !important;
}

.nl-landing {
  margin: 0;
  padding: 0;
  background: transparent;
  min-height: 100dvh;
}

/* .sec / Komponenten: kein Fremd-Padding, kein Rand */
.newsletter-landing-page .nl-landing-hero.sec {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  border-bottom: none !important;
}

.nl-landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  align-content: start;
  min-height: 100dvh;
  min-height: 100vh;
}

.nl-landing-nav {
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
}

.nl-landing-nav-link {
  display: block;
  width: 100%;
  margin: 0;
  padding: 8px var(--nl-pad-inline);
  box-sizing: border-box;
  text-align: center;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.25;
}

.nl-landing-nav-link:hover {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.nl-landing-inner {
  width: 100%;
  max-width: 58rem;
  margin: 0 auto;
  padding: clamp(10px, 1.8vh, 18px) var(--nl-pad-inline) clamp(28px, 5vh, 52px);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
}

.nl-brand--landing {
  align-self: center;
  text-align: center;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto clamp(20px, 3.2vh, 32px);
}

.nl-brand--landing .nl-brand-title {
  font-size: clamp(2.2rem, 5.2vw, 3.5rem);
}

.nl-brand--landing .nl-brand-tagline {
  font-size: clamp(14px, 1.6vw, 17px);
  margin-top: 6px;
}

@media (max-width: 768px) {
  .nl-brand--landing .nl-brand-title {
    font-size: clamp(1.35rem, 7.2vw, 1.85rem);
  }

  .nl-brand--landing .nl-brand-tagline {
    font-size: clamp(11px, 3.1vw, 13px);
    margin-top: 4px;
  }
}

/* Text + Formular visuell zusammenhalten */
.nl-landing-panel {
  width: 100%;
  max-width: 50rem;
  margin: 0 auto;
  padding: clamp(24px, 4.2vw, 40px) clamp(22px, 3.8vw, 36px);
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
  border-left: 3px solid rgba(255, 255, 255, 0.38);
  display: flex;
  flex-direction: column;
  gap: clamp(22px, 3.5vh, 32px);
  align-items: stretch;
}

.nl-landing-copy {
  width: 100%;
  margin: 0;
  text-align: left;
  color: rgba(255, 255, 255, 0.94);
}

.nl-landing-lead {
  margin: 0 0 1.05em;
  font-family: var(--body);
  font-size: clamp(1.12rem, 1.85vw, 1.35rem);
  line-height: 1.68;
}

.nl-landing-list {
  margin: 0;
  padding: 0 0 0 1.2em;
  font-family: var(--body);
  font-size: clamp(1.04rem, 1.55vw, 1.2rem);
  line-height: 1.62;
}

.nl-landing-list li {
  margin: 0 0 0.62em;
}

.nl-landing-list li:last-child {
  margin-bottom: 0;
}

.nl-landing-form-wrap {
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  width: 100%;
  max-width: none;
}

.nl-landing-form-wrap .row-form {
  width: 100%;
  display: flex;
  justify-content: stretch;
}

.nl-landing-form-wrap .nl-form {
  width: 100%;
  max-width: none;
}

/* Mobile: Button unter Eingabefeld, volle Breite, kein horizontales Überlaufen */
@media (max-width: 768px) {
  .nl-landing-panel {
    overflow-x: hidden;
    padding-left: clamp(16px, 4vw, 22px);
    padding-right: clamp(16px, 4vw, 22px);
  }

  .nl-landing-form-wrap .row-form {
    min-width: 0;
  }

  .nl-landing-form-wrap .nl-form {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 10px;
    max-width: 100%;
    min-width: 0;
  }

  .nl-landing-form-wrap .nl-input {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    flex: 0 0 auto;
    border-right: 1px solid #ffffff;
    border-radius: 3px;
    box-sizing: border-box;
  }

  .nl-landing-form-wrap .nl-btn {
    width: 100%;
    max-width: 100%;
    flex: 0 0 auto;
    border-radius: 3px;
    box-sizing: border-box;
  }
}

.nl-landing-form-wrap .nl-feedback {
  margin-top: 14px;
  text-align: left;
}

.nl-landing-form-wrap .nl-feedback.is-success {
  color: rgba(255, 255, 255, 0.88);
}

.nl-landing-form-wrap .nl-feedback.is-error {
  color: #f0c4c4;
}

.nl-landing-form-wrap .nl-success {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.92);
  text-align: left;
}
