/* ═══════════════════════════════════════════════════════════════════════════
   QUERVERWEISE: Stile der drei Verweis-Kaesten in den Blogposts (01.12.2026)
   Markup und Doku: _shared/querverweise.mjs. Diese Datei laeuft unveraendert
   auf studienfluesterer.com, kursberatung.de und dein-mba.de.

   Jeder Kasten traegt das Design seines ZIELS, nicht das der Gastseite. Die
   Farbwerte stehen deshalb hier direkt und nicht als Tokens der Gastseite.
   Alle Selektoren beginnen mit `.qv.qv`, damit sie die Prosa-Regeln der drei
   Sites (Links, Absaetze, Bilder) sicher schlagen.
   Schriften: die Familie der eigenen Site steht zuerst und greift dort ohne
   zweiten Download, die QV-Familie laedt nur auf den beiden fremden Sites.
   ═══════════════════════════════════════════════════════════════════════════ */
@font-face { font-family: 'QV Poppins'; font-weight: 400; font-style: normal; font-display: swap; src: url(/assets/qv/fonts/Poppins-Regular.woff2) format('woff2'); }
@font-face { font-family: 'QV Poppins'; font-weight: 600; font-style: normal; font-display: swap; src: url(/assets/qv/fonts/Poppins-SemiBold.woff2) format('woff2'); }
@font-face { font-family: 'QV Poppins'; font-weight: 700; font-style: normal; font-display: swap; src: url(/assets/qv/fonts/Poppins-Bold.woff2) format('woff2'); }
@font-face { font-family: 'QV Archivo'; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url(/assets/qv/fonts/archivo-latin.woff2) format('woff2'); }
@font-face { font-family: 'QV Asap'; font-weight: 400 700; font-style: normal; font-display: swap; src: url(/assets/qv/fonts/asap-var-latin.woff2) format('woff2'); }
@font-face { font-family: 'QV Asap Condensed'; font-weight: 700; font-style: normal; font-display: swap; src: url(/assets/qv/fonts/asap-condensed-700-latin.woff2) format('woff2'); }

