@charset "utf-8";
/* ==========================================================================
   KLDENT – app.css
   A weboldal teljes stíluslapja, cascade-layer alapú architektúrával.
   A rétegek sorrendje adja a specificitási alapot: a később deklarált réteg
   felülírja a korábbit, így a komponensek elem-specificitástól függetlenül
   kiszámítható sorrendben érvényesülnek.
   ========================================================================== */

@layer reset, tokens, base, layout, components, utilities, responsive;

/* ==========================================================================
   1) RESET
   ========================================================================== */
@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  html, body, div, span, applet, object, iframe,
  h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, address, big, cite,
  code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub,
  sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form,
  label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article,
  aside, footer, header, main, nav, section, figure, figcaption {
    margin: 0; padding: 0; border: 0; vertical-align: baseline; background: transparent;
  }
  article, aside, details, figcaption, figure, footer, header, main, menu,
  nav, section, summary, div, ul { display: block; }
  html {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
  }
  body, html { height: 100%; }
  body { overflow-x: hidden; cursor: default; }
  ul, ol { list-style: none; }
  a, a:link, a:visited, a:active, a:focus, a:hover { text-decoration: none; outline: 0; cursor: pointer; }
  table { border-collapse: collapse; border-spacing: 0; }
  svg { display: inline-block; vertical-align: top; }
  i { vertical-align: top; }
  i > svg { display: block; }
  img { max-width: 100%; height: auto; border: 0; }
  ::selection { background: #599ce0; color: #000; }
  /* form elemek reset-je */
  input[type=button], input[type=submit], button[type=button], input[type=text],
  input[type=password], input[type=email], input[type=number], textarea, select, button {
    outline: 0; border: 0; margin: 0; background: 0; text-transform: none; -webkit-appearance: none; appearance: none;
  }
  button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
  input[type="checkbox"] { display: none; }
  textarea { resize: vertical; }
  .hidden { display: none !important; }
}

/* ==========================================================================
   2) DESIGN TOKENS
   ========================================================================== */
@layer tokens {
  :root {
    /* márka-színek */
    --primary-color: rgba(85,213,187,1.0);
    --primary-hgh-color: rgba(85,213,187,0.8);
    --primary-med-color: rgba(85,213,187,0.6);
    --primary-low-color: rgba(85,213,187,0.2);
    --primary-elw-color: rgba(85,213,187,0.05);

    --secondary-color: rgba(185,222,228,1.0);
    --secondary-hgh-color: rgba(185,222,228,0.8);
    --secondary-med-color: rgba(185,222,228,0.6);
    --secondary-low-color: rgba(185,222,228,0.2);

    --tertiary-color: rgba(252,13,27,1.0);
    --tertiary-hgh-color: rgba(252,13,27,0.8);
    --tertiary-med-color: rgba(252,13,27,0.6);
    --tertiary-low-color: rgba(252,13,27,0.2);
    --tertiary-elw-color: rgba(252,13,27,0.05);

    --light-color: rgba(247,250,255,1.0);
    --light-hgh-color: rgba(247,250,255,0.8);
    --light-med-color: rgba(247,250,255,0.6);
    --light-low-color: rgba(247,250,255,0.2);

    --white-color: rgba(255,255,255,1.0);
    --white-hgh-color: rgba(255,255,255,0.8);
    --white-med-color: rgba(255,255,255,0.6);
    --white-low-color: rgba(255,255,255,0.2);
    --white-elw-color: rgba(255,255,255,0.1);

    --dark-color: rgba(23,34,56,1.0);
    --dark-hgh-color: rgba(23,34,56,0.8);
    --dark-med-color: rgba(23,34,56,0.6);
    --dark-low-color: rgba(23,34,56,0.2);

    /* tipográfia */
    --text-size: calc(16px + 0.1vw);
    --text-fix-size: 18px;
    --text-min-size: 15px;
    --nav-size: 16px;
    --h1-size: calc(36px + 0.4vw);
    --h2-size: calc(30px + 0.4vw);
    --h3-size: calc(24px + 0.4vw);
    --h4-size: calc(22px + 0.2vw);
    --h5-size: calc(16px + 0.2vw);

    /* térközök */
    --ws-x: 5%;
    --ws-x-md: 40px;
    --ws-x-sm: 20px;
    --ws-x-xs: 10px;
    --ws-y: 80px;
    --ws-y-md: 40px;
    --ws-y-sm: 20px;
    --ws-y-xs: 10px;

    /* elrendezés – a --header PONTOSAN a floating pill teljes magassága
       (14px felső rés + 10+10 pill-padding + --logo), hogy a hero-tartalom
       réstelenül, átfedés nélkül simuljon a fejléchez */
    --header: 82px;
    --logo: 46px;
    --wrapper: 94%;

    /* lekerekítés */
    --rds-md: 14px;
    --rds-lg: 44px;

    /* ikonok */
    --icon-sm: 20px;
    --icon-md: 28px;
    --icon-lg: 100px;
    --icon-xl: 70px;

    /* egyéb */
    --button-size: 14px;
    --profileImage: 120px;
    --galleryImage: 240px;

    /* szolgáltatáskártya-rács (token-vezérelt, egyenlő magasságú kártyák) */
    --services-col: 3;
    --services-gap: 20px;
    /* kapcsolódó szolgáltatás-kártyák rácsa */
    --category-col: 3;

    --ease: cubic-bezier(0.25, 0.1, 0.25, 1);

    /* fejléc / nav / lábléc – árnyék- és mozgás-tokenek
       (az árnyék tintáját a --dark-color HSL-értéke adja) */
    --ease-t: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    --ease-slow: 0.5s cubic-bezier(0.2, 0.6, 0.2, 1);
    --shadow-color: 220 42% 16%;
    --sh-nav: 0 10px 40px hsl(var(--shadow-color) / 0.12), 0 2px 8px hsl(var(--shadow-color) / 0.06);
    --sh-nav-scrolled: 0 14px 46px hsl(var(--shadow-color) / 0.17), 0 2px 10px hsl(var(--shadow-color) / 0.07);
    --sh-drawer: -20px 0 60px hsl(var(--shadow-color) / 0.28);
    --nav-pill-radius: 16px;
    --drawer-w: min(87vw, 360px);
  }
}

/* ==========================================================================
   3) BASE – tipográfia, alap elemek
   ========================================================================== */
@layer base {
  html, body, form, input, button, textarea, select, label, fieldset,
  h1, h2, h3, h4, h5, h6, p, pre, code, blockquote {
    font-family: "Montserrat", Helvetica, Arial, sans-serif;
    font-size: 14px; line-height: 20px; font-weight: 400;
  }

  h1, h2, a { font-family: "Red Hat Display", sans-serif; }
  h3, h4, h5, h6, p, small, ul > li, label, input, select, textarea,
  [class*='button--'], button, .cbar-text { font-family: "Montserrat", sans-serif; }

  h1 { font-size: var(--h1-size); color: var(--dark-color); line-height: 1.1; font-weight: 900; }
  h2 { font-size: var(--h2-size); color: var(--primary-color); line-height: 1.1; font-weight: 900; text-transform: uppercase; }
  h2 > small { color: var(--primary-med-color); margin-bottom: 15px; letter-spacing: 5px; text-transform: none; }
  h3 { font-size: var(--h3-size); color: var(--dark-color); line-height: 1.2; font-weight: 600; }
  h4 { font-size: var(--h4-size); color: var(--primary-color); line-height: 1.2; font-weight: 900; text-transform: uppercase; }
  h5 { font-size: var(--h5-size); color: var(--dark-color); line-height: 1.2; font-weight: 400; }
  h1 + h5, h2 + h5, h4 + h5 { margin-top: 10px; max-width: 800px; display: inline-block; }
  h6 { font-size: var(--text-fix-size); font-weight: 600; color: var(--dark-color); line-height: 1.2; }

  p { font-size: var(--text-size); font-weight: 400; line-height: 1.4; color: var(--dark-color); margin: 15px 0; }
  p:first-child { margin-top: 0; }
  small { display: block; font-weight: 400; color: var(--dark-color); font-size: var(--text-min-size); }

  a { color: var(--dark-color); transition: 0.5s ease-out; }
  a:hover { color: var(--primary-color); }

  #page { min-height: 100%; position: relative; overflow: hidden; }
  main:not(.main--index) { background: var(--white-color); }
}

/* ==========================================================================
   4) LAYOUT – wrapper, grid, sor/térköz-helperek
   ========================================================================== */
@layer layout {
  .wrapper { margin: auto; width: var(--wrapper); max-width: 1300px; display: block; position: relative; }
  .wrapper0 { margin: auto; width: 100%; max-width: 1300px; display: block; position: relative; }
  .is-full { display: block; width: 100%; }

  /* oszlop-grid: c-* / cm0-* segédosztályok */
  [class*='c-'] { display: block; width: 102%; margin-left: -1%; }
  [class*='c0-'], [class*='cm0-'] { display: block; width: 100%; }
  [class*='c-']::after, [class*='c0-']::after, [class*='cm0-']::after { content:''; clear: both; display: table; }
  [class*='c-'] > *, [class*='c0-'] > * { margin-left: 1%; margin-right: 1%; }
  [class*='c-'] > *, [class*='c0-'] > *, [class*='cm0-'] > * { float: left; display: inline-block; }

  .c-xx-1 > *, .c0-xx-1 > * { width: 98%; }
  .c-xx-2 > *, .c0-xx-2 > * { width: 48%; }
  .c-xx-3 > *, .c0-xx-3 > * { width: 31.333333%; }
  .c-xx-4 > *, .c0-xx-4 > * { width: 23%; }
  .c-xx-5 > *, .c0-xx-5 > * { width: 18%; }
  .c-xx-6 > *, .c0-xx-6 > * { width: 14.666666%; }
  .cm0-xx-1 > * { width: 100%; }
  .cm0-xx-2 > * { width: 50%; }
  .cm0-xx-3 > * { width: 33.333333%; }
  .cm0-xx-4 > * { width: 25%; }
  .cm0-xx-5 > * { width: 20%; }
  .cm0-xx-6 > * { width: 16.666666%; }
  .cm0-xx-7 > * { width: 14.285714%; }

  .eq { display: flex; flex-wrap: wrap; flex: 1 1 auto; }
  .eq > * { flex: 1 0 auto; }
  .eqHWrap { display: flex; flex-wrap: wrap; }

  /* térköz-helperek */
  .row-x { padding-left: var(--ws-x); padding-right: var(--ws-x); }
  .row-x-md { padding-left: var(--ws-x-md); padding-right: var(--ws-x-md); }
  .row-y { padding-top: var(--ws-y); padding-bottom: var(--ws-y); }
  .row-y-md { padding-top: var(--ws-y-md); padding-bottom: var(--ws-y-md); }
  .row-t { padding-top: var(--ws-y); }
  .row-t-md { padding-top: var(--ws-y-md); }
  .row-b { padding-bottom: var(--ws-y); }
  .row-b-md { padding-bottom: var(--ws-y-md); }
  .ws-t { margin-top: var(--ws-y); }
  .ws-b { margin-bottom: var(--ws-y); }
  .ws-t-md { margin-top: var(--ws-y-md); }
  .ws-b-md { margin-bottom: var(--ws-y-md); }
  .row-max { max-width: 1000px; margin-left: auto; margin-right: auto; }
  .y-center { display: flex; align-items: center; }
}

/* ==========================================================================
   5) COMPONENTS
   ========================================================================== */
