/* nyugodtabb előnézet */
.ggrid { grid-template-columns: repeat(3, 1fr); }
.gc { min-height: 220px; }
.steps5 p { min-height: 0; }
.steps5 .when { margin-top: 10px; }
.packs, .flow, .faq, .probs { padding-top: clamp(130px, 15vw, 200px); }
.project + .probs { padding-top: clamp(130px, 15vw, 200px); }
/* egységes címstílus: félkövér groteszk */
body.sans .phead h2, body.sans .hero h1, body.sans .final h2 { font-family: var(--sans); font-weight: 600; letter-spacing: -0.035em; line-height: 1.02; }
body.sans .phead h2 { font-size: clamp(40px, 4vw, 56px); }
body.sans .hero h1 { font-size: clamp(52px, 6.2vw, 92px); letter-spacing: -0.045em; }
body.sans .final h2 { font-size: clamp(48px, 5.6vw, 84px); letter-spacing: -0.045em; }
body.sans .phead h2 em { font-style: normal; color: inherit; font-family: inherit; }
body.sans .pkh h3 { font-family: var(--sans); font-weight: 600; font-size: 30px; letter-spacing: -0.03em; }
body.sans .gc .pr { font-family: var(--sans); font-size: 17px; line-height: 1.35; }

@media (max-width: 1000px) { .ggrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ggrid { grid-template-columns: 1fr; } .wordmark { font-size: 22vw; } }

/* ---------- egységes szekció-ritmus ---------- */
.probs, .packs, .flow, .faq, .project + .probs { padding-top: clamp(112px, 12vw, 168px); }
.phead { margin-bottom: clamp(36px, 4vw, 52px); }

/* ---------- folyamat: zöld helyett ugyanaz a kék pipa ---------- */
.steps5 .fill { background: var(--ink); height: 2px; top: 58px; }
.node.done { background: var(--card); box-shadow: 0 0 0 1.5px var(--ink); }
.node .tick { color: var(--blue); width: 18px; height: 18px; }
.node .tick path { stroke-width: 1.8; }

/* ---------- menü: aktív szekció és egységes hover ---------- */
.links a { position: relative; padding: 6px 0; transition: color 160ms; }
.links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1); }
.links a:hover, .links a.on { color: var(--ink); }
.links a:hover::after, .links a.on::after { transform: scaleX(1); }
.pkf a, .lnk, footer a { transition: color 160ms; }
.pkf a:hover { color: var(--blue); }
footer a { width: fit-content; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: color 160ms, background-size 260ms cubic-bezier(0.16, 1, 0.3, 1); }
footer a:hover { background-size: 100% 1px; }
.faql summary { transition: color 160ms; } .faql summary:hover { color: var(--blue); }
.faql summary:hover svg { color: var(--blue); }

