/* Lénárt-Bau – a régi oldal tartalma új, reszponzív köntösben */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('../fonts/inter-latin-wght.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('../fonts/inter-hu-wght.woff2') format('woff2-variations');
  unicode-range: U+0150-0151, U+0170-0171;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('../fonts/outfit-latin-wght.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('../fonts/outfit-hu-wght.woff2') format('woff2-variations');
  unicode-range: U+0150-0151, U+0170-0171;
}

:root {
  --ink: #1d211f;
  --ink-2: #2a2f2c;
  --ink-3: #3a403c;
  --sand: #f5f2ea;
  --paper: #ffffff;
  --line: #e3ddcf;
  --muted: #5b615d;
  --yellow: #e9b923;
  --yellow-2: #f3cb45;
  --yellow-ink: #8a6a00;
  --radius: 18px;
  --shadow: 0 1px 2px rgb(29 33 31 / 6%), 0 8px 24px rgb(29 33 31 / 8%);
  --header-h: 72px;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-head: 'Outfit', var(--font-body);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--sand);
  overflow-x: hidden;
}
img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
svg { width: 1.25em; height: 1.25em; flex: none; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--yellow); color: var(--ink); padding: 8px 14px; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }

/* Gombok */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .75em 1.35em; border-radius: 999px;
  font-weight: 700; text-decoration: none; border: 2px solid transparent;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn:active { transform: scale(.98); }
.btn svg { fill: currentColor; }
.btn-primary { background: var(--yellow); color: var(--ink); }
.btn-primary:hover { background: var(--yellow-2); }
.btn-ghost { border-color: rgb(255 255 255 / 55%); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgb(255 255 255 / 10%); }
.btn-call { background: var(--yellow); color: var(--ink); min-height: 42px; padding: .5em 1.1em; font-size: .95rem; }
.btn-call:hover { background: var(--yellow-2); }
.btn-facebook { background: #0866ff; color: #fff; }
.btn-messenger { background: linear-gradient(135deg, #0668e1, #8b2fe0 60%, #d02d6a); color: #fff; }
.btn-facebook:hover, .btn-messenger:hover { filter: brightness(1.08); }

/* Fejléc */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  color: #fff; transition: background-color .25s ease, box-shadow .25s ease;
}
.site-header.scrolled, .site-header.open { background: rgb(29 33 31 / 94%); box-shadow: 0 6px 24px rgb(0 0 0 / 18%); backdrop-filter: blur(8px); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.01em; }
.brand img { height: 48px; width: auto; filter: drop-shadow(0 1px 2px rgb(0 0 0 / 35%)); }
.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a { text-decoration: none; padding: .5em .8em; border-radius: 999px; font-weight: 600; font-size: .95rem; color: rgb(255 255 255 / 86%); }
.main-nav a:hover, .main-nav a.active { color: #fff; background: rgb(255 255 255 / 12%); }
.nav-toggle { display: none; }

@media (max-width: 960px) {
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; gap: 0;
    background: rgb(29 33 31 / 98%); padding: 8px 16px 20px; margin: 0;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .site-header.open .main-nav { transform: none; opacity: 1; visibility: visible; }
  .main-nav a { padding: .9em .6em; border-radius: 10px; font-size: 1.05rem; border-bottom: 1px solid rgb(255 255 255 / 8%); }
  .header-call { margin-left: auto; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 46px; height: 46px; padding: 0 11px; border-radius: 12px; border: 0;
    background: rgb(255 255 255 / 12%); cursor: pointer;
  }
  .nav-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
  .site-header.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 560px) {
  .header-call span { display: none; }
  .header-call { width: 46px; height: 46px; padding: 0; min-height: 0; }
  .brand { font-size: 1.2rem; }
  .brand img { height: 40px; }
}

/* Nyitókép */
.hero {
  position: relative; isolation: isolate; color: #fff;
  min-height: min(92vh, 860px); display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--header-h) + 48px) 0 28px;
  background: var(--ink);
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 65% 50%; z-index: -2; }
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgb(18 20 19 / 88%) 0%, rgb(18 20 19 / 62%) 45%, rgb(18 20 19 / 15%) 100%),
    linear-gradient(0deg, rgb(18 20 19 / 85%) 0%, rgb(18 20 19 / 0%) 45%);
}
.hero-content { margin-bottom: 40px; }
.kicker { display: inline-block; font-weight: 700; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--yellow-2); margin-bottom: 1.1em; }
.hero h1 { font-size: clamp(2.5rem, 1.4rem + 5vw, 5rem); font-weight: 900; max-width: 12ch; margin-bottom: .35em; }
.hero h1 span { color: var(--yellow); }
.lead { font-size: clamp(1.05rem, .95rem + .45vw, 1.25rem); max-width: 56ch; color: rgb(255 255 255 / 88%); margin-bottom: 1.6em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.facts {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: rgb(255 255 255 / 16%); border-radius: var(--radius); overflow: hidden;
  backdrop-filter: blur(6px);
}
.facts li { background: rgb(18 20 19 / 62%); padding: 18px 20px; }
.facts strong { display: block; font-family: var(--font-head); font-size: 1.9rem; font-weight: 800; color: var(--yellow); line-height: 1.1; }
.facts span { font-size: .92rem; color: rgb(255 255 255 / 82%); }
@media (max-width: 760px) {
  .facts { grid-template-columns: repeat(2, 1fr); }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* Szakaszok */
.section { padding: clamp(64px, 5vw + 40px, 112px) 0; }
.section-alt { background: var(--paper); }
.section-dark { background: var(--ink); color: #fff; }
.eyebrow { font-weight: 800; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow-ink); margin-bottom: .6em; }
.section-dark .eyebrow { color: var(--yellow); }

/* Rólunk */
.about { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 64px); align-items: start; }
.about-text p { color: var(--ink-3); }
.about-text .intro { font-size: 1.12rem; color: var(--ink); }
.profile { background: var(--paper); border-left: 5px solid var(--yellow); border-radius: 0 var(--radius) var(--radius) 0; padding: 22px 24px; margin: 28px 0; box-shadow: var(--shadow); }
.profile h3 { margin-bottom: .4em; }
.profile p { margin: 0; color: var(--ink); }
.about-side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 24px; }
.video-card { margin: 0; background: var(--ink); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.video-card video { width: 100%; aspect-ratio: 16 / 9; background: #000; object-fit: contain; }
.video-card figcaption { color: rgb(255 255 255 / 80%); font-size: .9rem; padding: 12px 18px; }
.timeline { list-style: none; margin: 0; padding: 4px 0 0; position: relative; }
.timeline::before { content: ''; position: absolute; left: 31px; top: 14px; bottom: 14px; width: 2px; background: var(--line); }
.timeline li { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: start; padding: 10px 0; }
.timeline strong { position: relative; z-index: 1; display: grid; place-items: center; width: 64px; height: 34px; border-radius: 999px; background: var(--ink); color: var(--yellow); font-family: var(--font-head); font-size: .95rem; }
.timeline span { padding-top: 5px; color: var(--ink-3); font-size: .97rem; line-height: 1.5; }
@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; }
  .about-side { position: static; }
}