@layer components {

  /* ---- HEADER  ·  lebegő pill ---------------------------------------- */
  .site-header {
    z-index: 99; position: fixed; top: 0; left: 0; right: 0;
    padding: 14px var(--ws-x-sm) 0;
    background: transparent;
    transition: padding var(--ease-slow);
  }
  /* a pill-sáv maga a .wrapper (lebegő, blur-ös, lekerekített, árnyékolt).
     A fő tartalmi konténerhez igazodik: max-width 1300px, középre – NEM
     teljes viewport-szélesség, elegáns, egyforma oldalmargóval. */
  .site-header > .wrapper {
    width: var(--wrapper); max-width: 1300px; margin-inline: auto;
    height: auto; min-height: calc(var(--logo) + 20px);
    display: flex; align-items: center; gap: clamp(10px, 1.6vw, 22px);
    padding: 10px 16px 10px 22px;
    background: color-mix(in srgb, var(--white-color) 88%, transparent);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid var(--white-hgh-color);
    box-shadow: var(--sh-nav);
    border-radius: var(--nav-pill-radius);
    transition: padding var(--ease-slow), box-shadow var(--ease-slow);
  }
  /* görgetett állapot (JS teszi rá az .is-scrolled-et) – tömörebb, erősebb */
  .site-header.is-scrolled { padding-top: 8px; }
  .site-header.is-scrolled > .wrapper {
    padding-top: 7px; padding-bottom: 7px; box-shadow: var(--sh-nav-scrolled);
  }

  .site-header__logo { position: static; flex: 0 0 auto; display: inline-flex; align-items: center; height: var(--logo); line-height: 0; z-index: 99; }
  .site-header__logo > svg { display: block; height: var(--logo); width: auto; fill: var(--dark-color); transition: fill 0.5s ease-out; }
  .site-header__logo > svg .logocls { fill: var(--primary-color); transition: fill 0.5s ease-out; }
  .site-header__logo:hover > svg { fill: var(--primary-color); }

  /* nav-konténer középre (a köztes <div> is flex, hogy az ul középen üljön) */
  .site-nav { flex: 1 1 auto; display: flex; justify-content: center; min-width: 0; margin-left: 0; }
  .site-nav > div { display: flex; justify-content: center; width: 100%; }
  .site-nav__list { display: flex; align-items: center; justify-content: center; gap: 2px; flex-wrap: nowrap; }
  .site-nav__list > li { display: inline-block; vertical-align: top; padding: 0; }
  .site-nav__list > li > a {
    position: relative; display: inline-flex; align-items: center;
    padding: 9px 12px; font-size: var(--nav-size); font-weight: 600;
    color: var(--dark-color); white-space: nowrap; border-radius: var(--ws-x-xs);
    transition: color var(--ease-t), background var(--ease-t);
  }
  .site-nav__list > li > a:hover,
  .site-nav__list > li.current > a { color: var(--primary-color); }
  /* animált gradiens-aláhúzás, a szöveg szélességéhez kötve */
  .site-nav__list > li > a::after {
    content: ''; position: absolute; left: 12px; right: 12px; bottom: 5px;
    height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0); transform-origin: center; opacity: 0;
    transition: transform var(--ease-t), opacity var(--ease-t);
  }
  .site-nav__list > li > a:hover::after,
  .site-nav__list > li.current > a::after { transform: scaleX(1); opacity: 0.95; }
  .site-nav__list > li.current > a { font-weight: 900; }
  .site-nav__list > li:first-child { display: none; }

  /* ---- NAV-CTA: az utolsó menüpont (Kapcsolat / Contact) ------------- */
  /* A KLDENT aszimmetrikus „levél”-forma kicsinyített változata – ugyanaz a
     formanyelv, mint a CTA-gomboké, csak a nav méretére hangolva. */
  .site-nav__list > li:last-child { margin-left: 6px; }
  .site-nav__list > li:last-child > a {
    color: var(--white-color); background: var(--primary-color);
    padding: 10px 20px; border-radius: var(--ws-x-xs);
    border-top-left-radius: 22px; border-bottom-right-radius: 22px;
    box-shadow: 0 4px 14px hsl(var(--shadow-color) / 0.18);
    transition: background var(--ease-t), transform var(--ease-t), box-shadow var(--ease-t); }
  .site-nav__list > li:last-child > a::after { display: none; }
  /* A CTA hover-állapota KIZÁRÓLAG tényleges hoverre szól. Korábban a
     `.current` is ide volt csoportosítva, ezért a Kapcsolat oldalon a saját
     menügombja tartósan a hover-kinézetet vette fel (sötétebb háttér, 2px
     emelés, erősebb árnyék) – így a CTA oldalanként eltérően nézett ki. */
  .site-nav__list > li:last-child > a:hover {
    color: var(--white-color); background: color-mix(in srgb, var(--primary-color) 85%, #000);
    transform: translateY(-2px); box-shadow: 0 8px 20px hsl(var(--shadow-color) / 0.24); }
  /* Az általános `.current` szabály 900-as betűvastagságot ad; a CTA-nál ezt
     visszaállítjuk az alap 600-ra, hogy minden oldalon azonos legyen. */
  .site-nav__list > li:last-child.current > a { font-weight: 600; }
  .site-nav__list > li:last-child > a:active { transform: translateY(0); }

  /* ---- „FOGSZABÁLYOZÁS” LENYÍLÓ PANEL (desktop) --------------------- */
  .site-nav__list > li.has-dropdown > a > .nav-caret {
    width: 12px; height: 12px; margin-left: 5px; flex: 0 0 auto;
    color: currentColor; transition: transform var(--ease-t); }
  .site-nav__list > li.has-dropdown:hover > a > .nav-caret,
  .site-nav__list > li.has-dropdown:focus-within > a > .nav-caret { transform: rotate(180deg); }

  .site-nav__list > li.has-dropdown > ul.nav-dropdown {
    display: grid; grid-template-columns: 1fr 1fr; gap: 2px 6px;
    position: absolute; top: calc(100% + 14px); left: 50%;
    transform: translateX(-50%) translateY(8px);
    width: max-content; max-width: min(92vw, 620px); padding: 10px;
    background: var(--white-color); border: 1px solid var(--primary-low-color);
    border-radius: var(--rds-md); box-shadow: 0 26px 60px hsl(var(--shadow-color) / 0.20);
    opacity: 0; visibility: hidden; pointer-events: none; z-index: 60;
    transition: opacity 0.2s ease, transform 0.22s ease, visibility 0s linear 0.2s; }
  /* Láthatatlan „híd” a menüpont és a panel közt.
     FONTOS: a panel pozicionálási kontextusa nem a menüpont, hanem a fejléc
     pill-je (a `li` `position:static`), ezért a `top:100%` a PILL aljához mér,
     és a menüpont alja alatt ~30px-es holt sáv keletkezik. A hídnak ezt a
     TELJES sávot le kell fednie – különben az egér lefelé mozgatásakor egy
     pillanatra sem a `li`, sem a panel nem `:hover`, és a menü becsukódik.
     A 34px-es magasság 4px-es átfedést hagy a menüponttal (nincs félpixeles
     rés), a szélessége a panelével azonos, így ferde egérmozgásnál is fog. */
  .site-nav__list > li.has-dropdown > ul.nav-dropdown::before {
    content: ''; position: absolute; top: -34px; left: 0; right: 0; height: 36px;
    background: transparent; pointer-events: auto; }
  .site-nav__list > li.has-dropdown:hover > ul.nav-dropdown,
  .site-nav__list > li.has-dropdown:focus-within > ul.nav-dropdown {
    opacity: 1; visibility: visible; pointer-events: auto;
    transform: translateX(-50%) translateY(0);
    transition: opacity 0.2s ease, transform 0.22s ease, visibility 0s; }
  .site-nav__list > li.has-dropdown > ul.nav-dropdown > li { display: block; margin: 0; padding: 0; }
  .site-nav__list > li.has-dropdown > ul.nav-dropdown > li.nav-dropdown__all { grid-column: 1 / -1; }
  .site-nav__list > li.has-dropdown > ul.nav-dropdown > li > a {
    display: flex; align-items: center; min-height: 40px; padding: 8px 12px;
    border-radius: var(--ws-x-xs); font-size: 14px; font-weight: 600;
    color: var(--dark-color); line-height: 1.25; white-space: nowrap; background: none;
    transition: background var(--ease-t), color var(--ease-t); }
  .site-nav__list > li.has-dropdown > ul.nav-dropdown > li > a::after { display: none !important; }
  .site-nav__list > li.has-dropdown > ul.nav-dropdown > li > a:hover {
    background: var(--primary-low-color); color: var(--primary-color); }
  .site-nav__list > li.has-dropdown > ul.nav-dropdown > li.nav-dropdown__all > a {
    font-weight: 900; color: var(--primary-color); }
  /* az aktív elem szabálya KÉSŐBB áll, hogy a türkiz alapon fehér szöveg nyerjen */
  .site-nav__list > li.has-dropdown > ul.nav-dropdown > li.current > a {
    background: var(--primary-color); color: var(--white-color); }

  /* nyelvváltó + hamburger jobb oldali csoport */
  .site-header__lang { flex: 0 0 auto; display: flex; align-items: center; gap: var(--ws-x-xs); }
  .site-header__lang > a {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 10px; border-radius: var(--ws-x-xs);
    font-size: 13px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.02em;
    color: var(--dark-color); transition: background var(--ease-t), color var(--ease-t);
  }
  .site-header__lang > a:hover { background: var(--primary-low-color); color: var(--primary-color); }
  .site-header__lang > a > svg { display: inline-block; height: var(--icon-sm); width: var(--icon-sm); border-radius: 3px; }

  /* hamburger – 44×44 tap-target, aktív állapotban X */
  .nav-toggle {
    display: none; position: relative; z-index: 99; flex: 0 0 auto;
    width: 44px; height: 44px; cursor: pointer;
    border: 1px solid var(--primary-low-color); border-radius: 12px;
    background: var(--white-color); transition: background var(--ease-t), border-color var(--ease-t);
  }
  .nav-toggle:hover { background: var(--primary-elw-color); border-color: var(--primary-med-color); }
  .nav-toggle span { position: absolute; left: 12px; width: 20px; height: 2px; background: var(--primary-color); border-radius: 2px; transition: .25s ease-in-out; }
  .nav-toggle span:nth-child(1) { top: 15px; }
  .nav-toggle span:nth-child(2) { top: 21px; }
  .nav-toggle span:nth-child(3) { top: 27px; }
  .nav-toggle.active span { background: var(--primary-color); }
  .nav-toggle.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  /* ---- HEADLINE / HERO ---------------------------------------------- */
  .headline { position: relative; z-index: 90; background: color-mix(in srgb, var(--primary-color) 20%, var(--white-color)); padding-top: var(--header); overflow: hidden; }
  .headline > .wrapper { z-index: 92; padding: var(--ws-y) 0; }
  .headline > .wrapper--image { padding: calc(var(--ws-y) * 1.6) 0; }
  .headline__content { position: relative; z-index: 94; max-width: min(580px, 47%); }
  .headline__content > h1 { animation: fadeInUp 1.0s ease-in-out 0s 1 normal none running; }
  .headline__content > h5 { animation: fadeInUp 1.2s ease-in-out 0s 1 normal none running; }
  .headline__content > div { animation: fadeInUp 1.4s ease-in-out 0s 1 normal none running; }

  .headline__media { position: absolute; left: 50%; right: 0; top: 0; z-index: 3; height: 100%; }
  .headline__media > img { display: block; width: 100%; height: 100%; object-fit: cover; }
  /* ==== KLDENT HERO – organikus blob-kompozíció ======================
     A hero fotó NEM önálló kártya: teljes magasságban ül a hero jobb
     oldalán, és a két türkiz blob-SVG olvasztja a menta háttérbe, így a
     kép és a háttér egyetlen összefüggő kompozíciót alkot.
     A blob fill #def6f1 (= --primary-low fehéren), a radial-gradient maszk
     miatt a szélek tömör türkizek (elfedik a kép egyenes peremét), a közép
     felé pedig fokozatosan átlátszó – ezért nincs éles határ vagy seam. */
  /* SEAM-MENTES ILLESZTÉS – a forma geometriája változatlan, csak a
     találkozások lettek subpixel-biztosak:
     · a blob MAGASSÁGBÓL skálázódik (aspect a viewBox-ból), így mindkettő
       pontosan a kép aljáig ér – a jobb blob korábban SZÉLESSÉGBŐL skálázódott
       (`height:auto; width:100%`), ezért 57,6px-rel a hero alja ALÁ lógott, a
       kép jobb-alsó téglalap-sarka pedig fedetlen maradt (ez volt a látható
       lépcső). A slider már ezt a helyes szabályt használta – most a statikus
       aloldal-hero is ugyanazt.
     · 1px kontrollált túlnyúlás minden szélen (a hero `overflow:hidden`-je
       levágja): a konténer félpixeles pozíciója (pl. left 712,5px) miatt a
       matematikailag 0px-es illesztés hajszálvonalat renderelt. */
  /* A BAL organikus motívum 25%-kal kevésbé nyúlik be a fotóba, hogy a képnek
     több levegője legyen. FONTOS: a bal élt NEM lehet egyszerűen eltolni,
     mert a radial-maszk csak a blob SZÉLEIN átlátszatlan – tiszta
     `translateX(-25%)` esetén a kép bal éle a maszk félig átlátszó zónájába
     kerülne (mért alfa ott ~26%), és visszatérne a korábban javított
     „téglalap-él" seam. Ezért a bal él a kép bal élén marad (a fedés
     változatlan), és a motívum vízszintes kiterjedése csökken 25%-kal –
     így pontosan 25%-kal hátrébb húzódik a fotóban.
     A jobb oldali motívum, a hero magassága és a szöveg/CTA érintetlen. */
  .heroleft { position: absolute; left: -1px; top: -1px; bottom: -1px; height: auto; width: auto; z-index: 4; pointer-events: none;
    transform: scaleX(0.75); transform-origin: left center; }
  .heroright { position: absolute; right: -1px; top: -1px; bottom: -1px; height: auto; width: auto; z-index: 4; pointer-events: none; }
  .heroleft > svg, .heroright > svg {
    display: block; fill: color-mix(in srgb, var(--primary-color) 20%, var(--white-color)); height: 100%; width: auto;
    -webkit-mask: radial-gradient(62% 68% at 50% 45%, rgba(0,0,0,0) 26%, rgba(0,0,0,0.45) 50%, rgba(0,0,0,1) 72%);
            mask: radial-gradient(62% 68% at 50% 45%, rgba(0,0,0,0) 26%, rgba(0,0,0,0.45) 50%, rgba(0,0,0,1) 72%);
  }
  .heroleft > svg, .heroright > svg { height: 100%; width: auto; }

  /* statikus hero (aloldalak: .headline > .wrapper) – az index slider ettől eltérő DOM-ú */
  .headline > .wrapper > div { position: relative; z-index: 94; max-width: min(580px, 47%); }
  .headline > .wrapper > div > h1 { animation: fadeInUp 1.0s ease-in-out both; }
  .headline > .wrapper > div > h5 { animation: fadeInUp 1.2s ease-in-out both; }
  .headline > .wrapper > div > div { animation: fadeInUp 1.4s ease-in-out both; }
  .headline > .wrapper > span { position: absolute; left: 50%; right: 0; top: 0; z-index: 3; height: 100%; }
  .headline > .wrapper > span > img { display: block; width: 100%; height: 100%; object-fit: cover; }
  /* képenkénti kompozíció-korrekció: ha a fotó fő témája nem középen van.
     (Az esztétikus fogszabályozás hero vizuális súlypontja mérve 68,4%-nál
     van, ezért ott jobbra tolt vágás kell, hogy az arc és a készülék
     ne kerüljön a vágáson kívülre.) */
  .headline > .wrapper > span > img.hero-pos-r { object-position: 65% center; }
  /* mért súlypont 46,3–46,4% (felnőtt fogszabályozás, fogszabályozás főoldal) */
  .headline > .wrapper > span > img.hero-pos-l { object-position: 46% center; }

  /* ---- SLIDER -------------------------------------------------------- */
  .headline-slider { position: relative; z-index: 92; }
  .headline-slider__viewport { display: grid; cursor: grab; touch-action: pan-y; }
  .headline-slider__viewport.is-grabbing { cursor: grabbing; }
  /* húzás közben a natív kép-drag és szövegkijelölés zavarna */
  .headline-slider__viewport img { -webkit-user-drag: none; user-select: none; -webkit-user-select: none; }
  .slide { grid-area: 1 / 1; width: var(--wrapper); max-width: 1300px; margin: auto; position: relative;
    opacity: 0; visibility: hidden; transition: opacity 0.5s ease-out; pointer-events: none; }
  .slide.is-active { opacity: 1; visibility: visible; pointer-events: auto; }
  .slide__media { position: absolute; left: 50%; right: 0; top: 0; z-index: 3; height: 100%; }
  .slide__media > img { display: block; width: 100%; height: 100%; object-fit: cover; }
  .slide__body { padding: var(--ws-y) 0; height: 100%; position: relative; z-index: 5; }
  .slide__inner { position: relative; z-index: 4; padding: var(--ws-y-md) 0; width: 100%; max-width: min(580px, 47%); }
  .slide__inner > h5 { margin-top: var(--ws-y-sm); font-size: calc(var(--h5-size) * 1.1); }
  .slide__inner > ul { margin-top: var(--ws-y-sm); }
  .slide__inner > ul > li { display: block; padding: 10px 0; font-size: var(--text-fix-size); line-height: calc(var(--text-fix-size) + 10px); color: var(--dark-color); }
  .slide__inner > ul > li > i { display: inline-block; margin-right: 10px; padding: 5px; }
  .slide__inner > ul > li > i > svg { height: var(--text-fix-size); width: var(--text-fix-size); fill: var(--primary-color); }
  .slide__actions { margin-top: var(--ws-y-md); }
  /* Az AKTÍV első dia címe H1 (a kezdőlapnak legyen H1-e), a többi marad H2.
     A megjelenés bájtra azonos a H2-ével – csak a szemantika változik. */
  .slide__inner > h1 { font-size: var(--h2-size); color: var(--primary-color);
    line-height: 1.1; font-weight: 900; text-transform: uppercase; }
  .slide--akcio > .slide__inner > h1,
  .slide--akcio > .slide__inner > h2 { color: var(--tertiary-color); }
  .slide--akcio .slide__actions > .button--primary:not(:hover) { background: var(--tertiary-color); border-color: var(--tertiary-color); }
  .slide--akcio .slide__inner > ul > li > i > svg { fill: var(--tertiary-color); }

  /* pöttyök */
  .slider-dots { position: absolute; bottom: var(--ws-y-md); left: 0; right: 0; margin: auto; width: var(--wrapper); max-width: 1300px; line-height: 12px; text-align: left; z-index: 20; }
  .slider-dots button { display: inline-block; width: 12px; height: 12px; margin: 0 7px; padding: 0; border: 0; background: var(--primary-med-color); cursor: pointer; border-radius: 99rem; transition: 0.5s ease-out; vertical-align: middle; }
  .slider-dots button:hover, .slider-dots button.is-active { background: var(--primary-color); }
  .slider-dots button.is-active { width: 30px; }

  /* ---- FOOTER  ·  sötét, gradiens hátterű lábléc-grid ------------------ */
  .site-footer {
    width: 100%; position: relative; overflow: hidden; isolation: isolate;
    text-align: center;
    background: linear-gradient(180deg, color-mix(in srgb, var(--dark-color) 90%, var(--white-color)) 0%, var(--dark-color) 100%);
  }
  /* felső fény-hajszálvonal */
  .site-footer::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; z-index: 6;
    background: linear-gradient(90deg, transparent, var(--primary-med-color), transparent);
  }
  .site-footer a, .site-footer p { color: var(--white-color); }
  .site-footer a:hover { color: var(--secondary-color); }
  .site-footer > .wrapper { padding: clamp(48px, 6vw, 80px) 0 24px; z-index: 5; }

  /* tartalom-oszlopok: float-grid → CSS grid (a c-* osztályokat felülírjuk) */
  .site-footer__cols {
    text-align: left; width: 100%; margin-left: 0;
    display: grid; grid-template-columns: 1.5fr 1fr 1.3fr; gap: clamp(28px, 4vw, 56px);
    padding-bottom: clamp(28px, 3.5vw, 44px);
    border-bottom: 1px solid var(--white-elw-color);
  }
  .site-footer__cols > * { float: none !important; width: auto !important; margin: 0 !important; }
  .site-footer__col { padding-bottom: 0; }

  /* footer alsó sáv: copyright + meta linkek + credit (középre rendezve) */
  .site-footer > .wrapper > p, .footer-meta > a { display: inline-block; font-size: 12px; line-height: 16px; margin: 0; }
  .site-footer > .wrapper > p { margin-top: 22px; color: var(--white-med-color); }

  .footer-nav { padding: 0; }
  .footer-nav > a { display: block; position: relative; padding: var(--ws-y-xs) 0; font-size: var(--nav-size); font-weight: 600; border-bottom: 1px solid var(--white-elw-color); }
  .footer-nav > a:last-child { border: 0; }
  .footer-nav > a.current { color: var(--white-low-color); }
  .footer-nav > a > i { position: absolute; top: 0; left: 0; bottom: 0; margin: auto; height: var(--icon-sm); transition: 0.5s ease-out; }
  .footer-nav > a > i > svg { fill: var(--secondary-color); height: var(--icon-sm); width: var(--icon-sm); transition: 0.5s ease-out; }
  .footer-nav > a:hover > i { left: 5px; }
  .footer-nav > a > div { padding-left: calc(var(--icon-sm) + var(--ws-y-sm)); }
  .footer-nav > a > svg { position: absolute; top: 0; right: 0; bottom: 0; margin: auto; fill: var(--primary-color); height: var(--icon-sm); width: var(--icon-sm); transition: 0.5s ease-out; }
  .footer-nav > a:not(.current):hover > svg { right: -5px; fill: var(--secondary-color); }
  .footer-nav > a.current > svg { transform: rotate(-90deg); }

  .footer-brand { padding-right: var(--ws-x); }
  .footer-brand > a { display: block; padding: var(--ws-y-sm) 0 var(--ws-y-md) 0; }
  .footer-brand > a > svg { display: block; height: calc(var(--logo) * 1.25); width: auto; fill: var(--white-color); }
  .footer-brand > a:hover > svg { fill: var(--primary-color); }
  .footer-brand > a > svg * { transition: 0.5s ease-out; }
  .footer-brand > p { font-size: var(--text-min-size); margin: 0; }

  .footer-meta { margin: 12px 0 4px; }
  .footer-meta > a, .footer-meta > p, .footer-meta > nav > a { display: inline-block; font-size: 12px; line-height: 16px; margin: 0; color: var(--white-hgh-color); }
  .footer-meta > a:not(:last-child), .footer-meta > nav > a:not(:last-child) { margin-right: 12px; padding-right: 12px; border-right: 1px solid var(--white-low-color); }
  .footer-meta > a:hover, .footer-meta > nav > a:hover { color: var(--secondary-color); }
  .footer-meta > a.current, .footer-meta > nav > a.current { color: var(--white-low-color); }
  .footer-meta > a > svg { fill: var(--secondary-color); height: 16px; width: 16px; margin-left: 3px; animation: throb 1.33s ease-in-out infinite; }

  .site-footer__blob { position: absolute; left: 0; top: 0; height: 100%; width: 100%; z-index: 4; }
  .site-footer__blob > svg { display: block; fill: var(--primary-elw-color); }

  /* to-top */
  .totop { position: fixed; bottom: 50%; right: -52px; z-index: 99; padding: 10px; }
  .totop.is-visible { right: 5px; }
  .totop > svg { transform: rotate(-90deg); }

  /* ---- SERVICES ------------------------------------------------------ */
  /* Token-vezérelt CSS grid a c-* float-rács fölött, azonos
     magasságú kártyákkal (grid-auto-rows:1fr) – így mobilon sem szakadoznak
     a sorok. A HTML c-* osztályai maradhatnak, ez a szabály felülírja őket. */
  .services { display: grid; grid-template-columns: repeat(var(--services-col), 1fr);
    grid-auto-rows: 1fr; gap: var(--ws-y-md) var(--services-gap);
    align-items: stretch; width: 100%; margin-left: 0; }
  .services > * { float: none !important; width: auto !important;
    margin-left: 0 !important; margin-right: 0 !important; }

  .services > a { display: flex; flex-direction: column; height: 100%; margin-bottom: 0;
    background: var(--light-color); padding: var(--ws-y-md) var(--ws-x-sm)
    calc(var(--icon-sm) + var(--ws-y-md) + var(--ws-y-xs)) var(--ws-x-sm);
    position: relative; overflow: hidden; border-radius: var(--rds-md);
    transition: background var(--ease-t), box-shadow var(--ease-t), transform var(--ease-t); }
  .services > a > i { display: block; flex: 0 0 auto; margin-bottom: var(--ws-y-sm); }
  .services > a > i > svg { fill: var(--primary-color); height: var(--icon-lg); width: var(--icon-lg);
    transition: transform var(--ease-t); }
  .services > a > div { flex: 1 1 auto; display: flex; flex-direction: column; }
  .services > a > div > h6 { transition: color var(--ease-t); }
  .services > a > div > p { margin: var(--ws-y-xs) 0 0 0; font-size: var(--text-min-size);
    line-height: 1.5; color: var(--dark-med-color); transition: color var(--ease-t); }

  /* diszkrét CTA-nyíl a kártya jobb alsó sarkában */
  .services > a > span { position: absolute; right: var(--ws-x-sm); bottom: var(--ws-y-md);
    display: block; line-height: 0; transition: transform var(--ease-t); }
  .services > a > span > svg { display: block; height: var(--icon-sm); width: var(--icon-sm);
    fill: var(--primary-color); transition: fill var(--ease-t); }

  .services > a:hover { background: var(--primary-med-color);
    box-shadow: 0 12px 28px hsl(var(--shadow-color) / 0.16); transform: translateY(-3px); }
  .services > a:hover > div > h6,
  .services > a:hover > div > p { color: var(--white-color); }
  .services > a:hover > i > svg { transform: scale(1.06); }
  .services > a:hover > span { transform: translateX(5px); }
  .services > a:hover > span > svg { fill: var(--white-color); }

  .services > a > i > svg .cls1 { fill: var(--primary-color); }
  .services > a > i > svg .cls2 { fill: var(--dark-color); }
  .services > a > i > svg .cls3 { fill: var(--white-color); }
  .services > a > i > svg .cls4 { fill: var(--dark-med-color); }

  /* ---- SAMECATEGORY -------------------------------------------------- */
  /* A kilógó feliratdoboz KLDENT-sajátosság – megmarad; csak a hover-
     visszajelzés lett egységes a többi kártyáéval (emelés + kép-zoom). */
  .samecategory { margin-bottom: calc(var(--ws-y-md) * -2); }
  .samecategory > a { position: relative; margin-bottom: calc(var(--ws-y) + 30px); display: block;
    transition: transform var(--ease-t); }
  .samecategory > a > span { display: block; width: 100%; position: relative; z-index: 2;
    background: var(--primary-color); overflow: hidden; border-radius: var(--rds-md); }
  .samecategory > a > span > img { display: block; width: 100%;
    transition: opacity var(--ease-t), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
  .samecategory > a:hover { transform: translateY(-3px); }
  .samecategory > a:hover > span > img { opacity: 0.55; transform: scale(1.04); }
  .samecategory > a > div { position: absolute; bottom: -30px; left: 0; right: 0; width: 90%; margin: auto; z-index: 3; padding: 20px 10px; text-align: center; background: var(--primary-color); border-radius: var(--rds-md); transition: box-shadow var(--ease-t); }
  .samecategory > a:hover > div { box-shadow: 0 12px 28px hsl(var(--shadow-color) / 0.18); }
  .samecategory > a:hover > div > h6 { color: var(--white-color); }

  /* ---- CONTENTLIST --------------------------------------------------- */
  .contentList > a { margin-bottom: var(--ws-y-md); display: flex; background: var(--light-color); overflow: hidden; border-radius: var(--rds-md); transition: 0.5s ease-out; }
  .contentList > a:last-child { margin-bottom: 0; }
  .contentList > a > span { flex: 1; display: block; background: var(--dark-color); position: relative; }
  .contentList > a > span > img { display: block; width: 100%; height: 100%; object-fit: cover; transition: 0.5s ease-out; }
  .contentList > a:hover > span > img { opacity: 0.6; }
  .contentList > a > span > span { position: absolute; top: 0; height: 100%; width: auto; z-index: 4; }
  .contentList > a > span > span > svg { display: block; height: 100%; width: auto; fill: var(--light-color); }
  .contentList > a > div { flex: 1; padding: var(--ws-y-md); position: relative; z-index: 5; }
  .contentList > a > div > p { font-size: var(--text-fix-size); }
  /* CTA: aláhúzódó, nyíllal elmozduló link (a sima szöveg helyett) */
  .contentList > a > div > span { display: inline-flex; align-items: center; width: fit-content;
    color: var(--primary-color); font-size: var(--nav-size); font-weight: 600; margin-top: 5px;
    padding-bottom: 3px; border-bottom: 2px solid transparent; transition: border-color var(--ease-t); }
  .contentList > a > div > span > svg { height: var(--icon-sm); width: var(--icon-sm);
    fill: var(--primary-color); margin-left: 10px; transition: transform var(--ease-t); }
  .contentList > a:hover > div > span { border-bottom-color: var(--primary-color); }
  .contentList > a:hover > div > span > svg { transform: translateX(5px); }
  .contentList:not(.contentList--secondary) > a:nth-of-type(even) > span { order: 2; }
  /* nyugalmi hajszálkeret + finom árnyék, hoveren emelkedés */
  .contentList > a { border: 1px solid var(--primary-low-color);
    box-shadow: 0 2px 4px hsl(var(--shadow-color) / 0.05);
    transition: box-shadow var(--ease-t), transform var(--ease-t); }
  .contentList > a:hover { box-shadow: 0 24px 50px -30px hsl(var(--shadow-color) / 0.45);
    transform: translateY(-3px); }
  .contentList > a > span > img { transition: opacity var(--ease-t), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
  .contentList > a:hover > span > img { opacity: 0.85; transform: scale(1.04); }
  .contentList--secondary > a { display: block; }
  .contentList--secondary > a:last-child { margin-bottom: var(--ws-y-md); }
  .contentList--secondary > a > span > span { display: none; }

  /* ---- CLEAN KÁRTYARENDSZER (site-wide) ------------------------------ */
  /* KÁRTYÁK – egyetlen lekerekített kártya, egyenes kép/szöveg találkozással.
     A kártya `overflow:hidden` + külső radius miatt a téglalap kép sarkai
     pontosan a kártya lekerekítését követik. */
  .contentList--clean > a {
    display: grid; grid-template-columns: 0.9fr 1.1fr; align-items: stretch;
    gap: 0; background: var(--white-color);
    border: 1px solid var(--primary-low-color);
    border-radius: var(--rds-md); overflow: hidden;
    box-shadow: 0 1px 2px hsl(var(--shadow-color) / 0.05);
    margin-bottom: clamp(20px, 2.4vw, 30px); }
  .contentList--clean > a:last-child { margin-bottom: 0; }

  /* Váltakozó elrendezés explicit rácshelyekkel (nem `order`-rel, mert a
     közös komponens `nth-of-type(even) > span { order: 2 }` szabálya
     magasabb specificitású; a grid-column ettől függetlenül érvényes).
     Páratlan: [KÉP][SZÖVEG] · Páros: [SZÖVEG][KÉP].
     A kép SOHA nem tükröződik – csak az oszlop helye cserélődik. */
  .contentList--clean > a > span { grid-column: 1; grid-row: 1; }
  .contentList--clean > a > div  { grid-column: 2; grid-row: 1; }
  .contentList--clean > a:nth-of-type(even) > span { grid-column: 2; }
  .contentList--clean > a:nth-of-type(even) > div  { grid-column: 1; }
  /* a képoszlop mindkét irányban a keskenyebb, a szöveg a szélesebb */
  .contentList--clean > a:nth-of-type(even) { grid-template-columns: 1.1fr 0.9fr; }
  /* biztosíték: a kép semmilyen sorban nem kaphat tükrözést */
  .contentList--clean > a > span > img { transform: none; }

  /* képoldal: sima téglalap, semmilyen pszeudoelem/dekoráció */
  .contentList--clean > a > span {
    position: relative; display: block; flex: none; min-height: 220px;
    background: var(--light-color); overflow: hidden; }
  .contentList--clean > a > span::before,
  .contentList--clean > a > span::after { content: none; display: none; }
  .contentList--clean > a > span > img {
    display: block; width: 100%; height: 100%; object-fit: cover; object-position: center;
    border-radius: 0; }

  /* szövegoldal: levegős, egységes belső spacing */
  .contentList--clean > a > div {
    display: flex; flex-direction: column; justify-content: center;
    padding: clamp(22px, 2.6vw, 38px); }
  .contentList--clean > a > div > h4 { margin: 0; }
  .contentList--clean > a > div > p {
    margin: 12px 0 0 0; font-size: var(--text-fix-size); line-height: 1.55; }
  .contentList--clean > a > div > span { margin-top: 18px; }

  /* visszafogott hover – nincs „lebegő dashboard" hatás */
  .contentList--clean > a:hover {
    box-shadow: 0 14px 32px -20px hsl(var(--shadow-color) / 0.4);
    transform: translateY(-2px); }

  /* --- 2 oszlopos lista (rendelőink / our-offices): kép felül, cím alul.
     Csak a kártyakeret igazodik a clean rendszerhez, az oszlopszerkezet
     marad, mert ez más kompozíció, mint a vízszintes kártya. */
  .contentList--sec-clean > a {
    background: var(--white-color); border: 1px solid var(--primary-low-color);
    border-radius: var(--rds-md); overflow: hidden;
    box-shadow: 0 1px 2px hsl(var(--shadow-color) / 0.05); }
  .contentList--sec-clean > a > span { display: block; background: var(--light-color); }
  .contentList--sec-clean > a > span > img { display: block; width: 100%; height: auto; }
  .contentList--sec-clean > a > div { padding: clamp(20px, 2.2vw, 30px); }
  .contentList--sec-clean > a > div > p { font-size: var(--text-fix-size); }

  /* --- KAPCSOLÓDÓ SZOLGÁLTATÁSOK (.samecategory) → clean kártya --------
     Egyetlen lekerekített konténer: kép felül, cím alatta, egyenes
     elválasztással. Token-vezérelt CSS grid, azonos magasságú kártyákkal
     (a c0-* float-rácsot felülírja). */
  .samecategory--clean {
    display: grid; grid-template-columns: repeat(var(--category-col), 1fr);
    grid-auto-rows: 1fr; gap: var(--ws-y-md) var(--services-gap);
    width: 100%; margin: 0; }
  .samecategory--clean > * { float: none !important; width: auto !important;
    margin-left: 0 !important; margin-right: 0 !important; }
  .samecategory--clean > a {
    display: flex; flex-direction: column; height: 100%; margin-bottom: 0;
    background: var(--white-color); border: 1px solid var(--primary-low-color);
    border-radius: var(--rds-md); overflow: hidden;
    box-shadow: 0 1px 2px hsl(var(--shadow-color) / 0.05);
    transition: box-shadow var(--ease-t), transform var(--ease-t); }
  .samecategory--clean > a > span {
    position: static; display: block; flex: 0 0 auto; width: 100%;
    background: var(--light-color); border-radius: 0; overflow: hidden; }
  .samecategory--clean > a > span > img { display: block; width: 100%; height: auto; }
  /* a feliratdoboz visszakerül a kártyába: se kilógás, se átfedés */
  .samecategory--clean > a > div {
    position: static; width: auto; margin: 0; padding: var(--ws-y-sm) var(--ws-x-sm);
    flex: 1 1 auto; display: flex; align-items: center; justify-content: center;
    text-align: center; background: var(--white-color); border-radius: 0;
    box-shadow: none; transition: background var(--ease-t); }
  .samecategory--clean > a > div > h6 { color: var(--dark-color); transition: color var(--ease-t); }
  .samecategory--clean > a:hover {
    box-shadow: 0 14px 32px -20px hsl(var(--shadow-color) / 0.4);
    transform: translateY(-2px); }
  .samecategory--clean > a:hover > div { background: var(--primary-color); }
  .samecategory--clean > a:hover > div > h6 { color: var(--white-color); }
  .samecategory--clean > a:hover > span > img { opacity: 1; transform: scale(1.04); }

  /* ---- PARALINE ------------------------------------------------------ */
  .paraline { position: relative; background: var(--primary-low-color); }
  .paraline::before { content:''; position:absolute; top: 0; left: 0; width: 100%; height: 50%; z-index: 1;
    background: linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%); }
  .paraline > div { z-index: 2; position: relative; }
  .paraline > div > svg { position: absolute; bottom: var(--ws-y); right: 0; height: auto; width: 440px; fill: var(--primary-color); z-index: 1; }

  /* ---- SITEMAP ------------------------------------------------------- */
  #htmlsitemap h4 { margin-bottom: var(--ws-y-sm); }
  .sitemap:not(:last-child) { margin-bottom: var(--ws-y-sm); }
  .sitemap > li { display: block; border-bottom: 1px solid var(--dark-low-color); }
  .sitemap > li:last-child { border: 0; }
  .sitemap > li > a { display: block; padding: var(--ws-y-sm) 0; font-size: var(--text-size); color: var(--dark-color); }
  .sitemap > li > a:hover { color: var(--primary-color); }

  /* ---- CONTENT (cikk törzs) ----------------------------------------- */
  .content ul { margin: var(--ws-y-md) 0; }
  .content ul:last-child { margin-bottom: -10px; }
  .content ul > li { display: block; padding: 10px 10px 10px 20px; position: relative; font-size: var(--text-size); font-weight: 400; line-height: 1.4; color: var(--dark-color); }
  .content ul > li::before { content:''; position:absolute; top: 2px; left: 0; bottom: 2px; width: 4px; height: auto; background: var(--primary-color); }
  .content > p > img { display: block; width: 90%; max-width: 800px; height: auto; margin: var(--ws-y-md) auto; border-radius: var(--rds-lg); }
  .content > h5 { color: var(--primary-color); font-weight: 600; }
  .content > h4:not(:first-child), .content > h5:not(:first-child), .content > h6:not(:first-child) { margin-top: 20px; }
  .content > p > a { color: var(--primary-color); font-weight: 600; }
  .content > p > a:hover { color: var(--primary-med-color); }
  .content > p > strong { font-weight: 600; }

  /* ---- REVIEWCARD ---------------------------------------------------- */
  .reviewCard > li { margin-bottom: var(--ws-y-md); padding: var(--ws-y-sm); background: var(--secondary-low-color); display: block; position: relative; border-radius: var(--rds-md); }
  .reviewCard > li:last-child { margin-bottom: 0; }
  .reviewCard > li > div { position: relative; }
  .reviewCard > li > div > i { position: absolute; top: 0; right: 0; }
  .reviewCard > li > div > i > svg { fill: #fbbc04; height: var(--icon-sm); width: var(--icon-sm); display: inline-block; }
  .reviewCard > li > div > h4 { font-size: var(--h5-size); }
  .reviewCard > li > div > p { margin: var(--ws-y-sm) 0 0 0; }

  /* ---- FAQ ----------------------------------------------------------- */
  .faq { margin-top: var(--ws-y-md); }
  .faq:not(:last-of-type) { margin-bottom: var(--ws-y); }
  .faq > li { display: block; position: relative; padding: var(--ws-y-sm) 0; margin-bottom: var(--ws-y-sm); z-index: 2; overflow: hidden; border-radius: var(--rds-md); }
  .faq > li:last-child { margin: 0; }
  .faq > li > h5 { padding-left: calc(var(--ws-x-sm) + var(--icon-sm) + var(--ws-x-sm)); }
  .faq > li > div { display: none; padding: var(--ws-y-sm) var(--ws-x-sm) 0 var(--ws-x-sm); }
  .faq > li > div > p:last-of-type { margin-bottom: 0; }
  .faq > li > input[type=checkbox] + label { position: absolute; top: 0; left: 0; width: 100%; height: 100%; cursor: pointer; }
  .faq > li > input[type=checkbox] + label > i { position: absolute; top: var(--ws-y-sm); left: var(--ws-y-sm); transition: 0.5s ease-out; }
  .faq > li > input[type=checkbox] + label > i > svg { fill: var(--primary-color); height: var(--icon-sm); width: var(--icon-sm); }
  .faq > li > input[type=checkbox]:checked + label > i { transform: rotate(-45deg); }
  .faq > li > input[type=checkbox]:checked ~ div { display: block; }
  .faq > li > input[type=checkbox]:checked ~ h5 { font-weight: 600; color: var(--primary-color); }
  .faq > li > input[type=checkbox]:checked ~ div::after { content:''; position:absolute; background: var(--secondary-low-color); top: 0; left: 0; width: 100%; height: 100%; z-index: -1; }

  /* ---- PRICELIST ----------------------------------------------------- */
  .priceList:not(:last-of-type) { margin-bottom: var(--ws-y-md); }
  .priceList > li { display: block; overflow: hidden; }
  .priceList > li:nth-of-type(odd) { background: var(--secondary-low-color); }
  .priceList > li > div { position: relative; padding: var(--ws-y-sm) 160px var(--ws-y-sm) 10px; }
  .priceList > li > div > h5 { font-size: var(--text-min-size); }
  .priceList > li > div > span { position: absolute; top: 0; right: 10px; bottom: 0; margin: auto; color: var(--primary-color); font-size: var(--text-fix-size); height: var(--text-fix-size); line-height: 1; font-weight: 600; }
  .priceList > li > p { font-size: var(--text-fix-size); padding: 0 10px; }
  .priceList > li > p:first-of-type { margin-top: 0; }
  h4 + .priceList { padding-top: var(--ws-y-sm); }
  .priceList > li.akcio:nth-of-type(odd) { background: var(--tertiary-elw-color); }
  .priceList > li.akcio > div > h5 { color: var(--tertiary-color); }
  .priceList > li.akcio > div > span { color: var(--tertiary-color); }
  .priceCard { margin-bottom: var(--ws-y-md); background: var(--light-color); padding: var(--ws-y-md) var(--ws-x-md); border-radius: var(--rds-md); }
  .priceCard > .contactInfo { margin: 0; padding-left: 0; padding-right: 0; padding-bottom: 0; }
  .priceCard > div > p { font-size: var(--text-fix-size); }

  /* ---- TEAMLIST ------------------------------------------------------ */
  .teamList > div { margin-bottom: var(--ws-y); display: flex; }
  .teamList > div > span { flex: 2; display: block; }
  .teamList > div > span > img { display: block; width: 100%; background-color: var(--primary-color); padding: var(--ws-y-xs); }
  .teamList > div > div { flex: 5; padding-left: var(--ws-x-md); }
  .teamList > div > div > h2 { color: var(--dark-color); font-size: var(--h3-size); }
  .teamList > div > div > h5 { font-weight: 600; }
  .teamList > div > div > p { margin-bottom: 0; }
  .teamList > div > div > a { display: block; font-size: var(--text-size); font-weight: 600; padding-top: var(--ws-y-sm); }
  .teamList > div:nth-of-type(even) > span { order: 2; }
  .teamList > div:nth-of-type(even) > div { padding-left: 0; padding-right: var(--ws-x-md); }

  /* ---- CSAPATUNK · clean munkatárs-kártyák --------------------------- */
  /* Egyetlen, nagy, vízszintes kártya munkatársanként: portré + név +
     pozíció + a teljes bemutatkozás egy konténerben. Ugyanaz a vizuális
     nyelv, mint a hero-fotókártyánál és a blogkártyáknál: téglalap alakú,
     lekerekített portré (nincs kör, nincs türkiz körkeret), halvány keret,
     visszafogott árnyék, sok whitespace. Az odd/even váltakozást explicit
     grid-hely adja, nem munkatársankénti szabály. */
  /* Kompakt, vízszintes arány: a portré fix, kontrollált méretű (nem az ő
     képaránya húzza a kártyát), a szövegoszlop szélesebb → kevesebb sortörés
     → alacsonyabb kártya. A magasságot a tartalom adja, nincs min-height. */
  .teamList--clean { display: flex; flex-direction: column; gap: clamp(16px, 1.8vw, 24px); }
  .teamList--clean > div {
    /* A portré-oszlop pontosan a portré szélessége (nem 36%-os sáv, mert
       abban a 250px-es kép mellett ~110px holt hely maradna) – így a
       maradék teljes szélesség a szövegé: kevesebb sortörés, alacsonyabb
       kártya. Szűkülő képernyőn a portré arányosan zsugorodik. */
    display: grid; grid-template-columns: clamp(180px, 25%, 250px) 1fr;
    align-items: center; gap: clamp(18px, 2.2vw, 32px);
    margin-bottom: 0; padding: clamp(20px, 2vw, 28px);
    background: var(--white-color); border: 1px solid var(--primary-low-color);
    border-radius: 28px; box-shadow: 0 1px 2px hsl(var(--shadow-color) / 0.05);
    transition: box-shadow var(--ease-t); }
  .teamList--clean > div:hover { box-shadow: 0 14px 32px -22px hsl(var(--shadow-color) / 0.35); }

  /* portré: téglalap, kontrollált magasság, függőlegesen középre igazítva */
  .teamList--clean > div > span {
    grid-column: 1; grid-row: 1; align-self: center;
    display: block; flex: none; overflow: hidden; border-radius: 22px;
    background: var(--light-color);
    width: 100%; max-width: 250px; height: clamp(220px, 17vw, 260px); }
  .teamList--clean > div > span > img {
    display: block; width: 100%; height: 100%;
    object-fit: cover; object-position: center top;
    padding: 0; background: none; border-radius: 0; }

  /* szövegoszlop */
  .teamList--clean > div > div { grid-column: 2; grid-row: 1; padding: 0; }
  .teamList--clean > div > div > h2 { color: var(--dark-color); margin: 0; }
  .teamList--clean > div > div > h5 {
    color: var(--primary-color); font-weight: 600; margin-top: 4px; }
  .teamList--clean > div > div > p {
    margin: 10px 0 0 0; font-size: var(--text-min-size); line-height: 1.55; }

  /* váltakozás: páros kártyán a szöveg balra, a portré jobbra */
  .teamList--clean > div:nth-of-type(even) { grid-template-columns: 1fr clamp(180px, 25%, 250px); }
  /* a portré a saját oszlopa jobb széléhez zárva, hogy ne ússzon el középre */
  .teamList--clean > div:nth-of-type(even) > span { justify-self: end; }
  .teamList--clean > div:nth-of-type(even) > span { grid-column: 2; }
  .teamList--clean > div:nth-of-type(even) > div  { grid-column: 1; padding: 0; }
  /* a portré SOHA nem tükröződik – csak az oszlopok helye cserélődik */
  .teamList--clean > div > span > img { transform: none; }

  /* ---- GALLERY ------------------------------------------------------- */
  .gallery { padding-left: 5px; padding-right: 5px; }
  .gallery > div { padding: 5px; }
  .gallery > div > a { display: block; background: var(--primary-color); }
  .gallery > div > a > img { display: block; width: 100%; transition: 0.5s ease-out; }
  .gallery > div > a:hover > img { opacity: 0.6; }

  /* ---- VIDEO --------------------------------------------------------- */
  .embed-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; }
  .embed-container iframe, .embed-container object, .embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
  .video-container { padding: 10px; background: var(--light-color); margin: var(--ws-y-md) auto; border-radius: var(--rds-md); }

  /* ---- ABOUT / INTRO ------------------------------------------------- */
  #about { background: var(--light-color); position: relative; }
  #about > div { z-index: 3; }
  .about { padding-right: var(--ws-x); }
  .intro { padding-left: var(--ws-x); padding-top: var(--ws-y-md); }
  .intro > div { padding-left: calc(var(--ws-y-sm) + var(--icon-sm) + 20px); position: relative; }
  .intro > div:not(:last-child) { margin-bottom: var(--ws-y-md); }
  .intro > div > i { position: absolute; top: 0; left: 0; border: 2px solid var(--primary-color); padding: 10px; border-radius: 50%; }
  .intro > div > i > svg { fill: var(--primary-color); height: var(--icon-sm); width: var(--icon-sm); }
  .intro > div > div > h6 { color: var(--primary-color); text-transform: uppercase; }
  .intro > div > div > p { font-size: var(--text-fix-size); margin-bottom: 0; }

  /* ---- CONTACT ------------------------------------------------------- */
  .contactInfo { background: var(--light-color); padding: var(--ws-y-sm) calc(var(--ws-x-sm) * 2); margin: 0 var(--ws-x); border-radius: var(--rds-md); }
  .contactInfo > a { display: block; padding: var(--ws-y-sm) 0; }
  .contactInfo > a > i { display: inline-block; margin-right: var(--ws-x-sm); padding-right: 5px; }
  .contactInfo > a > i > svg { fill: var(--primary-color); height: var(--icon-md); width: var(--icon-md); transition: 0.5s ease-out; }
  .contactInfo > a:hover > i > svg { fill: var(--dark-color); transform: translateX(20%); }
  .contactInfo > a > div { display: inline-block; vertical-align: middle; font-size: var(--text-fix-size); font-weight: 400; line-height: 1.4; color: var(--dark-color); }
  .contactInfo > a > div > h6 { color: var(--primary-color); text-transform: uppercase; }

  .contactCard { background: var(--light-color); margin: 0 var(--ws-x) var(--ws-y-md) var(--ws-x); overflow: hidden; display: flex; border-radius: var(--rds-md); }
  .contactCard > span { display: block; position: relative; overflow: hidden; flex: 1; }
  .contactCard > span > img { display: block; width: 100%; height: 100%; object-fit: cover; }
  .contactCard > div { flex: 2; padding: 0 var(--ws-x-sm); }
  .contactCard > div > div > h2 { font-size: var(--h4-size); }
  .contactCard > div > div > h5 { font-size: var(--text-fix-size); margin-top: 5px; }

  /* ---- MIERTMI ------------------------------------------------------- */
  .miertmi { padding: var(--ws-y-md) calc(var(--ws-x-sm) + var(--ws-y-md)); background: var(--secondary-low-color); border-radius: var(--rds-md); }
  .miertmi > li { padding: var(--ws-y-sm) 0; }
  .miertmi > li > i { display: inline-block; margin-right: var(--ws-x-sm); }
  .miertmi > li > i > svg { fill: var(--primary-color); height: var(--icon-md); width: var(--icon-md); }
  .miertmi > li > h6 { display: inline-block; }

  /* ---- MAPS ------------------------------------------------------------
     A `.kl-map` a közös térképkomponens fogadóeleme (assets/js/map.js).
     A korábbi `#maps` Google-iframe helyére lép; a magasság innen jön, hogy
     a JS ne írjon inline méretet.

     VÉDEKEZŐ NULLÁZÁS: az öröklött oszlop-rács `[class*='c-'] > *` szabálya
     a SZÜLŐ osztálynevétől függően floatot és 1%-os oldalmargót adhat a
     gyerekeinek. A `kl-map` maga egyik részstring-szelektorra sem illik
     (`c-`, `c0-`, `cc-`, `cm0-`, `button--`), de szülőn keresztül elérhető,
     ezért itt kifejezetten visszaállítjuk. A Leaflet nem használ floatot,
     így a belső elemek nullázása kockázatmentes. */
  .kl-map { float: none; width: 100%; margin-left: 0; margin-right: 0;
    height: 460px; position: relative; z-index: 89;
    background: var(--light-color, #f4f7f9); }
  .kl-map * { float: none; }

  /* A Leaflet alapfelülete: nincs saját keret, a betűkép a site-é. */
  .kl-map.leaflet-container { font-family: inherit; background: #eef2f5; outline: 0; }

  /* Csempék: apró deszaturálás + minimális világosítás. Így az útszínek
     kevésbé harsányak és a POI-k visszafogottabbak, de a térkép olvasható
     marad – nem stilizáljuk túl. */
  .kl-map .leaflet-tile-pane { filter: saturate(0.82) brightness(1.03); }

  /* Marker: a divIcon-nak nincs saját háttere, csak az SVG látszik. */
  .kl-map__pin { background: none; border: 0; }
  .kl-map__pin > svg { display: block; transition: transform 0.22s ease-out; transform-origin: 50% 92%; }
  .kl-map__pin:hover > svg,
  .kl-map__pin:focus-visible > svg { transform: scale(1.09); }
  .kl-map__pin:focus-visible { outline: 0; }
  .kl-map__pin:focus-visible > svg { filter: drop-shadow(0 0 0 3px var(--primary-color)); }

  /* Információs kártya (popup) – KLDENT-tipográfia, letisztult keret. */
  .kl-map__popup .leaflet-popup-content-wrapper { background: var(--white-color); color: var(--dark-color);
    border-radius: var(--rds-md); border-top-left-radius: var(--rds-lg); border-bottom-right-radius: var(--rds-lg);
    box-shadow: 0 12px 30px hsl(var(--shadow-color) / 0.22); padding: 0; }
  /* A belső térköz MARGÓVAL készül, ahogy a Leaflet natívan is csinálja, és
     a szélességet NEM írjuk felül. A Leaflet ugyanis megméri a tartalmat és
     explicit px-szélességet állít be; ha ezt `width:auto`-ra kényszerítjük,
     a doboz összeesik és minden sor több sorba törik (320 px-en egy 3 soros
     kártyából 9 soros, 169 px magas popup lett). */
  .kl-map__popup .leaflet-popup-content { margin: 14px 30px 14px 16px; padding: 0; line-height: 1.5; }
  .kl-map__popup .leaflet-popup-tip { background: var(--white-color); box-shadow: none; }
  .kl-map__popup .leaflet-popup-close-button { color: var(--dark-med-color, #6b7488); padding: 8px 9px 0 0; font-size: 18px; }
  .kl-map__popup .leaflet-popup-close-button:hover { color: var(--primary-color); background: transparent; }
  .kl-map__card-name { display: block; color: var(--primary-color); font-weight: 900; text-transform: uppercase;
    letter-spacing: 0.02em; font-size: var(--text-min-size); margin-bottom: 4px; }
  .kl-map__card-addr { display: block; color: var(--dark-hgh-color); font-size: var(--text-min-size); }

  /* Vezérlők és jelölés: halk, nem versenyez a tartalommal. */
  .kl-map .leaflet-bar a { color: var(--dark-color); border-bottom-color: var(--primary-low-color); }
  .kl-map .leaflet-bar a:hover { background: var(--primary-elw-color); color: var(--primary-color); }
  .kl-map .leaflet-control-attribution { background: hsl(0 0% 100% / 0.82); font-size: 10px; color: var(--dark-med-color, #6b7488); }
  .kl-map .leaflet-control-attribution a { color: var(--dark-med-color, #6b7488); }

  /* ---- BUTTONS ------------------------------------------------------- */
  [class*='button--'] { display: inline-block; position: relative; vertical-align: middle; white-space: nowrap;
    border-width: 2px; border-style: solid; font-weight: 600; font-size: var(--button-size); line-height: 1.4;
    padding: var(--button-size) calc(var(--button-size) * 2); text-align: center; cursor: pointer; z-index: 2;
    transition: background 0.28s ease-out, border-color 0.28s ease-out, box-shadow 0.28s ease-out, transform 0.28s ease-out;
    border-radius: var(--rds-md);
    border-top-left-radius: var(--rds-lg); border-bottom-right-radius: var(--rds-lg); }
  [class*='button--'] > svg { display: inline-block; vertical-align: middle; width: calc(var(--button-size) * 1.4); height: calc(var(--button-size) * 1.4); transition: 0.5s ease-out; }
  [class*='button--'].with-icon--right > svg { margin-left: 7px; }
  [class*='button--'].with-icon--left > svg { margin-right: 7px; }
  [class*='button--'] + [class*='button--'] { margin-left: var(--ws-x-sm); }
  [class*='button--']:not(.totop):hover { box-shadow: 0 8px 20px var(--dark-low-color); transform: translateY(-2px); }
  [class*='button--']:not(.totop):hover > svg { transform: translateX(20%); }

  .button--primary { background: var(--primary-color); border-color: var(--primary-color); color: var(--white-color); }
  .button--primary > svg { fill: var(--white-color); }
  .button--primary:hover { background: color-mix(in srgb, var(--primary-color) 85%, #000); border-color: color-mix(in srgb, var(--primary-color) 85%, #000); color: var(--white-color); }
  .button--primary:hover > svg { fill: var(--white-color); }
  .button--secondary { background: 0; border-color: var(--primary-color); color: var(--primary-color); }
  .button--secondary > svg { fill: var(--primary-color); }
  .button--secondary:hover { background: 0; border-color: var(--dark-color); color: var(--dark-color); }
  .button--secondary:hover > svg { fill: var(--dark-color); }

  /* to-top gomb: a fenti gomb-alapszabály (azonos specificitás, később a forrásban)
     különben felülírná a .totop position:fixed/z-index/padding értékeit → a gomb a
     normál flow-ba csúszna a footer alá (felesleges fehér sáv + extra doc-magasság).
     Magasabb specificitással visszaállítjuk a viewporthoz rögzített lebegő gombot. */
  .button--primary.totop { position: fixed; z-index: 99; padding: 10px; }

  /* ---- FORM ---------------------------------------------------------- */
  .contactForm { padding: 0 var(--ws-x); margin: 0 var(--ws-x); }
  .contactForm > ul { padding-bottom: var(--ws-y-sm); }
  .contactForm > ul > li { margin-bottom: var(--ws-y-sm); position: relative; }
  /* A címke vizuálisan rejtett, de a képernyőolvasó felolvassa
     (a display:none az akadálymentességi fából is kivenné). */
  .contactForm > ul > li > label { position: absolute; width: 1px; height: 1px; padding: 0;
    margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
  /* honeypot – valódi látogató nem látja, bot kitölti */
  .hp-field { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

  input[type=text], input[type=email], input[type=number], textarea, select {
    letter-spacing: 1px; color: var(--dark-color); padding: 10px; width: 100%; height: 42px; cursor: text;
    border: 1px solid var(--primary-color); background: 0; vertical-align: top; border-radius: 8px;
    transition: border-color var(--ease-t), box-shadow var(--ease-t); }
  input[type=text]:focus, input[type=email]:focus, input[type=number]:focus, textarea:focus, select:focus {
    outline: 0; border-color: var(--dark-color); box-shadow: 0 0 0 3px var(--primary-low-color); }
  textarea { height: 160px; }
  input, textarea, select, label { font-weight: 400; color: var(--dark-color); letter-spacing: normal; }
  ::placeholder { color: var(--dark-med-color); }
  label { display: block; }

  /* adatkezelési hozzájárulás – a reset elrejti a natív checkboxot,
     ezért a látható jelölődoboz a <span> */
  .contactForm > ul > li.consent-list { margin-top: var(--ws-y-sm); }
  /* a rejtett natív checkbox itt fókuszálható marad (a reset display:none-ja
     kikapcsolná a billentyűzet-kezelést), csak átlátszó – a látható doboz a <span> */
  .consent-list > input[type=checkbox] { display: block; position: absolute; left: 0; top: 1px;
    width: 20px; height: 20px; margin: 0; opacity: 0; z-index: 2; cursor: pointer; }
  /* magasabb specificitás, mint a fenti sr-only címke-szabályé */
  .contactForm > ul > li.consent-list > label { display: block; position: static; width: auto; height: auto; margin: 0;
    padding: 0 0 0 30px; clip: auto; clip-path: none; overflow: visible; white-space: normal;
    font-size: var(--text-min-size); line-height: 1.45; color: var(--dark-color); cursor: pointer; }
  .consent-list > label > span { position: absolute; left: 0; top: 1px; width: 20px; height: 20px;
    border: 2px solid var(--primary-color); border-radius: 6px; background: var(--white-color);
    transition: background var(--ease-t), border-color var(--ease-t); }
  .consent-list > label > span::after { content: ''; position: absolute; left: 5px; top: 1px;
    width: 5px; height: 10px; border: solid var(--white-color); border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0); transition: transform var(--ease-t); }
  .consent-list > input[type=checkbox]:checked + label > span { background: var(--primary-color); }
  .consent-list > input[type=checkbox]:checked + label > span::after { transform: rotate(45deg) scale(1); }
  .consent-list > input[type=checkbox]:focus-visible + label > span { box-shadow: 0 0 0 3px var(--primary-low-color); }
  .consent-list > label > a { color: var(--primary-color); font-weight: 600; text-decoration: underline; }
  .consent-list.has-error > label > span,
  .consent-list > input.error-input + label > span { border-color: #EC3F43; }

  .error-input { border-color: #EC3F43 !important; }
  .form-error { display: block; margin-top: 6px; color: #C4231C; font-size: var(--text-min-size);
    font-weight: 600; line-height: 1.35; }
  .error-response { width: 100%; display: block; background: #EC3F43; color: #fff; font-weight: 600;
    font-size: var(--text-min-size); text-align: center; padding: 10px; margin-bottom: var(--ws-y-sm);
    border-radius: 8px; }
  .form-success { display: block; background: var(--primary-low-color); border: 1px solid var(--primary-color);
    color: var(--dark-color); padding: var(--ws-y-md) var(--ws-x-sm); border-radius: var(--rds-md); text-align: center; }
  .form-success > strong { display: block; font-size: var(--h4-size); font-weight: 900; color: var(--primary-color);
    text-transform: uppercase; line-height: 1.2; }
  .form-success > span { display: block; margin-top: 10px; font-size: var(--text-fix-size); line-height: 1.45; }
  [class*='button--'][disabled] { opacity: 0.6; cursor: default; pointer-events: none; }
  [data-type="select"] { position: relative; z-index: 2; }
  [data-type="select"]::after { content: ''; position: absolute; z-index: -1; top: 13px; right: 10px; width: 16px; height: 16px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="rgba(23,34,56,1)"><polygon points="225.813,48.907 128,146.72 30.187,48.907 0,79.093 128,207.093 256,79.093 "/></svg>') no-repeat center / 16px 16px; }
  [data-type="select"] select { background: 0; border: 1px solid var(--primary-color); cursor: pointer; border-radius: 8px; }

  /* ---- SÜTI-KEZELŐ  ·  banner + beállítás-modal ---------------------- */
  /* Komponens-szerkezet az Extra Ponyva production cookie-kezelőjéből,
     KLDENT arculati tokenekkel: fehér felület, sötétkék (--dark-color)
     szöveg, türkiz (--primary-color) CTA, a site pill-gombjaihoz igazodó
     lekerekítés és finom árnyék. */
  /* VÉDEKEZŐ RESET – az örökölt oszlop-rács szabálya
     `[class*='c-'] { display:block; width:102%; margin-left:-1% }`
     részstring-egyezéssel a `cc-` osztályokra is ráillik (a „cc-banner"
     tartalmazza a „c-" darabot), ettől minden komponensünk 102% széles és
     negatív bal margós lenne. Azonos specificitás, de későbbi deklaráció →
     ez nyer. A rács többi elemét nem érinti. */
  /* VÉDEKEZŐ RESET – az örökölt oszlop-rács RÉSZSTRING-egyezéssel a `cc-`
     osztályokra is ráillik (a „cc-banner" tartalmazza a „c-" darabot):
         [class*='c-']      { display:block; width:102%; margin-left:-1% }
         [class*='c-'] > *  { margin-left:1%; margin-right:1%; }
         [class*='c-'] > *  { float:left; display:inline-block; }
     Ettől a komponenseink FLOATOLT dobozt kaptak (a float figyelmen kívül
     hagyja az `auto` margót → nincs középre igazítás), és 1%-os oldalmargókat
     (ezek vették el a helyet a gombsortól → az „Elfogadom" új sorba tört).
     A gyerekekre (`> *`) is nullázni kell, nem csak magukra az elemekre. */
  [class*='cc-'],
  [class*='cc-'] > * {
    float: none; width: auto; margin-left: 0; margin-right: 0; }

  .cc-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 300;
    background: var(--white-color); border-top: 1px solid var(--primary-low-color);
    box-shadow: 0 -10px 34px hsl(var(--shadow-color) / 0.16);
    transition: opacity 0.35s ease, transform 0.35s ease; }
  .has-cookie-consent .cc-banner { display: none; }
  .cc-banner.is-dismissed { opacity: 0; transform: translateY(24px); pointer-events: none; }
  /* box-sizing: border-box – a site alap-reszete content-box-ot hagy, e nélkül
     a vízszintes padding a 100%-hoz ADÓDNA, és a sáv szélesebb lenne a
     viewportnál. */
  /* A tartalom a site normál content-width-jéhez igazodva, középre.
     FIZIKAI margókkal: a `margin-inline: auto` logikai longhandjai és a fenti
     reset `margin-left/right` fizikai longhandjai keverednének a kaszkádban. */
  .cc-banner__inner { box-sizing: border-box; width: 100%; max-width: 1300px;
    padding: 16px var(--ws-x-sm);
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px 24px; flex-wrap: wrap; }
  /* A középre igazítás MAGASABB specificitással (0,2,0), hogy a fenti
     `[class*='cc-']` reset (0,1,0) margó-nullázása ne írja felül. */
  .cc-banner > .cc-banner__inner { margin-left: auto; margin-right: auto; }
  /* A szöveg rugalmasan zsugorodik (`flex-shrink:1`, `min-width:0`), a gombsor
     viszont nem – így a gombok mindig egy sorban maradnak, és a szöveg
     tördelődik, ha kevés a hely. Fix flex-basis NINCS: az adná a törést. */
  .cc-banner__text { flex: 1 1 0; min-width: 0; color: var(--dark-hgh-color);
    font-size: var(--text-min-size); line-height: 1.55; max-width: 78ch; margin: 0; }
  .cc-banner__text a { color: var(--primary-color); font-weight: 600;
    text-decoration: underline; text-underline-offset: 2px; }
  .cc-banner__text a:hover { color: var(--dark-color); }
  /* `flex-wrap: nowrap` + `flex-shrink: 0` → a három gomb desktopon és
     tableten SOHA nem törik külön sorba; a hely a szövegtől jön el. */
  .cc-banner__actions { flex: 0 0 auto; display: flex; flex-wrap: nowrap; gap: 10px;
    align-items: center; }

  .cc-btn { box-sizing: border-box; flex: 0 0 auto; font-family: inherit;
    font-size: var(--button-size); font-weight: 700; letter-spacing: 0.04em;
    text-transform: uppercase; padding: 13px 20px; min-height: 44px;
    border-radius: var(--rds-lg); border: 1px solid transparent; cursor: pointer;
    line-height: 1; white-space: nowrap;
    transition: background var(--ease-t), border-color var(--ease-t),
    color var(--ease-t), transform var(--ease-t); }
  .cc-btn--ghost { background: transparent; border-color: var(--dark-low-color); color: var(--dark-color); }
  .cc-btn--ghost:hover { border-color: var(--primary-color); background: var(--primary-elw-color);
    color: var(--primary-color); }
  .cc-btn--primary { background: var(--primary-color); border-color: var(--primary-color);
    color: var(--white-color); }
  .cc-btn--primary:hover { background: color-mix(in srgb, var(--primary-color) 85%, #000);
    border-color: color-mix(in srgb, var(--primary-color) 85%, #000); transform: translateY(-2px); }
  .cc-btn:focus-visible { outline: 3px solid var(--primary-color); outline-offset: 3px; }

  .cc-modal { position: fixed; inset: 0; z-index: 320; display: flex; align-items: center;
    justify-content: center; padding: 20px; background: color-mix(in srgb, var(--dark-color) 55%, transparent);
    -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
    opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; }
  .cc-modal.is-open { opacity: 1; visibility: visible; }
  .cc-panel { width: 100%; max-width: 540px; max-height: 90vh; overflow-y: auto;
    background: var(--white-color); border-radius: var(--rds-md); padding: 26px;
    box-shadow: 0 24px 64px hsl(var(--shadow-color) / 0.3);
    transform: translateY(16px); transition: transform 0.3s ease; }
  .cc-modal.is-open .cc-panel { transform: none; }
  .cc-panel__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
  .cc-panel__title { color: var(--dark-color); font-size: clamp(1.25rem, 2.4vw, 1.5rem);
    line-height: 1.15; margin: 0; }
  .cc-panel__close { flex: 0 0 auto; width: 40px; height: 40px; border: 1px solid var(--dark-low-color);
    border-radius: 50%; background: transparent; color: var(--dark-color); font-size: 1.4rem;
    line-height: 1; cursor: pointer; transition: border-color var(--ease-t), background var(--ease-t); }
  .cc-panel__close:hover { border-color: var(--primary-color); background: var(--primary-elw-color);
    color: var(--primary-color); }
  .cc-panel__intro { color: var(--dark-med-color); font-size: var(--text-min-size);
    line-height: 1.6; margin-top: 14px; }
  .cc-cats { margin-top: 20px; border-top: 1px solid var(--primary-low-color); }
  .cc-cat { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px;
    padding: 16px 0; border-bottom: 1px solid var(--primary-elw-color); }
  .cc-cat__title { color: var(--dark-color); font-size: 1rem; font-weight: 700; line-height: 1.2; margin: 0; }
  .cc-cat__desc { color: var(--dark-med-color); font-size: 0.85rem; line-height: 1.55;
    margin: 6px 0 0; max-width: 46ch; }
  .cc-always { flex: 0 0 auto; font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--primary-color); font-weight: 700; margin-top: 4px; }
  .cc-panel__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; justify-content: flex-end; }

  .cc-switch { position: relative; display: inline-block; flex: 0 0 auto; width: 46px; height: 26px; margin-top: 2px; }
  .cc-switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
  .cc-switch__track { display: block; width: 46px; height: 26px; border-radius: 999px;
    background: var(--dark-low-color); border: 1px solid var(--dark-low-color);
    position: relative; transition: background var(--ease-t), border-color var(--ease-t); }
  .cc-switch__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px;
    border-radius: 50%; background: var(--white-color); box-shadow: 0 1px 3px hsl(var(--shadow-color) / 0.3);
    transition: transform var(--ease-t); }
  .cc-switch input:checked + .cc-switch__track { background: var(--primary-color); border-color: var(--primary-color); }
  .cc-switch input:checked + .cc-switch__track::after { transform: translateX(20px); }
  .cc-switch input:focus-visible + .cc-switch__track { outline: 3px solid var(--primary-color); outline-offset: 2px; }

  /* Mobil: a szöveg fölé kerül, a három gomb egyenlő szélességben egy sorba,
     ha elfér – különben tördel. Így a sáv alacsony marad. */
  @media (max-width: 720px) {
    .cc-banner__inner { flex-direction: column; align-items: stretch; gap: 12px; }
    /* oszlop-irányban a flex-basis a MAGASSÁGRA vonatkozna – itt nullázni kell,
       különben a bekezdés 340 px magas lenne */
    .cc-banner__text { flex: 0 0 auto; }
    /* mobilon a három gomb egyenlő arányban osztozik a teljes szélességen */
    .cc-banner__actions { width: 100%; flex-wrap: wrap; }
    .cc-banner__actions .cc-btn { flex: 1 1 0; min-width: 0; padding: 13px 10px;
      text-align: center; white-space: normal; }
  }
  @media (max-width: 380px) {
    .cc-banner__actions .cc-btn { font-size: 11px; padding: 13px 6px; }
  }
  @media (max-width: 520px) {
    .cc-panel { padding: 20px; }
    .cc-panel__actions { flex-direction: column-reverse; }
    .cc-panel__actions .cc-btn { width: 100%; text-align: center; }
  }

  @media (prefers-reduced-motion: reduce) {
    .cc-banner, .cc-modal, .cc-panel, .cc-btn, .cc-switch__track, .cc-switch__track::after { transition: none; }
  }

  /* ---- LIGHTBOX ------------------------------------------------------ */
  .lightbox { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center;
    background: rgba(23,34,56,0.92); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
  .lightbox.is-open { display: flex; }
  .lightbox__img { display: block; max-width: 90vw; max-height: 85vh; width: auto; height: auto; border-radius: var(--rds-md); }
  /* Vezérlők: valódi, megfogható gombok (a csupasz glifák helyett) */
  .lightbox__close, .lightbox__nav { position: absolute; display: flex; align-items: center;
    justify-content: center; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%;
    background: var(--white-low-color); color: var(--white-color); cursor: pointer; line-height: 1;
    transition: background var(--ease-t), transform var(--ease-t); }
  .lightbox__close:hover, .lightbox__nav:hover { background: var(--primary-color); }
  .lightbox__close:active, .lightbox__nav:active { transform: scale(0.94); }
  .lightbox__close { top: var(--ws-x-sm); right: var(--ws-x-sm); font-size: 30px; }
  .lightbox__nav { top: 50%; transform: translateY(-50%); font-size: 34px; }
  .lightbox__nav:active { transform: translateY(-50%) scale(0.94); }
  .lightbox__prev { left: var(--ws-x-sm); }
  .lightbox__next { right: var(--ws-x-sm); }
  @media (max-width: 768px) {
    .lightbox__close, .lightbox__nav { width: 44px; height: 44px; font-size: 26px; }
  }

  /* ---- FÓKUSZ-ÁLLAPOTOK --------------------------------------------- */
  /* A reset kikapcsolja az alapértelmezett fókuszkeretet, ezért itt adjuk
     vissza – csak billentyűzetes navigációnál (:focus-visible), türkizzel. */
  a:focus-visible,
  button:focus-visible,
  [class*='button--']:focus-visible,
  .site-nav__list > li > a:focus-visible,
  .nav-toggle:focus-visible,
  .footer-nav > a:focus-visible,
  .footer-meta > a:focus-visible,
  input:focus-visible, select:focus-visible, textarea:focus-visible,
  summary:focus-visible, [tabindex]:focus-visible {
    outline: 3px solid var(--primary-color); outline-offset: 3px; border-radius: 4px; }
  .lightbox__close:focus-visible, .lightbox__nav:focus-visible {
    outline: 3px solid var(--white-color); outline-offset: 2px; }
  /* a lekerekített komponensek megtartják a saját formájukat fókuszban is */
  [class*='button--']:focus-visible { border-radius: var(--rds-md);
    border-top-left-radius: var(--rds-lg); border-bottom-right-radius: var(--rds-lg); }
  .site-nav__list > li:last-child > a:focus-visible { border-radius: var(--ws-x-xs);
    border-top-left-radius: 22px; border-bottom-right-radius: 22px; }

  /* ---- ELREJTETT SEGÉDELEM ------------------------------------------- */
  .scroll-to-row { display: none; height: var(--ws-y-md); }
}

/* ==========================================================================
   6) UTILITIES
   ========================================================================== */
@layer utilities {
  .right { float: right; }
  .left { float: left; }
  .center { margin-left: auto; margin-right: auto; text-align: center; }
  .justify { text-align: justify; }
  .cover { background-size: cover; }
  .rounded { border-radius: .3rem; }
  .fullround { border-radius: 99rem; }
  .circle { border-radius: 50%; }
  .grayscale { filter: grayscale(100%); }
  .X-50 { transform: translateX(-50%); }
  .Y-50 { transform: translateY(-50%); }
  .XY-50 { transform: translate(-50%, -50%); }
  .backdrop-filter--blur { -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
  .noscroll { overflow: hidden; }
}

/* ==========================================================================
   7) KEYFRAMES
   ========================================================================== */
@keyframes throb { 0%, 100% { transform: scale(1); } 50% { transform: scale(.8); } }
@keyframes fadeInUp { 0% { opacity: 0; transform: translate3d(0, 50%, 0); } to { opacity: 1; transform: none; } }
@keyframes text-focus-in { 0% { filter: blur(12px); opacity: 0; } 100% { filter: blur(0px); opacity: 1; } }
@keyframes levitation { 0% { transform: translateY(0); } 50% { transform: translateY(-10px); } to { transform: translateY(0); } }

/* ==========================================================================
   8) RESPONSIVE
   ========================================================================== */
@layer responsive {
  /* reszponzív oszlop-grid töréspontonként */
  @media (max-width: 1300px) {
    .c-xl-1 > *, .c0-xl-1 > * { width: 98%; } .c-xl-2 > *, .c0-xl-2 > * { width: 48%; }
    .c-xl-3 > *, .c0-xl-3 > * { width: 31.333333%; } .c-xl-4 > *, .c0-xl-4 > * { width: 23%; }
    .c-xl-5 > *, .c0-xl-5 > * { width: 18%; } .c-xl-6 > *, .c0-xl-6 > * { width: 14.666666%; }
    .cm0-xl-1 > * { width: 100%; } .cm0-xl-2 > * { width: 50%; } .cm0-xl-3 > * { width: 33.333333%; }
    .cm0-xl-4 > * { width: 25%; } .cm0-xl-5 > * { width: 20%; } .cm0-xl-6 > * { width: 16.666666%; }
    .xl-hide { display: none; } .xl-show { display: block; }
  }
  @media (max-width: 1024px) {
    .c-lg-1 > *, .c0-lg-1 > * { width: 98%; } .c-lg-2 > *, .c0-lg-2 > * { width: 48%; }
    .c-lg-3 > *, .c0-lg-3 > * { width: 31.333333%; } .c-lg-4 > *, .c0-lg-4 > * { width: 23%; }
    .c-lg-5 > *, .c0-lg-5 > * { width: 18%; } .c-lg-6 > *, .c0-lg-6 > * { width: 14.666666%; }
    .cm0-lg-1 > * { width: 100%; } .cm0-lg-2 > * { width: 50%; } .cm0-lg-3 > * { width: 33.333333%; }
    .cm0-lg-4 > * { width: 25%; } .cm0-lg-5 > * { width: 20%; } .cm0-lg-6 > * { width: 16.666666%; }
    .lg-hide { display: none; } .lg-show { display: block; }
  }
  @media (max-width: 768px) {
    .c-md-1 > *, .c0-md-1 > * { width: 98%; } .c-md-2 > *, .c0-md-2 > * { width: 48%; }
    .c-md-3 > *, .c0-md-3 > * { width: 31.333333%; } .c-md-4 > *, .c0-md-4 > * { width: 23%; }
    .c-md-5 > *, .c0-md-5 > * { width: 18%; } .c-md-6 > *, .c0-md-6 > * { width: 14.666666%; }
    .cm0-md-1 > * { width: 100%; } .cm0-md-2 > * { width: 50%; } .cm0-md-3 > * { width: 33.333333%; }
    .cm0-md-4 > * { width: 25%; } .cm0-md-5 > * { width: 20%; } .cm0-md-6 > * { width: 16.666666%; }
    .md-hide { display: none !important; } .md-show { display: block; }
  }
  @media (max-width: 480px) {
    .c-sm-1 > *, .c0-sm-1 > * { width: 98%; } .c-sm-2 > *, .c0-sm-2 > * { width: 48%; }
    .c-sm-3 > *, .c0-sm-3 > * { width: 31.333333%; } .c-sm-4 > *, .c0-sm-4 > * { width: 23%; }
    .c-sm-5 > *, .c0-sm-5 > * { width: 18%; } .c-sm-6 > *, .c0-sm-6 > * { width: 14.666666%; }
    .cm0-sm-1 > * { width: 100%; } .cm0-sm-2 > * { width: 50%; } .cm0-sm-3 > * { width: 33.333333%; }
    .cm0-sm-4 > * { width: 25%; } .cm0-sm-5 > * { width: 20%; } .cm0-sm-6 > * { width: 16.666666%; }
    .sm-hide { display: none; } .sm-show { display: block; }
  }
  @media (max-width: 320px) {
    .c-xs-1 > *, .c0-xs-1 > * { width: 98%; } .c-xs-2 > *, .c0-xs-2 > * { width: 48%; }
    .c-xs-3 > *, .c0-xs-3 > * { width: 31.333333%; } .c-xs-4 > *, .c0-xs-4 > * { width: 23%; }
    .c-xs-5 > *, .c0-xs-5 > * { width: 18%; } .c-xs-6 > *, .c0-xs-6 > * { width: 14.666666%; }
    .cm0-xs-1 > * { width: 100%; } .cm0-xs-2 > * { width: 50%; } .cm0-xs-3 > * { width: 33.333333%; }
    .cm0-xs-4 > * { width: 25%; } .cm0-xs-5 > * { width: 20%; } .cm0-xs-6 > * { width: 16.666666%; }
    .xs-hide { display: none; } .xs-show { display: block; }
  }

  @media (max-width: 1550px) {
    :root { --ws-y: 70px; --ws-y-md: 30px; --ws-y-sm: 15px; --header: 86px; --logo: 50px; --text-fix-size: 16px; }
    /* kép szélessége rugalmas (left+right anchor) – töréspont-width nem kell */
  }
  @media (max-width: 1300px) {
    :root { --ws-y: 60px; --ws-x-sm: 15px; --text-min-size: 14px; --profileImage: 100px; --nav-size: 14px; --logo: 44px; --header: 80px; }
    .slide__media .heroright, .headline__media .heroright, .headline > .wrapper > span .heroright { display: none; }
    /* kép szélessége rugalmas (left+right anchor) – töréspont-width nem kell */
    /* tömörebb nav a köztes desktop-szélességekhez (1201–1300), hogy ne fedje a logót/nyelvváltót */
    .site-nav__list { gap: 0; }
    .site-nav__list > li > a { padding: 8px 9px; }
    .site-nav__list > li > a::after { left: 9px; right: 9px; }
  }
  @media (max-width: 1200px) {
    .headline__content, .headline > .wrapper > div { max-width: min(440px, 47%); }
    /* nav → hamburger + jobb oldali drawer; a scrim maga a .site-nav overlay */
    .nav-toggle { display: block; }
    .site-header__lang { margin-left: auto; }
    .site-nav {
      position: fixed; inset: 0; z-index: 92; margin-left: 0; display: block;
      background: color-mix(in srgb, var(--dark-color) 55%, transparent);
      -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
      opacity: 0; visibility: hidden;
      transition: opacity var(--ease-slow), visibility var(--ease-slow);
    }
    .site-nav.open { opacity: 1; visibility: visible; }
    .site-nav > div {
      position: absolute; top: 0; right: 0; height: 100%; width: var(--drawer-w);
      display: block; overflow-y: auto; -webkit-overflow-scrolling: touch;
      padding: calc(var(--header) + 14px) 18px 32px;
      background: var(--white-color); box-shadow: var(--sh-drawer);
      transform: translateX(100%); transition: transform var(--ease-slow);
    }
    .site-nav.open > div { transform: translateX(0); }
    .site-nav__list { display: block; margin: 0; }
    .site-nav__list > li { display: block; padding: 0; }
    .site-nav__list > li:first-child { display: block; }
    .site-nav__list > li > a {
      display: block; padding: 13px 16px; border-radius: 12px;
      font-size: 16px; font-weight: 600; text-transform: none; text-align: left;
    }
    .site-nav__list > li > a::after { display: none; }
    .site-nav__list > li > a:hover,
    .site-nav__list > li.current > a { background: var(--primary-low-color); color: var(--primary-color); }

    /* CTA a drawer alján: teljes szélességű, középre zárt */
    .site-nav__list > li:last-child { margin: 16px 0 0; }
    .site-nav__list > li:last-child > a { text-align: center; color: var(--white-color);
      background: var(--primary-color); padding: 14px 20px; box-shadow: none; }
    /* ugyanaz a drawerben: a `.current` ne vegye fel a hover-kinézetet */
    .site-nav__list > li:last-child > a:hover { color: var(--white-color);
      background: color-mix(in srgb, var(--primary-color) 85%, #000); transform: none; }
    .site-nav__list > li:last-child.current > a { color: var(--white-color);
      background: var(--primary-color); font-weight: 600; }

    /* Almenü a drawerben: behúzott accordion */
    .site-nav__list > li.has-dropdown > a { display: flex; align-items: center; justify-content: space-between; }
    .site-nav__list > li.has-dropdown > a > .nav-caret { width: 16px; height: 16px; margin-left: auto;
      flex: 0 0 auto; transition: transform 0.3s ease; }
    .site-nav__list > li.has-dropdown.sub-open > a > .nav-caret { transform: rotate(180deg); }
    .site-nav__list > li.has-dropdown > ul.nav-dropdown {
      position: static; display: block; grid-template-columns: none; transform: none;
      opacity: 1; visibility: visible; pointer-events: auto; width: auto; max-width: none;
      margin: 2px 0 0; padding: 0 0 0 8px; background: none; border: 0; border-radius: 0;
      box-shadow: none; max-height: 0; overflow: hidden; z-index: auto;
      transition: max-height 0.3s ease; }
    .site-nav__list > li.has-dropdown.sub-open > ul.nav-dropdown { max-height: 640px; }
    .site-nav__list > li.has-dropdown > ul.nav-dropdown::before { display: none; }
    .site-nav__list > li.has-dropdown > ul.nav-dropdown > li > a { min-height: 44px; padding: 11px 14px; font-size: 15px; }
    .site-nav__list > li.has-dropdown > ul.nav-dropdown > li.current > a {
      background: var(--primary-low-color); color: var(--primary-color); }
  }
  @media (max-width: 1024px) {
    :root { --services-col: 2; --h1-size: 36px; --h2-size: 34px; --nav-size: 14px; --text-size: 15px; --text-fix-size: 15px; --ws-y: 50px; }
    .slide__inner { max-width: min(440px, 47%); }
    .about { padding: 0 var(--ws-x); }
    .intro { padding: calc(var(--ws-y) * 1.5) var(--ws-x) 0 var(--ws-x); }
    .contactInfo, .contactCard { margin-left: 0; margin-right: 0; }
    .paraline > div > svg { display: none; }
  }
  @media (max-width: 768px) {
    :root { --category-col: 2; --header: 80px; --logo: 40px; --ws-y: 50px; --ws-x-md: 30px; --icon-lg: 60px; --button-size: 13px; --rds-lg: 40px; }
    /* érintési célméret: a kisebb --button-size mellett is legalább 44px magas
       gomb (a padding és a betűméret változatlan marad) */
    [class*='button--']:not(.totop) { min-height: 44px; display: inline-flex;
      align-items: center; justify-content: center; }
    h2 > small { margin-bottom: 10px; letter-spacing: 3px; text-transform: none; }
    .wrapper { width: 96%; }
    .headline-slider { text-align: center; }
    .slide__media .heroleft, .headline__media .heroleft, .headline > .wrapper > span .heroleft { display: none; }
    .site-footer__cols { grid-template-columns: 1fr 1fr; }
    .slide__body { padding-top: 0; height: auto; }
    .slide__inner { max-width: 100%; padding: var(--ws-y) 0; }
    .slide__media { position: relative; display: block; width: 120%; height: auto; right: -10%; left: -10%; }
    .slide__media > img { width: 100%; height: auto; }
    .headline > .wrapper--image { padding: 0 0 var(--ws-y) 0; width: 100%; }
    .headline__media, .headline > .wrapper > span { position: relative; right: inherit; left: auto; height: auto; width: 100%; }
    .headline__media > img, .headline > .wrapper > span > img { height: auto; width: 100%; }
    .headline__content, .headline > .wrapper > div { max-width: 90%; margin: auto; text-align: center; padding-top: var(--ws-y); }

    /* HERO FOTÓKÁRTYA · mobil: a sorrend szöveg → fotó (a DOM-ban a kép van
       elöl, ezért flex-order-rel cseréljük), a kártya közel teljes szélességű,
       lekerekített, oldalmargóval, korlátozott magassággal. */
    .slider-dots { text-align: center; }
    .contentList > a { display: block; }

    /* BLOG · mobil: kép felül, tartalom alatta – a kép a kártya teljes
       szélességét kitölti, sarkai a kártya külső lekerekítését követik
       (a kártya overflow:hidden-je vágja). Maszk és dekoráció nélkül. */
    .contentList--clean > a { display: block; }
    .contentList--clean > a > span { min-height: 0; height: clamp(170px, 46vw, 240px); }
    .contentList--clean > a > div { padding: var(--ws-y-md) var(--ws-x-sm); }
    .teamList > div { display: block; }
    .teamList > div > span > img { max-width: 240px; margin: auto; padding: 5px; }
    .teamList > div > div, .teamList > div:nth-of-type(even) > div { padding: var(--ws-y) 0 0 0; }
    .teamList > div > div > h2, .teamList > div > div > h5 { text-align: center; display: block; }

    /* CSAPATUNK · mobil: minden kártya egységes – portré felül, szöveg alatta,
       nincs odd/even váltakozás. A portré a kártya teljes belső szélességét
       kitölti, korlátozott magassággal, torzításmentesen. */
    .teamList--clean > div,
    .teamList--clean > div:nth-of-type(even) { display: block; grid-template-columns: none; }
    .teamList--clean > div > span,
    .teamList--clean > div:nth-of-type(even) > span {
      width: 100%; max-width: none; justify-self: auto;
      height: clamp(220px, 62vw, 300px); border-radius: 18px; }
    .teamList--clean > div > span > img,
    .teamList--clean > div:nth-of-type(even) > span > img {
      max-width: none; margin: 0; padding: 0; width: 100%; height: 100%; }
    .teamList--clean > div > div,
    .teamList--clean > div:nth-of-type(even) > div { padding: var(--ws-y-md) 0 0 0; }
    .teamList--clean > div > div > h2,
    .teamList--clean > div > div > h5 { text-align: left; }
    [class*='button--'].with-icon--left, [class*='button--'].with-icon--right { }
  }
  @media (max-width: 480px) {
    :root { --services-col: 1; --category-col: 1; --ws-y: 30px; --ws-y-md: 20px; --ws-x-sm: 15px; --ws-x-md: 20px; --text-size: 14px; --text-fix-size: 14px;
      --h1-size: 24px; --h2-size: 24px; --h3-size: 18px; --h4-size: 18px; --h5-size: 15px; --header: 74px; --logo: 34px;
      --wrapper: 94%; --button-size: 11px; --rds-lg: 30px; --profileImage: 90px; }
    p { margin: 10px 0; }
    .totop { bottom: 5px; }
    /* szűk mobilon tömörebb pill, hogy logó + EN + hamburger biztosan elférjen */
    .site-header > .wrapper { padding: 8px 10px 8px 14px; gap: 8px; }
    .site-header__lang { gap: 6px; }
    .site-header__lang > a { padding: 6px 7px; gap: 5px; }
    .nav-toggle { width: 42px; height: 42px; }
    .nav-toggle span { left: 11px; }
    .site-footer__cols { grid-template-columns: 1fr; gap: 4px; }
    .footer-meta > a:not(:last-child), .footer-meta > nav > a:not(:last-child) { margin-right: 8px; padding-right: 8px; }
    .samecategory > a { margin-bottom: calc(var(--ws-y) * 2); }
    .about, .intro, .contactForm { padding-left: 0; padding-right: 0; }
    .contactCard > div { padding: var(--ws-y) var(--ws-x-xs); }
    .miertmi { padding: var(--ws-y-sm); }
    .teamList > div > span > img { max-width: 180px; }
    .reviewCard > li > div > i > svg,
    .faq > li > input[type=checkbox] + label > i > svg { height: calc(var(--icon-sm) * 0.8); width: calc(var(--icon-sm) * 0.8); }
  }

  /* ==== MOBIL NAVIGÁCIÓS PANEL ========================================
     A drawer korábban a fejléc-pill dobozába volt zárva: a pill
     `backdrop-filter`-e (nem `none`) containing blockot hoz létre a
     `position:fixed` leszármazottaknak, ezért a `.site-nav { inset:0 }`
     a pillhez oldódott fel a viewport helyett – innen a ~330×58 px-es,
     félbevágott menü. Nyitott menüben kikapcsoljuk a pill blur-jét, így
     a panel újra a viewporthoz igazodik. Zárt állapotban és 1200 px
     fölött a fejléc megjelenése változatlan.
     ==================================================================== */
  @media (max-width: 1200px) {
    body.nav-open .site-header > .wrapper {
      -webkit-backdrop-filter: none;
              backdrop-filter: none;
    }

    /* a panel a teljes magasságot kitölti; dvh a mobil címsor-/eszköztár
       animáció miatt, 100% fallbackkel a régebbi motorokhoz */
    .site-nav > div {
      height: 100%;
      height: 100dvh;
      display: flex;
      flex-direction: column;
      overscroll-behavior: contain;
    }
    /* a menülista viszi a maradék helyet, és önmagában görget, ha kell –
       nem az alatta lévő oldal */
    .site-nav__list {
      flex: 1 1 auto;
      min-height: 0;
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
      overscroll-behavior: contain;
    }

    /* Háttér-görgetés zárolása. Az `overflow:hidden` a gyökérelemre is
       kiterjed, iOS Safariban azonban ez érintésre nem tart – ezért a JS
       a body-t kifixálja az aktuális görgetési pozíción (nav-locked), és
       záráskor visszagörget. A body position:fixed NEM hoz létre
       containing blockot a fixed panelnek, így az a viewporthoz marad. */
    html:has(body.nav-open) { overflow: hidden; }
    body.nav-open { overscroll-behavior: none; }
    body.nav-locked { position: fixed; left: 0; right: 0; width: 100%; }
  }

  /* Telefon-szélességen a panel teljes szélességű, hogy a fejléc-pill
     logója és X-e a panel fölött, fehér felületen legyen – nem a
     sötét scrim fölött lebegve. Tabletnél marad az oldalsó drawer. */
  @media (max-width: 560px) {
    .site-nav > div {
      width: 100%;
      max-width: none;
      box-shadow: none;
    }
    /* A logó és a nyelvváltó `position:static`, ezért a rajtuk lévő
       z-index hatástalan volt, és a panel alá kerültek. Kiemeljük őket a
       panel (z-index 92) fölé – a hamburger/X már eleve relatív+99. */
    body.nav-open .site-header__logo,
    body.nav-open .site-header__lang { position: relative; z-index: 99; }
  }

  /* Keskeny telefonokon a fejléc tartalma nem fért ki: a logó lockup
     aspect-ratiója 600:111.77, így 34 px magasan 182 px széles – ez a
     nyelvváltóval és a hamburgerrel együtt túllépte a pill belső
     szélességét, és a hamburger levágódott (320 px-en 12 px-szel).
     Kicsit alacsonyabb logó + szélesebb pill + tömörebb belső térköz. */
  @media (max-width: 400px) {
    :root { --logo: 30px; }
    .site-header { padding-left: 8px; padding-right: 8px; }
    .site-header > .wrapper { width: 100%; padding: 8px 8px 8px 12px; gap: 6px; }
    .site-header__logo { min-width: 0; }
  }

  /* ==== MOBIL QA – tartalmi javítások ================================= */
  @media (max-width: 768px) {
    /* CSAPATUNK: a páratlan kártyák portréján ottragadt a 180 px-es
       max-width a ≤480-as örökölt szabályból, mert a páros kártyák
       `:nth-of-type(even)` szabálya nagyobb specificitású volt, a páratlanoké
       nem. Így mobilon váltakozó (180/319 px) képszélesség keletkezett. */
    .teamList--clean > div > span > img,
    .teamList--clean > div:nth-of-type(even) > span > img {
      max-width: none; width: 100%; height: 100%; margin: 0; padding: 0;
    }

    /* ŰRLAP: 16 px alatti betűméretnél az iOS Safari fókuszkor beleZOOMOL a
       mezőbe, és elcsúsztatja a layoutot. 16 px-től ez nem történik meg. */
    .contactForm input:not([type=checkbox]):not([type=radio]),
    .contactForm select,
    .contactForm textarea,
    form input:not([type=checkbox]):not([type=radio]),
    form select,
    form textarea { font-size: 16px; }

    /* to-top: 44×44 minimum tap-target */
    .totop { width: 44px; height: 44px; }

    /* ---- CSAPATUNK PORTRÉK · mobil kompozíció ----------------------------
       Gyökérok: a portréfájlok 300×300 NÉGYZETESEK, a mobil képdoboz viszont
       fekvő volt (100% széles × clamp(220px,62vw,300px) magas → 375 px-en
       319×233, arány 1.37). `object-fit: cover` mellett ez a forráskép
       magasságának 27%-át levágta, a desktopról ÖRÖKÖLT
       `object-position: center top` miatt pedig mindet alulról – ezért
       csúszott ki Dr. Molnár Gergely álla (az ő arca tölti ki a legszorosabban
       a képet: áll a 77%-nál, a többieké 40–58% között).

       Megoldás: a doboz magasságát nem fix pixelre, hanem ARÁNYRA kötjük.
       28/25 = 1.12 aránynál a látható sáv mindig a forrás felső 89,3%-a,
       a képernyő szélességétől függetlenül – így minden portrénál a fejtető
       és az áll is bent van, az áll alatt ~12% természetes tér marad.
       A szélesség-plafon miatt a kártya nem magasodik érdemben (375 px-en
       +17 px, 430 px-en −16 px), a kép nem torzul, az arány megmarad.

       Egyedi portré finomhangolása: az adott kártyára elég a
       `--portrait-pos` egyedi értéket megadni (pl. `center 20%`). */
    .teamList--clean > div > span,
    .teamList--clean > div:nth-of-type(even) > span {
      width: min(100%, 280px);
      margin-inline: auto;
      height: auto;
      aspect-ratio: 28 / 25;
    }
    .teamList--clean > div > span > img,
    .teamList--clean > div:nth-of-type(even) > span > img {
      object-fit: cover;
      object-position: var(--portrait-pos, center top);
    }
  }

  /* ---- TÉRKÉP: reszponzív magasság --------------------------------------
     A régi `#maps` fix `min-height: 500px`-et írt elő, ami egy 667 px magas
     telefonon a látómező 75%-át elvitte. A komponens ehelyett lépcsőzik –
     a két marker a legkisebb méretnél is értelmezhetően látszik (a JS
     `fitBounds` 58 px-es paddinggel igazít, így egyik sem ér a szélre). */
  @media (max-width: 1024px) { .kl-map { height: 400px; } }
  @media (max-width: 768px)  { .kl-map { height: 340px; } }
  @media (max-width: 430px)  { .kl-map { height: 300px; } }
}
