/* Netlogopädie – Therapieanfrage | v1.0.0
   Performance-clean: kein vorgerendertes Zeitraster, keine Sticky-Zellen,
   keine verschachtelte vertikale Scrollfläche und keine alten CSS-Duplikate. */

:root{
  --nlt-accent:#4DBEC8;
  --nlt-accent-dark:#2F929B;
  --nlt-accent-soft:#EDF9FA;
  --nlt-accent-softer:#F5FCFC;
  --nlt-ink:#24323A;
  --nlt-muted:#60717A;
  --nlt-line:#D9E5EA;
  --nlt-soft:#F8FAFB;
  --nlt-danger:#A93636;
  --nlt-green:#2F9E67;
}

body.nlt-page-active #primary,
body.nlt-page-active .content-area{
  width:100%!important;
  max-width:100%!important;
  float:none!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

body.nlt-page-active #secondary{
  display:none!important;
}

body.nlt-page-active .entry-header,
body.nlt-page-active .entry-title{
  text-align:center!important;
}

body.nlt-page-active .entry-content{
  width:100%!important;
  max-width:none!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

.nlt-step[hidden]{display:none!important}

.nlt-shell,
.nlt-shell *{box-sizing:border-box}

.nlt-shell{
  width:calc(100% - 32px)!important;
  max-width:1040px!important;
  margin:clamp(24px,4vw,48px) auto clamp(44px,6vw,72px)!important;
  padding:0!important;
  color:var(--nlt-ink);
  font-family:inherit;
  font-size:16px;
  line-height:1.55;
  float:none!important;
  clear:both!important;
}

.nlt-intro{
  max-width:720px;
  margin:0 auto 28px!important;
  text-align:center;
}

.nlt-kicker{
  display:inline-block;
  margin-bottom:7px;
  color:var(--nlt-accent);
  font-size:14px;
  font-weight:800;
  letter-spacing:.025em;
}

.nlt-intro h1{
  margin:0 0 10px!important;
  color:var(--nlt-ink);
  font-size:clamp(30px,3.4vw,40px)!important;
  line-height:1.14!important;
  font-weight:800!important;
  text-align:center!important;
}

.nlt-intro p{
  max-width:660px;
  margin:0 auto!important;
  color:var(--nlt-muted);
  font-size:clamp(15.5px,1.35vw,17px)!important;
  line-height:1.6!important;
  text-align:center!important;
}

.nlt-status{
  max-width:820px;
  margin:0 auto 18px!important;
  padding:14px 16px;
  border:1px solid;
  border-radius:13px;
  font-size:15.5px;
}
.nlt-status--success{background:#ECF8F9;border-color:#B6E4E7;color:#2D7379}
.nlt-status--error{background:#FFF2F2;border-color:#EFC2C2;color:#8C2C2C}

.nlt-form{
  width:100%!important;
  max-width:920px!important;
  margin:0 auto!important;
  padding:clamp(20px,3.5vw,38px)!important;
  background:#fff;
  border:1px solid var(--nlt-line);
  border-radius:18px;
  box-shadow:0 12px 34px rgba(27,61,77,.06);
}

.nlt-progress{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr));
  width:100%;
  max-width:590px;
  margin:0 auto 32px!important;
  position:relative;
  --nlt-line-fill:0%;
}

.nlt-progress::before,
.nlt-progress::after{
  content:"";
  position:absolute;
  left:10%;
  top:19px;
  height:3px;
  border-radius:999px;
  z-index:0;
}

.nlt-progress::before{right:10%;background:var(--nlt-line)}
.nlt-progress::after{width:var(--nlt-line-fill);background:var(--nlt-accent)}

.nlt-progress-item{
  min-width:0;
  display:grid;
  justify-items:center;
  gap:7px;
  position:relative;
  z-index:1;
  text-align:center;
}

.nlt-progress-item span{
  width:40px;
  height:40px;
  display:grid;
  place-items:center;
  border:2px solid var(--nlt-line);
  border-radius:50%;
  background:#fff;
  color:var(--nlt-muted);
  font-size:15px;
  font-weight:800;
}

.nlt-progress-item span.is-active,
.nlt-progress-item span.is-done{
  border-color:var(--nlt-accent);
  background:var(--nlt-accent);
  color:#fff;
}

.nlt-progress-item small{
  color:var(--nlt-muted);
  font-size:12.5px;
  font-weight:600;
  line-height:1.2;
  white-space:nowrap;
}

.nlt-progress-item.is-active small,
.nlt-progress-item.is-done small{
  color:var(--nlt-ink);
  font-weight:800;
}

.nlt-step{
  width:100%;
  max-width:760px;
  margin:0 auto!important;
}

.nlt-step[data-step="4"]{max-width:900px}

.nlt-section-heading{
  display:flex;
  flex-direction:column;
  align-items:center;
  margin:0 auto 25px;
  text-align:center;
}

.nlt-step-no{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  margin-bottom:9px;
  border-radius:50%;
  background:var(--nlt-accent-soft);
  color:var(--nlt-accent-dark);
  font-size:14px;
  font-weight:900;
}

.nlt-section-heading h2{
  margin:0 0 6px!important;
  color:var(--nlt-ink);
  font-size:clamp(23px,2.5vw,30px)!important;
  line-height:1.2!important;
  font-weight:800!important;
  text-align:center!important;
}

.nlt-section-heading p{
  margin:0!important;
  color:var(--nlt-muted);
  font-size:15.5px;
  line-height:1.55;
  text-align:center!important;
}

.nlt-grid{display:grid;gap:16px}
.nlt-grid--2{grid-template-columns:repeat(2,minmax(0,1fr))}
.nlt-grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}

