/* clientlib-site: a ház saját stílusai. A sorrend a lap sorrendjét követi. */
:root {
  --text: #1c1c1c;
  --text-soft: #565958;
  --bg-sand: #f4f3ee;
  --bg-paper: #f9f9f7;
  --red: #c40a1d;
  --red-dark: #9c0716;
  --wine: #4a0d12;
  --line: #d9d7cf;
  --gap: clamp(1rem, 2.4vw, 2.5rem);
  --wrap: 75rem;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 8rem; }
body {
  margin: 0;
  overflow-x: clip;
  font-family: "Mukta", "Segoe UI", Arial, sans-serif;
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
h1, h2, h3 { font-weight: 300; line-height: 1.18; margin: 0 0 .6em; text-wrap: balance; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
p { margin: 0 0 1em; }

.is-visuallyHidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skiplink { position: absolute; left: 1rem; top: -4rem; background: #fff; padding: .5rem 1rem; z-index: 60; }
.skiplink:focus { top: 1rem; }

.gridcontainer { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gap); }

/* fejléc: két sor, mint egy nagy ház honlapján, csak kevesebb menüponttal */
.primaryheader { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.primaryheader__top { display: flex; align-items: center; gap: 1.5rem; min-height: 4.25rem; }
.primaryheader__logo { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.primaryheader__logo img { width: auto; height: 2.25rem; }
.primaryheader__district { font-size: .8125rem; color: var(--text-soft); }
.primaryheader__tools { margin-left: auto; display: flex; align-items: center; gap: 1rem; }
.primaryheader__toolLink { font-size: .875rem; color: var(--text-soft); text-decoration: none; }
.primaryheader__toolLink:hover { color: var(--text); }
.mainnavigation { display: flex; gap: 2.5rem; padding-bottom: .1rem; }
.mainnavigation__item {
  position: relative; display: block; padding: .55rem 0 .7rem;
  font-size: 1rem; font-weight: 400; text-decoration: none; color: var(--text);
}
.mainnavigation__item::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .2s;
}
.mainnavigation__item:hover::after,
.mainnavigation__item--active::after { transform: scaleX(1); }
.primaryheader__menuBtn { display: none; }

.actionbtn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .7rem 1.4rem; border: 1px solid var(--text); border-radius: 0;
  font: 600 .9375rem/1.2 "Mukta", Arial, sans-serif; color: var(--text);
  background: #fff; text-decoration: none; cursor: pointer;
}
.actionbtn::after {
  content: ""; width: .45rem; height: .45rem; border: solid var(--red);
  border-width: 2px 2px 0 0; transform: rotate(45deg); transition: transform .2s;
}
.actionbtn:hover::after { transform: translateX(3px) rotate(45deg); }
.actionbtn[hidden] { display: none; }
.actionbtn--primary { background: var(--red); border-color: var(--red); color: #fff; }
.actionbtn--primary::after { border-color: #fff; }
.actionbtn--primary:hover { background: var(--red-dark); border-color: var(--red-dark); }
.actionbtn--small { padding: .45rem .9rem; font-size: .8125rem; }
.actionbtn--small::after { display: none; }
.actionbtn--down::after { transform: rotate(135deg); }
.actionbtn--down:hover::after { transform: translateY(3px) rotate(135deg); }
.actionbtn--grey { background: #e4e3de; border-color: #e4e3de; }

/* nyitókép: a fehér, áttetsző doboz a kép bal oldalára ül */
.stage { position: relative; min-height: clamp(32rem, 82dvh, 50rem); color: var(--text); }
.stage__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stage__box {
  position: relative; z-index: 1; width: min(100%, 41.5rem);
  margin-top: clamp(3rem, 12vh, 6.5rem); padding: 2.75rem var(--gap) 2.5rem 2.5rem;
  background: rgba(255, 255, 255, .86);
}
.stage__title { border-left: 3px solid var(--red); padding-left: 1.5rem; }
.stage__title h1 { font-size: clamp(2.1rem, 4.6vw, 3.1rem); margin-bottom: .35em; }
.stage__title p { font-size: clamp(1.125rem, 1.8vw, 1.375rem); margin: 0; }
.stage__cta { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.stage__jump { position: absolute; z-index: 1; left: var(--gap); bottom: 1.25rem; }

/* kurzusok: homokszínű sáv, 3 + 1 elrendezés */
.capabilities { background: var(--bg-sand); padding: clamp(3.5rem, 8vw, 6rem) 0; }
.capabilities__intro { max-width: 44rem; margin-bottom: 2.5rem; }
.capabilities__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
.teaser__wrapper { display: flex; flex-direction: column; min-width: 0; background: #fff; }
.teaser__wrapper img { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; }
.teaser__content { padding: 1.1rem 1rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.teaser__content h3 { margin-bottom: .35em; }
.teaser__meta { margin-top: auto; padding-top: .8rem; border-top: 1px solid var(--line); font-size: .875rem; color: var(--text-soft); }
.teaser__meta strong { color: var(--text); font-weight: 600; }
.teaser__link { text-decoration: none; }
.teaser__link:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }

/* kép és szöveg egymás mellett; a --flip változat cseréli az oldalt */
.banner { padding: clamp(2.5rem, 6vw, 4rem) 0; }
.banner--sand { background: var(--bg-sand); }
.banner__inner { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: var(--gap); align-items: start; }
.banner--flip .banner__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
.banner--flip .banner__media { order: 2; }
.banner__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.banner__kicker { display: block; font-size: .75rem; color: var(--text-soft); margin-bottom: .35rem; }
.banner__text h2 { margin-bottom: .45em; }

/* egy bérhónap naptára */
.payrollmonth { padding: clamp(3rem, 7vw, 5rem) 0; }
.payrollmonth__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 3rem; align-items: end; margin-bottom: 2rem; }
.payrollmonth__head p { max-width: 32rem; margin: 0; color: var(--text-soft); }
.payrollmonth__strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 2px solid var(--text); }
.payrollmonth__day { padding: 1rem .9rem 1.2rem 0; border-right: 1px solid var(--line); }
.payrollmonth__day + .payrollmonth__day { padding-left: .9rem; }
.payrollmonth__day:last-child { border-right: 0; }
.payrollmonth__num { display: block; font-size: 2.25rem; line-height: 1; font-weight: 300; }
.payrollmonth__num small { font-size: .875rem; color: var(--text-soft); }
.payrollmonth__day--deadline .payrollmonth__num { color: var(--red); }
.payrollmonth__day p { margin: .5rem 0 0; font-size: .9375rem; }

/* amit nem tanítunk */
.notlist { list-style: none; margin: 1.25rem 0 0; padding: 0; }
.notlist li { position: relative; padding: .55rem 0 .55rem 1.9rem; border-bottom: 1px solid var(--line); }
.notlist li::before {
  content: ""; position: absolute; left: .2rem; top: 1.15rem; width: .9rem; height: 2px; background: var(--red);
}

/* árak */
.pricing { padding: clamp(3rem, 7vw, 5rem) 0; background: var(--bg-paper); }
.pricing__table { width: 100%; border-collapse: collapse; margin-top: 1.5rem; font-size: 1rem; }
.pricing__table th { text-align: left; font-weight: 600; font-size: .8125rem; color: var(--text-soft); padding: .6rem .75rem .6rem 0; border-bottom: 2px solid var(--text); }
.pricing__table td { padding: 1rem .75rem 1rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.pricing__table td:last-child,
.pricing__table th:last-child { text-align: right; white-space: nowrap; }
.pricing__name { font-weight: 400; font-size: 1.125rem; }
.pricing__note { margin-top: 1.25rem; font-size: .9375rem; color: var(--text-soft); max-width: 46rem; }
.pricing__bundle { display: inline-block; margin-top: 1.5rem; padding: .9rem 1.2rem; border-left: 3px solid var(--red); background: #fff; }

/* egy délelőtt menete */
.morning { padding: clamp(3rem, 7vw, 5rem) 0; }
.morning__list { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: 7rem minmax(0, 1fr); }
.morning__list dt,
.morning__time { font-size: 1.5rem; font-weight: 300; padding: .9rem 0; border-top: 1px solid var(--line); }
.morning__list dd,
.morning__what { margin: 0; padding: 1.15rem 0 .9rem; border-top: 1px solid var(--line); }

/* irodáknak: csoportár kalkulátor */
.officeoffer { padding: clamp(3rem, 7vw, 5rem) 0; background: var(--wine); color: #f6eeee; }
.officeoffer h2 { color: #fff; }
.officeoffer .banner__kicker { color: #e9cfcf; }
.officeoffer__inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--gap); align-items: center; }
.officeoffer__calc { background: #fff; color: var(--text); padding: clamp(1.25rem, 3vw, 2rem); }
.officeoffer__result { min-height: 3.2em; margin: .5rem 0 1.25rem; font-size: 1.125rem; }
.officeoffer__result strong { font-weight: 600; color: var(--red); }
@media (max-width: 48em) { .officeoffer__inner { grid-template-columns: minmax(0, 1fr); } }

/* kérdések két oszlopban, nincs csukás-nyitás */
.questions { padding: clamp(3rem, 7vw, 5rem) 0; background: var(--bg-sand); }
.questions__cols { columns: 2 22rem; column-gap: 3.5rem; margin-top: 2rem; }
.questions__item { break-inside: avoid; margin: 0 0 1.75rem; }
.questions__item h3 { font-size: 1.1875rem; font-weight: 400; margin-bottom: .35em; }
.questions__item p { margin: 0; color: var(--text-soft); }

/* jelentkezés három lépésben */
.signup { padding: clamp(3rem, 7vw, 5rem) 0; }
.signup__layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: var(--gap); }
.signup__aside p { color: var(--text-soft); }
.signup__aside address { font-style: normal; margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.stepform { background: var(--bg-paper); padding: clamp(1.25rem, 3vw, 2.25rem); }
.stepform__progress { display: flex; gap: .5rem; list-style: none; margin: 0 0 1.5rem; padding: 0; counter-reset: step; }
.stepform__progress li { flex: 1; padding-top: .5rem; border-top: 3px solid var(--line); font-size: .8125rem; color: var(--text-soft); counter-increment: step; }
.stepform__progress li::before { content: counter(step) ". "; }
.stepform__progress li[aria-current="step"],
.stepform__progress li.is-done { border-color: var(--red); color: var(--text); }
.stepform__summary { min-height: 0; margin-bottom: 1rem; padding: .9rem 1rem; border-left: 3px solid var(--red); background: #fff; }
.stepform__summary[hidden] { display: none; }
.stepform__summary ul { margin: .35rem 0 0; padding-left: 1.1rem; }
.stepform__panel { border: 0; margin: 0; padding: 0; min-width: 0; }
.stepform__panel legend { font-size: 1.25rem; font-weight: 400; margin-bottom: 1rem; padding: 0; }
.stepform__choice { display: grid; grid-template-columns: 1.4rem minmax(0, 1fr) auto; gap: .2rem .7rem; align-items: start; padding: .8rem 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.stepform__choice input { margin: .35rem 0 0; width: 1.05rem; height: 1.05rem; accent-color: var(--red); }
.stepform__choice small { grid-column: 2; color: var(--text-soft); }
.stepform__price { font-weight: 600; white-space: nowrap; }
.stepform__total { margin: 1rem 0 0; font-size: 1.0625rem; }
.field { display: block; margin-bottom: 1rem; }
.field__label { display: block; font-size: .875rem; font-weight: 400; margin-bottom: .3rem; }
.field input,
.field select,
.field textarea {
  width: 100%; padding: .7rem .8rem; border: 1px solid #9a9b97; border-radius: 0;
  font: 400 1rem/1.4 "Mukta", Arial, sans-serif; color: var(--text); background: #fff;
}
.field textarea { min-height: 7rem; resize: vertical; }
.field--invalid input,
.field--invalid select { border-color: var(--red); }
.field--row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; }
.checkline { display: flex; gap: .6rem; align-items: flex-start; font-size: .9375rem; margin: .5rem 0 1rem; }
.checkline input { margin-top: .3rem; accent-color: var(--red); }
.stepform__nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; }
.stepform__trap { position: absolute; left: -9999px; }
.stepform__done { padding: 1.25rem; background: #fff; border-left: 3px solid var(--red); }
.js .stepform__panel[data-step]:not(.is-current) { display: none; }

/* a házról */
.aboutus { padding: clamp(3rem, 7vw, 5rem) 0; background: var(--bg-paper); }
.aboutus__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap); align-items: center; }
.aboutus__inner img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.aboutus__links { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.aboutus__links a { display: flex; justify-content: space-between; padding: .7rem 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.aboutus__links a::after { content: "\203A"; color: var(--red); font-size: 1.25rem; line-height: 1; }

/* lábléc */
.doormat { background: var(--bg-sand); padding: 3rem 0 2rem; font-size: .9375rem; }
.doormat__cols { display: grid; grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr)); gap: 2rem; }
.doormat h2 { font-size: 1rem; font-weight: 600; margin-bottom: .75rem; }
.doormat ul { list-style: none; margin: 0; padding: 0; }
.doormat li { margin-bottom: .45rem; }
.doormat a { text-decoration: none; }
.doormat a:hover { text-decoration: underline; }
.doormat address { font-style: normal; }
.doormat__logo img { height: 2.25rem; width: auto; margin-bottom: 1rem; }
.legalbar { background: var(--wine); color: #f1e9e9; font-size: .8125rem; padding: 1rem 0; }
.legalbar__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; }
.legalbar ul { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; list-style: none; margin: 0; padding: 0; }
.legalbar a,
.legalbar button { color: #fff; text-decoration: none; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.legalbar a:hover,
.legalbar button:hover { text-decoration: underline; }

/* süti sáv alul */
.consentbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  background: #fff; border-top: 3px solid var(--red); box-shadow: 0 -4px 18px rgba(0, 0, 0, .12);
  padding: 1rem 0;
}
.consentbar[hidden] { display: none; }
.consentbar__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.consentbar__text { flex: 1 1 26rem; margin: 0; font-size: .9375rem; }
.consentbar__actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.consentbar__prefs { flex-basis: 100%; padding-top: .75rem; border-top: 1px solid var(--line); }
.consentbar__prefs[hidden] { display: none; }

/* aloldalak */
.pagehead { background: var(--wine); color: #fff; padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(2rem, 4vw, 3rem); }
.pagehead h1 { font-size: clamp(2rem, 4vw, 2.9rem); margin: 0; border-left: 3px solid #fff; padding-left: 1.25rem; }
.pagehead p { margin: 1rem 0 0; max-width: 44rem; color: #f1e9e9; }
.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; margin: 0 0 1.25rem; padding: 0; font-size: .8125rem; color: #f1e9e9; }
.breadcrumb li + li::before { content: "/"; margin-right: .35rem; }
.breadcrumb a { color: #fff; }
.richtext__base { padding: clamp(2.5rem, 6vw, 4rem) 0; }
.richtext__base h2 { margin-top: 1.6em; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.richtext__base h2:first-child { margin-top: 0; }
.richtext__base ol,
.richtext__base ul { padding-left: 1.2rem; }
.richtext__base li { margin-bottom: .4rem; }
.richtext__narrow { max-width: 50rem; }
.richtext__figure { margin: 2rem 0; }
.richtext__figure img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.richtext__figure figcaption { font-size: .8125rem; color: var(--text-soft); margin-top: .5rem; }
.legaltext h2 { font-size: 1.25rem; font-weight: 400; margin-top: 1.5em; }

@media (max-width: 64em) {
  .capabilities__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .payrollmonth__strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .payrollmonth__day:nth-child(3) { border-right: 0; }
  .payrollmonth__day:nth-child(4) { padding-left: 0; }
  .doormat__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 48em) {
  .primaryheader__district,
  .primaryheader__toolLink { display: none; }
  .primaryheader__logo img { height: 1.6rem; }
  .primaryheader__tools { gap: .5rem; }
  .primaryheader__menuBtn {
    display: inline-flex; margin-left: .25rem; padding: .45rem .7rem;
    border: 1px solid var(--text); background: #fff; font: 400 .875rem "Mukta", Arial, sans-serif; cursor: pointer;
  }
  .mainnavigation { display: none; flex-direction: column; gap: 0; padding-bottom: .75rem; }
  .mainnavigation.is-open { display: flex; }
  .mainnavigation__item { border-top: 1px solid var(--line); }
  .stage__box { padding: 2rem 1.25rem; margin-top: 0; width: 100%; }
  .stage__jump { display: none; }
  .capabilities__grid,
  .banner__inner,
  .banner--flip .banner__inner,
  .signup__layout,
  .aboutus__inner { grid-template-columns: minmax(0, 1fr); }
  .banner--flip .banner__media { order: 0; }
  .payrollmonth__strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .payrollmonth__day { border-right: 0; padding-left: 0 !important; border-bottom: 1px solid var(--line); }
  .morning__list { grid-template-columns: 4.5rem minmax(0, 1fr); }
  .field--row { grid-template-columns: minmax(0, 1fr); }
  .pricing__table thead { display: none; }
  .pricing__table tr { display: block; padding: .75rem 0; border-bottom: 1px solid var(--line); }
  .pricing__table td { display: block; border: 0; padding: .15rem 0; text-align: left !important; }
  .doormat__cols { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 30em) {
  .primaryheader__tools a[href^="tel:"] { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