/* Szolgáltatások */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
.service { background: var(--sand); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; }
.service-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--ink); color: var(--yellow); margin-bottom: 18px; }
.service-icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 30px; line-height: 1.45; }
.checklist li::before {
  content: ''; position: absolute; left: 0; top: .12em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d211f' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
@media (max-width: 980px) { .services { grid-template-columns: 1fr; } .service { padding: 24px 20px; } }

/* Munkagépek */
.machines { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 22px; margin-top: 32px; }
.machine { background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.machine:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgb(29 33 31 / 8%), 0 16px 36px rgb(29 33 31 / 14%); }
.machine img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--line); }
.machine-body { padding: 18px 20px 22px; }
.machine h3 { font-size: 1.12rem; margin-bottom: .5em; }
.badge { display: inline-block; background: #fbf1cf; color: #6b5200; font-weight: 700; font-size: .85rem; padding: .25em .75em; border-radius: 999px; margin: 0 0 .8em; }
.machine ul { margin: 0; padding-left: 1.1em; color: var(--ink-3); font-size: .95rem; }
.machine li { margin: .2em 0; }
.machine li::marker { color: var(--yellow-ink); }

/* Videók */
.videos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 32px; }
.videos video { width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: 14px; object-fit: contain; }
@media (max-width: 900px) { .videos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .videos { grid-template-columns: 1fr; } }

/* Elérhetőség */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 32px; align-items: stretch; }
.contact-card { background: var(--paper); border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); box-shadow: var(--shadow); }
.contact-list { list-style: none; margin: 8px 0 28px; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 1.05rem; }
.contact-list svg { width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: var(--ink); fill: none; stroke: var(--yellow); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact-list li:nth-child(2) svg { fill: var(--yellow); stroke: none; }
.contact-list .label { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact-list a { font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { text-decoration: underline; }
.social { display: flex; flex-wrap: wrap; gap: 12px; }
.map { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 360px; background: var(--line); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-link { position: absolute; left: 12px; bottom: 12px; background: var(--paper); padding: .45em .9em; border-radius: 999px; font-size: .88rem; font-weight: 700; text-decoration: none; box-shadow: var(--shadow); }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }

/* Lábléc */
.site-footer { background: var(--ink); color: rgb(255 255 255 / 78%); padding: 36px 0 96px; }
.footer-inner { display: grid; gap: 8px; justify-items: start; }
.site-footer .brand { color: #fff; margin-bottom: 6px; }
.site-footer .brand img { height: 40px; }
.site-footer p { margin: 0; font-size: .95rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.copy { color: rgb(255 255 255 / 55%); font-size: .85rem !important; }
@media (min-width: 761px) { .site-footer { padding-bottom: 36px; } }

/* Lebegő hívás gomb mobilon */
.fab-call {
  position: fixed; right: 16px; bottom: 16px; z-index: 40;
  display: none; align-items: center; gap: 8px;
  background: var(--yellow); color: var(--ink); font-weight: 800; text-decoration: none;
  padding: 14px 20px; border-radius: 999px; box-shadow: 0 10px 28px rgb(0 0 0 / 28%);
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.fab-call.show { opacity: 1; transform: none; pointer-events: auto; }
.fab-call svg { fill: currentColor; }
@media (max-width: 760px) { .fab-call { display: inline-flex; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
