/* ================================
   Nachsuchegespanne
   ================================ */

.nachsuche-page {
  --max: 1120px;
  --text: #161616;
  --muted: #5c5c5c;
  --surface: #ffffff;
  --surface-soft: #f7f7f7;
  --surface-strong: #eef4ef;
  --border: rgba(0, 0, 0, 0.1);
  --border-strong: rgba(0, 0, 0, 0.16);
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
  --shadow-soft: 0 10px 24px rgba(0, 0, 0, 0.06);
  --radius: 20px;
  --accent: #1f5e3b;
  --accent-dark: #17482d;
  --accent-soft: rgba(31, 94, 59, 0.12);
  --warning: #8b5d13;
  --warning-soft: rgba(139, 93, 19, 0.12);

  max-width: var(--max);
  margin: 0 auto;
  padding: 20px 16px 68px;
  color: var(--text);
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

html,
body {
  background: #f3f4f3;
}

.nachsuche-page .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nachsuche-page .ns-muted {
  color: var(--muted);
}

.nachsuche-page .ns-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.nachsuche-page .ns-section-title {
  margin: 0 0 14px;
}

.nachsuche-page .ns-section-title h2 {
  margin: 0 0 6px;
  font-size: clamp(1.55rem, 2vw, 2rem);
  letter-spacing: 0.01em;
}

.nachsuche-page .ns-section-title p {
  margin: 0;
  line-height: 1.65;
}

.nachsuche-page .ns-section-title--split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
}

.nachsuche-page .ns-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(31, 94, 59, 0.18);
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
}

.nachsuche-page .ns-btn {
  min-height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-soft);
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  transition:
    transform 0.14s ease,
    box-shadow 0.14s ease,
    border-color 0.14s ease,
    background 0.14s ease;
}

.nachsuche-page .ns-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
  border-color: var(--border-strong);
}

.nachsuche-page .ns-btn.primary {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

.nachsuche-page .ns-btn.primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.nachsuche-page .ns-btn--clear {
  background: #fff;
}

/* ================================
   Jump Navigation - schlanker
   ================================ */

.nachsuche-page .ns-jumpnav {
  position: relative;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -18px 0 22px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.nachsuche-page .ns-jumpnav__link {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--accent-dark);
  text-decoration: none;
  font-weight: 800;
  font-size: 0.96rem;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.14s ease,
    box-shadow 0.14s ease,
    background 0.14s ease,
    border-color 0.14s ease;
}

.nachsuche-page .ns-jumpnav__link:hover {
  transform: translateY(-1px);
  background: #ffffff;
  border-color: rgba(31, 94, 59, 0.18);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.08);
}

.nachsuche-page .ns-jumpnav__link:focus-visible {
  outline: none;
  border-color: rgba(31, 94, 59, 0.28);
  box-shadow: 0 0 0 4px rgba(31, 94, 59, 0.1);
}

.nachsuche-page .ns-intro {
  margin-top: 6px;
}

.nachsuche-page .ns-intro__card,
.nachsuche-page .ns-emergency__card,
.nachsuche-page .ns-step,
.nachsuche-page .ns-acc,
.nachsuche-page .ns-card,
.nachsuche-page .ns-cta__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.nachsuche-page .ns-intro__card {
  padding: 22px;
  background: linear-gradient(135deg, #ffffff 0%, #f7faf7 100%);
}

.nachsuche-page .ns-intro__card h2 {
  margin: 12px 0 10px;
  font-size: clamp(1.7rem, 2.5vw, 2.35rem);
  line-height: 1.15;
}

.nachsuche-page .ns-intro__text {
  max-width: 850px;
  margin: 0;
  line-height: 1.72;
}

.nachsuche-page .ns-intro__highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.nachsuche-page .ns-highlight {
  padding: 16px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid rgba(31, 94, 59, 0.08);
}

.nachsuche-page .ns-highlight strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
}

.nachsuche-page .ns-highlight span {
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.96rem;
}

.nachsuche-page .ns-emergency {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 14px;
  margin-top: 18px;
}

.nachsuche-page .ns-emergency__card {
  padding: 20px;
}

.nachsuche-page .ns-emergency__card--soft {
  background: linear-gradient(180deg, #ffffff 0%, #faf9f6 100%);
}

.nachsuche-page .ns-emergency__card h2 {
  margin: 12px 0 8px;
  font-size: 1.32rem;
}

.nachsuche-page .ns-emergency__card p {
  line-height: 1.7;
}

.nachsuche-page .ns-emergency__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.nachsuche-page .ns-bullets {
  margin: 16px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.7;
}

.nachsuche-page .ns-bullets li + li {
  margin-top: 4px;
}

.nachsuche-page .ns-steps,
.nachsuche-page .ns-quick,
.nachsuche-page .ns-directory,
.nachsuche-page .ns-cta {
  margin-top: 28px;
}

.nachsuche-page .ns-steps__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.nachsuche-page .ns-step {
  position: relative;
  padding: 18px 16px 16px;
  padding-top: 52px;
  transition:
    transform 0.14s ease,
    border-color 0.14s ease,
    box-shadow 0.14s ease;
}

.nachsuche-page .ns-step:hover,
.nachsuche-page .ns-card:hover,
.nachsuche-page .ns-acc:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
}

