/* home-vej.css: "Hvem er du?" på forsiden (23/11 2026).
   Fire indgange lige under heroen, så hver målgruppe ser sit eget indhold først.
   Følger forsidens mørke 3D-tema: transparent baggrund (stjernerne bag ved) og glaskort. */
.vej { position: relative; padding: 64px 24px 48px; background: transparent; }
.vej-inner { max-width: 1120px; margin: 0 auto; }
.vej h2 { text-align: center; font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 900; color: #fff; letter-spacing: -.03em; margin-bottom: 8px; }
.vej .sub { text-align: center; color: rgba(226, 232, 240, .78); font-size: .98rem; margin: 0 auto 30px; max-width: 560px; }
.vej-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.vej-kort { position: relative; display: flex; flex-direction: column; gap: 9px; padding: 22px 20px 18px; border-radius: 20px;
  background: linear-gradient(160deg, rgba(30, 58, 110, .55), rgba(10, 22, 48, .72)); border: 1px solid rgba(148, 163, 184, .22);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .06); color: #e2e8f0; overflow: hidden;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.vej-kort::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--vej), transparent); }
.vej-kort::after { content: ""; position: absolute; width: 180px; height: 180px; right: -60px; top: -70px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--vej) 38%, transparent), transparent 70%); pointer-events: none; opacity: .55; transition: opacity .25s ease; }
.vej-kort:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--vej) 70%, #fff 0%); box-shadow: 0 24px 50px rgba(0, 0, 0, .45), 0 0 0 1px color-mix(in srgb, var(--vej) 40%, transparent), 0 0 34px color-mix(in srgb, var(--vej) 30%, transparent); }
.vej-kort:hover::after { opacity: 1; }
.vej-ikon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: color-mix(in srgb, var(--vej) 22%, transparent); border: 1px solid color-mix(in srgb, var(--vej) 45%, transparent); font-size: 1.4rem; }
.vej-ikon .pp-icon { width: 26px; height: 26px; color: color-mix(in srgb, var(--vej) 55%, #fff); }
.vej-kort h3 { font-size: 1.1rem; font-weight: 900; color: #fff; line-height: 1.25; }
.vej-kort h3 a { color: inherit; text-decoration: none; }
.vej-kort h3 a::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.vej-kort h3 a:focus-visible { outline: none; }
.vej-kort:focus-within { outline: 3px solid #93c5fd; outline-offset: 3px; }
.vej-kort p { font-size: .88rem; color: rgba(226, 232, 240, .8); line-height: 1.5; }
.vej-links { position: relative; z-index: 1; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 8px; }
.vej-links a { display: inline-block; padding: 5px 10px; border-radius: 999px; background: color-mix(in srgb, var(--vej) 16%, transparent); color: color-mix(in srgb, var(--vej) 35%, #fff); font-size: .76rem; font-weight: 800; text-decoration: none; border: 1px solid color-mix(in srgb, var(--vej) 40%, transparent); transition: background-color .15s ease, color .15s ease; }
.vej-links a:hover { background: var(--vej); color: #fff; }
.vej-links a:focus-visible { outline: 3px solid #93c5fd; outline-offset: 2px; }
.vej-sosu { --vej: #3b82f6; }
.vej-spl { --vej: #14b8a6; }
.vej-job { --vej: #a855f7; }
.vej-inst { --vej: #f97316; }
/* Kortene glider ind, når de kommer på skærmen (IntersectionObserver i index.html) */
.vej.vej-klar .vej-kort { opacity: 0; transform: translateY(18px); }
.vej.vej-vist .vej-kort { opacity: 1; transform: none; transition: opacity .55s ease, transform .55s ease, box-shadow .22s ease, border-color .22s ease; }
.vej.vej-vist .vej-kort:nth-child(2) { transition-delay: .08s; }
.vej.vej-vist .vej-kort:nth-child(3) { transition-delay: .16s; }
.vej.vej-vist .vej-kort:nth-child(4) { transition-delay: .24s; }
.vej.vej-vist .vej-kort:hover { transform: translateY(-5px); transition-delay: 0s; }
@media (max-width: 960px) { .vej-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .vej { padding: 44px 16px 28px; } .vej-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .vej.vej-klar .vej-kort, .vej.vej-vist .vej-kort { opacity: 1; transform: none; transition: none; } .vej-kort, .vej-kort::after { transition: none; } }
/* Sygeplejestuderende på forsiden: seks kort i to rækker */
.sektor-grid.sektor-grid--seks { max-width: 1000px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
