/* Kohlberger Bau – Leier landing v0.1
   Arculat: #454444 grafit, #f4973b narancs, fehér (Arculati kézikönyv 8. o.).
   Betű: a Gibson helyett Figtree (webes licenc nyitott). */

:root {
  --ink-0: #1f1e1e;
  --graph: #2b2a2a;
  --brand: #454444;
  --brand-2: #3a3939;
  --or: #f4973b;
  --or-hi: #ffad5c;
  --or-ink: #261607;
  --or-deep: #a9560c;
  --bone: #f4f2ef;
  --paper: #ffffff;
  --text: #2a2929;
  --soft: #5f5b57;
  --line: rgba(42, 41, 41, .14);
  --line-d: rgba(255, 255, 255, .13);
  --on-d: #f6f4f1;
  --on-d-soft: #c4beb7;

  --r: 6px;
  --r-l: 10px;
  --gut: clamp(20px, 5vw, 64px);
  --sec: clamp(72px, 10vw, 140px);
  --max: 1240px;
  --e1: 0 1px 2px rgba(31, 22, 12, .08), 0 4px 14px rgba(31, 22, 12, .06);
  --e2: 0 2px 6px rgba(31, 22, 12, .10), 0 18px 40px rgba(31, 22, 12, .12);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--graph); }
body {
  margin: 0; font-family: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px; line-height: 1.6; color: var(--text); background: var(--bone);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.02; letter-spacing: -.025em; text-wrap: balance; font-weight: 800; }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h2 em, h1 em { font-style: normal; color: var(--or); }
p { margin: 0; text-wrap: pretty; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--or); outline-offset: 3px; border-radius: 4px; }