/* ---------- telefonos menü ---------- */
.menubtn { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; margin-right: -10px; }
.menubtn span { position: absolute; left: 11px; right: 11px; height: 1.6px; background: var(--ink); border-radius: 2px; transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1), top 260ms; }
.menubtn span:first-child { top: 17px; } .menubtn span:last-child { top: 25px; }
.menubtn[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menubtn[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
.mmenu { position: fixed; inset: 68px 0 0; background: var(--bg); padding: 28px var(--g) 40px; display: flex; flex-direction: column; gap: 4px; }
.mmenu[hidden] { display: none; }
.mmenu a:not(.pill) { font-size: 30px; font-weight: 600; letter-spacing: -0.03em; padding: 10px 0; border-bottom: 1px solid var(--line); }
.mmenu .pill { margin-top: 28px; justify-content: center; }
@media (max-width: 860px) {
  .menubtn { display: block; }
  .navcta { display: none; }
  .nav.open { background: var(--bg); box-shadow: 0 1px 0 var(--line); }
}

/* ---------- zárás és lábléc ---------- */
.final { margin-top: clamp(130px, 13vw, 190px); }
.finalsub { margin-top: 18px; color: var(--muted); font-size: 17px; }
.finalcta { margin-top: 30px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.final .pill { margin-top: 0; }
.wordmark { font-size: min(18.2vw, 300px); letter-spacing: -0.065em; margin-top: 80px; padding: 0 2vw; }
@media (max-width: 560px) { .wordmark { font-size: 19.5vw; margin-top: 56px; } .finalcta .pill { width: 100%; justify-content: center; } }

/* hero és a render szétválasztva (2026-10-12): a hero teljes képernyő, a render saját térközzel jön utána */
.hero { height: 100svh; min-height: 680px; max-height: 1000px; }
.project { padding-top: clamp(96px, 10vw, 140px); }
@media (max-width: 860px) { .hero { height: 100svh; min-height: 640px; } .project { padding-top: 72px; } }
/* 2026-10-13: a probléma-sorok olvashatóbbak (a --faint kb. 2,6:1 volt), a záró gombok nem érnek ki a képernyő széléig telefonon */
.gc .pr { color: var(--muted); }
.finalcta { padding: 0 var(--g); }
/* 2026-10-14: a probléma-sor áthúzva (Máté ötlete), a pipás megoldás alatta */
.gc .pr { text-decoration: line-through; text-decoration-thickness: 1px; text-decoration-color: rgb(107 112 118 / .7); }
/* 2026-10-14: olvashatóság. A megoldás a főszereplő (nagy, félkövér cím, 16 px szöveg), a probléma kisebb, halk előzmény */
body.sans .gc .pr { font-size: 15px; line-height: 1.4; color: var(--muted); text-decoration-color: rgb(107 112 118 / .55); }
.gc { gap: 22px; padding: 28px 28px 30px; }
.so { grid-template-columns: 20px 1fr; gap: 10px; }
.ck { width: 18px; height: 18px; margin-top: 3px; }
.so h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; text-transform: none; color: var(--ink); line-height: 1.25; }
.so p { margin-top: 6px; font-size: 16px; line-height: 1.5; color: var(--text); }
@media (max-width: 560px) { .gc { min-height: 0; justify-content: flex-start; gap: 16px; padding: 24px 22px 26px; } }
/* 2026-10-14: a csomagkártya egésze kattintható, a link jól látható tinta gomb */
.pkc { position: relative; cursor: pointer; }
.pkc:hover { background: rgb(255 255 255 / 0.85); }
.pkf a.pkbtn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 500; box-shadow: inset 0 1px 0 rgb(255 255 255 / .14), 0 8px 22px -10px rgb(21 25 29 / .6); transition: background-color 160ms; }
.pkf a.pkbtn::after { content: ""; position: absolute; inset: 0; }
.pkc:hover .pkbtn { background: #2A3036; color: #fff; }
.pkf a.pkbtn svg { width: 13px; height: 13px; }
.pkc:hover .pkbtn svg { translate: 3px 0; }
/* 2026-10-14 eszközönkénti ellenőrzés: érintőképernyőn legalább 44 px-es koppintási felület, olvasható apró feliratok */
.logo { min-height: 44px; }
.impr { font-size: 12.5px; }
@media (pointer: coarse) {
  footer a { padding: 11px 0; margin-bottom: 0; }
  footer h4 { margin-bottom: 4px; }
  .links a { padding: 12px 4px; }
}
/* 2026-10-14: táblagépen és kis laptopon a hero alcíme ne fusson rá a kockára */
@media (min-width: 861px) and (max-width: 1300px) { .hero .lede { max-width: min(26em, 38vw); } }
/* álló táblagépen a hero töltse ki a képernyőt, a következő kép ne lógjon bele */
@media (orientation: portrait) and (min-width: 600px) { .hero { max-height: none; } }
/* álló, nagy táblagép (pl. 1024×1366): ugyanaz a felül-kocka, alul-szöveg elrendezés, mint telefonon (hero.js: h > 1,15 × w) */
@media (min-width: 861px) and (max-aspect-ratio: 20/23) { .hero .copy { top: auto; bottom: 120px; translate: 0 0; right: var(--g); } }