.nlt-field{display:block;margin:0 0 22px}

.nlt-field > span,
.nlt-fieldset > legend{
  display:block;
  margin:0 0 8px;
  padding:0;
  color:var(--nlt-ink);
  font-size:15.5px;
  font-weight:800;
}

.nlt-optional{color:var(--nlt-muted);font-size:.9em;font-weight:600}

.nlt-field input,
.nlt-field textarea{
  width:100%;
  min-height:50px;
  padding:12px 14px;
  border:1px solid var(--nlt-line);
  border-radius:11px;
  background:var(--nlt-soft);
  color:var(--nlt-ink);
  font:inherit;
  box-shadow:none;
  outline:none;
}

.nlt-field textarea{min-height:125px;resize:vertical}

.nlt-field input:focus,
.nlt-field textarea:focus{
  border-color:var(--nlt-accent);
  background:#fff;
  box-shadow:0 0 0 3px rgba(77,190,200,.12);
}

.nlt-fieldset{margin:0 0 23px;padding:0;border:0;min-width:0}
.nlt-choice-row,.nlt-choice-stack{display:flex;gap:10px}
.nlt-choice-row--wrap{flex-wrap:wrap}
.nlt-choice-stack{flex-direction:column}

.nlt-choice{
  display:flex;
  align-items:center;
  gap:9px;
  min-height:47px;
  padding:10px 13px;
  border:1px solid var(--nlt-line);
  border-radius:12px;
  background:#fff;
  color:var(--nlt-ink);
  cursor:pointer;
  font-size:15.5px;
  line-height:1.35;
}

.nlt-choice input{
  width:20px;
  height:20px;
  margin:0;
  accent-color:var(--nlt-accent);
  flex:0 0 20px;
}

