/* ============================================================
   VINDUESSIDEN (/vinduer/) · v2 2/11-2026
   Jens: 'for tekstfyldig, for lidt call to action, fire af det samme billede'.
   Kun klasser med vs- (bruges ikke andre steder). Indlæses via META "css".
   ============================================================ */

/* ---------- Hero: 3D-huset + et foto fra pladsen som polaroid ---------- */
.vs-fordele { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: clamp(20px, 2.4vw, 28px); }
.vs-fordele li { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.vs-fordele .ik { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); }

.vs-hero { overflow: visible; }
.vs-polaroid { position: absolute; left: -7%; bottom: -12%; width: 31%; padding: 8px 8px 0; background: #FFFDF9; border-radius: 6px; transform: rotate(-4deg); box-shadow: 0 30px 50px -24px rgba(26, 24, 21, .55); }
.vs-hero .vs-polaroid img { width: 100%; height: auto; max-height: none; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 3px; filter: none; animation: none; }
.vs-polaroid small { display: block; padding: 9px 2px 11px; font: var(--label); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); text-align: center; }

/* ---------- Det skifter vi: chips i stedet for seks kort ---------- */
.flow > section.vs-kan { padding-top: clamp(72px, 8vw, 120px); }
.vs-chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.vs-chips li { display: inline-flex; align-items: center; gap: 10px; padding: 13px 20px 13px 16px; border-radius: var(--r-pill); background: var(--kort-bg); border: 1px solid var(--kort-kant); box-shadow: 0 14px 30px -24px rgba(26, 24, 21, .45); font-size: 16px; font-weight: 600; color: var(--ink); }
.vs-chips .ik { font-size: 20px; color: var(--accent); }