.nachsuche-page .ns-step__num {
  position: absolute;
  left: 14px;
  top: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent-dark);
  border: 1px solid rgba(31, 94, 59, 0.14);
  font-weight: 800;
}

.nachsuche-page .ns-step h3 {
  margin: 0 0 6px;
  font-size: 1.06rem;
}

.nachsuche-page .ns-step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.nachsuche-page .ns-accordions {
  display: grid;
  gap: 10px;
}

.nachsuche-page .ns-acc {
  padding: 14px 16px;
}

.nachsuche-page .ns-acc > summary {
  list-style: none;
  cursor: pointer;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nachsuche-page .ns-acc > summary::-webkit-details-marker {
  display: none;
}

.nachsuche-page .ns-acc > summary::before {
  content: "+";
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-weight: 900;
  flex: 0 0 auto;
}

.nachsuche-page .ns-acc[open] > summary::before {
  content: "−";
}

.nachsuche-page .ns-acc ul {
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.68;
}

.nachsuche-page .ns-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px auto;
  gap: 12px;
  align-items: center;
  margin-top: 14px;
}

.nachsuche-page .ns-search {
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.nachsuche-page .ns-search:focus-within {
  border-color: var(--border-strong);
  box-shadow:
    0 0 0 5px rgba(31, 94, 59, 0.08),
    var(--shadow-soft);
}

.nachsuche-page .ns-search__icon,
.nachsuche-page .ns-select-icon,
.nachsuche-page .ns-ico {
  color: rgba(0, 0, 0, 0.56);
  display: inline-grid;
  place-items: center;
}

.nachsuche-page .ns-search__icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.nachsuche-page .ns-search__icon svg,
.nachsuche-page .ns-select-icon svg,
.nachsuche-page .ns-ico svg {
  width: 100%;
  height: 100%;
  display: block;
}

.nachsuche-page .ns-search__input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 1rem;
}

.nachsuche-page .ns-search__input::placeholder {
  color: rgba(0, 0, 0, 0.45);
}

.nachsuche-page .ns-select-wrap {
  position: relative;
}

.nachsuche-page .ns-select {
  width: 100%;
  min-height: 56px;
  padding: 0 44px 0 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 1rem;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
}

.nachsuche-page .ns-select:focus {
  outline: 0;
  border-color: var(--border-strong);
  box-shadow:
    0 0 0 5px rgba(31, 94, 59, 0.08),
    var(--shadow-soft);
}

.nachsuche-page .ns-select-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  pointer-events: none;
}

.nachsuche-page .ns-stats {
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 700;
  white-space: nowrap;
}

.nachsuche-page .ns-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.nachsuche-page .ns-card {
  position: relative;
  overflow: hidden;
  padding: 16px;
  transition:
    transform 0.14s ease,
    border-color 0.14s ease,
    box-shadow 0.14s ease;
}

.nachsuche-page .ns-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--accent);
}

.nachsuche-page .ns-card--neutral::before {
  background: #869086;
}

.nachsuche-page .ns-card__header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 12px;
}

.nachsuche-page .ns-card__title {
  min-width: 0;
}

.nachsuche-page .ns-card__name {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.28;
}

.nachsuche-page .ns-card__sub {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nachsuche-page .ns-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.nachsuche-page .ns-chip,
.nachsuche-page .ns-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: var(--surface-soft);
  color: rgba(0, 0, 0, 0.78);
}

.nachsuche-page .ns-status--approved {
  background: var(--accent-soft);
  color: var(--accent-dark);
  border-color: rgba(31, 94, 59, 0.14);
}

.nachsuche-page .ns-status--neutral {
  background: #f5f5f5;
}

