/* Wissensbereich „Wissen für Gastgeber“. Nur auf Seiten des Bereichs geladen.
   Farben, Schriften, Radien und Abstände aus nachtivo.css und nachtivo-layout.css. */
.nv-w-wrap { box-sizing: border-box; max-width: 1264px; margin: 0 auto; padding-inline: clamp(20px, 4cqi, 32px); }
.nv-w-stack { display: flex; flex-direction: column; gap: 28px; }
.nv-w-section { background: #fff; }
.nv-w-section > .nv-w-wrap { padding-block: clamp(44px, 7cqi, 88px); }
.nv-w-section--surface { background: var(--nv-surface); }
.nv-w-h2 { margin: 0; font-family: var(--nv-heading); font-size: clamp(32px, 3.6cqi, 48px); font-weight: 800; line-height: 1; text-wrap: balance; }
.nv-w-h3 { margin: 0; font-size: 22px; font-weight: 700; line-height: 1.25; }
.nv-w-label { align-self: flex-start; margin: 0; padding: 4px 14px; border-radius: 999px; background: #dfe5fb; color: var(--nv-ink); font-size: 15px; font-weight: 700; width: fit-content; }
.nv-w-label--dark { background: rgba(255,255,255,.14); color: #fff; }
.nv-w-kicker { color: var(--nv-link); font-size: 15px; font-weight: 700; }

/* Kopfbereich */
.nv-w-hero { background: var(--nv-ink); color: #fff; }
.nv-w-hero > .nv-w-wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: 22px clamp(32px, 5cqi, 72px); padding-block: clamp(20px, 3cqi, 32px) clamp(40px, 6cqi, 76px); }
.nv-w-hero .nv-w-crumbs { grid-column: 1 / -1; }
.nv-w-hero--plain > .nv-w-wrap { grid-template-columns: minmax(0, 1fr); }
.nv-w-hero-text { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.nv-w-h1 { margin: 6px 0 0; max-width: 860px; font-family: var(--nv-heading); font-size: clamp(38px, 4.6cqi, 64px); font-weight: 800; line-height: .98; text-wrap: balance; overflow-wrap: break-word; hyphens: manual; }
.nv-w-lead { margin: 0; max-width: 640px; font-size: clamp(19px, 1.7cqi, 21px); line-height: 1.45; color: #d5dbf5; }
.nv-w-byline { margin: 0; font-size: 15px; color: #b9c3ea; }
.nv-w-byline strong { color: #fff; font-weight: 600; }
.nv-root .nv-w-pill { display: inline-flex; align-items: center; align-self: flex-start; min-height: 34px; padding: 0 16px; border-radius: 999px; background: #dfe5fb; color: var(--nv-ink); font-size: 15px; font-weight: 700; text-decoration: none; }
.nv-root .nv-w-pill:hover { background: #fff; color: var(--nv-ink); }
.nv-w-hero-cover { min-width: 0; }

/* Brotkrumen */
.nv-w-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; margin: 0; padding: 0; list-style: none; font-size: 15px; color: #b9c3ea; }
.nv-w-crumbs li { display: inline-flex; align-items: center; min-height: 32px; }
.nv-w-crumbs li + li::before { content: "/"; margin-inline: 9px; color: #7d8bc4; }
.nv-root .nv-w-crumbs a { color: #d5dbf5; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(213,219,245,.45); }
.nv-root .nv-w-crumbs a:hover { color: #fff; text-decoration-color: #fff; }
.nv-w-crumbs [aria-current] { color: #fff; }

/* Titelmotiv: ruhige Fläche, Linien-Icon, kurzer Titel als Text. Größen skalieren mit der Motivbreite. */
.nv-w-cover { --bg: #0e1a4a; --fg: #fff; --icon: #9fb2ff; --badge: rgba(159,178,255,.16); --ring: rgba(159,178,255,.16);
  position: relative; container-type: inline-size; box-sizing: border-box; overflow: hidden; aspect-ratio: 1200 / 630;
  border-radius: 18px; background: var(--bg); color: var(--fg); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.nv-w-cover--mittel { --bg: #2443e0; --icon: #fff; --badge: rgba(255,255,255,.16); --ring: rgba(255,255,255,.14); }
.nv-w-cover--hell { --bg: #dfe5fb; --fg: #0e1a4a; --icon: #2443e0; --badge: #fff; --ring: rgba(36,67,224,.12); box-shadow: inset 0 0 0 1px rgba(14,26,74,.08); }
.nv-w-cover::before, .nv-w-cover::after { content: ""; position: absolute; border-radius: 50%; border: 6.5cqi solid var(--ring); pointer-events: none; }
.nv-w-cover::before { width: 58cqi; aspect-ratio: 1; right: -16cqi; top: -24cqi; }
.nv-w-cover::after { width: 26cqi; aspect-ratio: 1; right: 10cqi; bottom: -15cqi; border-width: 3.4cqi; }
.nv-w-cover-in { position: relative; z-index: 1; box-sizing: border-box; height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 4cqi; padding: 7cqi 7.5cqi; }
.nv-w-cover-top { display: flex; align-items: center; gap: 2.4cqi; }
.nv-w-cover-icon { display: grid; place-items: center; flex: none; width: 11.5cqi; aspect-ratio: 1; border-radius: 3cqi; background: var(--badge); color: var(--icon); }
.nv-w-cover-icon .nv-w-icon { width: 64%; height: 64%; }
.nv-w-cover-label { font-size: 2.7cqi; font-weight: 700; letter-spacing: .01em; opacity: .9; }
.nv-w-cover-title { display: block; max-width: 80%; font-family: var(--nv-heading); font-size: 8.4cqi; font-weight: 800; line-height: .98; text-wrap: balance; overflow-wrap: break-word; hyphens: manual; }
/* Hochformat für Instagram: gleiches Motiv, Titel und Icon im sicheren Mittelfeld. */
.nv-w-cover--hoch { aspect-ratio: 1080 / 1350; }
.nv-w-cover--hoch .nv-w-cover-in { padding: 14cqi 9cqi; justify-content: center; gap: 9cqi; }
.nv-w-cover--hoch .nv-w-cover-top { flex-direction: column; align-items: flex-start; gap: 6cqi; }
.nv-w-cover--hoch .nv-w-cover-icon { width: 17cqi; border-radius: 4.5cqi; }
.nv-w-cover--hoch .nv-w-cover-label { font-size: 3.6cqi; }
.nv-w-cover--hoch .nv-w-cover-title { max-width: 94%; font-size: 11.6cqi; }
.nv-w-cover--hoch::before { width: 90cqi; right: -38cqi; top: -22cqi; border-width: 9cqi; }
.nv-w-cover--hoch::after { width: 44cqi; right: 8cqi; bottom: -18cqi; border-width: 5cqi; }

/* Karten */
.nv-w-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(330px, 100%), 1fr)); gap: 20px; }
.nv-w-grid--wide { grid-template-columns: repeat(auto-fill, minmax(min(460px, 100%), 1fr)); }
.nv-w-card { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 12px; border-radius: 22px; border: 2px solid var(--nv-edge); background: #fff;
  transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease; }
.nv-w-section--surface .nv-w-card { border-color: #fff; }
.nv-w-card-body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 14px 12px 12px; }
.nv-w-card-title { margin: 0; font-size: 22px; font-weight: 700; line-height: 1.25; text-wrap: balance; }
.nv-root .nv-w-card-link { color: var(--nv-ink); text-decoration: none; }
.nv-w-card-link::after { content: ""; position: absolute; inset: -2px; border-radius: 22px; }
.nv-w-card-text { margin: 0; color: var(--nv-muted); }
.nv-w-card-more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 4px; color: var(--nv-link); font-weight: 700; }
.nv-w-card:focus-within { outline: 3px solid var(--nv-orange); outline-offset: 3px; }
.nv-w-card-link:focus-visible { outline: none; }
@media (hover: hover) {
  .nv-w-card:hover { border-color: var(--nv-link); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(14,26,74,.08); }
  .nv-w-card:hover .nv-w-card-link { color: var(--nv-link); }
}
@media (prefers-reduced-motion: reduce) { .nv-w-card { transition: none; } .nv-w-card:hover { transform: none; } }

/* Übersicht: alle Ratgeber nach Thema */
.nv-w-index { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 24px 32px; }
.nv-w-index-group { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; border-top: 3px solid var(--nv-ink); }
.nv-root .nv-w-index-group h3 a { color: var(--nv-ink); text-decoration: none; }
.nv-root .nv-w-index-group h3 a:hover { color: var(--nv-link); text-decoration: underline; }
.nv-w-index-group ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.nv-w-index-group li { border-bottom: 1px solid var(--nv-edge); }
.nv-root .nv-w-index-group li a { display: flex; align-items: center; min-height: 48px; padding-block: 8px; color: var(--nv-link); font-weight: 600; line-height: 1.35; text-decoration: none; }
.nv-root .nv-w-index-group li a:hover { color: var(--nv-ink); text-decoration: underline; }

/* Artikel */
.nv-w-article { background: #fff; }
.nv-w-article-grid { display: grid; grid-template-columns: 240px minmax(0, 760px); justify-content: start; gap: 40px clamp(40px, 6cqi, 96px); padding-block: clamp(40px, 6cqi, 80px) clamp(48px, 7cqi, 96px); }
.nv-w-article-grid--single { grid-template-columns: minmax(0, 760px); justify-content: center; }
.nv-w-toc { position: sticky; top: 104px; align-self: start; display: flex; flex-direction: column; gap: 10px; }
.nv-w-toc-title { margin: 0; font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--nv-muted); }
.nv-w-toc ol { margin: 0; padding: 0; list-style: none; border-left: 2px solid var(--nv-edge); }
.nv-root .nv-w-toc a { display: block; margin-left: -2px; padding: 7px 0 7px 16px; border-left: 2px solid transparent; color: var(--nv-muted); font-size: 16px; line-height: 1.35; text-decoration: none; }
.nv-root .nv-w-toc a:hover { border-left-color: var(--nv-link); color: var(--nv-ink); }
.nv-w-main { display: flex; flex-direction: column; gap: 36px; min-width: 0; }
.nv-w-answer { display: flex; flex-direction: column; gap: 12px; padding: clamp(22px, 3cqi, 30px); border-radius: 22px; background: var(--nv-surface); border-left: 6px solid var(--nv-link); }
.nv-w-answer-text { margin: 0; font-size: 20px; line-height: 1.5; color: var(--nv-ink); }
.nv-w-prose { color: var(--nv-ink); font-size: 19px; line-height: 1.6; }
.nv-w-prose > :first-child { margin-top: 0; }
.nv-w-prose h2 { margin: 1.5em 0 .45em; font-family: var(--nv-heading); font-size: clamp(30px, 3cqi, 40px); font-weight: 800; line-height: 1.04; text-wrap: balance; }
.nv-w-prose p { margin: 0 0 1em; color: #2b3563; }
.nv-w-prose strong { color: var(--nv-ink); }
.nv-w-prose ul, .nv-w-prose ol { margin: 0 0 1.1em; padding-left: 1.3em; color: #2b3563; }
.nv-w-prose li { margin-bottom: .45em; padding-left: .2em; }
.nv-w-prose li::marker { color: var(--nv-link); }
.nv-w-prose a { color: var(--nv-link); text-underline-offset: 3px; }
.nv-w-prose pre { max-width: 100%; overflow-x: auto; padding: 16px; border-radius: 12px; background: var(--nv-surface); font-size: 15px; }
.nv-w-prose table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.nv-w-prose img { max-width: 100%; height: auto; }
.nv-w-prose :not(pre) > code { overflow-wrap: anywhere; }
.nv-w-next { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: clamp(22px, 3cqi, 30px); border-radius: 22px; background: var(--nv-ink); color: #fff; }
.nv-w-btn { box-sizing: border-box; min-height: 56px; padding: 10px 28px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; font-size: 18px; font-weight: 700; line-height: 1.25; text-align: center; text-decoration: none; }
.nv-root .nv-w-btn--cta { background: var(--nv-orange); color: var(--nv-ink); }
.nv-root .nv-w-btn--ghost { border: 2px solid #fff; color: #fff; }
.nv-w-faq { display: flex; flex-direction: column; gap: 12px; }
.nv-w-faq-item { padding: 22px 24px; border-radius: 18px; background: var(--nv-surface); }
.nv-w-faq-q { margin: 0 0 8px; font-family: inherit; font-size: 21px; font-weight: 700; line-height: 1.3; }
.nv-w-faq-item p { margin: 0; color: #2b3563; }
.nv-w-sources { display: flex; flex-direction: column; gap: 10px; padding-top: 24px; border-top: 1px solid var(--nv-edge); }
.nv-w-sources ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 4px 24px; }
.nv-root .nv-w-sources a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--nv-link); font-size: 17px; }
.nv-w-sources svg { flex: none; }

/* Übersicht: Hinweis auf die Produkt-FAQ */
.nv-w-faqlink { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; padding: clamp(22px, 3cqi, 32px); border-radius: 22px; background: #fff; }
.nv-w-faqlink-text { display: flex; flex-direction: column; gap: 8px; flex: 1 1 420px; }
.nv-w-faqlink-text p { margin: 0; color: var(--nv-muted); }
.nv-root .nv-w-btn--line { border: 2px solid var(--nv-ink); color: var(--nv-ink); }

/* Abschluss */
.nv-w-band { background: var(--nv-ink); color: #fff; }
.nv-w-band-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; padding-block: clamp(44px, 7cqi, 88px); }
.nv-w-band-text { display: flex; flex-direction: column; gap: 12px; flex: 1 1 420px; }
.nv-w-band-text p { margin: 0; max-width: 560px; font-size: 20px; line-height: 1.45; color: #d5dbf5; }
.nv-w-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (hover: hover) {
  .nv-root .nv-w-btn--cta:hover { background: #ff8433; color: var(--nv-ink); }
  .nv-root .nv-w-btn--ghost:hover { background: #fff; color: var(--nv-ink); }
}

@container (max-width: 1000px) {
  .nv-w-article-grid { grid-template-columns: minmax(0, 760px); justify-content: center; }
  .nv-w-toc { position: static; padding: 18px 20px; border-radius: 18px; border: 2px solid var(--nv-edge); }
  .nv-w-toc ol { border-left: 0; }
  .nv-root .nv-w-toc a { margin-left: 0; padding: 8px 0; border-left: 0; border-bottom: 1px solid var(--nv-edge); }
  .nv-root .nv-w-toc li:last-child a { border-bottom: 0; }
}
@container (max-width: 860px) {
  .nv-w-hero > .nv-w-wrap { grid-template-columns: minmax(0, 1fr); }
  .nv-w-hero-cover { max-width: 520px; }
}
@container (max-width: 640px) {
  .nv-w-prose { font-size: 18px; }
  .nv-w-answer-text { font-size: 19px; }
  .nv-w-next .nv-w-btn, .nv-w-actions .nv-w-btn { flex: 1 1 100%; }
  .nv-w-faq-item { padding: 20px; }
  .nv-w-faqlink .nv-w-btn { flex: 1 1 100%; }
  .nv-w-answer { padding: 20px 20px 20px 22px; }
}

/* Shared guide topics and the searchable index. */
.nv-w-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.nv-w-tags a { color: #fff; border: 1px solid #8290bf; border-radius: 2rem; padding: .35rem .85rem; font-weight: 600; text-decoration: none; }
.nv-w-tags a:is(:hover, :focus-visible) { color: #101c4b; background: #fff; }
#wissenssuche, #ratgeber { scroll-margin-top: 5rem; }
.nv-w-search {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) auto;
  align-items: end;
  gap: 16px;
  max-width: 960px;
  margin-top: 8px;
  padding-top: 24px;
  border-top: 1px solid #44517b;
}
.nv-w-search label { display: grid; gap: 7px; min-width: 0; color: #d5dbf5; font-weight: 700; }
.nv-w-query, .nv-w-select { position: relative; display: block; }
.nv-w-search :is(input, select, button) { box-sizing: border-box; height: 52px; min-height: 52px; border-radius: 999px; font-family: inherit; }
.nv-w-search :is(input, select) {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  min-width: 0;
  padding: 0 20px;
  border: 1px solid #d5dbf5;
  background: #fff;
  color: var(--nv-ink);
  font-size: 18px;
  line-height: normal;
}
.nv-w-search input { padding-left: 48px; }
.nv-w-search input::placeholder { color: var(--nv-muted); opacity: 1; }
.nv-w-query svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--nv-muted); pointer-events: none; }
.nv-w-search select { cursor: pointer; padding-right: 44px; }
.nv-w-select::after { content: ""; position: absolute; right: 20px; top: 50%; width: 8px; height: 8px; border: solid var(--nv-ink); border-width: 0 2px 2px 0; transform: translateY(-75%) rotate(45deg); pointer-events: none; }
.nv-w-search button { appearance: none; border: 0; cursor: pointer; }
.nv-w-result-heading { display: flex; align-items: baseline; flex-wrap: wrap; gap: 1rem; }
.nv-w-result-heading a { text-decoration: underline; }
@container (max-width: 640px) {
  .nv-w-search { grid-template-columns: 1fr; gap: 14px; margin-top: 0; padding-top: 20px; }
}