/* ---------- Gemeinsames ---------- */
.qv.qv { position: relative; box-sizing: border-box; margin: 2.5rem 0; text-align: left; -webkit-hyphens: manual; hyphens: manual; max-width: none; }
.qv.qv *, .qv.qv *::before, .qv.qv *::after { box-sizing: border-box; }
.qv.qv p { margin: 0; padding: 0; max-width: none; }
.qv.qv form { margin: 0; }
.qv.qv a { text-decoration: none; border: 0; background-image: none; box-shadow: none; }
.qv.qv img { display: block; margin: 0; border: 0; border-radius: 0; box-shadow: none; max-width: none; }
.qv.qv svg { margin: 0; }
.qv.qv .qv-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.qv.qv .qv-lupe { flex: none; width: 20px; height: 20px; }
.qv.qv .qv-inp { flex: 1; min-width: 0; width: auto; height: auto; margin: 0; border: 0; border-radius: 0; outline: 0; box-shadow: none; background: transparent; -webkit-appearance: none; appearance: none; }
.qv.qv .qv-inp::-webkit-search-cancel-button { display: none; }
.qv.qv .qv-fuss { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.qv.qv .qv-logo { display: block; flex: none; }
.qv.qv .qv-logo img { width: auto; }

/* ---------- sf: Studienfinder (Blau #2478cd, Poppins) ---------- */
.qv.qv-sf { --qb: #2478cd; --qbh: #1d63ac; --qhell: #eef4ff; --qt: #222222; --qt2: #475569; --qt3: #64748b;
  padding: 28px; border-radius: 16px; background: linear-gradient(135deg, var(--qb) 0%, var(--qbh) 100%); color: #fff; font-family: 'Poppins', 'QV Poppins', -apple-system, 'Segoe UI', sans-serif; }
.qv.qv-sf .qv-sf__kopf { display: flex; align-items: center; gap: 20px; }
.qv.qv-sf .qv-sf__n { font: 700 76px/.9 'Poppins', 'QV Poppins', sans-serif; letter-spacing: -.04em; color: #fff; }
.qv.qv-sf .qv-sf__h { font: 700 24px/1.18 'Poppins', 'QV Poppins', sans-serif; letter-spacing: -.02em; color: #fff; }
.qv.qv-sf .qv-sf__karte { margin-top: 22px; padding: 14px; background: #fff; border-radius: 12px; }
.qv.qv-sf .qv-seg { display: flex; flex-wrap: wrap; gap: 2px; min-width: 0; width: auto; margin: 0 0 10px; padding: 4px; border: 0; border-radius: 10px; background: var(--qhell); }
.qv.qv-sf .qv-seg label { display: block; flex: 1 1 auto; margin: 0; cursor: pointer; }
.qv.qv-sf .qv-seg span { display: flex; align-items: center; justify-content: center; min-height: 40px; padding: 8px 14px; text-align: center; border-radius: 7px; font: 600 14px/1.2 'Poppins', 'QV Poppins', sans-serif; color: var(--qt2); transition: background .15s, color .15s; }
.qv.qv-sf .qv-seg label:hover span { color: var(--qb); }
.qv.qv-sf .qv-seg input:checked + span { background: var(--qb); color: #fff; }
.qv.qv-sf .qv-seg input:focus-visible + span { outline: 2px solid var(--qb); outline-offset: 2px; }
.qv.qv-sf .qv-feld { position: relative; display: flex; align-items: center; gap: 10px; min-height: 62px; padding: 6px 6px 6px 16px; background: #fff; border: 1.5px solid rgba(36, 120, 205, .3); border-radius: 10px; transition: border-color .15s, box-shadow .15s; }
.qv.qv-sf .qv-feld:focus-within { border-color: var(--qb); box-shadow: 0 0 0 4px rgba(36, 120, 205, .14); }
.qv.qv-sf .qv-lupe { color: var(--qt3); }
.qv.qv-sf .qv-inp { padding: 10px 0; font: 400 16px/1.2 'Poppins', 'QV Poppins', sans-serif; color: var(--qt); }
.qv.qv-sf .qv-inp::placeholder { color: var(--qt3); opacity: 1; }
/* Leeres Feld ohne Fokus: statt des Platzhalters wechselt ein Beispielfach.
   Mit Fokus oder Eingabe verschwindet es, dann steht der Platzhalter da. */
.qv.qv-sf .qv-inp:not(:focus)::placeholder { color: transparent; }
.qv.qv-sf .qv-rot { position: absolute; left: 46px; top: 50%; transform: translateY(-50%); display: flex; align-items: baseline; gap: .35em; pointer-events: none; white-space: nowrap; font: 400 16px/1.5 'Poppins', 'QV Poppins', sans-serif; color: var(--qt3); }
.qv.qv-sf .qv-inp:focus ~ .qv-rot, .qv.qv-sf .qv-inp:not(:placeholder-shown) ~ .qv-rot { display: none; }
.qv.qv-sf .qv-rot__w { position: relative; display: inline-grid; height: 1.5em; overflow: hidden; font-weight: 600; color: var(--qb); }
.qv.qv-sf .qv-rot__w span { grid-area: 1 / 1; line-height: 1.5em; opacity: 0; transform: translateY(100%); animation: qv-wort 12.5s infinite; }
.qv.qv-sf .qv-rot__w span:nth-child(2) { animation-delay: 2.5s; }
.qv.qv-sf .qv-rot__w span:nth-child(3) { animation-delay: 5s; }
.qv.qv-sf .qv-rot__w span:nth-child(4) { animation-delay: 7.5s; }
.qv.qv-sf .qv-rot__w span:nth-child(5) { animation-delay: 10s; }
@keyframes qv-wort { 0% { opacity: 0; transform: translateY(100%); } 3%, 17% { opacity: 1; transform: translateY(0); } 20%, 100% { opacity: 0; transform: translateY(-100%); } }
@media (prefers-reduced-motion: reduce) {
  .qv.qv-sf .qv-rot__w span { animation: none; }
  .qv.qv-sf .qv-rot__w span:first-child { opacity: 1; transform: none; }
}
.qv.qv-sf .qv-btn { flex: none; align-self: stretch; display: inline-flex; align-items: center; gap: .55rem; width: auto; margin: 0; padding: 0 20px; border: 0; border-radius: 7px; box-shadow: none; background: var(--qb); color: #fff; font: 600 15px/1 'Poppins', 'QV Poppins', sans-serif; text-transform: none; letter-spacing: 0; white-space: nowrap; cursor: pointer; transition: background .15s; }
.qv.qv-sf .qv-btn:hover { background: var(--qbh); transform: none; }
.qv.qv-sf .qv-pf { width: 16px; height: 16px; transition: transform .15s; }
.qv.qv-sf .qv-btn:hover .qv-pf { transform: translateX(3px); }
.qv.qv-sf .qv-fuss { margin-top: 18px; }
.qv.qv-sf .qv-logo { background: #fff; border-radius: 8px; padding: 0 6px 0 0; }
.qv.qv-sf .qv-logo img { height: 40px; }
.qv.qv-sf .qv-sf__hin { font: 400 13px/1.35 'Poppins', 'QV Poppins', sans-serif; color: #fff; flex: 1 1 200px; text-align: right; }
@media (max-width: 560px) {
  .qv.qv-sf { padding: 20px 16px; }
  .qv.qv-sf .qv-sf__kopf { gap: 14px; }
  .qv.qv-sf .qv-sf__n { font-size: 50px; }
  .qv.qv-sf .qv-sf__h { font-size: 18px; }
  .qv.qv-sf .qv-sf__karte { padding: 10px; }
  .qv.qv-sf .qv-seg span { padding: 8px 10px; font-size: 13px; }
  .qv.qv-sf .qv-feld { padding-left: 12px; min-height: 56px; }
  .qv.qv-sf .qv-rot { left: 42px; font-size: 15px; }
  .qv.qv-sf .qv-rot__v { display: none; }
  .qv.qv-sf .qv-btn { min-width: 48px; justify-content: center; }
  .qv.qv-sf .qv-btn { padding: 0 14px; }
  .qv.qv-sf .qv-btn span { display: none; }
  .qv.qv-sf .qv-sf__hin { text-align: left; }
}

/* ---------- mba: dein-mba.de (Koralle, Marine, Himmel, Rosa, Weiss; Archivo) ---------- */
.qv.qv-mba { --ko: #FF5A4E; --ma: #17164A; --hi: #BFE0FF; --ro: #FFD3D6;
  display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border-radius: 22px; background: var(--ma); color: #fff; font-family: 'Archivo', 'QV Archivo', Arial, sans-serif; }
.qv.qv-mba .qv-mba__l { display: flex; flex-direction: column; justify-content: space-between; gap: 20px; min-width: 0; padding: 26px; background: var(--ko); }
.qv.qv-mba .qv-mba__w { display: block; width: 100%; max-width: 250px; height: auto; overflow: visible; fill: var(--ma); stroke: #fff; stroke-width: 26; stroke-linejoin: round; paint-order: stroke; }
.qv.qv-mba .qv-mba__h { font: 800 30px/1 'Archivo', 'QV Archivo', Arial, sans-serif; font-stretch: 118%; letter-spacing: -.02em; color: var(--ma); }
.qv.qv-mba .qv-mba__p { margin-top: 10px; font: 400 15px/1.45 'Archivo', 'QV Archivo', Arial, sans-serif; font-stretch: 100%; color: var(--ma); }
.qv.qv-mba .qv-mba__r { display: flex; flex-direction: column; justify-content: space-between; min-width: 0; padding: 26px; }
.qv.qv-mba .qv-mba__g { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.qv.qv-mba .qv-blatt { display: flex; flex-direction: column; justify-content: space-between; min-height: 92px; padding: 14px 8px 8px 14px; border-radius: 14px; background: var(--f); color: var(--ma); font: 700 17px/1.1 'Archivo', 'QV Archivo', Arial, sans-serif; font-stretch: 100%; letter-spacing: -.01em; }
.qv.qv-mba .qv-blatt::after { content: ''; align-self: flex-end; flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--ma) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12h17M13 5l7 7-7 7'/%3E%3C/svg%3E") center / 18px no-repeat; transition: width .22s cubic-bezier(.2, .8, .3, 1); }
.qv.qv-mba .qv-blatt:hover { color: var(--ma); }
.qv.qv-mba .qv-blatt:hover::after, .qv.qv-mba .qv-blatt:focus-visible::after { width: 56px; }
.qv.qv-mba .qv-blatt:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.qv.qv-mba .qv-blatt--ko { --f: var(--ko); } .qv.qv-mba .qv-blatt--hi { --f: var(--hi); } .qv.qv-mba .qv-blatt--ro { --f: var(--ro); } .qv.qv-mba .qv-blatt--we { --f: #fff; }
.qv.qv-mba .qv-fuss { margin-top: 18px; padding-top: 16px; border-top: 2px solid var(--hi); }
.qv.qv-mba .qv-logo img { height: 20px; }
@media (max-width: 620px) {
  .qv.qv-mba { grid-template-columns: 1fr; }
  .qv.qv-mba .qv-mba__l, .qv.qv-mba .qv-mba__r { padding: 20px 16px; }
  .qv.qv-mba .qv-mba__w { max-width: 190px; }
  .qv.qv-mba .qv-mba__h { font-size: 26px; }
}

/* ---------- kb: kursberatung.de (Gruen #00843d, Gelb #ffcc00, Kante und Schatten; Asap) ---------- */
.qv.qv-kb { --kk: #151515; padding: 24px; border-radius: 6px; background: #00843d; color: #fff; font-family: 'Asap', 'QV Asap', Arial, sans-serif; }
.qv.qv-kb .qv-kb__h { margin: 0 0 8px; font: 700 40px/1.05 'Asap Condensed', 'QV Asap Condensed', 'Arial Narrow', sans-serif; letter-spacing: 0; color: #fff; }
.qv.qv-kb .qv-kb__h span { color: #ffcc00; }
.qv.qv-kb .qv-kb__p { margin: 0 0 18px; font: 400 15px/1.45 'Asap', 'QV Asap', Arial, sans-serif; color: #fff; opacity: .92; }
.qv.qv-kb .qv-kb__such { display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 14px; background: #fff; border: 2px solid var(--kk); border-radius: 6px; box-shadow: 4px 4px 0 var(--kk); }
.qv.qv-kb .qv-kb__such:focus-within { outline: 3px solid #ffcc00; outline-offset: 3px; }
.qv.qv-kb .qv-lupe { width: 18px; height: 18px; color: #555; }
.qv.qv-kb .qv-inp { padding: 8px 0; font: 400 15px/1.2 'Asap', 'QV Asap', Arial, sans-serif; color: #222; }
.qv.qv-kb .qv-inp::placeholder { color: #555; opacity: 1; }
.qv.qv-kb .qv-kb__btn { flex: none; display: inline-flex; align-items: center; width: auto; min-height: 0; margin: 0; padding: 11px 18px; border: 2px solid var(--kk); border-radius: 6px; box-shadow: 3px 3px 0 var(--kk); background: #ffcc00; color: var(--kk); font: 700 14px/1 'Asap', 'QV Asap', Arial, sans-serif; text-transform: none; letter-spacing: 0; white-space: nowrap; cursor: pointer; transition: transform .08s ease, box-shadow .08s ease; }
.qv.qv-kb .qv-kb__btn::before, .qv.qv-kb .qv-kb__btn::after { content: none; }
.qv.qv-kb .qv-kb__btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--kk); background: #ffcc00; }
.qv.qv-kb .qv-kb__btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--kk); }
.qv.qv-kb .qv-fuss { margin-top: 18px; padding-top: 12px; border-top: 1.5px solid rgba(255, 255, 255, .35); gap: 8px; }
.qv.qv-kb .qv-logo img { height: 20px; }
.qv.qv-kb .qv-kb__de { display: inline-flex; align-items: center; gap: 8px; font: 600 13px/1 'Asap', 'QV Asap', Arial, sans-serif; color: #fff; }
.qv.qv-kb .qv-kb__fl { display: inline-block; flex: none; width: 24px; height: 16px; border-radius: 2px; overflow: hidden; box-shadow: 0 0 0 1px var(--kk); }
.qv.qv-kb .qv-kb__fl svg { display: block; width: 100%; height: 100%; }
@media (max-width: 560px) {
  .qv.qv-kb { padding: 18px 16px; }
  .qv.qv-kb .qv-kb__h { font-size: 32px; }
  .qv.qv-kb .qv-kb__btn { padding: 10px 12px; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   INHALTSVERZEICHNIS: „In diesem Artikel“ ueber den Blogposts (01.12.2026)
   Markup und Doku: _shared/inhaltsverzeichnis.mjs. Eine Form fuer alle drei
   Sites. Anders als die Kaesten oben gehoert das Verzeichnis zur Gastseite:
   Farben, Kanten und Schrift kommen deshalb aus IHREN Tokens (.iv--<projekt>),
   hier stehen keine eigenen Farbwerte. Es steht ganz oben, ueber der Kurzfassung.
   ═══════════════════════════════════════════════════════════════════════════ */
.iv { --iv-fl: transparent; --iv-ra: 1px solid currentColor; --iv-ru: 8px; --iv-sch: none; --iv-ak: currentColor; --iv-tx: inherit; --iv-le: inherit; --iv-li: currentColor; --iv-ts: 17px; --iv-tf: inherit; --iv-tw: 700;
  box-sizing: border-box; max-width: 760px; margin: 24px 0 0; background: var(--iv-fl); border: var(--iv-ra); border-radius: var(--iv-ru); box-shadow: var(--iv-sch); color: var(--iv-tx); font-size: 16px; line-height: 1.4; }
.iv > summary { display: flex; align-items: center; gap: 14px; min-height: 52px; box-sizing: border-box; padding: 12px 18px; cursor: pointer; list-style: none; border-radius: inherit; }
.iv > summary::-webkit-details-marker { display: none; }
.iv > summary::after { content: ''; flex: none; width: 9px; height: 9px; margin: -4px 3px 0 0; border-right: 2.5px solid var(--iv-ak); border-bottom: 2.5px solid var(--iv-ak); transform: rotate(45deg); transition: transform .15s ease; }
.iv[open] > summary::after { margin-top: 5px; transform: rotate(-135deg); }
.iv__t { font-family: var(--iv-tf); font-size: var(--iv-ts); font-weight: var(--iv-tw); line-height: 1.2; color: var(--iv-tx); }
.iv__n { margin-left: auto; font-size: 14px; line-height: 1.2; color: var(--iv-le); white-space: nowrap; }
.iv > nav { padding: 0 18px 8px; }
.iv .iv__l { margin: 0; padding: 0; list-style: none; counter-reset: iv; }
.iv .iv__l li { margin: 0; padding: 0; counter-increment: iv; border-top: 1px solid var(--iv-li); }
.iv .iv__l a { display: grid; grid-template-columns: 2.4em minmax(0, 1fr); align-items: baseline; padding: 11px 0; color: var(--iv-tx); font-weight: 400; text-decoration: none; overflow-wrap: anywhere; }
.iv .iv__l a::before { content: counter(iv, decimal-leading-zero); font-weight: 700; font-variant-numeric: tabular-nums; color: var(--iv-ak); }
.iv .iv__l a:hover { color: var(--iv-ak); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .iv > summary::after { transition: none; } }
@media (max-width: 560px) {
  .iv > summary { padding: 12px 14px; gap: 10px; }
  .iv > nav { padding: 0 14px 6px; }
  .iv .iv__l a { grid-template-columns: 2.1em minmax(0, 1fr); }
}

/* Studienfluesterer: weisse Karte, feine blaue Linie, weicher Schatten */
.iv.iv--studienfluesterer { --iv-fl: var(--surface); --iv-ra: 1px solid var(--border-s); --iv-ru: var(--radius-md); --iv-sch: var(--shadow-card); --iv-ak: var(--blue); --iv-tx: var(--text); --iv-le: var(--text-3); --iv-li: var(--border); margin: 0 0 1.75rem; max-width: none; }
/* kursberatung.de: Kante und harter Versatzschatten */
.iv.iv--kursberatung { --iv-fl: var(--weiss); --iv-ra: var(--rand) solid var(--kante); --iv-ru: var(--radius-lg); --iv-sch: var(--kante-sm); --iv-ak: var(--gruen); --iv-tx: var(--text); --iv-le: var(--text-leise); --iv-li: var(--linie); --iv-ts: 22px; --iv-tf: var(--font-display); margin: 0 0 var(--space-5); font-family: var(--font-text); }
/* dein-mba.de: nur die fuenf Farben, Marine auf Weiss, Linien in Himmel */
.iv.iv--dein-mba { --iv-fl: var(--weiss); --iv-ra: 2px solid var(--marine); --iv-ru: var(--r-flaeche); --iv-ak: var(--marine); --iv-tx: var(--marine); --iv-le: var(--marine); --iv-li: var(--himmel); --iv-ts: 21px; --iv-tw: 800; margin: 0 0 28px; max-width: none; font-size: 17px; }
.iv.iv--dein-mba > summary { padding-left: 22px; padding-right: 22px; }
.iv.iv--dein-mba > nav { padding-left: 22px; padding-right: 22px; }
.iv.iv--dein-mba .iv__l a::before { font-weight: 800; }

/* Hochschulnavigator: flache helle Flaeche oben in der erhabenen Karte */
.iv.iv--hochschulnavigator { --iv-fl: var(--hell); --iv-ra: 0; --iv-ru: 0; --iv-ak: var(--blau); --iv-tx: var(--tinte); --iv-le: var(--tinte); --iv-li: var(--linie-2); --iv-ts: 18px; margin: 0; max-width: none; }
.iv.iv--hochschulnavigator > summary { min-height: 64px; padding-left: 38px; padding-right: 30px; }
.iv.iv--hochschulnavigator > nav { padding-left: 38px; padding-right: 30px; }
.iv.iv--hochschulnavigator .iv__l a:hover { color: var(--tinte); }
@media (max-width: 640px) { .iv.iv--hochschulnavigator > summary, .iv.iv--hochschulnavigator > nav { padding-left: 16px; padding-right: 16px; } }

/* Sprungziel nicht unter der festen Kopfleiste landen lassen */
.blog-prose h2[id] { scroll-margin-top: 6.5rem; }
.prosa h2[id] { scroll-margin-top: calc(var(--header-hoehe, 0px) + 20px); }