.nachsuche-page .ns-card__body {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.nachsuche-page .ns-contactlist {
  display: grid;
  gap: 8px;
}

.nachsuche-page .ns-contactrow,
.nachsuche-page .ns-card__meta {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.55;
}

.nachsuche-page .ns-contactrow__label {
  color: rgba(0, 0, 0, 0.58);
  font-weight: 700;
  white-space: nowrap;
}

.nachsuche-page .ns-contactrow__value {
  color: rgba(0, 0, 0, 0.84);
  text-decoration: none;
  font-variant-numeric: tabular-nums;
  word-break: break-word;
}

.nachsuche-page .ns-contactrow__value:hover {
  text-decoration: underline;
}

.nachsuche-page .ns-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.nachsuche-page .ns-card__actions .ns-btn {
  flex: 1 1 140px;
}

.nachsuche-page .ns-empty {
  margin-top: 16px;
  padding: 18px;
  border-radius: var(--radius);
  border: 1px dashed var(--border-strong);
  background: #fff;
  color: var(--muted);
}

.nachsuche-page .ns-empty h3 {
  margin: 0 0 6px;
  color: var(--text);
}

.nachsuche-page .ns-cta__card {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.nachsuche-page .ns-cta__card h2 {
  margin: 0 0 8px;
  font-size: 1.3rem;
}

.nachsuche-page .ns-cta__card p {
  margin: 0;
  line-height: 1.65;
}

.nachsuche-page .ns-ico {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.nachsuche-page .ns-ico--file {
  width: 18px;
  height: 18px;
}

@media (max-width: 980px) {
  .nachsuche-page .ns-intro__highlights,
  .nachsuche-page .ns-steps__grid,
  .nachsuche-page .ns-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nachsuche-page .ns-emergency,
  .nachsuche-page .ns-controls,
  .nachsuche-page .ns-section-title--split,
  .nachsuche-page .ns-cta__card {
    grid-template-columns: 1fr;
  }

  .nachsuche-page .ns-emergency {
    grid-template-columns: 1fr;
  }

  .nachsuche-page .ns-section-title--split {
    align-items: start;
  }

  .nachsuche-page .ns-controls {
    grid-template-columns: 1fr 1fr;
  }

  .nachsuche-page .ns-btn--clear {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .nachsuche-page {
    padding: 16px 12px 58px;
  }

  .nachsuche-page .ns-jumpnav {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    margin-top: -10px;
    margin-bottom: 18px;
    padding-bottom: 4px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .nachsuche-page .ns-jumpnav::-webkit-scrollbar {
    display: none;
  }

  .nachsuche-page .ns-jumpnav__link {
    flex: 0 0 auto;
    white-space: nowrap;
    min-height: 40px;
    padding: 0 16px;
    font-size: 0.93rem;
  }

  .nachsuche-page .ns-intro__card,
  .nachsuche-page .ns-emergency__card,
  .nachsuche-page .ns-step,
  .nachsuche-page .ns-acc,
  .nachsuche-page .ns-card,
  .nachsuche-page .ns-cta__card {
    padding-left: 16px;
    padding-right: 16px;
  }

  .nachsuche-page .ns-controls,
  .nachsuche-page .ns-intro__highlights,
  .nachsuche-page .ns-steps__grid,
  .nachsuche-page .ns-grid {
    grid-template-columns: 1fr;
  }

  .nachsuche-page .ns-card__header,
  .nachsuche-page .ns-cta__card {
    flex-direction: column;
    align-items: stretch;
  }

  .nachsuche-page .ns-card__actions .ns-btn {
    flex-basis: 100%;
  }
}


/* ===============================
   Further Premium Pass: Nachsuche
================================ */
html,
body {
  background: #f4f0e7;
}

.nachsuche-page {
  --surface: #fffdf8;
  --surface-soft: #f7f2e8;
  --accent: #064704;
  --accent-dark: #09240d;
  max-width: 1180px;
  padding-top: clamp(30px, 5vw, 56px);
}

.nachsuche-page .ns-jumpnav--premium {
  margin: 0 0 18px;
  gap: 1px;
  background: rgba(20,25,20,.13);
  border: 1px solid rgba(20,25,20,.13);
}

.nachsuche-page .ns-jumpnav--premium .ns-jumpnav__link {
  border-radius: 0;
  box-shadow: none;
  background: #fffdf8;
  min-height: 52px;
}

.nachsuche-page .ns-urgent-strip {
  margin: 0 0 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  padding: 16px 18px;
  background: #0d2a11;
  color: #fff;
}

.nachsuche-page .ns-urgent-strip strong {
  letter-spacing: .03em;
}

.nachsuche-page .ns-urgent-strip span {
  color: rgba(255,255,255,.82);
}

.nachsuche-page .ns-intro__card,
.nachsuche-page .ns-emergency__card,
.nachsuche-page .ns-step,
.nachsuche-page .ns-acc,
.nachsuche-page .ns-card,
.nachsuche-page .ns-cta__card {
  border-radius: 0 !important;
  box-shadow: none !important;
}

.nachsuche-page .ns-intro__card {
  border-left: 5px solid #064704;
}

.nachsuche-page .ns-intro__card h2,
.nachsuche-page .ns-emergency__card h2,
.nachsuche-page .ns-section-title h2 {
  letter-spacing: -.055em;
}

.nachsuche-page .ns-eyebrow {
  border-radius: 999px;
}

@media (max-width: 720px) {
  .nachsuche-page .ns-jumpnav--premium {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .nachsuche-page .ns-jumpnav--premium .ns-jumpnav__link {
    justify-content: center;
    text-align: center;
    padding-inline: 10px;
  }
}
