/* Fonts
   - We keep everything in system fonts to match the provided reference screenshot.
   - If a theme already loads Helvetica Neue (incl. condensed/black/italic variants), it will be used.
*/

.nwpf-ec-wrap { padding: 0; }

/* Base form elements (für Overlay/CTA) */
.nwpf-ec-modal .nwpf-ec-label { display:block; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 14px; margin: 0 0 6px; }
.nwpf-ec-modal .nwpf-ec-input {
  width: 100%;
  box-sizing: border-box;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,.15);
  background: #fff;
}
.nwpf-ec-send {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  padding: 12px 16px;
  border-radius: 10px;
  border: 0;
  cursor: pointer;
}

/* HERO (Eingabefeld wie im Layout) */
.nwpf-ec-hero{
  background:#3f3f3f;
  padding: 18px 16px;
}
.nwpf-ec-hero-inner{
  max-width: 1200px;
  margin: 0 auto;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.nwpf-ec-left{ min-width: 240px; flex: 1 1 420px; }
.nwpf-ec-headline{
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-style: italic;
  font-weight: 900;
  color:#fff;
  font-size: 52px;
  line-height: 1.0;
  margin: 0 0 6px;
  white-space: nowrap; /* ArbeitgeberCheck darf nicht umbrechen */
}
.nwpf-ec-copy{
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color:#fff;
  font-size: 22px;
  line-height: 1.2;
  margin: 0;
  opacity: .95;
}

.nwpf-ec-form{ flex: 0 1 560px; min-width: 280px; }
.nwpf-ec-search{
  display:flex;
  align-items: stretch;
  border: 4px solid #18d2c6;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  max-width: 640px;
  width: 100%;
}
.nwpf-ec-arrow{
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 0 14px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 26px;
  color: rgba(0,0,0,.35);
  background: #fff;
}
.nwpf-ec-hero .nwpf-ec-input{
  flex: 1 1 auto;
  border: 0;
  outline: none;
  border-radius: 0;
  font-size: 26px;
  padding: 14px 12px;
  min-width: 0;
}
.nwpf-ec-hero .nwpf-ec-input::placeholder{ color: rgba(0,0,0,.35); }

.nwpf-ec-go{
  border: 0;
  background: #18d2c6;
  color:#fff;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 28px;
  font-weight: 700;
  padding: 0 22px;
  cursor: pointer;
  white-space: nowrap;
}

.nwpf-ec-hint{
  margin-top: 8px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,.85);
}
.nwpf-ec-error{
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255,0,0,.10);
  color: #fff;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* Mobile / responsive: keine Überlappungen */
@media (max-width: 900px){
  .nwpf-ec-headline{ font-size: 42px; }
  .nwpf-ec-copy{ font-size: 18px; }
  .nwpf-ec-arrow{ font-size: 18px; padding: 0 10px; }
  .nwpf-ec-hero .nwpf-ec-input{ font-size: 18px; padding: 12px 10px; }
  .nwpf-ec-go{ font-size: 20px; padding: 0 16px; }
}
@media (max-width: 520px){
  .nwpf-ec-hero{ padding: 14px 12px; }
  .nwpf-ec-headline{ font-size: 34px; }
  .nwpf-ec-copy{ font-size: 16px; }
  .nwpf-ec-search{ border-width: 3px; border-radius: 14px; }
  .nwpf-ec-hero .nwpf-ec-input{ font-size: 16px; }
  .nwpf-ec-go{ font-size: 18px; }
}

/* Modal / overlay */
.nwpf-ec-modal { position: fixed; inset: 0; z-index: 99999; }
.nwpf-ec-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.nwpf-ec-modal-dialog {
  position: relative;
  margin: 6vh auto;
  width: min(920px, calc(100% - 24px));
  max-height: 88vh;
  overflow: auto;
  border-radius: 18px;
  background: #ffffff; /* white */
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
  padding: 0;
}
.nwpf-ec-modal-close {
  position: sticky;
  top: 0;
  float: right;
  border: 0;
  background: transparent;
  color: #666;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  margin-left: auto;
}
.nwpf-ec-modal-body { padding: 26px 28px 0; }

.nwpf-ec-result { padding: 10px 10px 2px; }

.nwpf-ec-letter{
  max-width: 760px;
  margin: 0 auto;
  padding: 10px 4px 0;
}

.nwpf-ec-modal .nwpf-ec-letter-title{
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-style: italic;
  font-weight: 900;
  color: rgba(0,0,0,.88);
  font-size: 52px;
  line-height: 1.0;
  letter-spacing: -0.5px;
  margin: 6px 0 18px;
}

.nwpf-ec-letter-intro{ margin-bottom: 8px; }

.nwpf-ec-modal .nwpf-ec-sec-title{
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700;
  color: rgba(0,0,0,.88);
  font-size: 18px;
  line-height: 1.35;
  margin: 20px 0 2px;
}

.nwpf-ec-p,
.nwpf-ec-ol,
.nwpf-ec-ul,
.nwpf-ec-topline,
.nwpf-ec-check span,
.nwpf-ec-sendmsg,
.nwpf-ec-cta-copy p{
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: rgba(45,45,45,.88);
}