/* ---------- Tjeklisten: ren CSS, tælleren er en CSS-counter ---------- */
.vs-tjek { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; counter-reset: valgt; }
.vs-tjek__felt { position: relative; display: grid; gap: 6px; align-content: start; min-height: 190px; padding: 24px 24px 26px; background: var(--kort-bg); border: 1.5px solid var(--kort-kant); border-radius: var(--r-kort); box-shadow: var(--kort-skygge); cursor: pointer; user-select: none; -webkit-user-select: none; transition: transform var(--hurtig) var(--ease), border-color var(--hurtig) var(--ease), background var(--hurtig) var(--ease); }
.vs-tjek__felt:hover { transform: translateY(-3px); border-color: var(--hairline-2); }
.vs-tjek__felt:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
.vs-tjek__ik { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 12px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 25px; transition: background var(--hurtig) var(--ease), color var(--hurtig) var(--ease); }
.vs-tjek__felt b { font-family: var(--f-display); font-size: 20px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; color: var(--ink); }
.vs-tjek__felt small { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.vs-tjek__flueben { position: absolute; top: 20px; right: 20px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--hairline-2); color: transparent; font-size: 16px; transition: all var(--hurtig) var(--ease); }
.vs-tjek input:checked { counter-increment: valgt; }
.vs-tjek__felt:has(input:checked) { background: #FFF8F0; border-color: var(--accent); }
.vs-tjek__felt:has(input:checked) .vs-tjek__ik { background: var(--accent); color: #fff; }
.vs-tjek__felt:has(input:checked) .vs-tjek__flueben { background: var(--accent); border-color: var(--accent); color: #fff; transform: scale(1.08); }

.vs-tjek__svar { display: grid; align-content: space-between; gap: 14px; padding: 26px; border-radius: var(--r-kort); background: var(--surface-dark); box-shadow: var(--kort-skygge); }
.vs-tjek__tal { font-family: var(--f-display); font-size: clamp(44px, 4.4vw, 64px); font-weight: 800; letter-spacing: -0.045em; line-height: 1; color: var(--on-dark); }
.vs-tjek__n::before { content: counter(valgt); }
.vs-tjek__svar p:not(.vs-tjek__tal) { font-size: 16px; line-height: 1.5; color: var(--on-dark-2); }
.vs-tjek__svar .knap { justify-self: start; display: none; }
@keyframes vs-ind { from { opacity: 0; transform: translateY(6px); } }
.vs-tjek__nogen { display: none; }
.vs-tjek:has(input:checked) .vs-tjek__ingen { display: none; }
.vs-tjek:has(input:checked) .vs-tjek__nogen { display: block; }
.vs-tjek:has(input:checked) .vs-tjek__svar .knap { display: inline-flex; animation: vs-ind var(--hurtig) var(--ease); }

/* ---------- Fra pladsen: ét stort billede, to små og en knap ---------- */
.vs-bento { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 14px; }
.vs-bento figure { position: relative; margin: 0; overflow: hidden; border-radius: var(--r-kort); box-shadow: var(--kort-skygge); }
.vs-bento img { width: 100%; height: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform 1.2s var(--ease); }
.vs-bento figure:hover img { transform: scale(1.03); }
.vs-bento__stor { grid-row: span 2; }
.vs-bento__stor img { aspect-ratio: auto; }
.vs-bento figcaption { position: absolute; left: 12px; bottom: 12px; padding: 8px 13px; border-radius: var(--r-pill); background: rgba(252, 247, 239, .94); font-size: 14px; font-weight: 600; color: var(--ink); }
.vs-bento__stor figcaption { left: 0; right: 0; bottom: 0; padding: 60px 24px 22px; border-radius: 0; background: linear-gradient(180deg, transparent, rgba(20, 22, 18, .78)); color: #fff; font-family: var(--f-display); font-size: clamp(22px, 2.2vw, 30px); font-weight: 700; letter-spacing: -0.02em; }
.vs-bento__stor figcaption span { display: block; margin-bottom: 6px; font: var(--label); letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .78); }
.vs-bento__tekst { grid-column: 2 / 4; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; padding: clamp(24px, 3vw, 40px); border-radius: var(--r-kort); background: var(--surface-dark); box-shadow: var(--kort-skygge); }
.vs-bento__tekst p { flex: 1 1 280px; font-family: var(--f-display); font-size: clamp(24px, 2.4vw, 36px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; color: var(--on-dark); }

/* ---------- Træ, træ-alu eller plast ---------- */
.vs-typer { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.vs-type { display: grid; align-content: start; gap: 8px; padding: clamp(24px, 2.6vw, 34px); }
.vs-type__nr { font: var(--label); letter-spacing: .16em; color: var(--accent-tekst); }
.vs-type h3 { font-size: clamp(28px, 2.6vw, 38px); letter-spacing: -0.035em; margin: 6px 0 4px; }
.vs-type p { font-size: 16px; line-height: 1.55; }
.vs-type .vs-type__note { display: flex; align-items: center; gap: 9px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--hairline); font-size: 14.5px; font-weight: 600; color: var(--ink); }
.vs-type__note::before { content: ""; width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--accent); }
.vs-glas { max-width: 920px; margin-top: 16px; padding: 18px 22px; border-left: 3px solid var(--accent); border-radius: 0 var(--r-kort) var(--r-kort) 0; background: var(--accent-soft); font-size: 16px; line-height: 1.6; }
.vs-glas b { color: var(--ink); }

/* ---------- Prisen + fradraget som stort tal ---------- */
.vs-pris { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding: clamp(28px, 4.4vw, 60px); }
.vs-pris h2 { font-size: clamp(32px, 3.6vw, 54px); }
.vs-pris > div > p { margin-top: 16px; font-size: 17px; max-width: 44ch; }
.vs-fradrag { padding: clamp(24px, 3vw, 40px); border-radius: 12px; background: var(--surface-dark-2); border: 1px solid var(--hairline-dark); }
.vs-fradrag__label { font: var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--accent-lys); }
.vs-fradrag__tal { display: block; margin: 14px 0 16px; font-family: var(--f-display); font-size: clamp(56px, 7vw, 104px); font-weight: 800; letter-spacing: -0.05em; line-height: .95; color: var(--on-dark); }
.vs-fradrag p { font-size: 15.5px; line-height: 1.6; color: var(--on-dark-2); }
.vs-fradrag a { color: var(--on-dark); }

/* ---------- Mobil ---------- */
@media (max-width: 1080px) {
  .vs-polaroid { left: auto; right: 4%; bottom: -14%; width: 28%; }
}
@media (max-width: 900px) {
  .vs-tjek { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vs-typer { grid-template-columns: 1fr; }
  .vs-pris { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .vs-polaroid { width: 34%; bottom: -16%; right: 2%; }
  .vs-chips li { padding: 10px 15px 10px 12px; font-size: 15px; }
  .vs-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vs-bento__stor { grid-row: auto; grid-column: 1 / -1; }
  .vs-bento__stor img { aspect-ratio: 4 / 3.4; object-position: 50% 60%; }
  .vs-bento__tekst { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .vs-tjek { grid-template-columns: 1fr; gap: 10px; }
  .vs-tjek__felt { min-height: 0; grid-template-columns: 46px minmax(0, 1fr); column-gap: 14px; row-gap: 2px; padding: 16px 56px 16px 16px; }
  .vs-tjek__ik { grid-row: span 2; width: 46px; height: 46px; margin: 0; font-size: 22px; }
  .vs-tjek__felt b { font-size: 18px; align-self: end; }
  .vs-tjek__flueben { top: 50%; right: 16px; margin-top: -15px; }
  .vs-tjek__felt:has(input:checked) .vs-tjek__flueben { transform: scale(1.08); }
  .vs-bento figcaption { left: 8px; bottom: 8px; padding: 6px 10px; font-size: 12.5px; }
}
