/* NetzWerk Gratis-Check. Nutzt die Farbvariablen der Website, mit festen Ersatzwerten. */
.nw-check {
  --c-ink: var(--ink, #0E1726); --c-muted: var(--ink-muted, #5B6576); --c-line: var(--line, #DDE1E7);
  --c-surface: var(--surface, #FFFFFF); --c-bg: var(--bg, #F5F6F8); --c-akzent: var(--agentur, #9C4566);
  --c-akzent-hell: var(--agentur-soft, #F6E8EE); --c-auf: var(--on-color, #FFFFFF);
  --c-rot: var(--ampel-rot, #B42318); --c-gelb: var(--ampel-gelb, #8A5A00); --c-gelb-fl: var(--ampel-gelb-flaeche, #FFF4D6); --c-gruen: var(--ampel-gruen, #1E6E3A);
  font-family: var(--font-text, "Poppins"), system-ui, sans-serif; font-size: 17px; line-height: 1.55; color: var(--c-ink);
  max-width: 760px; scroll-margin-top: 96px;
}
.nw-check *, .nw-check *::before, .nw-check *::after { box-sizing: border-box; }
.nw-check__rahmen { background: var(--c-surface); border-radius: 28px; padding: 48px; display: flex; flex-direction: column; gap: 24px; }
.nw-check__ansage { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); margin: 0; }
.nw-check :focus-visible { outline: 3px solid var(--c-ink); outline-offset: 3px; }
.nw-check [tabindex="-1"]:focus { outline: none; }

/* Fortschritt */
.nw-check__fortschritt { display: flex; flex-direction: column; gap: 8px; }
.nw-check__stand { margin: 0; font-size: 15px; font-weight: 500; color: var(--c-muted); }
.nw-check progress { width: 100%; height: 8px; border: 0; border-radius: 999px; background: var(--c-line); overflow: hidden; appearance: none; -webkit-appearance: none; }
.nw-check progress::-webkit-progress-bar { background: var(--c-line); }
.nw-check progress::-webkit-progress-value { background: var(--c-akzent); border-radius: 999px; }
.nw-check progress::-moz-progress-bar { background: var(--c-akzent); border-radius: 999px; }

/* Fragen */
.nw-check__gruppe { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.nw-check__frage { padding: 0; margin: 0 0 12px 0; font-family: var(--font-display, "Bricolage Grotesque"), system-ui, sans-serif; font-size: 28px; line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; color: var(--c-ink); }
.nw-check__hinweis { margin: -8px 0 8px 0; color: var(--c-muted); font-size: 15px; }
.nw-check__option { position: relative; }
.nw-check__option input { position: absolute; left: 20px; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 0; accent-color: var(--c-akzent); }
.nw-check__option label { display: block; min-height: 56px; padding: 15px 20px 15px 58px; border: 2px solid var(--c-line); border-radius: 16px; background: var(--c-surface); cursor: pointer; }
.nw-check__option label:hover { border-color: var(--c-muted); }
.nw-check__option input:checked + label { border-color: var(--c-akzent); background: var(--c-akzent-hell); }
.nw-check__option input:focus-visible + label { outline: 3px solid var(--c-ink); outline-offset: 3px; }

/* Knöpfe */
.nw-check__leiste { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; }
.nw-check__leiste > :only-child { margin-left: auto; }
.nw-check .nw-check__knopf { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 999px; border: 2px solid transparent; font: inherit; font-size: 16px; font-weight: 600; line-height: 1; text-decoration: none; cursor: pointer; }
.nw-check .nw-check__knopf.nw-check__knopf--haupt { background: var(--c-akzent); border-color: var(--c-akzent); color: var(--c-auf); }
.nw-check .nw-check__knopf.nw-check__knopf--haupt:hover, .nw-check .nw-check__knopf.nw-check__knopf--haupt:focus { background: var(--c-ink); border-color: var(--c-ink); }
.nw-check .nw-check__knopf.nw-check__knopf--neben { background: transparent; border-color: var(--c-ink); color: var(--c-ink); }
.nw-check .nw-check__knopf.nw-check__knopf--neben:hover, .nw-check .nw-check__knopf.nw-check__knopf--neben:focus { background: var(--c-ink); color: var(--c-bg); }
.nw-check .nw-check__knopf.nw-check__knopf--hell { background: var(--c-auf); border-color: var(--c-auf); color: var(--c-ink); }
.nw-check .nw-check__knopf.nw-check__knopf--hell:hover, .nw-check .nw-check__knopf.nw-check__knopf--hell:focus { background: var(--c-ink); border-color: var(--c-ink); color: var(--c-auf); }
.nw-check .nw-check__knopf.nw-check__knopf--text { min-height: 44px; padding: 0; background: none; border: 0; color: var(--c-ink); text-decoration: underline; text-underline-offset: 4px; }
.nw-check .nw-check__knopf[disabled], .nw-check .nw-check__knopf[disabled]:hover { background: var(--c-line); border-color: var(--c-line); color: var(--c-muted); cursor: not-allowed; }

/* Ergebnis */
.nw-check__titel { margin: 0; font-family: var(--font-display, "Bricolage Grotesque"), system-ui, sans-serif; font-size: 40px; line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; color: var(--c-ink); }
.nw-check h3 { margin: 0; font-family: var(--font-display, "Bricolage Grotesque"), system-ui, sans-serif; font-size: 22px; line-height: 1.25; font-weight: 700; letter-spacing: -0.02em; color: inherit; }
.nw-check__ampeln { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--c-line); }
.nw-check__ampel { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; padding: 14px 0; border-top: 1px solid var(--c-line); }
.nw-check__symbol { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 18px; line-height: 1; color: var(--c-auf); background: var(--c-muted); }
.nw-check__feld { font-weight: 500; }
.nw-check__wort { font-size: 15px; font-weight: 600; padding: 6px 14px; border-radius: 999px; border: 2px solid currentColor; white-space: nowrap; }
.nw-check__ampel--rot .nw-check__symbol { background: var(--c-rot); }
.nw-check__ampel--rot .nw-check__wort { color: var(--c-rot); }
.nw-check__ampel--gelb .nw-check__symbol { background: var(--c-gelb); }
.nw-check__ampel--gelb .nw-check__wort { color: var(--c-gelb); background: var(--c-gelb-fl); }
.nw-check__ampel--gruen .nw-check__symbol { background: var(--c-gruen); }
.nw-check__ampel--gruen .nw-check__wort { color: var(--c-gruen); }
.nw-check__ampel--ohne .nw-check__wort { color: var(--c-muted); }
.nw-check__kern { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.nw-check__kern li { position: relative; padding-left: 26px; }
.nw-check__kern li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 50%; background: var(--c-akzent); }
.nw-check__empfehlung { background: var(--c-akzent); color: var(--c-auf); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.nw-check__empfehlung p { margin: 0 0 8px 0; }

/* Formular */
.nw-check__formular { border-top: 1px solid var(--c-line); padding-top: 24px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.nw-check__formular p { margin: 0; }
.nw-check__zeile { width: 100%; display: flex; flex-direction: column; gap: 6px; }
.nw-check__zeile label { font-size: 15px; font-weight: 500; }
.nw-check .nw-check__zeile input { width: 100%; min-height: 48px; padding: 10px 16px; border: 1px solid var(--c-muted); border-radius: 12px; background: var(--c-surface); color: var(--c-ink); font: inherit; }
.nw-check .nw-check__zeile input[aria-invalid="true"] { border: 2px solid var(--c-rot); }
.nw-check__fehler { min-height: 0; font-size: 15px; font-weight: 500; color: var(--c-rot); }
.nw-check__fehler:empty { display: none; }
.nw-check__haken { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; }
.nw-check__haken input { width: 24px; height: 24px; margin: 2px 0 0 0; accent-color: var(--c-akzent); }
.nw-check__haken label { font-size: 15px; line-height: 1.45; }
.nw-check__klein { font-size: 14px; line-height: 1.45; color: var(--c-muted); }
.nw-check__klein a { color: inherit; text-decoration: underline; }
.nw-check__status { font-size: 15px; font-weight: 500; }
.nw-check__status:empty { display: none; }
.nw-check__status--fehler { color: var(--c-rot); }
.nw-check__honig { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.nw-check__neu { margin: 0; }

@media (max-width: 767px) {
  .nw-check__rahmen { padding: 24px; border-radius: 20px; }
  .nw-check__frage { font-size: 22px; }
  .nw-check__titel { font-size: 28px; }
  .nw-check__ampel { grid-template-columns: 36px 1fr; }
  .nw-check__wort { grid-column: 2; justify-self: start; }
  .nw-check__empfehlung { padding: 24px; }
  .nw-check__leiste .nw-check__knopf { flex: 1 1 auto; }
}
