/* ==================================================================
   Pethő Industries cégoldal stílusai
   Irány: a „Circuit wordmark” logóból: sötétkék és kék, fehér alap,
   Sora címbetű, és a P jel vezeték-csomópont motívuma (címkék,
   felsorolásjelek, idővonal, háttérdísz). Az AI-munkaterület sötétkék sávban.
   Nincs külső betűtípus-szolgáltató: a /fonts alatt saját kiszolgálású
   woff2 fájlok vannak (latin + latin-ext, benne ő és ű).
   ================================================================== */

/* ---------- Betűtípusok ---------- */
@font-face {
    font-family: 'Sora';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url(/fonts/sora-latin-ext.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Sora';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url(/fonts/sora-latin.woff2) format('woff2');
    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-weight: 400 700;
    font-display: swap;
    src: url(/fonts/inter-latin-ext.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url(/fonts/inter-latin.woff2) format('woff2');
    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: 'JetBrains Mono';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url(/fonts/jetbrains-mono-latin-ext.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'JetBrains Mono';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url(/fonts/jetbrains-mono-latin.woff2) format('woff2');
    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;
}

/* ---------- Arculati tokenek (a logóból mintázva) ---------- */
:root {
    /* alap */
    --paper: #FFFFFF;
    --paper-2: #F3F6FA;
    --paper-3: #E8EEF5;
    --card: #FFFFFF;
    --line: #E1E7EF;
    --line-2: #C9D3DF;

    /* tinta: a „Pethő” felirat sötétkékje */
    --ink: #1A2633;
    --ink-2: #344256;
    --muted: #5A6879;

    /* jelzőszín: az „INDUSTRIES” kékje; fehér szöveggel 6:1 */
    --accent: #0B5FCC;
    --accent-deep: #084A9F;
    --accent-bright: #1A8BF5;
    --accent-soft: #EAF2FD;
    --accent-line: #C7DCF7;
    --trace: #2A9BF6;       /* vezeték */
    --node: #8FD5FB;        /* csomópont */

    /* a P jel színátmenete */
    --grad-p: linear-gradient(135deg, #15263A 0%, #172E4A 48%, #0D5BB5 82%, #1A8BF5 100%);
    --grad-btn: linear-gradient(135deg, #0B5FCC 0%, #1577E6 100%);

    /* sötétkék sáv */
    --night: #0E1A2A;
    --night-2: #13233A;
    --night-3: #1A2E48;
    --night-line: #263D5A;
    --on-night: #EEF3F9;
    --on-night-muted: #9FB1C7;
    --glow: #5CB8FA;

    /* állapotszínek */
    --ok: #15803D;
    --ok-soft: #DCF3E3;
    --warn: #9A5B06;
    --warn-soft: #FDF0D5;
    --bad: #C0262D;

    --f-display: 'Sora', 'Segoe UI', system-ui, sans-serif;
    --f-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
    --f-mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;

    --r-sm: 8px;
    --r: 12px;
    --r-lg: 18px;
    --shadow: 0 1px 2px rgba(20, 36, 58, .06), 0 12px 32px -12px rgba(20, 36, 58, .18);
    --shadow-lg: 0 2px 4px rgba(20, 36, 58, .05), 0 34px 80px -28px rgba(20, 45, 80, .34);
    --wrap: 1200px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 400 17px/1.6 var(--f-body);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    font-feature-settings: "cv11", "ss01";
}

::selection { background: #CFE3FB; color: var(--ink); }

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p, figure, dl, dd { margin: 0; }
h1, h2, h3, h4 {
    margin: 0;
    font-family: var(--f-display);
    font-weight: 700;
    letter-spacing: -.005em;
    line-height: 1.15;
    text-wrap: balance;
}
p { text-wrap: pretty; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.ico {
    width: 20px;
    height: 20px;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
/* egész pixelre illesztett bal szél: középre igazításnál különben fél pixelre
   eshet a tartalom, és 1×-es kijelzőn a logó meg a betűszárak elmosódnak */
@supports (margin-left: round(down, 1.5px, 1px)) {
    .wrap { margin-left: max(0px, round(down, (100% - var(--wrap)) / 2, 1px)); margin-right: auto; }
}

.skip {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 100;
    padding: 10px 16px;
    background: var(--ink);
    color: #fff;
    border-radius: var(--r-sm);
    text-decoration: none;
}
.skip:focus { top: 16px; }

:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 3px; border-radius: 6px; }

/* kitöltendő mező: szándékosan feltűnő (borostyán), hogy ne maradjon bent élesben */
.fill {
    padding: 0 5px;
    border-radius: 4px;
    background: rgba(217, 119, 6, .10);
    outline: 1px dashed #D97706;
    outline-offset: 1px;
    color: #92400E;
    font-family: var(--f-mono);
    font-size: .85em;
}
.on-night .fill { background: rgba(251, 191, 36, .10); outline-color: #FBBF24; color: #FCD34D; }

/* ---------- Háttérdísz: vezetékek ---------- */
.deko {
    position: absolute;
    pointer-events: none;
    color: var(--line-2);          /* halvány vonalak */
    stroke: var(--trace);          /* kiemelt vonalak */
    fill: var(--paper);            /* üreges csomópont */
}

/* ---------- Tipográfiai elemek ---------- */
/* címke: az „INDUSTRIES” ritkított kékje, előtte egy vezetékvég csomóponttal */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font: 600 12.5px/1.3 var(--f-display);
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--accent);
}
.eyebrow::before {
    content: "";
    flex: none;
    width: 26px;
    height: 10px;
    background:
        radial-gradient(circle at 21px 5px, transparent 2.2px, currentColor 2.5px, currentColor 4.4px, transparent 4.7px),
        linear-gradient(currentColor, currentColor) 0 50% / 16px 2px no-repeat;
}
.on-night .eyebrow { color: var(--glow); }

/* ---------- Gombok ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 22px;
    border: 1px solid transparent;
    border-radius: 10px;
    font: 600 15.5px/1.1 var(--f-body);
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s, filter .2s;
}
.btn .ico { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover .ico { transform: translateX(3px); }

.btn-primary { background: var(--grad-btn); color: #fff; box-shadow: 0 8px 22px -10px rgba(11, 95, 204, .75); }
.btn-primary:hover { filter: brightness(.92); box-shadow: 0 10px 26px -10px rgba(11, 95, 204, .9); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #24354A; }
.btn-ghost { border-color: var(--line-2); color: var(--ink); background: var(--card); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-deep); }
.on-night .btn-ghost { border-color: var(--night-line); color: var(--on-night); background: transparent; }
.on-night .btn-ghost:hover { border-color: var(--glow); color: #fff; }

.btn-sm { padding: 10px 18px; font-size: 14.5px; }
.btn-lg { padding: 17px 26px; font-size: 16.5px; }
.btn-block { width: 100%; }

/* ---------- Logó ---------- */
.brand-link { display: block; flex: none; border-radius: 6px; }
.brand-img { max-width: none; }   /* méret: a sablon egész pixeles width/height attribútuma adja */

/* ---------- Fejléc ---------- */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .9);
    -webkit-backdrop-filter: saturate(1.5) blur(14px);
    backdrop-filter: saturate(1.5) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .25s, box-shadow .25s;
}
.nav.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(20, 36, 58, .35); }

.nav-in { display: flex; align-items: center; gap: 36px; height: 88px; }

.nav-links { display: flex; gap: 30px; margin-left: auto; }
.nav-links a {
    position: relative;
    white-space: nowrap;
    padding: 6px 0;
    font-size: 15px;
    font-weight: 500;
    color: var(--ink-2);
    text-decoration: none;
}
.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--grad-btn);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-right { display: flex; align-items: center; gap: 14px; }

.lang {
    display: flex;
    gap: 2px;
    padding: 3px;
    border: 1px solid var(--line-2);
    border-radius: 9px;
}
.lang a {
    padding: 6px 9px;
    border-radius: 6px;
    font: 600 11.5px/1 var(--f-display);
    letter-spacing: .08em;
    color: var(--muted);
    text-decoration: none;
    transition: color .2s, background-color .2s;
}
.lang a:hover { color: var(--accent); }
.lang a[aria-current] { background: var(--ink); color: #fff; }

.lang-on-night { display: inline-flex; margin-top: 22px; border-color: var(--night-line); }
.lang-on-night a { color: var(--on-night-muted); }
.lang-on-night a:hover { color: #fff; }
.lang-on-night a[aria-current] { background: var(--accent); color: #fff; }

.burger {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--line-2);
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.burger span { width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s; }
.burger.active span:first-child { transform: translateY(4px) rotate(45deg); }
.burger.active span:last-child { transform: translateY(-4px) rotate(-45deg); }

.mnav { display: none; border-top: 1px solid var(--line); background: #fff; }
.mnav.open { display: block; }
.mnav .wrap { display: grid; gap: 2px; padding-top: 12px; padding-bottom: 24px; }
.mnav a:not(.btn) {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font: 600 18px/1.2 var(--f-display);
    text-decoration: none;
}
.mnav .btn { margin-top: 18px; }

/* ---------- Hero: sötétkék, élő vezetékhálózattal ---------- */
.hero {
    position: relative;
    padding: 96px 0 0;
    overflow: hidden;
    background:
        radial-gradient(55% 65% at 80% 20%, rgba(26, 139, 245, .30), transparent 70%),
        radial-gradient(40% 50% at 0% 100%, rgba(13, 91, 181, .30), transparent 70%),
        linear-gradient(180deg, #0B1523 0%, #0F1E33 100%);
    color: var(--on-night);
}
.hero::after {           /* finom rács a mélységhez */
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(143, 213, 251, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(143, 213, 251, .045) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(70% 70% at 70% 35%, #000, transparent 75%);
    mask-image: radial-gradient(70% 70% at 70% 35%, #000, transparent 75%);
    pointer-events: none;
}

.net { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.net-lines path { fill: none; stroke: rgba(143, 213, 251, .16); stroke-width: 1.5; stroke-linejoin: round; }
.net-nodes circle { fill: #0E1B2E; stroke: rgba(143, 213, 251, .45); stroke-width: 1.5; }
.net-pulse path {
    fill: none;
    stroke: #8FD5FB;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 70 1600;
    stroke-dashoffset: 70;
    filter: drop-shadow(0 0 5px #1A8BF5);
    opacity: 0;
    animation: impulzus 7s cubic-bezier(.45, .05, .55, .95) infinite;
}
.net-pulse .p2 { animation-delay: 1.1s; animation-duration: 8s; }
.net-pulse .p3 { animation-delay: 2.4s; }
.net-pulse .p4 { animation-delay: 3.3s; animation-duration: 6.5s; }
.net-pulse .p5 { animation-delay: .6s; animation-duration: 7.5s; }
.net-pulse .p6 { animation-delay: 4.2s; }
.net-pulse .p7 { animation-delay: 2s; animation-duration: 6s; }
@keyframes impulzus {
    0% { stroke-dashoffset: 70; opacity: 0; }
    8% { opacity: 1; }
    70% { opacity: 1; }
    100% { stroke-dashoffset: -760; opacity: 0; }
}

.hero-in {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);   /* hosszú cím se tolja szét az oszlopot */
    gap: 72px;
    align-items: center;
}

.hero h1 {
    margin: 24px 0 26px;
    font-size: clamp(2.2rem, 3.7vw, 3.5rem);
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -.035em;
    color: #fff;
}
/* kiemelés: világos kék színátmenet, alatta egy vezeték csomóponttal */
.hero h1 em {
    font-style: normal;
    color: var(--glow);
    background: linear-gradient(90deg, #4FB0FA 0%, #9EDCFF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    text-decoration: underline;
    text-decoration-color: rgba(92, 184, 250, .55);
    text-decoration-thickness: .045em;
    text-underline-offset: .14em;
}

.hero-sub { max-width: 34em; font-size: 19px; line-height: 1.6; color: #B9C8DA; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 36px 0 20px; }
.hero .btn-ghost { background: rgba(255, 255, 255, .04); }
.hero-note { display: flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--on-night-muted); }
.hero-note .ico { width: 17px; height: 17px; color: var(--glow); stroke-width: 2.2; }

/* munkafolyamat-kártya, lebegő értesítésekkel */
.flow { position: relative; max-width: 520px; justify-self: end; width: 100%; color: var(--ink); }
.flow-back {
    position: absolute;
    inset: 24px -18px -20px 28px;
    border-radius: var(--r-lg);
    background: var(--grad-p);
    border: 1px solid rgba(143, 213, 251, .25);
    transform: rotate(2.5deg);
    box-shadow: 0 0 80px -10px rgba(26, 139, 245, .45);
}
.flow-card {
    position: relative;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, .6);
    border-radius: var(--r-lg);
    background: var(--card);
    box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .65);
}

.float {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 11px 16px 11px 11px;
    border: 1px solid rgba(143, 213, 251, .25);
    border-radius: 14px;
    background: rgba(19, 35, 58, .92);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .7);
    color: #fff;
    white-space: nowrap;
    animation: lebeg 6s ease-in-out infinite;
}
.float strong { display: block; font: 600 13.5px/1.25 var(--f-display); }
.float em { display: block; font-style: normal; font-size: 12px; color: var(--on-night-muted); }
.float-ico { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--grad-btn); }
.float-ico .ico { width: 17px; height: 17px; stroke-width: 2.2; }
.float-ok { background: linear-gradient(135deg, #15803D, #22A05A); }
.float-a { left: 40px; top: -46px; }
.float-b { right: -34px; bottom: 34px; animation-delay: -3s; }
@keyframes lebeg { 50% { transform: translateY(-9px); } }

.flow-head { display: flex; align-items: center; justify-content: space-between; padding: 14px; }
.flow-title { font: 700 15.5px/1.2 var(--f-display); }
.flow-time { margin-top: 5px; font: 500 12px/1 var(--f-mono); color: var(--muted); }
.flow-live {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--ok-soft);
    color: var(--ok);
    font: 600 11px/1 var(--f-display);
    letter-spacing: .1em;
    text-transform: uppercase;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }

.flow-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.flow-item {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 14px;
    padding: 14px;
    border-radius: 12px;
    background: var(--paper-2);
}
.flow-ico {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--card);
    color: var(--accent);
}
.flow-src { font: 600 10.5px/1 var(--f-display); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.flow-name { margin-top: 6px; font-weight: 600; font-size: 15.5px; line-height: 1.3; }
.flow-detail { margin-top: 2px; font-size: 14px; line-height: 1.45; color: var(--muted); }
.flow-foot {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 14px 14px 8px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--ink-2);
}
.flow-foot .ico { width: 18px; height: 18px; color: var(--accent); }

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 9px;
    padding: 5px 10px;
    border-radius: 999px;
    font: 600 12px/1.1 var(--f-body);
    white-space: nowrap;
}
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip-warn { background: var(--warn-soft); color: var(--warn); }
.chip-ok { background: var(--ok-soft); color: var(--ok); }
.chip-info { background: var(--accent-soft); color: var(--accent-deep); }

/* futó szalag */
.marquee {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 32px;
    max-width: var(--wrap);
    margin: 96px auto 0;
    padding: 26px 32px 30px;
    border-top: 1px solid rgba(143, 213, 251, .14);
}
.marquee-label {
    flex: none;
    max-width: 150px;
    font: 600 11.5px/1.4 var(--f-display);
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--on-night-muted);
}
.marquee-view {
    flex: 1;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
    display: flex;
    gap: 12px;
    width: max-content;
    margin: 0;
    padding: 0;
    list-style: none;
    animation: szalag 38s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px;
    border: 1px solid rgba(143, 213, 251, .18);
    border-radius: 999px;
    background: rgba(255, 255, 255, .03);
    font: 500 14px/1 var(--f-display);
    color: #D6E2F0;
    white-space: nowrap;
}
.marquee-track li::before {
    content: "";
    width: 7px;
    height: 7px;
    border: 2px solid var(--trace);
    border-radius: 50%;
}
@keyframes szalag { to { transform: translateX(calc(-50% - 6px)); } }

/* ígéretek számokban */
.stats { position: relative; background: var(--paper); }
.stats-list {
    list-style: none;
    margin: 0;
    padding: 56px 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-bottom: 1px solid var(--line);
}
.stats-list li { padding: 0 28px; border-left: 1px solid var(--line); }
.stats-list li:first-child { padding-left: 0; border-left: 0; }
.stats-list strong {
    display: block;
    font: 700 clamp(2.2rem, 3.6vw, 3.1rem)/1.05 var(--f-display);
    letter-spacing: -.04em;
    background: linear-gradient(135deg, #15263A 0%, #0D5BB5 60%, #1A8BF5 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.stats-list span { display: block; margin-top: 12px; max-width: 16em; font-size: 15px; line-height: 1.45; color: var(--muted); }

/* ---------- Szekciók ---------- */
.section { padding: 120px 0; }
.section-tint { background: var(--paper-2); }

.section-head { max-width: 800px; margin-bottom: 60px; }
.section-head h2 {
    margin: 18px 0 20px;
    font-size: clamp(2rem, 3.4vw, 3rem);
    line-height: 1.1;
    letter-spacing: -.03em;
}
.section-head p:not(.eyebrow) { max-width: 40em; font-size: 18.5px; color: var(--ink-2); }
.section-head.split {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 64px;
    align-items: end;
    max-width: none;
}
.section-head.split h2 { margin-bottom: 0; }

.on-night .section-head p:not(.eyebrow) { color: var(--on-night-muted); }
.on-night .section-head p strong { color: #fff; }

/* ---------- Szolgáltatások (bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 30px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--card);
    transition: transform .3s, box-shadow .3s, border-color .3s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--accent-line); }

.card-top { position: relative; display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.card-icon {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--accent-soft);
    color: var(--accent);
}
.card-icon .ico { width: 24px; height: 24px; }
.card-num { font: 600 13px/1 var(--f-display); letter-spacing: .08em; color: var(--muted); }

.card-body { position: relative; }
.card h3 { margin-bottom: 12px; font-size: 22px; }
.card-lead { margin-bottom: 22px; font-size: 16px; color: var(--ink-2); }

/* felsorolásjel: csomópont-gyűrű */
.ticks { list-style: none; margin: 0 0 26px; padding: 0; display: grid; align-content: start; gap: 10px; }
.ticks li { position: relative; padding-left: 26px; font-size: 15.5px; line-height: 1.45; }
.ticks li::before {
    content: "";
    position: absolute;
    left: 1px;
    top: .32em;
    width: 12px;
    height: 12px;
    border: 2.5px solid var(--trace);
    border-radius: 50%;
    background: var(--card);
}

.card-foot {
    position: relative;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    font-size: 14px;
    color: var(--muted);
}
.card-foot strong { font: 600 14px/1 var(--f-display); color: var(--ink); }

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
}
.card-link .ico { width: 18px; height: 18px; transition: transform .2s; }
.card-link:hover .ico { transform: translateX(3px); }

/* széles AI-kártya: a P jel sötétkék-kék színátmenete, vezetékekkel */
.card-wide {
    grid-column: span 2;
    border: 0;
    background: var(--grad-p);
    color: var(--on-night);
}
.card-wide:hover { box-shadow: 0 30px 60px -30px rgba(13, 91, 181, .7); }
.deko-card {
    right: -20px;
    bottom: -44px;
    width: 42%;
    height: 34%;
    color: rgba(143, 213, 251, .14);
    stroke: rgba(143, 213, 251, .38);
    fill: #174780;
}
.card-wide .card-icon { background: rgba(255, 255, 255, .1); color: var(--node); }
.card-wide .card-num { color: var(--on-night-muted); }
.card-wide .card-body { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; }
.card-wide h3 { font-size: 28px; color: #fff; }
.card-wide .card-lead { color: #C5D4E6; }
.card-wide .card-link { color: var(--node); }
.card-wide .ticks li { color: #fff; }
.card-wide .ticks li::before { border-color: var(--node); background: transparent; }
.card-wide .card-foot { border-top-color: rgba(255, 255, 255, .16); color: #B7C7DA; }
.card-wide .card-foot strong { color: #fff; }

.card-cta { background: var(--accent-soft); border-color: var(--accent-line); }
.card-cta .card-icon { margin-bottom: 26px; background: var(--card); }
.card-cta .btn { margin-top: auto; align-self: flex-start; }

/* ---------- AI-munkaterület (sötétkék sáv) ---------- */
.night {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(50% 60% at 0% 0%, rgba(26, 139, 245, .16), transparent 70%),
        radial-gradient(40% 50% at 100% 100%, rgba(26, 139, 245, .10), transparent 70%),
        var(--night);
    color: var(--on-night);
}
.deko-night {
    right: -60px;
    top: 40px;
    width: 46%;
    height: 440px;
    color: rgba(143, 213, 251, .12);
    stroke: rgba(92, 184, 250, .45);
    fill: var(--night);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 50%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 50%);
}
.night > .wrap { position: relative; }

/* animált folyamatábra: beérkezik → AI → ember → rendszer */
.pipe {
    position: relative;
    list-style: none;
    margin: 0 0 88px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.pipe::before,
.pipe::after {
    content: "";
    position: absolute;
    left: 32px;
    right: calc((100% - 72px) / 4 - 32px);
    top: 31px;
    height: 2px;
}
.pipe::before { background: var(--night-line); }
.pipe::after {
    background: linear-gradient(90deg, transparent 0%, #8FD5FB 50%, transparent 100%) no-repeat;
    background-size: 22% 100%;
    background-position: -30% 0;
    filter: drop-shadow(0 0 6px #1A8BF5);
    animation: csovezetek 4.5s linear infinite;
}
@keyframes csovezetek { to { background-position: 130% 0; } }
.pipe-step { position: relative; }
.pipe-node {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border: 2px solid var(--trace);
    border-radius: 50%;
    background: var(--night);
    color: var(--node);
    box-shadow: 0 0 0 6px rgba(26, 139, 245, .08);
}
.pipe-node .ico { width: 26px; height: 26px; }
.pipe-human .pipe-node { border: 0; background: var(--grad-btn); color: #fff; box-shadow: 0 0 0 8px rgba(26, 139, 245, .18), 0 0 40px rgba(26, 139, 245, .5); }
.pipe-num { display: block; margin-top: 20px; font: 600 12px/1 var(--f-display); letter-spacing: .14em; color: var(--glow); }
.pipe-step h3 { margin: 8px 0 8px; font-size: 18px; color: #fff; }
.pipe-step p { font-size: 15px; line-height: 1.55; color: var(--on-night-muted); }

.ws-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }

.feat { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 32px; }
.feat-ico {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--night-line);
    border-radius: 10px;
    background: var(--night-2);
    color: var(--glow);
}
.feat-item h3 { margin: 16px 0 7px; font-size: 17px; color: #fff; }
.feat-item p { font-size: 15px; line-height: 1.55; color: var(--on-night-muted); }

.console {
    position: sticky;
    top: 110px;
    overflow: hidden;
    border: 1px solid var(--night-line);
    border-radius: 16px;
    background: var(--night-2);
    box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .02) inset;
}
.console-bar {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 16px;
    border-bottom: 1px solid var(--night-line);
    font: 500 12px/1 var(--f-mono);
    color: var(--on-night-muted);
}
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--night-line); }

.console-body { display: grid; grid-template-columns: 172px 1fr; }
.console-side {
    display: grid;
    align-content: start;
    gap: 2px;
    padding: 14px 10px;
    border-right: 1px solid var(--night-line);
}
.console-side span {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 8px;
    font-size: 13.5px;
    color: var(--on-night-muted);
}
.console-side .ico { width: 17px; height: 17px; }
.console-side .on { background: var(--night-3); color: #fff; }
.console-side .on .ico { color: var(--glow); }

.console-main { display: grid; gap: 16px; align-content: start; padding: 22px; }
.msg-q {
    justify-self: end;
    max-width: 88%;
    padding: 12px 15px;
    border-radius: 14px 14px 4px 14px;
    background: var(--accent);
    color: #fff;
    font-size: 14.5px;
    line-height: 1.5;
}
.msg-a { font-size: 14.5px; line-height: 1.62; }
.msg-who {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 7px;
    font: 600 12px/1 var(--f-display);
    letter-spacing: .06em;
    color: var(--glow);
}
.msg-who .ico { width: 15px; height: 15px; }
.src { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.src span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 9px;
    border: 1px solid var(--night-line);
    border-radius: 7px;
    font: 500 11.5px/1 var(--f-mono);
    color: var(--on-night-muted);
}
.src .ico { width: 13px; height: 13px; }

.approve {
    padding: 15px 16px;
    border: 1px solid rgba(92, 184, 250, .35);
    border-radius: 12px;
    background: rgba(26, 139, 245, .08);
    font-size: 14.5px;
}
.approve-label {
    margin-bottom: 5px;
    font: 600 11px/1 var(--f-display);
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--glow);
}
.approve-actions { display: flex; gap: 8px; margin-top: 13px; }
.mini {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 13px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
}
.mini .ico { width: 15px; height: 15px; stroke-width: 2.2; }
.mini-yes { background: var(--grad-btn); color: #fff; }
.mini-no { border: 1px solid var(--night-line); color: var(--on-night-muted); }

.console-meter {
    display: flex;
    justify-content: space-between;
    padding: 11px 16px;
    border-top: 1px solid var(--night-line);
    font: 500 11.5px/1 var(--f-mono);
    color: var(--on-night-muted);
}

.apply {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 64px;
    margin-top: 110px;
    padding-top: 64px;
    border-top: 1px solid var(--night-line);
}
.apply h3 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1.12; letter-spacing: -.03em; color: #fff; }
.apply-copy p { margin: 18px 0 30px; font-size: 17px; color: var(--on-night-muted); }
.apply-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.apply-item {
    padding: 24px;
    border: 1px solid var(--night-line);
    border-radius: 14px;
    background: var(--night-2);
    transition: border-color .3s, transform .3s;
}
.apply-item:hover { border-color: rgba(92, 184, 250, .5); transform: translateY(-2px); }
.apply-label {
    font: 600 11px/1 var(--f-display);
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--glow);
}
.apply-item h4 { margin: 12px 0 8px; font-size: 18px; color: #fff; }
.apply-item p:last-child { font-size: 15px; line-height: 1.55; color: var(--on-night-muted); }

/* ---------- Referenciák ---------- */
.refs { background: linear-gradient(180deg, #FFFFFF 0%, #F3F6FA 100%); }

/* fejléc: középre zárt nagy állítás, alatta vezeték csomóponttal, ami a kiemelt kártyába fut */
.refs-head { max-width: 920px; margin: 0 auto; text-align: center; }
.refs-head .eyebrow { justify-content: center; }
.refs-head h2 { margin: 20px 0 22px; font-size: clamp(2.4rem, 4.6vw, 3.9rem); line-height: 1.05; text-wrap: balance; }
.refs-head h2 em {
    font-style: normal;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-bright) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.refs-head p:not(.eyebrow) { margin: 0 auto; }
.refs-head::after {
    content: "";
    display: block;
    width: 14px;
    height: 80px;
    margin: 40px auto 0;
    background:
        radial-gradient(circle at 50% calc(100% - 7px), var(--paper) 3px, var(--trace) 3.5px, var(--trace) 6px, transparent 6.5px),
        linear-gradient(180deg, transparent 0%, var(--trace) 100%) 50% 0 / 2px calc(100% - 13px) no-repeat;
}

.ref-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ref-kind {
    font: 600 11.5px/1 var(--f-display);
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--accent);
}
.ref-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 10px;
    border-radius: 999px;
    font: 600 12px/1 var(--f-body);
}
.ref-live { background: var(--ok-soft); color: var(--ok); }
.ref-dev { background: var(--warn-soft); color: var(--warn); }
.ref-name { margin: 14px 0 6px; font-size: 30px; font-weight: 800; letter-spacing: -.03em; }
.ref-title { font: 600 18px/1.4 var(--f-display); color: var(--ink-2); }
.ref-text { margin: 14px 0 20px; font-size: 15.5px; color: var(--ink-2); }
.ref-metrics { list-style: none; margin: 22px 0; padding: 18px 0 0; display: flex; flex-wrap: wrap; gap: 14px 36px; border-top: 1px solid var(--line); }
.ref-metrics strong {
    display: block;
    font: 700 26px/1.1 var(--f-display);
    letter-spacing: -.03em;
    background: linear-gradient(135deg, #15263A 0%, #0D5BB5 70%, #1A8BF5 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.ref-metrics span { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); }
.ref-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ref-tags span {
    padding: 5px 10px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: var(--card);
    font: 500 12.5px/1 var(--f-display);
    color: var(--ink-2);
}
.ref-link { margin-top: 18px; }
.ref-body { display: flex; flex-direction: column; flex: 1; padding: 28px 32px 32px; }
.ref-body .ref-link { margin-top: auto; padding-top: 18px; align-self: flex-start; }
.ref-body .ref-name { margin-top: 12px; }

/* ---------- Lokális AI: rövid sáv az AI-munkaterület (sötét szekció) alján ---------- */
.local-band {
    display: grid;
    grid-template-columns: auto minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 28px 44px;
    align-items: center;
    margin-top: 72px;
    padding: 36px 40px;
    border: 1px solid var(--night-line);
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(26, 139, 245, .12) 0%, rgba(19, 35, 58, .6) 100%);
}
.local-ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--grad-btn); color: #fff; }
.local-ico .ico { width: 26px; height: 26px; }
.local-copy h3 { margin: 12px 0 8px; font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.2; letter-spacing: -.02em; color: #fff; }
.local-copy p:not(.eyebrow) { color: var(--on-night-muted); }
.local-list { margin: 0; }
.local-list li { color: var(--on-night); }

/* ---------- Kalkulátor és Folyamat-gyorsteszt ---------- */
.calc-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 24px; align-items: stretch; }
.calc {
    display: grid;
    gap: 26px;
    padding: 36px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--card);
    box-shadow: 0 30px 60px -40px rgba(14, 26, 42, .35);
}
.calc-row label { display: block; margin-bottom: 10px; font: 600 15.5px/1.35 var(--f-display); color: var(--ink); }
.calc-input { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: center; }
.calc-input input[type="range"] { width: 100%; margin: 0; accent-color: var(--accent); cursor: pointer; }
.calc-num { display: inline-flex; align-items: center; gap: 8px; }
.calc-num input {
    width: 112px;
    padding: 10px 12px;
    border: 1px solid var(--line-2);
    border-radius: 10px;
    background: #fff;
    font: 600 16px/1.2 var(--f-body);
    color: var(--ink);
    text-align: right;
}
.calc-num input:focus { outline: 2px solid var(--accent-bright); outline-offset: 1px; border-color: var(--accent); }
.calc-unit { min-width: 58px; font-size: 14px; color: var(--muted); }
.calc-result { margin-top: 6px; padding: 28px; border-radius: 18px; background: var(--grad-p); color: #fff; }
.calc-label { font-size: 15px; color: var(--on-night-muted); }
.calc-value { margin: 6px 0 4px; font: 700 clamp(2rem, 3.6vw, 2.9rem)/1.1 var(--f-display); letter-spacing: -.03em; }
.calc-sub { color: var(--on-night-muted); }
.calc-sub strong { font-weight: 600; color: #fff; }
.calc-result .btn { margin-top: 22px; }
.calc-note { margin-top: 14px; font-size: 12.5px; color: var(--on-night-muted); }

.offer {
    display: flex;
    flex-direction: column;
    padding: 36px;
    border: 1px solid var(--night-line);
    border-radius: 24px;
    background: linear-gradient(160deg, #13233A 0%, #0E1A2A 100%);
    color: var(--on-night);
}
.offer-badge {
    align-self: flex-start;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(92, 184, 250, .14);
    font: 700 12px/1 var(--f-display);
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--glow);
}
.offer h3 { margin: 18px 0 10px; font-size: clamp(1.6rem, 2.4vw, 2rem); letter-spacing: -.02em; color: #fff; }
.offer-lead { color: var(--on-night-muted); }
.offer-deliver { margin: 24px 0 12px; font-weight: 600; color: #fff; }
.offer .ticks li { color: var(--on-night); }
.offer-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0; padding-top: 22px; border-top: 1px solid var(--night-line); }
.offer-facts dt { font-size: 13px; color: var(--on-night-muted); }
.offer-facts dd { margin: 4px 0 0; font: 700 20px/1.25 var(--f-display); color: #fff; }
.offer-credit { display: flex; align-items: flex-start; gap: 10px; margin-top: auto; padding-top: 24px; font-size: 14.5px; color: var(--on-night-muted); }
.offer-credit .ico { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--glow); }
.offer-vat { font-size: 13px; font-weight: 400; color: var(--on-night-muted); }
.offer-scope { margin: 10px 0 0; padding-left: 28px; font-size: 13.5px; line-height: 1.5; color: var(--on-night-muted); opacity: .8; }

/* ügyfélvélemény: visszafogott idézetkártya a referenciák alatt */
.quotes { margin-top: 64px; }
.quotes-label { margin: 0 0 22px; text-align: center; font: 600 12.5px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.quote { position: relative; max-width: 780px; margin: 0 auto; padding: 34px 40px 28px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); }
.quote + .quote { margin-top: 20px; }
.quote blockquote { margin: 0; font: 400 18px/1.65 var(--f-body); color: var(--ink-2); }
.quote::before { content: '„'; display: block; font: 700 46px/.55 var(--f-display); color: var(--accent-line); }
.quote figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.quote-who { display: flex; flex-direction: column; gap: 2px; }
.quote-who strong { font: 700 15.5px/1.3 var(--f-display); color: var(--ink); }
.quote-who span { font-size: 14px; color: var(--muted); }
.quote-about { margin-left: auto; padding: 5px 12px; font: 600 12.5px/1 var(--f-body); color: var(--accent-deep); background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: 999px; }

/* kiemelt: sötétkék színátmenetes kártya, benne világos mintafelület */
.ref-feature {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 56px;
    align-items: center;
    padding: 56px;
    overflow: hidden;
    border-radius: 24px;
    background:
        radial-gradient(60% 80% at 100% 0%, rgba(26, 139, 245, .35), transparent 70%),
        linear-gradient(135deg, #0E1A2A 0%, #13294A 60%, #0D4E9C 100%);
    color: var(--on-night);
    box-shadow: 0 40px 90px -40px rgba(13, 60, 120, .6);
}
.deko-feature {
    left: -80px;
    bottom: -60px;
    width: 55%;
    height: 70%;
    transform: scaleX(-1);
    color: rgba(143, 213, 251, .10);
    stroke: rgba(143, 213, 251, .35);
    fill: #102340;
}
.ref-copy { position: relative; }
.ref-feature > *, .ref-grid > * { min-width: 0; }   /* a széles mintafelület ne tolja ki a rácsoszlopot */
.ref-feature .ref-kind { color: var(--glow); }
.ref-feature .ref-live { background: rgba(34, 197, 94, .15); color: #6EE7A0; }
.ref-feature .ref-name { font-size: 40px; color: #fff; }
.ref-feature .ref-title { color: #D3E0EF; }
.ref-feature .ref-text { color: var(--on-night-muted); }
.ref-feature .ticks li { color: #E6EEF7; }
.ref-feature .ticks li::before { border-color: var(--node); background: transparent; }
.ref-feature .ref-metrics { border-top-color: rgba(255, 255, 255, .14); }
.ref-feature .ref-metrics strong { background: linear-gradient(90deg, #7CCBFA, #C6EBFF); -webkit-background-clip: text; background-clip: text; }
.ref-feature .ref-metrics span { color: var(--on-night-muted); }
.ref-feature .ref-tags span { border-color: rgba(143, 213, 251, .22); background: rgba(255, 255, 255, .04); color: #D6E2F0; }

/* mintafelület: pénzügyi áttekintő (kiemelt referencia) */
.ref-cta { margin-top: 26px; }
.showcase {
    position: relative;
    padding: 22px;
    border-radius: 16px;
    background: #fff;
    color: var(--ink);
    box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .6);
    transform: perspective(1400px) rotateY(-5deg) rotateX(2deg);
    transition: transform .5s;
}
.ref-feature:hover .showcase { transform: none; }
.sc-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sc-head p { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sc-head p strong { font: 700 15px/1.2 var(--f-display); }
.sc-head p > span:last-child { font: 500 12px/1 var(--f-mono); color: var(--muted); }
.sc-head .chip { margin: 0; }
.sc-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0 20px; }
.sc-kpis div { padding: 12px 13px; border-radius: 10px; background: var(--paper-2); }
.sc-kpis em { display: block; font-style: normal; font-size: 12px; color: var(--muted); }
.sc-kpis strong { display: block; margin: 5px 0 3px; font: 700 18px/1.1 var(--f-display); letter-spacing: -.02em; white-space: nowrap; }
.sc-kpis span { display: block; font-size: 11.5px; font-weight: 600; color: var(--ok); }
.sc-label { display: flex; justify-content: space-between; font: 600 11px/1 var(--f-display); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.sc-fc-legend { display: inline-flex; align-items: center; gap: 6px; letter-spacing: .04em; text-transform: none; font-weight: 500; }
.sc-fc-legend::before { content: ""; width: 14px; height: 8px; border: 1.5px dashed var(--accent); border-radius: 2px; }
.sc-chart { display: flex; align-items: stretch; gap: 10px; height: 130px; margin: 12px 0 14px; padding-bottom: 4px; border-bottom: 1px solid var(--line); }
.sc-col { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 7px; }
.sc-col em { font: normal 500 10.5px/1 var(--f-mono); color: var(--muted); }
.sc-bar { width: 100%; border-radius: 5px 5px 2px 2px; background: var(--accent-line); }
.scb1 { height: 44%; } .scb2 { height: 57%; } .scb3 { height: 50%; } .scb4 { height: 68%; }
.scb5 { height: 62%; } .scb6 { height: 82%; background: var(--grad-p); }
.scb7 { height: 88%; } .scb8 { height: 94%; }
.sc-fc .sc-bar { background: repeating-linear-gradient(135deg, rgba(11, 95, 204, .10) 0 5px, rgba(11, 95, 204, .22) 5px 10px); border: 1.5px dashed var(--accent); }
.sc-rows { list-style: none; margin: 0; padding: 0; }
.sc-rows li { display: grid; grid-template-columns: 1fr auto 86px; gap: 12px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.sc-rows .chip { margin: 0; font-size: 11px; padding: 4px 9px; }
.sc-rows strong { font: 600 12px/1 var(--f-mono); text-align: right; }
.sc-ai {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-top: 14px;
    padding: 12px 14px;
    border: 1px solid var(--accent-line);
    border-radius: 10px;
    background: var(--accent-soft);
    font-size: 13px;
    color: var(--ink-2);
}
.sc-ai .ico { width: 17px; height: 17px; margin-top: 1px; color: var(--accent); }
.sc-ai strong { color: var(--accent-deep); }

/* két további referencia */
.ref-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
/* ha csak egy további referencia van: vízszintes, teljes szélességű kártya */
.ref-card:only-child { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.ref-card:only-child .ref-vis { display: flex; align-items: flex-end; height: auto; min-height: 300px; padding: 40px 40px 0; }
.ref-card:only-child .mini-app { width: 100%; }
.ref-card:only-child .ref-body { justify-content: center; padding: 40px 44px; }
.ref-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--card);
    transition: transform .3s, box-shadow .3s, border-color .3s;
}
.ref-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--accent-line); }
.ref-vis {
    position: relative;
    padding: 30px 30px 0;
    overflow: hidden;
    background:
        radial-gradient(70% 90% at 100% 0%, rgba(26, 139, 245, .28), transparent 70%),
        linear-gradient(135deg, #0E1A2A 0%, #13294A 100%);
    height: 250px;
}
.ref-vis::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(143, 213, 251, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(143, 213, 251, .05) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}
.mini-app {
    position: relative;
    z-index: 1;
    padding: 16px 18px;
    border-radius: 14px 14px 0 0;
    background: #fff;
    color: var(--ink);
    box-shadow: 0 -10px 40px -10px rgba(0, 0, 0, .5);
    transition: transform .4s;
}
.ref-card:hover .mini-app { transform: translateY(-6px); }
.mini-app-head { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; font: 700 13.5px/1.2 var(--f-display); }
.mini-app-head em { margin-left: auto; font: 600 10.5px/1 var(--f-display); font-style: normal; letter-spacing: .1em; text-transform: uppercase; color: var(--ok); }
.dash-logo { width: 20px; height: 20px; border-radius: 6px; background: var(--grad-p); flex: none; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #22A05A; box-shadow: 0 0 0 4px rgba(34, 160, 90, .18); animation: pulse 2s ease-in-out infinite; }
.mini-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mini-kpis div { padding: 9px 10px; border-radius: 8px; background: var(--paper-2); }
.mini-kpis em { display: block; font-style: normal; font-size: 10.5px; color: var(--muted); }
.mini-kpis strong { display: block; margin-top: 3px; font: 700 14px/1.1 var(--f-display); white-space: nowrap; }
.mini-bars { display: flex; align-items: flex-end; gap: 6px; height: 54px; margin: 12px 0 10px; }
.mb { flex: 1; border-radius: 4px 4px 1px 1px; background: var(--accent-line); }
.mb1 { height: 40%; } .mb2 { height: 55%; } .mb3 { height: 48%; } .mb4 { height: 68%; }
.mb5 { height: 60%; } .mb6 { height: 78%; } .mb7 { height: 72%; } .mb8 { height: 96%; background: var(--grad-p); }
.mini-rows { list-style: none; margin: 0; padding: 0; }
.mini-rows li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 0; border-top: 1px solid var(--line); font-size: 12px; }
.mini-rows .chip { margin: 0; padding: 4px 8px; font-size: 11px; }

/* Nexus mini-konzol */
.mini-dark { background: #13233A; color: var(--on-night); border: 1px solid var(--night-line); border-bottom: 0; }
.mini-dark .mini-app-head { color: #fff; }
.mini-dark .mini-app-head .ico { width: 16px; height: 16px; color: var(--glow); }
.nx-q { margin-left: auto; max-width: 86%; padding: 8px 11px; border-radius: 10px 10px 3px 10px; background: var(--accent); color: #fff; font-size: 12px; line-height: 1.4; width: fit-content; }
.nx-a { margin-top: 9px; font-size: 12px; line-height: 1.5; color: #D6E2F0; }
.nx-src { display: inline-flex; align-items: center; gap: 5px; margin-top: 7px; padding: 3px 7px; border: 1px solid var(--night-line); border-radius: 6px; font: 500 10.5px/1 var(--f-mono); color: var(--on-night-muted); }
.nx-src .ico { width: 11px; height: 11px; }
.nx-approve { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; padding: 8px 10px; border: 1px solid rgba(92, 184, 250, .35); border-radius: 9px; background: rgba(26, 139, 245, .08); font-size: 11px; color: var(--glow); }
.nx-btns { display: flex; gap: 5px; }
.nx-btns i { font-style: normal; padding: 4px 8px; border-radius: 6px; font-weight: 600; white-space: nowrap; }
.nx-yes { background: var(--grad-btn); color: #fff; }
.nx-no { border: 1px solid var(--night-line); color: var(--on-night-muted); }

/* idővonal: eszközfoglalás */
.tl { display: grid; gap: 7px; }
.tl-hours { display: flex; justify-content: space-between; margin-left: 128px; font: 500 10px/1 var(--f-mono); color: var(--muted); }
.tl-row { display: grid; grid-template-columns: 120px 1fr; gap: 8px; align-items: center; }
.tl-name { font-size: 11.5px; font-weight: 500; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tl-track {
    position: relative;
    height: 22px;
    border-radius: 6px;
    background: repeating-linear-gradient(90deg, var(--paper-2) 0 calc(25% - 1px), var(--line) calc(25% - 1px) 25%);
}
.tl-bar { position: absolute; top: 3px; bottom: 3px; border-radius: 4px; }
.tl-foglalt { background: linear-gradient(90deg, #0B5FCC, #1A8BF5); }
.tl-steril { background: #8FD5FB; }
.tl-tartott { background: repeating-linear-gradient(135deg, #F5B642 0 5px, #FBD48A 5px 10px); }
.tl-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 12px; font-size: 11px; color: var(--muted); }
.tl-legend .lg { width: 14px; height: 8px; border-radius: 2px; }
.tls1 { left: 0%; }
.tls2 { left: 6.25%; }
.tls3 { left: 12.5%; }
.tls4 { left: 18.75%; }
.tls5 { left: 25%; }
.tls6 { left: 31.25%; }
.tls7 { left: 37.5%; }
.tls8 { left: 43.75%; }
.tls9 { left: 50%; }
.tls10 { left: 56.25%; }
.tls11 { left: 62.5%; }
.tls12 { left: 68.75%; }
.tls13 { left: 75%; }
.tls14 { left: 81.25%; }
.tls15 { left: 87.5%; }
.tls16 { left: 93.75%; }
.tlw1 { width: 6.25%; }
.tlw2 { width: 12.5%; }
.tlw3 { width: 18.75%; }
.tlw4 { width: 25%; }
.tlw5 { width: 31.25%; }
.tlw6 { width: 37.5%; }
.tlw7 { width: 43.75%; }
.tlw8 { width: 50%; }
.tlw9 { width: 56.25%; }
.tlw10 { width: 62.5%; }
.tlw11 { width: 68.75%; }
.tlw12 { width: 75%; }
.tlw13 { width: 81.25%; }
.tlw14 { width: 87.5%; }
.tlw15 { width: 93.75%; }
.tlw16 { width: 100%; }


/* ---------- Folyamat: idővonal vezetékként ---------- */
.steps {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
.steps::before {
    content: "";
    position: absolute;
    left: 24px;
    right: calc((100% - 96px) / 4 - 24px);   /* az utolsó csomópontnál ér véget */
    top: 23px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--accent-line) 0%, var(--trace) 100%);
}
.step { position: relative; }
.step-num {
    position: relative;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 3px solid var(--trace);
    border-radius: 50%;
    background: var(--paper);
    font: 700 15px/1 var(--f-display);
    color: var(--ink);
}
.step:last-child .step-num { border: 0; background: var(--grad-p); color: #fff; box-shadow: 0 0 0 6px rgba(26, 139, 245, .15); }
.step h3 { margin: 26px 0 10px; font-size: 21px; }
.step p { font-size: 15.5px; color: var(--ink-2); }
.step-meta {
    display: inline-block;
    margin-top: 16px;
    padding: 6px 11px;
    border-radius: 7px;
    background: var(--accent-soft);
    font: 600 12px/1 var(--f-display);
    color: var(--accent-deep);
}

/* ---------- A különbség: dobozos / hagyományos egyedi / mi ---------- */
/* Asztalin a három oszlop subgriddel igazodik a sorcímkékhez, így a cellák egy vonalban vannak */
.cmp {
    display: grid;
    grid-template-columns: minmax(0, .9fr) repeat(3, minmax(0, 1fr));
    grid-template-rows: auto repeat(4, auto);
    gap: 0 16px;
    align-items: stretch;
}
.cmp-labels, .cmp-col { grid-row: 1 / -1; display: grid; grid-template-rows: subgrid; }
.cmp-labels { list-style: none; margin: 0; padding: 0; }
.cmp-labels li {
    display: flex;
    align-items: center;
    padding: 18px 0;
    border-top: 1px solid var(--line);
    font: 600 14.5px/1.35 var(--f-display);
    color: var(--ink-2);
}
.cmp-labels .cmp-spacer { padding: 0; border-top: 0; }
.cmp-col {
    position: relative;
    padding: 0 24px 8px;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--card);
}
.cmp-col dl { display: contents; }
.cmp-head { padding: 26px 0 20px; }
.cmp-head h3 { font-size: 19px; }
.cmp-tag { margin-top: 6px; font-size: 14.5px; color: var(--muted); }
.cmp-cell { display: flex; align-items: center; padding: 18px 0; border-top: 1px solid var(--line); }
.cmp-cell dt { display: none; }
.cmp-cell dd { display: flex; align-items: flex-start; gap: 10px; margin: 0; font-size: 15px; line-height: 1.4; }
.cmp-mark { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; }
.cmp-mark .ico { width: 13px; height: 13px; stroke-width: 2.6; }
.cmp-good .cmp-mark { background: var(--ok-soft); color: var(--ok); }
.cmp-bad .cmp-mark { background: #FBE3E4; color: var(--bad); }
.cmp-bad .cmp-mark .ico { transform: rotate(45deg); }
.cmp-bad dd { color: var(--muted); }
.cmp-hi {
    border: 1.5px solid var(--accent);
    background: var(--night);
    box-shadow: 0 24px 60px -30px rgba(11, 95, 204, .6);
}
.cmp-hi h3 { color: #fff; }
.cmp-hi .cmp-tag { color: var(--glow); font-weight: 600; }
.cmp-hi .cmp-cell { border-top-color: var(--night-line); }
.cmp-hi .cmp-cell dd { color: var(--on-night); font-weight: 500; }
.cmp-hi .cmp-mark { background: var(--grad-btn); color: #fff; }
.cmp-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 36px;
    font: 600 17px/1.45 var(--f-display);
    color: var(--ink);
    text-align: center;
}
.cmp-note .ico { flex: none; width: 20px; height: 20px; color: var(--accent); }

/* ---------- Együttműködési formák ---------- */
.models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.model {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 34px 30px 28px;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--card);
}
.model h3 { font-size: 22px; }
.model > p { margin: 12px 0 22px; font-size: 15.5px; color: var(--ink-2); }
.model .ticks { margin-bottom: 24px; }
.model-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    font: 600 13.5px/1.3 var(--f-display);
    color: var(--ink-2);
}
.model-meta .ico { width: 17px; height: 17px; color: var(--accent); }
.model-hi { border: 1.5px solid var(--accent); box-shadow: 0 24px 60px -30px rgba(11, 95, 204, .5); }
.model-badge {
    position: absolute;
    top: -13px;
    left: 28px;
    padding: 6px 12px;
    border-radius: 7px;
    background: var(--grad-btn);
    color: #fff;
    font: 600 11px/1 var(--f-display);
    letter-spacing: .1em;
    text-transform: uppercase;
}

/* ---------- Miért mi ---------- */
/* „Miért mi”: sáv a folyamat-szekció alján (korábban külön szekció volt) */
.why-strip { margin-top: 96px; padding-top: 56px; border-top: 1px solid var(--line); }
.why-list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 44px; margin: 28px 0 0; padding: 0; }
.why-list li { display: flex; align-items: flex-start; gap: 16px; }
.why-list h3 { margin: 2px 0 6px; font-size: 17px; }
.why-list p { font-size: 15px; line-height: 1.5; color: var(--muted); }
.models-cta { margin-top: 40px; text-align: center; }


.mini-ico { flex: none; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); }

/* ---------- GYIK ---------- */
.faq-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 72px; align-items: start; }
.faq-head { position: sticky; top: 120px; }
.faq-head h2 { margin: 18px 0 20px; font-size: clamp(2rem, 3.2vw, 2.8rem); line-height: 1.1; letter-spacing: -.03em; }
.faq-head p:not(.eyebrow) { color: var(--ink-2); }
.faq-head a { font-weight: 600; color: var(--accent); text-decoration: none; }
.faq-head a:hover { text-decoration: underline; }

.faq details { border-bottom: 1px solid var(--line-2); }
.faq details:first-child { border-top: 1px solid var(--line-2); }
.faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 0;
    list-style: none;
    cursor: pointer;
    font: 600 18px/1.4 var(--f-display);
    letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.pm {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    flex: none;
    border: 1px solid var(--line-2);
    border-radius: 50%;
    transition: transform .25s, background-color .25s, color .25s, border-color .25s;
}
.pm .ico { width: 16px; height: 16px; }
.faq details[open] .pm { transform: rotate(45deg); background: var(--accent); border-color: var(--accent); color: #fff; }
.faq-body { padding: 0 56px 26px 0; color: var(--ink-2); }

/* ---------- Kapcsolat ---------- */
.section-contact { padding-bottom: 120px; }
.contact {
    position: relative;
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 64px;
    padding: 64px;
    overflow: hidden;
    border-radius: 24px;
    background:
        radial-gradient(60% 80% at 0% 100%, rgba(26, 139, 245, .28), transparent 70%),
        linear-gradient(135deg, #0E1A2A 0%, #13294A 100%);
    color: var(--on-night);
}
.contact-copy { position: relative; }
.contact h2 { margin: 18px 0 18px; font-size: clamp(2rem, 3.4vw, 2.9rem); line-height: 1.1; letter-spacing: -.03em; color: #fff; }
.contact-lead { font-size: 17.5px; color: var(--on-night-muted); }
.contact-points { list-style: none; margin: 30px 0; padding: 0; display: grid; gap: 12px; }
.contact-points li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.contact-points .ico {
    width: 24px;
    height: 24px;
    padding: 4px;
    border-radius: 50%;
    background: rgba(92, 184, 250, .18);
    color: var(--glow);
    stroke-width: 2.4;
}
.contact-direct {
    display: flex;
    gap: 14px;
    padding-top: 26px;
    border-top: 1px solid var(--night-line);
    font-size: 15px;
    color: var(--on-night-muted);
}
.contact-direct .ico { width: 22px; height: 22px; margin-top: 2px; color: var(--glow); }
.contact-direct a { color: #fff; font-weight: 600; text-decoration: none; }

.form {
    position: relative;
    display: grid;
    gap: 16px;
    padding: 32px;
    border-radius: 16px;
    background: #fff;
    color: var(--ink);
}
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; margin-bottom: 7px; font-size: 14px; font-weight: 600; }
.req { color: var(--accent); }
.opt { margin-left: 4px; font-size: 12.5px; font-weight: 400; color: var(--muted); }
.hint { margin-top: -6px; font-size: 13px; color: var(--muted); }

.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form select,
.form textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid var(--line-2);
    border-radius: 10px;
    background: var(--paper-2);
    color: var(--ink);
    font: inherit;
    font-size: 16px;
    line-height: 1.4;
    transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.form select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
    background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%;
    background-size: 5px 5px;
    background-repeat: no-repeat;
    padding-right: 40px;
}
.form textarea { resize: vertical; min-height: 130px; }
.form ::placeholder { color: #8795A6; }
.form input:focus, .form select:focus, .form textarea:focus {
    outline: none;
    border-color: var(--accent);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(11, 95, 204, .14);
}
.form .invalid { border-color: var(--bad); }

.consent { display: flex; gap: 11px; font-size: 14px; line-height: 1.5; color: var(--ink-2); cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--accent); }
.consent a { color: var(--accent); font-weight: 600; }
.consent.invalid span { color: var(--bad); }

.error { margin-top: 6px; font-size: 13px; font-weight: 500; color: var(--bad); }
.error:empty { display: none; }

.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-note { font-size: 14px; }
.form-note:empty { display: none; }
.form-note.ok { color: var(--ok); }
.form-note.bad { color: var(--bad); }

/* ---------- Lábléc ---------- */
.footer { padding: 84px 0 34px; background: #0B1523; color: var(--on-night-muted); }
.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 52px;
    border-bottom: 1px solid var(--night-line);
}

.footer-brand p { max-width: 24em; margin-top: 22px; font-size: 15px; }
.footer-col h2,
.imprint h2 {
    margin-bottom: 16px;
    font: 600 12px/1 var(--f-display);
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #fff;
}
.footer-col a { display: block; padding: 6px 0; font-size: 15px; color: var(--on-night-muted); text-decoration: none; }
.footer-col a:hover { color: var(--glow); }

.imprint { padding: 36px 0; border-bottom: 1px solid var(--night-line); }
.imprint dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 32px; }
.imprint dt { font-size: 12.5px; color: var(--on-night-muted); opacity: .8; }
.imprint dd { margin-top: 3px; font-size: 14.5px; color: var(--on-night); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-top: 28px;
    font-size: 13.5px;
}
.footer-bottom a { color: var(--on-night-muted); text-decoration: none; }
.footer-bottom a:hover { color: var(--glow); }

/* ---------- Jogi oldal ---------- */
.legal { padding: 72px 0 120px; background: linear-gradient(180deg, #F6F9FD 0, #fff 320px); }
.legal .wrap { max-width: 860px; }
.legal h1 { margin: 18px 0 12px; font-size: clamp(2.2rem, 4vw, 3.2rem); letter-spacing: -.035em; }
.legal-meta { font: 500 13px/1.4 var(--f-mono); color: var(--muted); }
.legal-notice {
    display: flex;
    gap: 12px;
    margin: 32px 0 12px;
    padding: 16px 18px;
    border: 1px solid var(--accent-line);
    border-radius: var(--r);
    background: var(--accent-soft);
    color: var(--accent-deep);
    font-size: 15px;
}
.legal h2 { margin: 52px 0 14px; font-size: 23px; letter-spacing: -.02em; }
.legal p:not(.eyebrow), .legal li { color: var(--ink-2); }
.legal p + p, .legal ul + p, .legal .table-wrap + p { margin-top: 14px; }
.legal ul { margin: 12px 0; padding-left: 22px; }
.legal li { margin: 6px 0; }
.legal li::marker { color: var(--accent); }
.legal a { color: var(--accent); }
.table-wrap { margin: 16px 0; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table-wrap th {
    padding: 12px 16px;
    background: var(--paper-2);
    text-align: left;
    font: 600 11px/1.3 var(--f-display);
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink-2);
}
.table-wrap td { padding: 12px 16px; border-top: 1px solid var(--line); vertical-align: top; }
.legal-foot { margin-top: 56px; }
.ico-back { transform: rotate(180deg); }
/* 404: a három nyelv egymás alatt, a második-harmadik halványabb vonallal elválasztva */
.notfound .notfound-lang + .notfound-lang { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.notfound h2 { margin-top: 18px; }
.notfound .legal-foot { margin-top: 28px; }
.btn:hover .ico-back { transform: rotate(180deg) translateX(3px); }

/* ---------- Görgetésre előtűnés (csak ahol a böngésző tudja, JS nélkül) ---------- */
@supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
        .reveal {
            animation: reveal linear both;
            animation-timeline: view();
            animation-range: entry 0% entry 35%;
        }
    }
}
@keyframes reveal {
    from { opacity: 0; transform: translateY(28px); }
    to { opacity: 1; transform: none; }
}

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

/* ---------- Reszponzív ---------- */
/* a fejléc hamarabb vált mobilmenüre: a szélesebb logó és a hosszabb német menüpontok miatt */
@media (max-width: 1260px) {
    .nav-links { display: none; }
    .nav-cta { display: none; }
    .nav-right { margin-left: auto; }
    .burger { display: flex; }
}

@media (max-width: 1140px) {
    .nav-links { display: none; }
    .nav-cta { display: none; }
    .nav-right { margin-left: auto; }
    .burger { display: flex; }

    .hero-in { grid-template-columns: 1fr; gap: 64px; }
    .flow { justify-self: start; max-width: 560px; }
    .float-a { left: -12px; }
    .float-b { right: -12px; }
    .stats-list { grid-template-columns: 1fr 1fr; gap: 36px 0; }
    .stats-list li:nth-child(3) { padding-left: 0; border-left: 0; }
    .pipe { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
    .pipe::before, .pipe::after { display: none; }

    .section-head.split { grid-template-columns: 1fr; gap: 0; }
    .section-head.split h2 { margin-bottom: 20px; }

    .bento { grid-template-columns: 1fr 1fr; }
    .card-wide { grid-column: span 2; }

    .ws-grid { grid-template-columns: 1fr; }
    .console { position: static; }
    .apply { grid-template-columns: 1fr; gap: 40px; }
    .local-band { grid-template-columns: auto minmax(0, 1fr); }
    .calc-grid { grid-template-columns: 1fr; }
    .local-list { grid-column: 1 / -1; }

    .ref-feature { grid-template-columns: 1fr; gap: 40px; padding: 44px; }
    .showcase { transform: none; }
    .ref-grid { grid-template-columns: 1fr; }
    .ref-card:only-child { grid-template-columns: 1fr; }
    .ref-card:only-child .ref-vis { min-height: 250px; padding: 30px 30px 0; }
    .ref-card:only-child .ref-body { padding: 28px 32px 32px; }
    .models { grid-template-columns: 1fr; }
    .cmp { grid-template-columns: 1fr; grid-template-rows: none; gap: 20px; }
    .cmp-labels { display: none; }
    .cmp-col { grid-row: auto; display: block; padding-bottom: 12px; }
    .cmp-col dl { display: block; margin: 0; }
    .cmp-cell { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 16px; padding: 14px 0; }
    .cmp-cell dt { display: block; font: 600 13.5px/1.35 var(--f-display); color: var(--muted); }
    .cmp-hi .cmp-cell dt { color: var(--on-night-muted); }
    .steps { grid-template-columns: 1fr 1fr; gap: 48px 32px; }
    .steps::before { display: none; }

    .faq-grid { grid-template-columns: 1fr; gap: 48px; }
    .faq-head { position: static; }
    .why-list { grid-template-columns: 1fr 1fr; }

    .contact { grid-template-columns: 1fr; gap: 44px; padding: 48px; }
    .footer-top { grid-template-columns: 1fr 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
    body { font-size: 16px; }
    .wrap { padding: 0 20px; }
    .nav-in { height: 68px; gap: 12px; }
    .brand-img { width: auto; height: 50px; }
    .lang a { padding: 6px 7px; }

    .hero { padding-top: 56px; }
    .float { display: none; }
    .local-band { grid-template-columns: 1fr; padding: 26px 22px; }
    .calc, .offer { padding: 24px 20px; border-radius: 20px; }
    .calc-input { grid-template-columns: 1fr; gap: 10px; }
    .calc-result { padding: 22px 20px; }
    .offer-facts { grid-template-columns: 1fr; }
    .local-ico { width: 48px; height: 48px; }
    .marquee { flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 64px; padding: 22px 20px; }
    .marquee-label { max-width: none; }
    .marquee-view { width: 100%; }
    .stats-list { grid-template-columns: 1fr; gap: 28px; padding: 44px 0; }
    .stats-list li, .stats-list li:nth-child(3) { padding: 0; border-left: 0; }
    .pipe { grid-template-columns: 1fr; margin-bottom: 64px; }
    .hero-sub { font-size: 17.5px; }
    .hero-cta .btn { width: 100%; }
    .flow-back { display: none; }

    .section { padding: 80px 0; }
    .section-head { margin-bottom: 40px; }
    .section-head p:not(.eyebrow) { font-size: 17px; }

    .cmp-cell { grid-template-columns: 1fr; gap: 6px; }
    .cmp-note { justify-content: flex-start; text-align: left; font-size: 16px; }
    .bento { grid-template-columns: 1fr; }
    .card-wide { grid-column: auto; }
    .card-wide .card-body { grid-template-columns: 1fr; gap: 8px; }
    .card { padding: 24px; }

    .deko-night { display: none; }
    .feat { grid-template-columns: 1fr; gap: 28px; }
    .console-body { grid-template-columns: 1fr; }
    .console-side { display: none; }
    .console-main { padding: 18px; }
    .apply { margin-top: 72px; padding-top: 48px; }
    .apply-list { grid-template-columns: 1fr; }

    .ref-feature { padding: 26px 20px; border-radius: 20px; }
    .ref-feature .ref-name { font-size: 32px; }
    .showcase { padding: 14px; }
    .sc-kpis { grid-template-columns: 1fr 1fr; }
    .sc-kpis div:last-child { grid-column: span 2; }
    .sc-rows li { grid-template-columns: 1fr auto; }
    .sc-rows strong { display: none; }
    .sc-chart { gap: 5px; }
    .sc-kpis strong { font-size: 15px; white-space: normal; }
    .sc-head { flex-wrap: wrap; }
    .ref-vis { padding: 20px 16px 0; height: 230px; }
    .ref-body { padding: 22px 20px 24px; }
    .tl-row { grid-template-columns: 84px 1fr; }
    .tl-hours { margin-left: 92px; }
    .mini-kpis strong { font-size: 12px; }

    .steps { grid-template-columns: 1fr; gap: 36px; }
    .why-strip { margin-top: 64px; padding-top: 40px; }
    .why-list { grid-template-columns: 1fr; gap: 24px; }
    .faq summary { font-size: 16.5px; }
    .faq-body { padding-right: 0; }

    .contact { padding: 28px 20px; border-radius: 20px; }
    .form { padding: 22px; }
    .row2 { grid-template-columns: 1fr; }

    .footer-top { grid-template-columns: 1fr 1fr; }
    .imprint dl { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; }
}