/* ---------- gombok ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: 0 26px; border: 0; border-radius: var(--r);
  background: var(--or); color: var(--or-ink); font: inherit; font-weight: 700; font-size: 1rem;
  text-decoration: none; cursor: pointer; letter-spacing: .005em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 6px 18px rgba(244, 151, 59, .22);
  transition: transform .2s var(--ease), background .2s;
}
.btn:hover { background: var(--or-hi); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .95rem; }
.btn--ghost { background: transparent; color: var(--on-d); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4); }
.btn--ghost:hover { background: rgba(255,255,255,.08); }
.btn--ghost-dark { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost-dark:hover { background: rgba(0,0,0,.04); }

/* ---------- fejléc ---------- */
.top { position: absolute; inset: 0 0 auto; z-index: 20; }
.top__in { max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding: 22px var(--gut); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.top__logo img { width: clamp(170px, 20vw, 240px); height: auto; }
.top__right { display: flex; align-items: center; gap: 22px; }
.top__phone { display: inline-flex; align-items: center; gap: 8px; color: var(--on-d); text-decoration: none; font-weight: 600; font-size: .95rem; }
.top__phone svg { width: 18px; height: 18px; fill: var(--or); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--on-d);
  background: radial-gradient(120% 80% at 0% 0%, #3a3939 0%, var(--graph) 55%, var(--ink-0) 100%);
  padding: clamp(120px, 14vw, 170px) var(--gut) 0;
  min-height: min(100svh, 920px);
  display: flex; flex-direction: column;
}
.hero::after { /* finom szemcse */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__media {
  position: absolute; top: 0; right: 0; bottom: 0; width: 58%;
  clip-path: polygon(26% 0, 100% 0, 100% 100%, 0 100%);
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 60%; transform: scale(1.06); animation: heroIn 1.6s var(--ease) .1s both; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(31,30,30,.55) 0%, rgba(31,30,30,0) 35%), linear-gradient(0deg, rgba(31,30,30,.7) 0%, rgba(31,30,30,0) 30%); }
@keyframes heroIn { from { transform: scale(1.14); opacity: 0; } to { transform: scale(1.06); opacity: 1; } }

.hero__slashes { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.hero__slashes polygon { fill: var(--or); animation: slash 1s var(--ease) .3s both; }
.hero__slashes .s2 { opacity: .6; animation-delay: .4s; }
.hero__slashes .s3 { opacity: .35; animation-delay: .5s; }
@keyframes slash { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }

.hero__in { position: relative; z-index: 2; max-width: var(--max); width: 100%; margin: 0 auto; flex: 1; }
.hero__in > * { max-width: 600px; }
.hero__kicker { font-weight: 600; font-size: .95rem; color: var(--or); letter-spacing: .01em; margin-bottom: 18px; }
.hero__title { font-size: clamp(2.6rem, 6vw, 5rem); line-height: .98; letter-spacing: -.035em; }
.hero__title em { display: inline; }
.hero__lead { margin-top: 24px; font-size: clamp(1.06rem, 1.4vw, 1.2rem); line-height: 1.6; color: var(--on-d-soft); max-width: 31em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.offer {
  margin-top: 36px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px;
  padding: 16px 18px 16px 20px; border-radius: var(--r-l);
  background: rgba(255,255,255,.06); box-shadow: inset 0 1px 0 rgba(255,255,255,.1), inset 0 0 0 1px var(--line-d);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.offer__pct { display: flex; align-items: baseline; color: var(--or); font-weight: 800; line-height: 1; }
.offer__pct b { font-size: 3rem; letter-spacing: -.04em; }
.offer__pct span { font-size: 1.6rem; }
.offer__txt { display: flex; flex-direction: column; line-height: 1.35; }
.offer__txt strong { font-size: 1.05rem; }
.offer__txt span { color: var(--on-d-soft); font-size: .93rem; }
.offer__clock { text-align: center; padding-left: 18px; border-left: 1px solid var(--line-d); line-height: 1.1; }
.offer__clock b { display: block; font-size: 1.9rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.offer__clock span { font-size: .78rem; color: var(--on-d-soft); }

.hero__facts { position: relative; z-index: 2; list-style: none; margin: 56px auto 0; padding: 0; max-width: var(--max); width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-d); }
.hero__facts li { display: flex; align-items: center; gap: 14px; padding: 22px 0; }
.hero__facts li + li { padding-left: 24px; }
.hero__facts b { font-size: 2.2rem; font-weight: 800; color: var(--or); line-height: 1; }
.hero__facts span { font-size: .93rem; color: var(--on-d-soft); line-height: 1.35; max-width: 16em; }

/* ---------- egy nap a telken ---------- */
.build { padding: var(--sec) var(--gut); max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; }
.build__head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: end; margin-bottom: 48px; }
.build__head p { color: var(--soft); max-width: 34em; }
.build__stage { display: grid; grid-template-columns: 1.45fr 1fr; gap: 0; background: var(--paper); border-radius: var(--r-l); box-shadow: var(--e2); overflow: hidden; }
.build__canvas { position: relative; background: linear-gradient(180deg, #eef1f3 0%, #f6f4f0 70%); min-height: 380px; }
.build__canvas svg { width: 100%; height: 100%; display: block; }
.build__clock { position: absolute; left: 22px; top: 18px; font-weight: 800; font-size: 2.4rem; letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--brand); }
.build__side { padding: 32px 32px 28px; display: flex; flex-direction: column; border-left: 1px solid var(--line); }
.build__steps { list-style: none; margin: 0; padding: 0; flex: 1; }
.build__steps li { display: grid; grid-template-columns: 58px 1fr; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); color: #9a948e; transition: color .3s; }
.build__steps li b { font-variant-numeric: tabular-nums; font-weight: 700; }
.build__steps li.is-done { color: var(--soft); }
.build__steps li.is-now { color: var(--text); }
.build__steps li.is-now b { color: var(--or-deep); }
.build__ctrl { display: flex; align-items: center; gap: 14px; margin-top: 24px; }
.build__play { flex: none; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--or); cursor: pointer; display: grid; place-items: center; box-shadow: var(--e1); }
.build__play svg { width: 20px; height: 20px; fill: var(--or-ink); }
.build__play.is-playing svg { opacity: .9; }
.build__range { flex: 1; }
.build__range input { width: 100%; -webkit-appearance: none; appearance: none; height: 44px; background: transparent; cursor: grab; }
.build__range input::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--or) var(--p, 0%), #e3dfda var(--p, 0%)); }
.build__range input::-moz-range-track { height: 6px; border-radius: 3px; background: #e3dfda; }
.build__range input::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--or); }
.build__range input::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -12px; border-radius: 50%; background: var(--paper); border: 3px solid var(--or); box-shadow: var(--e1); }
.build__range input::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--paper); border: 3px solid var(--or); }
.build__note { margin-top: 14px; font-size: .82rem; color: var(--soft); line-height: 1.5; }

