/* ====================================================================
   Cambioo Update – Newsletter
   Die Anmeldung sitzt im Wissensbereich; der Banner laeuft auf
   allen Seiten und verweist dorthin.
   ==================================================================== */

/* --- gemeinsame Bausteine ------------------------------------------- */
.newsletter-form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.newsletter-input {
  font-family: inherit;
  font-size: 0.95rem;
  color: #1e293b;
  max-width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 50px;
  background: #fff;
  transition: border-color 0.2s;
}

.newsletter-input::placeholder {
  color: #94a3b8;
}

.newsletter-input:focus {
  outline: none;
  border-color: #f97316;
  box-shadow: 0 0 0 3px rgb(249 115 22 / 12%);
}

.newsletter-button {
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  transition: all 0.2s ease;
}

.newsletter-button:disabled {
  opacity: 0.6;
  cursor: default;
}

/* Label bleibt fuer Screenreader lesbar, ist aber unsichtbar. */
.newsletter-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Honeypot: fuer Menschen unsichtbar, Bots tragen hier ein. */
.newsletter-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.newsletter-hint {
  flex-basis: 100%;
  color: #94a3b8;
  font-size: 0.8rem;
  line-height: 1.5;
}

.newsletter-hint a {
  color: #64748b;
  text-decoration: underline;
}

.newsletter-status {
  flex-basis: 100%;
  font-size: 0.9rem;
  font-weight: 500;
  color: #15803d;
}

.newsletter-status.is-error {
  color: #b91c1c;
}

/* --- Platzierung 1: Karte im Wissensbereich (Blog) ------------------- */
.nl-section {
  padding: 0 4rem 4rem;
  background: #fff;
}

.nl-card {
  position: relative;
  overflow: hidden;
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  padding: 3rem;
  border: 1px solid #fed7aa;
  border-radius: 24px;
  background: linear-gradient(135deg, #fff7ed 0%, #fffaf5 45%, #fff 100%);
}

/* weicher Orange-Schimmer wie im Cambioo-Key-Visual */
.nl-card::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(249 115 22 / 16%) 0%, rgb(249 115 22 / 0%) 70%);
  pointer-events: none;
}

.nl-copy,
.nl-panel {
  position: relative;
  z-index: 1;
}

.nl-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  border: 1px solid #fed7aa;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #1e293b;
  margin-bottom: 1.25rem;
}

.nl-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  background: #f97316;
  border-radius: 50%;
}

.nl-copy h2 {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #1e293b;
  margin-bottom: 1rem;
}

.nl-copy h2 span {
  color: #f97316;
}

.nl-copy > p {
  color: #475569;
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.nl-points {
  display: grid;
  gap: 0.875rem;
  list-style: none;
  padding: 0;
}

.nl-points li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #1e293b;
  font-size: 0.95rem;
  font-weight: 500;
}

.nl-points svg {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  padding: 4px;
  border-radius: 50%;
  background: #f97316;
  color: #fff;
}

.nl-panel {
  background: #fff;
  border: 1px solid #f1f5f9;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 28px 70px rgb(15 23 42 / 10%);
}

.nl-panel h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.35rem;
}

.nl-panel > p {
  color: #64748b;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.nl-panel .newsletter-form {
  display: grid;
  gap: 0.75rem;
}

.nl-panel .newsletter-input {
  width: 100%;
  background: #f8fafc;
}

.nl-panel .newsletter-input:focus {
  background: #fff;
}

.nl-panel .newsletter-button {
  width: 100%;
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  box-shadow: 0 4px 15px rgb(249 115 22 / 30%);
}

.nl-panel .newsletter-button:hover {
  background: linear-gradient(135deg, #ea580c 0%, #dc2626 100%);
  box-shadow: 0 6px 20px rgb(249 115 22 / 40%);
}

/* --- Platzierung 2: Leiste ueber der Navigation --------------------- */
.nl-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.7rem 3.5rem 0.7rem 1.25rem;
  position: relative;
  background: #172033;
  color: #fff;
}

.nl-banner-text {
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 0;
}

.nl-banner-cta {
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  border: 0;
  background: none;
  color: #fdba74;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.nl-banner-cta::after {
  content: " →";
  text-decoration: none;
}

.nl-banner-cta:hover {
  color: #fff;
}

.nl-banner-close {
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  border: 0;
  border-radius: 50%;
  background: none;
  color: #94a3b8;
}

.nl-banner-close:hover {
  background: rgb(255 255 255 / 10%);
  color: #fff;
}

/* --- responsiv ------------------------------------------------------ */
@media (max-width: 1024px) {
  .nl-card {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 2.5rem;
  }

  .nl-copy h2 {
    font-size: 1.75rem;
  }
}

@media (max-width: 768px) {
  .nl-section {
    padding: 0 1.25rem 3rem;
  }

  .nl-card {
    padding: 1.75rem;
    gap: 2rem;
  }

  .nl-panel {
    padding: 1.5rem;
  }

  .nl-banner {
    padding: 0.7rem 3rem 0.7rem 1rem;
    gap: 0.5rem;
  }

  .nl-banner-text {
    font-size: 0.85rem;
  }
}