.nlt-choice input:checked + span{color:#2F7F86;font-weight:800}

.nlt-help{
  margin:8px 0 0!important;
  color:var(--nlt-muted);
  font-size:14.5px;
  line-height:1.5;
}

.nlt-checkline{
  display:flex;
  align-items:flex-start;
  gap:10px;
  margin:9px 0 22px;
  color:var(--nlt-ink);
  font-size:15.5px;
}

.nlt-checkline input{
  flex:0 0 21px;
  width:21px;
  height:21px;
  margin:2px 0 0;
  accent-color:var(--nlt-accent);
}

.nlt-note{
  margin:5px 0 22px;
  padding:13px 15px;
  border-left:4px solid var(--nlt-accent);
  border-radius:0 11px 11px 0;
  background:var(--nlt-accent-soft);
  color:#385765;
  font-size:15px;
}

.nlt-privacy{
  margin-top:22px;
  padding:14px 15px;
  border:1px solid #D8EEEE;
  border-radius:12px;
  background:var(--nlt-accent-softer);
}

.nlt-actions{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:11px;
  margin-top:28px;
  padding-top:21px;
  border-top:1px solid var(--nlt-line);
}
.nlt-actions > span:empty{display:none}

.nlt-btn{
  min-height:49px;
  padding:12px 21px;
  border-radius:999px;
  font-family:inherit;
  font-size:16px;
  line-height:1.2;
  font-weight:800;
  cursor:pointer;
}

.nlt-btn--primary{
  min-width:142px;
  border:1px solid var(--nlt-accent);
  background:var(--nlt-accent);
  color:#fff!important;
}

.nlt-btn--primary:hover{background:var(--nlt-accent-dark);border-color:var(--nlt-accent-dark)}
.nlt-btn--ghost{border:1px solid var(--nlt-line);background:#fff;color:var(--nlt-ink)}
.nlt-btn--ghost:hover{border-color:#A8DDE0;background:var(--nlt-accent-softer)}

.nlt-btn:focus-visible,
.nlt-grid-mode:focus-visible,
.nlt-time-cell:focus-visible{
  outline:3px solid rgba(0,160,227,.20);
  outline-offset:2px;
}

.nlt-btn:disabled{opacity:.65;cursor:wait}

.nlt-form-error{
  min-height:1.5em;
  margin:14px auto 0!important;
  color:var(--nlt-danger);
  font-size:15px;
  font-weight:800;
  text-align:center!important;
}

.nlt-hp{
  position:absolute!important;
  left:-9999px!important;
  width:1px!important;
  height:1px!important;
  overflow:hidden!important;
}

/* Zeitraster */
.nlt-regular-callout{
  max-width:820px;
  margin:0 auto 16px!important;
  padding:14px 16px;
  border:1px solid #BCE6E8;
  border-left:4px solid var(--nlt-accent);
  border-radius:12px;
  background:#F1FAFA;
  color:#33575A;
  font-size:15px;
  line-height:1.55;
}

.nlt-schedule-card{
  width:100%;
  padding:16px;
  border:1px solid var(--nlt-line);
  border-radius:16px;
  background:#fff;
}

.nlt-schedule-toolbar{margin-bottom:15px;text-align:center}

.nlt-grid-label{
  display:block;
  margin-bottom:9px;
  color:var(--nlt-ink);
  font-size:15px;
  font-weight:800;
}

.nlt-grid-switch{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
  max-width:700px;
  margin:0 auto;
}

.nlt-grid-mode{
  min-height:62px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:3px;
  padding:9px 10px;
  border:1px solid var(--nlt-line);
  border-radius:12px;
  background:#fff;
  color:var(--nlt-ink);
  font-family:inherit;
  cursor:pointer;
  touch-action:manipulation;
}

.nlt-grid-mode strong{font-size:14.5px;line-height:1.2}
.nlt-grid-mode small{color:var(--nlt-muted);font-size:11.5px;line-height:1.2;white-space:nowrap}

.nlt-grid-mode.is-active{
  border-color:var(--nlt-accent);
  background:var(--nlt-accent);
  color:#fff;
}
.nlt-grid-mode.is-active small{color:rgba(255,255,255,.9)}

.nlt-grid-note{
  max-width:700px;
  margin:9px auto 0!important;
  color:var(--nlt-muted);
  font-size:13.5px;
  line-height:1.45;
  text-align:center!important;
}

.nlt-schedule-grid-wrap{
  width:100%;
  overflow-x:auto;
  border:1px solid var(--nlt-line);
  border-radius:13px;
  background:#fff;
  -webkit-overflow-scrolling:touch;
}

.nlt-schedule-grid{
  display:grid;
  grid-template-columns:78px repeat(5,minmax(72px,1fr));
  min-width:560px;
  background:#fff;
}

.nlt-grid-head,
.nlt-grid-time{
  min-height:42px;
  display:grid;
  place-items:center;
  padding:5px;
  border-right:1px solid #E7EEF1;
  border-bottom:1px solid #E7EEF1;
  background:#F3FAFA;
  color:var(--nlt-ink);
  font-size:13px;
  font-weight:800;
  text-align:center;
}

.nlt-grid-time{
  background:#FAFCFD;
  color:#4C5C64;
  font-variant-numeric:tabular-nums;
}

.nlt-time-cell{
  min-height:42px;
  display:grid;
  place-items:center;
  margin:0;
  padding:4px;
  border:0;
  border-right:1px solid #E7EEF1;
  border-bottom:1px solid #E7EEF1;
  background:#fff;
  color:inherit;
  cursor:pointer;
  touch-action:manipulation;
  -webkit-tap-highlight-color:transparent;
}

.nlt-time-cell:hover{background:#F2FAFA}

.nlt-time-cell-mark{
  width:10px;
  height:10px;
  display:block;
  border-radius:50%;
  background:transparent;
}

.nlt-time-cell.is-selected{background:var(--nlt-green)}
.nlt-time-cell.is-selected .nlt-time-cell-mark{background:#fff}

.nlt-schedule-grid.nlt-grid--compact .nlt-grid-time,
.nlt-schedule-grid.nlt-grid--compact .nlt-time-cell{
  min-height:34px;
}

.nlt-schedule-grid.nlt-grid--compact .nlt-grid-time{font-size:12px}
.nlt-day-short{display:none}

.nlt-selection-count{
  min-height:24px;
  margin:12px auto 0!important;
  color:var(--nlt-muted);
  font-size:14px;
  font-weight:700;
  text-align:center!important;
}

.nlt-step[data-step="5"] .nlt-actions{align-items:stretch}

.nlt-step[data-step="5"] .nlt-actions .nlt-btn{
  min-width:168px;
  height:50px;
  min-height:50px;
  padding-top:0;
  padding-bottom:0;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

@media(max-width:820px){
  .nlt-shell{width:calc(100% - 24px)!important}
  .nlt-form{padding:24px 22px!important}
  .nlt-grid--3{grid-template-columns:1fr}
}

@media(max-width:680px){
  .nlt-shell{
    width:calc(100% - 18px)!important;
    margin-top:22px!important;
  }

  .nlt-form{
    padding:18px 14px 16px!important;
    border-radius:15px;
  }

  .nlt-grid--2,
  .nlt-grid--3{grid-template-columns:1fr}

  .nlt-choice-row{flex-wrap:wrap}
  .nlt-choice{flex:1 1 210px}

  .nlt-progress{margin-bottom:27px!important}
  .nlt-progress::before,.nlt-progress::after{top:18px}

  .nlt-progress-item span{
    width:38px;
    height:38px;
  }

  .nlt-progress-item small{font-size:11px}

  .nlt-schedule-card{padding:12px 8px 13px}

  .nlt-grid-switch{gap:5px}

  .nlt-grid-mode{
    min-height:56px;
    padding:7px 4px;
    border-radius:10px;
  }

  .nlt-grid-mode strong{font-size:12.5px}
  .nlt-grid-mode small{font-size:10px}

  .nlt-schedule-grid-wrap{overflow-x:visible}

  .nlt-schedule-grid{
    grid-template-columns:58px repeat(5,minmax(0,1fr));
    min-width:0;
    width:100%;
  }

  .nlt-day-full{display:none}
  .nlt-day-short{display:inline}

  .nlt-grid-head,
  .nlt-grid-time,
  .nlt-time-cell{
    min-height:39px;
    padding:3px 2px;
  }

  .nlt-grid-head{font-size:12px}
  .nlt-grid-time{font-size:11.5px}

  .nlt-schedule-grid.nlt-grid--compact .nlt-grid-time,
  .nlt-schedule-grid.nlt-grid--compact .nlt-time-cell{
    min-height:32px;
  }

  .nlt-time-cell-mark{width:9px;height:9px}

  .nlt-step[data-step="5"] .nlt-actions{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
  }

  .nlt-step[data-step="5"] .nlt-actions .nlt-btn{
    width:100%;
    min-width:0;
    font-size:14.5px;
    white-space:nowrap;
  }
}

@media(max-width:390px){
  .nlt-grid-mode small{display:none}
  .nlt-grid-mode{min-height:46px}
  .nlt-grid-mode strong{font-size:11.5px}

  .nlt-schedule-grid{
    grid-template-columns:54px repeat(5,minmax(0,1fr));
  }

  .nlt-grid-head{font-size:11.5px}
  .nlt-grid-time{font-size:11px}

  .nlt-step[data-step="5"] .nlt-actions{grid-template-columns:1fr}
}



/* Schritt 2 mobil: Verordnungsoptionen kompakt und gleichmäßig */
@media(max-width:680px){
  .nlt-step[data-step="2"] .nlt-fieldset--rx-status,
  .nlt-step[data-step="2"] .nlt-fieldset--home-visit{
    width:100%;
    max-width:380px;
    margin-left:auto;
    margin-right:auto;
  }

  .nlt-step[data-step="2"] .nlt-fieldset--rx-status .nlt-choice-stack,
  .nlt-step[data-step="2"] .nlt-fieldset--home-visit .nlt-choice-row{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
    width:100%;
    margin:0 auto;
  }

  .nlt-step[data-step="2"] .nlt-fieldset--rx-status .nlt-choice,
  .nlt-step[data-step="2"] .nlt-fieldset--home-visit .nlt-choice{
    width:100%;
    min-width:0;
    min-height:52px;
    margin:0;
    padding:8px 10px;
    flex:none;
    justify-content:flex-start;
    font-size:14px;
    line-height:1.22;
  }

  .nlt-step[data-step="2"] .nlt-fieldset--rx-status .nlt-choice:nth-child(3){
    grid-column:1 / -1;
    width:calc((100% - 8px) / 2);
    justify-self:center;
  }

  .nlt-step[data-step="2"] .nlt-fieldset--rx-status .nlt-choice input,
  .nlt-step[data-step="2"] .nlt-fieldset--home-visit .nlt-choice input{
    width:18px;
    height:18px;
    flex-basis:18px;
  }
}

@media(max-width:390px){
  .nlt-step[data-step="2"] .nlt-fieldset--rx-status .nlt-choice,
  .nlt-step[data-step="2"] .nlt-fieldset--home-visit .nlt-choice{
    min-height:54px;
    padding:7px 8px;
    font-size:13.5px;
  }
}

/* Privacy/security hardening */
.nlt-privacy a{
  color:inherit;
  font-weight:800;
  text-decoration:underline;
  text-underline-offset:2px;
}