/* ---------- típusház-választó ---------- */
.pick { background: var(--paper); padding: var(--sec) var(--gut); }
.pick > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.pick__head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; }
.pick__head p { color: var(--soft); max-width: 32em; }
.pick__filters { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; margin-bottom: 32px; }
.chip { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); font: inherit; font-weight: 600; font-size: .95rem; color: var(--text); cursor: pointer; transition: all .2s; }
.chip:hover { border-color: var(--brand); }
.chip.is-on, .chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.chip--toggle { margin-left: auto; }
.chip--toggle::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 8px; border-radius: 2px; box-shadow: inset 0 0 0 1.5px currentColor; vertical-align: 0; }
.chip--toggle[aria-pressed="true"]::before { background: var(--or); box-shadow: none; }

.pick__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 24px; }
.house { position: relative; display: flex; flex-direction: column; transition: opacity .35s, transform .35s var(--ease); }
.house.is-out { display: none; }
.house.is-pick .house__media { box-shadow: 0 0 0 3px var(--or), var(--e2); }
.house__media { position: relative; aspect-ratio: 16 / 10; border-radius: var(--r-l); overflow: hidden; background: #e8e5e1; box-shadow: var(--e1); transition: box-shadow .3s; }
.house__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .45s, transform .8s var(--ease); }
.house__media img.plan { object-fit: contain; background: #fff; padding: 8px; opacity: 0; }
.house.show-plan .house__media img.plan { opacity: 1; }
.house:hover .house__media img:not(.plan) { transform: scale(1.04); }
.house__seg { position: absolute; left: 12px; bottom: 12px; display: flex; background: rgba(31,30,30,.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border-radius: 999px; padding: 3px; }
.house__seg button { border: 0; background: transparent; color: #fff; font: inherit; font-size: .8rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; cursor: pointer; min-height: 32px; }
.house__seg button[aria-pressed="true"] { background: #fff; color: var(--text); }
.house__body { padding: 18px 2px 0; display: flex; flex-direction: column; flex: 1; }
.house__top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.house__name { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; }
.house__area { font-weight: 800; font-size: 1.15rem; white-space: nowrap; }
.house__area small { font-weight: 500; color: var(--soft); font-size: .8rem; margin-left: 5px; }
.house__meta { margin-top: 6px; color: var(--soft); font-size: .95rem; }
.house__tags { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 12px 0 18px; padding: 0; list-style: none; font-size: .88rem; color: var(--text); }
.house__tags li::before { content: ""; display: inline-block; width: 8px; height: 2px; background: var(--or); margin-right: 7px; vertical-align: middle; }
.house__go { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; padding: 8px 0; font: inherit; font-weight: 700; color: var(--text); cursor: pointer; border-bottom: 2px solid var(--or); }
.house__go:hover { color: var(--or-deep); }
.house__go::after { content: "→"; transition: transform .2s; }
.house__go:hover::after { transform: translateX(3px); }
.pick__empty { grid-column: 1 / -1; color: var(--soft); }
.pick__note { margin-top: 36px; font-size: .85rem; color: var(--soft); }

/* ---------- miért mi ---------- */
.why { background: var(--graph); color: var(--on-d); padding: var(--sec) var(--gut); position: relative; overflow: hidden; }
.why::before { content: ""; position: absolute; right: -120px; top: -40px; width: 340px; height: 140%; background: repeating-linear-gradient(90deg, rgba(244,151,59,.9) 0 14px, transparent 14px 44px, rgba(244,151,59,.35) 44px 50px, transparent 50px 200px); transform: skewX(-14.6deg); opacity: .16; pointer-events: none; }
.why > * { max-width: var(--max); margin-left: auto; margin-right: auto; position: relative; }
.why__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.why__lead p { margin-top: 24px; color: var(--on-d-soft); max-width: 30em; line-height: 1.65; }
.why__list { list-style: none; margin: 0; padding: 0; }
.why__list li { display: grid; gap: 4px; padding: 20px 0; border-top: 1px solid var(--line-d); }
.why__list li:last-child { border-bottom: 1px solid var(--line-d); }
.why__list b { font-size: 1.12rem; }
.why__list span { color: var(--on-d-soft); font-size: .97rem; line-height: 1.55; }

.refs { margin-top: clamp(64px, 8vw, 110px); }
.refs__head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; flex-wrap: wrap; margin-bottom: 22px; }
.refs__head h3 { font-size: 1.5rem; }
.refs__head p { color: var(--on-d-soft); font-size: .95rem; }
.refs__row { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 14px; }
.refs__row figure { margin: 0; position: relative; border-radius: var(--r-l); overflow: hidden; aspect-ratio: 16 / 10; }
.refs__row img { width: 100%; height: 100%; object-fit: cover; }
.refs__row figcaption { position: absolute; left: 0; bottom: 0; padding: 10px 14px 10px 16px; background: var(--graph); font-weight: 700; font-size: .92rem; border-top-right-radius: var(--r); }
.refs__row figcaption::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--or); }

/* ---------- menet ---------- */
.path { padding: var(--sec) var(--gut); max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; }
.path__head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; }
.path__left { grid-column: 1; margin-top: -24px; font-weight: 600; color: var(--soft); }
.path__left b { color: var(--or-deep); font-size: 1.15em; font-variant-numeric: tabular-nums; }
.path__head > p:not(.path__left) { grid-column: 2; grid-row: 1 / span 2; align-self: end; }
.sub__q, .house__meta, .hero__facts span, .why__list span, .path__steps span, .build__steps span, .offer__txt span { text-wrap: pretty; }
.faq summary, .step legend { text-wrap: balance; }
.path__head p { color: var(--soft); max-width: 32em; }
.path__steps { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.path__steps::before { content: ""; position: absolute; left: 0; right: 0; top: 22px; height: 2px; background: linear-gradient(90deg, var(--or) 0 var(--path, 0%), var(--line) var(--path, 0%)); transition: --path 1s; }
.path__steps li { position: relative; padding-right: 28px; display: flex; flex-direction: column; gap: 6px; }
.path__steps i { font-style: normal; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--bone); box-shadow: inset 0 0 0 2px var(--brand); font-weight: 800; margin-bottom: 14px; position: relative; z-index: 1; transition: background .4s, box-shadow .4s, color .4s; }
.path__steps li.is-lit i { background: var(--or); box-shadow: none; color: var(--or-ink); }
.path__steps b { font-size: 1.1rem; }
.path__steps span { color: var(--soft); font-size: .95rem; line-height: 1.5; }
.path__fine { margin-top: 40px; color: var(--soft); font-size: .95rem; }