.nwpf-ec-p{
  font-size: 18px;
  line-height: 1.5;
  margin: 0 0 14px;
}

.nwpf-ec-ol{
  margin: 8px 0 12px 22px;
  font-size: 18px;
  line-height: 1.55;
}
.nwpf-ec-ol li{margin: 6px 0; font-weight: 400; }

.nwpf-ec-signoff{
  margin-top: 14px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: rgba(30,30,30,.82);
}
.nwpf-ec-signoff-note{
  font-weight: 400;
  opacity: .8;
}

.nwpf-ec-cta {
  margin-top: 22px;
  padding: 22px 20px 14px;
  border-radius: 0 0 18px 18px;
  background: #18d2c6; /* türkis wie im Layout */
}
.nwpf-ec-cta .nwpf-ec-h{
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-style: italic;
  font-weight: 900;
  color: rgba(0,0,0,.88);
  font-size: 46px;
  line-height: 1.02;
  margin: 0 0 10px;
}
.nwpf-ec-cta-copy p{
  display: block !important; /* Theme-Resets können <p> zu Inline machen -> Struktur bricht */
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.55;
}

/* Zusätzliche Struktur-Sicherung für Overlay 2 (CTA/Formular) */
.nwpf-ec-modal .nwpf-ec-cta-copy{ margin: 0 0 14px !important; }
.nwpf-ec-modal .nwpf-ec-cta-copy p:last-child{ margin-bottom: 0 !important; }
.nwpf-ec-modal .nwpf-ec-cta .nwpf-ec-label{ margin-top: 12px !important; }
.nwpf-ec-modal .nwpf-ec-cta form{ margin-top: 14px !important; }
.nwpf-ec-cta .nwpf-ec-label,
.nwpf-ec-cta .nwpf-ec-check span,
.nwpf-ec-cta .nwpf-ec-topline{
  color: rgba(0,0,0,.78);
}
.nwpf-ec-cta a{ color: rgba(0,0,0,.80); }
.nwpf-ec-cta .nwpf-ec-input{
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(0,0,0,.18);
}
.nwpf-ec-send{
  background: rgba(0,0,0,.86);
  color: #fff;
}

.nwpf-ec-check { display:flex; gap: 10px; align-items: flex-start; margin: 10px 0; }
.nwpf-ec-check input { margin-top: 3px; }

/* Step navigation */
.nwpf-ec-nav{
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  align-items: center;
  padding: 14px 0 18px;
}
.nwpf-ec-nav button{
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  padding: 12px 16px;
  border-radius: 10px;
  border: 0;
  cursor: pointer;
}
.nwpf-ec-next{ background: rgba(0,0,0,.86); color:#fff; }
.nwpf-ec-back{ background: rgba(0,0,0,.12); color: rgba(0,0,0,.82); }
.nwpf-ec-close{ background: rgba(0,0,0,.86); color:#fff; }

/* Full report */
.nwpf-ec-fullwrap{ padding: 6px 10px 0; }
.nwpf-ec-full{ max-width: 760px; margin: 0 auto; padding: 10px 4px 0; }
.nwpf-ec-full-title{
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-style: italic;
  font-weight: 900;
  color: rgba(0,0,0,.88);
  font-size: 36px;
  line-height: 1.1;
  margin: 4px 0 10px;
}
.nwpf-ec-ul{
  margin: 8px 0 12px 22px;
  font-size: 18px;
  line-height: 1.55;
}
.nwpf-ec-ul li{margin: 6px 0; font-weight: 400; }

/* Screenshot-Look: im Ergebnis-Overlay die Punkte/Recherchefragen stärker strukturieren */
.nwpf-ec-modal .nwpf-ec-ul li,
.nwpf-ec-modal .nwpf-ec-ol li{
  font-weight: 700;
}

/* Härtere Überschriften-Overrides gegen Theme-Styles */
.nwpf-ec-modal h3.nwpf-ec-sec-title{
  font-size: 18px !important;
  line-height: 1.35 !important;
  margin: 20px 0 2px !important;
}
.nwpf-ec-modal .nwpf-ec-letter-title{
  font-size: 52px !important;
  line-height: 1.0 !important;
  margin: 6px 0 18px !important;
}
.nwpf-ec-spacer{ height: 8px; }
.nwpf-ec-check a { color: rgba(45,45,45,.9); text-decoration: underline; }

.nwpf-ec-sendmsg { margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: rgba(0,0,0,.06); }

/* Mobile tweaks */
@media (max-width: 520px) {
  .nwpf-ec-headline { font-size: 32px; }
  .nwpf-ec-copy { font-size: 16px; }
  .nwpf-ec-modal-dialog { margin: 3vh auto; padding: 0; }
  .nwpf-ec-modal-body { padding: 18px 16px 0; }
  .nwpf-ec-letter-title { font-size: 38px; }
  .nwpf-ec-sec-title { font-size: 16px; }
  .nwpf-ec-p, .nwpf-ec-ol, .nwpf-ec-cta-copy p { font-size: 16px; }
  .nwpf-ec-h { font-size: 28px; }
  .nwpf-ec-p { font-size: 16px; }
}