/* ---------- GYIK ---------- */
.faq { background: var(--paper); padding: var(--sec) var(--gut); }
.faq > * { max-width: 860px; margin-left: auto; margin-right: auto; }
.faq h2 { margin-bottom: 36px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font-weight: 700; font-size: 1.12rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -9px; border-right: 2.5px solid var(--or); border-bottom: 2.5px solid var(--or); transform: rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 44px 24px 0; color: var(--soft); max-width: 46em; }

/* ---------- ajánlatkérés ---------- */
.quote { background: linear-gradient(180deg, var(--bone), #ebe7e2); padding: var(--sec) var(--gut); }
.quote__grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.quote__intro > p { margin-top: 20px; color: var(--soft); max-width: 28em; }
.sum { margin-top: 36px; background: var(--graph); color: var(--on-d); border-radius: var(--r-l); overflow: hidden; box-shadow: var(--e2); }
.sum__img { aspect-ratio: 16 / 8; background: linear-gradient(135deg, #3a3939, #252424); position: relative; }
.sum__img img { width: 100%; height: 100%; object-fit: cover; }
.sum__img:has(img[hidden])::after { content: "Válasszon házat"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--on-d-soft); font-weight: 600; font-size: .95rem; }
.sum__list { margin: 0; padding: 18px 22px 6px; display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; font-size: .93rem; }
.sum__list dt { color: var(--on-d-soft); }
.sum__list dd { margin: 0; font-weight: 600; text-align: right; }
.sum__list dd.empty { color: #8a847e; font-weight: 400; }
.sum__offer { margin: 12px 22px 20px; padding-top: 14px; border-top: 1px solid var(--line-d); font-size: .9rem; color: var(--on-d-soft); }
.sum__offer b { color: var(--or); font-size: 1.1rem; }

.form { position: relative; background: var(--paper); border-radius: var(--r-l); box-shadow: var(--e2); padding: clamp(26px, 4vw, 44px); min-height: 520px; display: flex; flex-direction: column; }
.form__bar { height: 4px; background: #eeeae5; border-radius: 2px; overflow: hidden; }
.form__bar i { display: block; height: 100%; width: 16.66%; background: var(--or); transition: width .45s var(--ease); }
.form__count { margin-top: 12px; font-size: .85rem; color: var(--soft); font-variant-numeric: tabular-nums; }
.step { border: 0; margin: 18px 0 0; padding: 0; min-width: 0; display: none; }
.step.is-on { display: block; animation: stepIn .4s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.step legend { font-size: clamp(1.45rem, 2.4vw, 1.9rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; padding: 0; margin-bottom: 22px; }
.opts { display: grid; gap: 10px; }
.opts--row { grid-template-columns: repeat(3, 1fr); }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt > span { display: flex; align-items: center; min-height: 58px; padding: 12px 18px 12px 50px; border-radius: var(--r); border: 1.5px solid var(--line); font-weight: 600; transition: border-color .2s, background .2s; position: relative; line-height: 1.3; }
.opt > span::before { content: ""; position: absolute; left: 18px; top: 50%; width: 20px; height: 20px; margin-top: -10px; border-radius: 50%; border: 2px solid #b7b0a9; transition: all .2s; }
.opt:hover > span { border-color: var(--brand); }
.opt input:checked + span { border-color: var(--or); background: #fff7ef; }
.opt input:checked + span::before { border-color: var(--or); background: var(--or); box-shadow: inset 0 0 0 4px #fff7ef; }
.opt input:focus-visible + span { outline: 3px solid var(--or); outline-offset: 2px; }
.opts--houses { grid-template-columns: repeat(3, 1fr); }
.opts--houses .opt > span { flex-direction: column; align-items: stretch; padding: 0; min-height: 0; overflow: hidden; }
.opts--houses .opt > span::before { left: auto; right: 10px; top: 10px; margin: 0; z-index: 1; background: rgba(255,255,255,.85); }
.opts--houses .opt img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.opts--houses .opt em { font-style: normal; padding: 10px 12px; display: flex; justify-content: space-between; gap: 6px; font-size: .92rem; }
.opts--houses .opt em small { color: var(--soft); font-weight: 500; }
.opts--houses .opt--none { grid-column: 1 / -1; }
.opts--houses .opt--none > span { min-height: 52px !important;  justify-content: center; align-items: center; min-height: 100%; padding: 16px; text-align: center; background: var(--bone); }
.opts--houses .opt--none > span::before { display: none; }
.sub { margin-top: 26px; padding-top: 20px; border-top: 1px dashed var(--line); }
.sub__q { font-weight: 700; margin-bottom: 12px; }
.sub .opt > span { min-height: 52px; font-size: .93rem; padding-left: 44px; }
.sub .opt > span::before { left: 14px; }

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field--wide { grid-column: 1 / -1; }
.field > span { font-size: .88rem; font-weight: 600; color: var(--soft); }
.field > span i { font-style: normal; font-weight: 400; }
.field input, .field textarea, .tel { width: 100%; font: inherit; color: var(--text); background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--r); padding: 12px 14px; min-height: 52px; transition: border-color .2s; }
.field textarea { resize: vertical; min-height: 88px; }
.field input:focus, .field textarea:focus, .tel:focus-within { outline: none; border-color: var(--or); }
.step[data-step="2"] .field { margin-top: 16px; }
.tel { display: flex; align-items: center; gap: 10px; padding: 0 0 0 14px; }
.tel b { color: var(--soft); font-weight: 600; }
.tel input { border: 0; min-height: 48px; padding: 0 14px 0 0; outline: none; }
.field input.bad, .tel.bad { border-color: #c4361c; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--soft); cursor: pointer; margin-top: 4px; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--or); flex: none; }
.check.bad span { color: #c4361c; }

.form__err { min-height: 1.4em; margin-top: 16px; color: #b5321a; font-weight: 600; font-size: .93rem; }
.form__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 12px; }
.form__nav [data-next], .form__nav [data-submit] { margin-left: auto; }
.done { position: absolute; inset: 0; background: var(--paper); border-radius: var(--r-l); padding: clamp(28px, 5vw, 56px); display: flex; flex-direction: column; justify-content: center; gap: 14px; animation: stepIn .5s var(--ease); }
.done[hidden] { display: none; }
.done h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.done h3::before { content: ""; display: block; width: 56px; height: 56px; border-radius: 50%; margin-bottom: 20px; background: var(--or) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23261607' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 30px no-repeat; }
.done p { color: var(--soft); max-width: 34em; }
.done__small { font-size: .93rem; }

/* ---------- lábléc ---------- */
.foot { background: var(--ink-0); color: var(--on-d-soft); padding: 64px var(--gut) 110px; }
.foot__in { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: auto 1fr; gap: 10px 40px; align-items: center; }
.foot__in img { width: 220px; height: auto; }
.foot__claim { font-style: italic; font-weight: 700; color: var(--or); font-size: 1.2rem; justify-self: end; }
.foot__links { grid-column: 1 / -1; list-style: none; padding: 26px 0 0; margin: 20px 0 0; border-top: 1px solid var(--line-d); display: flex; flex-wrap: wrap; gap: 10px 28px; }
.foot__links a { text-decoration: none; color: var(--on-d); font-weight: 500; }
.foot__links a:hover { color: var(--or); }
.foot__small { grid-column: 1 / -1; font-size: .82rem; margin-top: 10px; }

/* ---------- mobil sáv ---------- */
.dock { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40; display: none; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 0 20px; border-radius: var(--r-l); background: var(--or); color: var(--or-ink); text-decoration: none; font-weight: 800; box-shadow: 0 10px 30px rgba(31, 22, 12, .3); transform: translateY(140%); transition: transform .35s var(--ease); }
.dock b { font-weight: 700; font-size: .88rem; background: rgba(38,22,7,.1); padding: 4px 10px; border-radius: 999px; }
.dock.is-on { transform: none; }

/* ---------- beúszás ---------- */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.rv.is-in { opacity: 1; transform: none; }

/* lejárt ajánlat */
.offer-off [data-offer] { display: none !important; }

/* ---------- reszponzív ---------- */
@media (max-width: 1020px) {
  .pick__grid { grid-template-columns: repeat(2, 1fr); }
  .build__stage { grid-template-columns: 1fr; }
  .build__side { border-left: 0; border-top: 1px solid var(--line); }
  .quote__grid { grid-template-columns: 1fr; }
  .sum { display: none; }
  .path__steps { grid-template-columns: repeat(2, 1fr); gap: 32px 0; }
  .path__steps::before { display: none; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .top__in { padding-top: 16px; }
  .top__phone span { display: none; }
  .top__phone { width: 42px; height: 42px; justify-content: center; border-radius: var(--r); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.3); }
  .top__right { gap: 10px; }
  .top__right .btn--sm { display: none; }
  .hero { padding-top: 0; min-height: 0; }
  .hero__media { position: relative; width: auto; height: 58vw; margin: 0 calc(-1 * var(--gut)); clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%); }
  .hero__media::after { background: linear-gradient(180deg, rgba(31,30,30,.65) 0%, rgba(31,30,30,0) 40%); }
  .hero__slashes { display: none; }
  .hero__in { margin-top: 26px; }
  .hero__kicker { margin-bottom: 12px; }
  .hero__title { font-size: clamp(2.15rem, 9.6vw, 3rem); }
  .hero__lead { margin-top: 18px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .offer { grid-template-columns: auto 1fr; gap: 12px 16px; }
  .offer__clock { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 8px; text-align: left; padding: 10px 0 0; border-left: 0; border-top: 1px solid var(--line-d); }
  .offer__clock b { display: inline; font-size: 1.3rem; }
  .hero__facts { grid-template-columns: 1fr; margin-top: 32px; }
  .hero__facts li + li { padding-left: 0; border-top: 1px solid var(--line-d); }
  .hero__facts li { padding: 16px 0; }
  .build__head, .pick__head, .path__head { grid-template-columns: 1fr; gap: 18px; }
  .path__left { margin-top: -8px; }
  .path__head > p:not(.path__left) { grid-column: auto; grid-row: auto; }
  .build__head { margin-bottom: 28px; }
  .build__canvas { min-height: 0; aspect-ratio: 640 / 420; }
  .build__clock { font-size: 1.6rem; left: 14px; top: 10px; }
  .build__side { padding: 16px 20px 20px; }
  .build__ctrl { order: -1; margin: 0 0 8px; }
  .build__steps li { grid-template-columns: 50px 1fr; padding: 9px 0; font-size: .93rem; }
  .pick__grid { grid-template-columns: 1fr; gap: 36px; }
  .pick__filters { flex-wrap: nowrap; overflow-x: auto; margin-left: calc(-1 * var(--gut)); margin-right: calc(-1 * var(--gut)); padding: 0 var(--gut) 4px; scrollbar-width: none; }
  .pick__filters::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .chip--toggle { margin-left: 0; }
  .why__grid { grid-template-columns: 1fr; }
  .refs__row { grid-template-columns: 1fr 1fr; }
  .refs__row figure:first-child { grid-column: 1 / -1; }
  .path__steps { grid-template-columns: 1fr; gap: 0; }
  .path__steps li { flex-direction: row; flex-wrap: wrap; column-gap: 16px; padding: 0 0 22px; }
  .path__steps i { margin: 0; flex: none; }
  .path__steps li b { align-self: center; flex: 1; }
  .path__steps li span { flex-basis: 100%; padding-left: 62px; margin-top: -6px; }
  .faq summary { font-size: 1.02rem; }
  .form { padding: 22px 18px; min-height: 560px; }
  .opts--houses { grid-template-columns: 1fr 1fr; gap: 8px; }
  .opts--row { grid-template-columns: 1fr; }
  .fields { grid-template-columns: 1fr; }
  .foot__in { grid-template-columns: 1fr; }
  .foot__claim { justify-self: start; }
  .dock { display: flex; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
}

/* ---------- adatkezelési tájékoztató ---------- */
.legal-page { background: var(--bone); }
.legal-top { background: var(--graph); }
.legal-top__in { max-width: 860px; margin: 0 auto; padding: 18px var(--gut); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.legal-top__in img { width: clamp(160px, 30vw, 220px); height: auto; }
.legal-back { color: var(--on-d); text-decoration: none; font-weight: 600; font-size: .95rem; }
.legal-back:hover { color: var(--or); }
.legal { max-width: 860px; margin: 0 auto; padding: clamp(40px, 7vw, 80px) var(--gut) clamp(56px, 8vw, 96px); font-size: 1rem; line-height: 1.65; }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); }
.legal h2 { font-size: clamp(1.25rem, 2.6vw, 1.6rem); margin: 48px 0 14px; letter-spacing: -.015em; }
.legal p { margin: 0 0 14px; color: var(--text); }
.legal a { color: var(--or-deep); }
.legal__meta { color: var(--soft) !important; font-size: .93rem; margin-top: 12px !important; margin-bottom: 28px !important; }
.legal__dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; margin: 0 0 16px; padding: 20px 22px; background: var(--paper); border-radius: var(--r-l); box-shadow: var(--e1); }
.legal__dl dt { color: var(--soft); font-weight: 600; }
.legal__dl dd { margin: 0; }
.legal__table { width: 100%; border-collapse: collapse; margin: 6px 0 16px; background: var(--paper); border-radius: var(--r-l); overflow: hidden; box-shadow: var(--e1); }
.legal__table th, .legal__table td { text-align: left; vertical-align: top; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.legal__table tr:last-child th, .legal__table tr:last-child td { border-bottom: 0; }
.legal__table th { width: 30%; font-weight: 700; }
.legal__list { padding-left: 20px; margin: 0 0 14px; }
.legal__list li { margin-bottom: 8px; }
.legal__todo { background: #fff1c2; color: #6b4a00; padding: 0 4px; border-radius: 3px; font-weight: 600; }
.legal-page .foot { padding-bottom: 64px; }
.legal-page .foot a { color: var(--on-d); }
@media (max-width: 640px) {
  .legal__dl { grid-template-columns: 1fr; gap: 2px; }
  .legal__dl dd { margin-bottom: 10px; }
  .legal__table, .legal__table tbody, .legal__table tr, .legal__table th, .legal__table td { display: block; width: 100%; }
  .legal__table th { padding-bottom: 2px; border-bottom: 0; }
}

.nw, [data-offer-until] { white-space: nowrap; }
.path__steps b .nw { font-size: inherit; color: inherit; line-height: inherit; padding: 0; margin: 0; flex: none; }
