/* ==========================================================================
   FRoSTA Daytime Disco – regisztrációs microsite
   style.css

   Tartalom:
     1.  Fontok
     2.  Design tokenek (színek, árnyékok, méretek)
     3.  Alapok / reset
     4.  Segédosztályok és layout
     5.  Gombok
     6.  Sticky fejléc
     7.  Hero
     8.  Diszkógömb "fényfoltok" (sparkles)
     9.  Bemutatkozás + infókártyák
     10. Mi vár rád? – program kártyák
     11. Regisztráció – kártya, idősávok, mezők
     12. Sikeres regisztráció – belépőjegy
     13. Lábléc
     14. Görgetésre beúszó animációk
     15. Reszponzív töréspontok
     16. Csökkentett mozgás (akadálymentesség)

   Mobile-first: az alap stílusok mobilra szólnak, a nagyobb kijelzőkre
   a 15. pontban lévő media queryk bővítenek.
   ========================================================================== */


/* ==========================================================================
   1. FONTOK – FRoSTA Sans (a márka saját betűtípusa)
   ========================================================================== */
@font-face {
  font-family: 'FRoSTA Sans';
  src: url('../fonts/frosta-sans-regular.woff2') format('woff2'),
       url('../fonts/frosta-sans-regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'FRoSTA Sans';
  src: url('../fonts/frosta-sans-bold.woff2') format('woff2'),
       url('../fonts/frosta-sans-bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'FRoSTA Sans';
  src: url('../fonts/frosta-sans-black.woff2') format('woff2'),
       url('../fonts/frosta-sans-black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}


/* ==========================================================================
   2. DESIGN TOKENEK
   Forrás:
     - logó színek: arculati/01_FRoSTA_Logo/01_RGB_Digital (AI swatch-ok)
         navy   C100 M100 Y25 K25  → #28215C
         kék    "CMYK Blau"        → #271D6B
         zöld   C57 M0 Y100 K0     → #7FBA25
         sárga  (nap)              → #FBC100
         szürke "grau" (kontúr)    → #D2DCE7
     - KV acélkékek: a key visual háttere (CMYK → sRGB, ICC konverzió után)
   ========================================================================== */
:root {
  /* Key visual acélkékek (sötéttől a világosig) */
  --kv-ink:    #2c4a61;
  --kv-deep:   #42657f;
  --kv-mid:    #5f819d;
  --kv-light:  #7fa0ba;
  --kv-pale:   #dfe8ef;
  --sky-pale:  #f2f6f9;
  --teal:      #488591;   /* a lemez színe a KV-n */

  /* FRoSTA logó színek */
  --navy:      #28215c;
  --navy-2:    #271d6b;
  --green:     #7fba25;
  --green-dk:  #4f7d10;
  --sun:       #fbc100;
  --grey:      #d2dce7;

  /* Szöveg és felületek */
  --text:      #1f2a44;
  --text-soft: #52667a;
  --white:     #ffffff;
  --line:      #d2dce7;
  --error:     #c8323c;
  --error-bg:  #fdeeee;

  /* Átmenetek a KV hangulatában (a világos vég visszafogott, hogy a fehér szöveg olvasható maradjon) */
  --grad-kv:   linear-gradient(125deg, #34556d 0%, var(--kv-deep) 45%, var(--kv-mid) 100%);
  --grad-hero: linear-gradient(115deg, #3b5d77 0%, var(--kv-deep) 30%, #6a8ba6 70%, var(--kv-light) 100%);

  /* Formák, árnyékok */
  --radius-sm: 12px;
  --radius:    20px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 8px rgba(31, 42, 68, .08);
  --shadow:    0 14px 40px rgba(31, 42, 68, .14);
  --shadow-lg: 0 30px 80px rgba(22, 40, 58, .30);

  /* Layout */
  --container: 1120px;
  --gutter:    20px;
  --topbar-h:  64px;

  --ease-out: cubic-bezier(.2, .8, .2, 1);
}


/* ==========================================================================
   3. ALAPOK / RESET
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* A sticky fejléc ne takarja ki a horgonyra ugrott szekció tetejét */
  scroll-padding-top: calc(var(--topbar-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: 'FRoSTA Sans', 'Trebuchet MS', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--sky-pale);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; }

h1, h2, h3 { margin: 0; line-height: 1.1; font-weight: 700; }
p { margin: 0 0 1em; }

/* Egységes, jól látható fókusz billentyűzetes navigációhoz */
:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 3px;
  border-radius: 6px;
}

/* A [hidden] attribútum mindig nyerjen a display beállításokkal szemben */
[hidden] { display: none !important; }


/* ==========================================================================
   4. SEGÉDOSZTÁLYOK ÉS LAYOUT
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 1;
}
.container--narrow { max-width: 860px; }

/* Képernyőolvasónak látható, vizuálisan rejtett */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* "Ugrás a regisztrációhoz" link – csak fókuszban látszik */
.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--sun);
  color: var(--navy);
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* Kis felirat a szekciócímek felett */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .85);
}
.eyebrow::before {
  content: '';
  width: 28px; height: 2px;
  background: var(--sun);
  border-radius: 2px;
}
.eyebrow--dark { color: var(--kv-mid); }

.section-title {
  font-size: clamp(30px, 6.4vw, 52px);
  letter-spacing: -.02em;
  color: var(--navy);
  margin-bottom: 22px;
  text-wrap: balance;
}
.section-title--light { color: var(--white); }

/* "A részvétel ingyenes" címke */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 9px 16px 9px 12px;
  background: var(--sun);
  color: var(--navy);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(251, 193, 0, .35);
}
.pill svg { width: 18px; height: 18px; fill: currentColor; }


/* ==========================================================================
   5. GOMBOK
   ========================================================================== */
.btn {
  --btn-bg: var(--navy);
  --btn-fg: var(--white);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border: 0;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: inherit;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out), background-color .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn__icon {
  width: 20px; height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .2s var(--ease-out);
}
.btn:hover .btn__icon { transform: translateX(3px); }

/* Napsárga – fő CTA a kék háttereken */
.btn--sun {
  --btn-bg: var(--sun);
  --btn-fg: var(--navy);
  box-shadow: 0 10px 26px rgba(251, 193, 0, .38);
}
.btn--sun:hover { --btn-bg: #ffcb2b; box-shadow: 0 14px 32px rgba(251, 193, 0, .5); }

/* Navy – a form beküldése */
.btn--navy {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 100%);
  box-shadow: 0 12px 28px rgba(41, 35, 92, .3);
}
.btn--navy:hover { box-shadow: 0 16px 34px rgba(41, 35, 92, .42); }

.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--navy);
  box-shadow: inset 0 0 0 2px var(--navy);
}
.btn--outline:hover { --btn-bg: var(--navy); --btn-fg: var(--white); }
.btn--outline:hover .btn__icon { transform: none; }

/* Áttetsző "üveg" gomb – a hero navigációjában, a kék háttéren */
.btn--glass {
  --btn-bg: rgba(255, 255, 255, .14);
  --btn-fg: var(--white);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .6);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}
.btn--glass:hover { --btn-bg: var(--white); --btn-fg: var(--navy); }

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

/* Betöltés jelző a beküldés gombon */
.btn__spinner {
  display: none;
  width: 20px; height: 20px;
  border: 3px solid rgba(255, 255, 255, .35);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
.btn.is-loading { pointer-events: none; opacity: .9; }
.btn.is-loading .btn__label { opacity: .7; }
.btn.is-loading .btn__spinner { display: inline-block; }

@keyframes spin { to { transform: rotate(360deg); } }


/* ==========================================================================
   6. STICKY FEJLÉC
   Alapból a képernyőn kívül van, a main.js teszi rá az .is-visible osztályt,
   amikor a hero kigördül.
   ========================================================================== */
.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--topbar-h);
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 rgba(24, 48, 68, .08), 0 8px 24px rgba(24, 48, 68, .08);
  transform: translateY(-110%);
  transition: transform .35s var(--ease-out);
}
.topbar.is-visible { transform: translateY(0); }

.topbar__inner {
  height: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 16px;
}
.topbar__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--navy);
  font-weight: 700;
  font-size: 18px;
}
.topbar__brand img { width: 44px; height: auto; }
.topbar__meta {
  display: none;               /* mobilon nem fér ki */
  margin-left: auto;
  font-size: 15px;
  color: var(--text-soft);
}
.topbar .btn { margin-left: auto; }


/* ==========================================================================
   7. HERO
   A key visual elemeiből (kivágott gömb + lemezjátszó) felépített,
   élő tipográfiás kompozíció. Mobile-first: mobilon egymás alatt,
   desktopon (≥1024px, lásd lent) a KV elrendezését követi.

   Rétegek (z-index):
     0 – háttér + fényfoltok
     1 – diszkógömb
     2 – szöveg (a gömb FÖLÖTT, mint a KV-n)
     3 – lemezjátszó + pecsét
     4 – navigáció
   ========================================================================== */
.hero {
  /* A tartalom bal széle – a Borganika doboz ehhez igazodva fut ki a képernyő széléig */
  --hero-x: var(--gutter);

  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
  background: var(--grad-hero);
}

/* --- Háttér --------------------------------------------------------------- */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
/* Puha fényudvar a gömb körül */
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 55% at 74% 8%, rgba(255, 255, 255, .30) 0%, rgba(255, 255, 255, 0) 70%),
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(28, 52, 72, .35) 0%, rgba(28, 52, 72, 0) 70%);
}

/* --- Diszkógömb ----------------------------------------------------------- */
.hero__ball {
  position: absolute;
  z-index: 1;
  top: 0;
  right: -18vw;
  width: 92vw;
  /* A forgáspont a kép fölött van → úgy leng, mintha a mennyezetről lógna */
  transform-origin: 50% -70%;
  animation:
    ball-drop 1.3s var(--ease-out) both,
    ball-sway 10s ease-in-out 1.3s infinite;
}
.hero__ball img {
  width: 100%;
  filter: drop-shadow(0 30px 40px rgba(22, 40, 58, .35));
}
/* Végigfutó fénycsík – maszkkal pontosan a gömb alakjára vágva */
.hero__glint {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, .6) 50%, rgba(255, 255, 255, 0) 62%);
  background-size: 260% 100%;
  background-repeat: no-repeat;
  -webkit-mask: url('../img/kv-ball.webp') center / 100% 100% no-repeat;
          mask: url('../img/kv-ball.webp') center / 100% 100% no-repeat;
  mix-blend-mode: soft-light;
  animation: glint 7s ease-in-out 1.8s infinite;
}

@keyframes ball-drop {
  from { transform: translateY(-55%); opacity: 0; }
  to   { transform: none;             opacity: 1; }
}
@keyframes ball-sway {
  0%, 100% { transform: rotate(0deg); }
  50%      { transform: rotate(-1.8deg); }
}
@keyframes glint {
  0%        { background-position: 130% 0; }
  45%, 100% { background-position: -30% 0; }
}

/* --- Navigáció ----------------------------------------------------------- */
.hero__nav {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px var(--hero-x) 0;
}
.hero__logo {
  width: 62px;
  height: auto;
  filter: drop-shadow(0 8px 18px rgba(22, 40, 58, .25));
}
.hero__links {
  display: flex;
  align-items: center;
  gap: 26px;
}
.hero__links > a:not(.btn) {
  display: none;               /* mobilon csak a gomb látszik */
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  text-shadow: 0 2px 10px rgba(22, 40, 58, .35);
}
.hero__links > a:not(.btn):hover { color: var(--sun); }

/* --- Szöveg ---------------------------------------------------------------- */
.hero__content {
  position: relative;
  z-index: 2;
  padding: 30vw var(--hero-x) 0;
}

.hero__title {
  font-weight: 900;
  font-size: clamp(48px, 14.5vw, 96px);
  line-height: .92;
  letter-spacing: -.025em;
  /* árnyék: a gömb világos csempéi fölött is olvasható maradjon */
  text-shadow: 0 4px 28px rgba(22, 40, 58, .45);
}
.hero__line {
  display: block;
  animation: rise .9s var(--ease-out) both;
}
.hero__line:nth-child(2) { animation-delay: .12s; }

.hero__event {
  margin: 16px 0 0;
  font-size: clamp(28px, 8vw, 44px);
  line-height: 1.05;
  font-weight: 400;
  animation: rise .9s var(--ease-out) .25s both;
}

/* A KV fekete helyszín-doboza: bal oldalon a képernyő széléig kifut */
.hero__venue {
  display: inline-block;
  margin: 22px 0 0 calc(var(--hero-x) * -1);
  padding: 14px 24px 14px var(--hero-x);
  background: #161616;
  box-shadow: 0 16px 36px rgba(0, 0, 0, .22);
  animation: slide-in .9s var(--ease-out) .38s both;
}
.hero__venue img { width: clamp(150px, 44vw, 230px); }

.hero__date {
  margin: 20px 0 0;
  animation: rise .9s var(--ease-out) .5s both;
}
.hero__date strong {
  display: block;
  font-size: clamp(26px, 7vw, 40px);
  line-height: 1.1;
}
.hero__date span {
  display: block;
  margin-top: 4px;
  font-size: clamp(16px, 4vw, 21px);
  font-weight: 700;
  opacity: .92;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-top: 26px;
  animation: rise .9s var(--ease-out) .62s both;
}
.hero__note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 7px 14px;
  font-size: 15px;
  color: var(--white);
  background: rgba(28, 52, 72, .35);
  border-radius: 999px;
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
}
/* Pulzáló zöld pötty – "élő" regisztráció érzet */
.hero__note .dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(127, 186, 37, .7); }
  70%  { box-shadow: 0 0 0 10px rgba(127, 186, 37, 0); }
  100% { box-shadow: 0 0 0 0 rgba(127, 186, 37, 0); }
}

/* --- Lemezjátszó + pecsét ------------------------------------------------ */
.hero__turntable {
  position: relative;
  z-index: 3;
  width: 106vw;
  margin: 44px 0 0 -2vw;
  animation: turntable-in 1.2s var(--ease-out) .2s both;
}
.hero__turntable picture img {
  width: 100%;
  filter: drop-shadow(-18px 24px 30px rgba(22, 40, 58, .35));
}
/* "100% természetes íz" pecsét – lassan forog, mint egy lemez */
.hero__stamp {
  position: absolute;
  top: -9vw;
  right: 5vw;
  width: 24vw;
  height: auto;
  filter: drop-shadow(0 8px 18px rgba(22, 40, 58, .3));
  animation: spin 40s linear infinite;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: none; }
}
@keyframes slide-in {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: none; }
}
@keyframes turntable-in {
  from { opacity: 0; transform: translateY(18%); }
  to   { opacity: 1; transform: none; }
}


/* ==========================================================================
   8. DISZKÓGÖMB FÉNYFOLTOK
   A key visualon látható, ferde fényvisszaverődéseket idézi. A main.js
   generálja a <i> elemeket véletlen pozícióval a .sparkles konténerbe.
   ========================================================================== */
.sparkles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.sparkles i {
  position: absolute;
  width: var(--w, 28px);
  height: var(--h, 9px);
  border-radius: 3px;
  background: rgba(255, 255, 255, .9);
  opacity: 0;
  transform: rotate(var(--r, -35deg));
  filter: blur(.4px);
  animation: twinkle var(--d, 5s) ease-in-out var(--delay, 0s) infinite;
}
@keyframes twinkle {
  0%, 100% { opacity: 0;                   transform: rotate(var(--r)) translateX(0); }
  50%      { opacity: var(--o, .5);        transform: rotate(var(--r)) translateX(10px); }
}


/* ==========================================================================
   9. BEMUTATKOZÁS
   ========================================================================== */
.intro {
  position: relative;
  padding: 72px 0 84px;
  background: var(--grad-kv);
  color: var(--white);
  overflow: hidden;
}
/* Nagy, halvány "fénykör" a jobb felső sarokban – diszkógömb hangulat */
.intro::before {
  content: '';
  position: absolute;
  right: -20%; top: -30%;
  width: 70vw; height: 70vw;
  max-width: 820px; max-height: 820px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .22) 0%, rgba(255, 255, 255, 0) 65%);
}

.intro__grid {
  display: grid;
  gap: 40px;
}
.intro__text p { color: rgba(255, 255, 255, .92); max-width: 62ch; }
.intro__text strong { color: var(--white); }
.intro .lead {
  font-size: clamp(20px, 2.4vw, 24px);
  line-height: 1.45;
  color: var(--white);
  font-weight: 700;
}

/* Infókártyák "üveg" hatással */
.facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  align-content: start;
}
.fact {
  display: grid;
  grid-template-columns: 52px 1fr;
  grid-template-rows: auto auto;
  column-gap: 16px;
  align-items: center;
  padding: 20px 22px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: var(--radius);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(10, 40, 80, .15);
}
.fact__icon {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 16px;
  background: var(--white);
  color: var(--kv-deep);
}
.fact__icon svg {
  width: 26px; height: 26px;
  fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.fact__label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .75);
}
.fact__value {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
}
.fact__value small {
  font-size: 15px;
  font-weight: 400;
  color: rgba(255, 255, 255, .85);
}
.fact__value a { text-decoration-color: rgba(255, 255, 255, .5); text-underline-offset: 3px; }
.fact__value a:hover { text-decoration-color: var(--sun); }


/* ==========================================================================
   10. MI VÁR RÁD?
   ========================================================================== */
.features {
  position: relative;
  padding: 80px 0 88px;
  background: var(--sky-pale);
}
/* Kék "100% természetes íz" pecsét a szekció jobb felső sarkában */
.features__stamp {
  position: absolute;
  top: -34px;
  right: var(--gutter);
  width: 96px;
  height: auto;
  transform: rotate(-10deg);
  opacity: .9;
}

.features__grid {
  display: grid;
  gap: 16px;
  margin-top: 8px;
}
.feature {
  position: relative;
  padding: 26px 24px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature h3 {
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 8px;
}
.feature p:last-child { margin: 0; color: var(--text-soft); font-size: 16px; }
.feature__kicker {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--kv-mid);
}
.feature__icon {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  margin-bottom: 18px;
  border-radius: 18px;
  color: var(--white);
}
.feature__icon svg {
  width: 28px; height: 28px;
  fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.feature__icon--navy  { background: var(--navy); }
.feature__icon--teal  { background: var(--teal); }
.feature__icon--sun   { background: var(--sun); color: var(--navy); }
.feature__icon--green { background: var(--green); }


/* ==========================================================================
   11. REGISZTRÁCIÓ
   ========================================================================== */
.register {
  position: relative;
  padding: 80px 0 96px;
  background: var(--grad-kv);
  overflow: hidden;
}
.register::before {
  content: '';
  position: absolute;
  left: -25%; bottom: -35%;
  width: 80vw; height: 80vw;
  max-width: 900px; max-height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .18) 0%, rgba(255, 255, 255, 0) 65%);
}

.register__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin-bottom: 28px;
}
.register__head .section-title { margin-bottom: 14px; }

/* A fehér form kártya */
.card {
  position: relative;
  padding: 28px 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.notice { text-align: center; padding: 20px 0; }
.notice h3 { font-size: 28px; color: var(--navy); margin-bottom: 10px; }
.notice p { margin: 0; color: var(--text-soft); }

/* Lépések (fieldset) */
.step {
  margin: 0 0 30px;
  padding: 0;
  border: 0;
  min-width: 0;
}
.step__title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding: 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
}
.step__num {
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--kv-pale);
  color: var(--kv-deep);
  font-size: 16px;
}

/* Általános hibaüzenet a form tetején */
.form-alert {
  margin-bottom: 22px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: var(--error-bg);
  color: var(--error);
  font-weight: 700;
  font-size: 15px;
  border-left: 4px solid var(--error);
}

/* --- Idősáv kártyák (rejtett radio + stílusos kártya) ---------------- */
.slots {
  display: grid;
  gap: 14px;
}
.slot { position: relative; display: block; cursor: pointer; }
.slot__input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}
.slot__card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  padding: 20px 20px 18px;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--sky-pale);
  transition: border-color .2s, background-color .2s, box-shadow .2s, transform .2s var(--ease-out);
}
.slot:hover .slot__card { border-color: var(--kv-light); transform: translateY(-2px); }

.slot__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.slot__name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--kv-mid);
}
/* Saját rádiógomb kör */
.slot__radio {
  flex: none;
  width: 24px; height: 24px;
  border: 2px solid #b4c4d3;
  border-radius: 50%;
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.slot__time {
  font-size: clamp(30px, 8vw, 40px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--navy);
}

/* Telítettség csík */
.slot__meter {
  display: block;
  height: 6px;
  border-radius: 6px;
  background: var(--kv-pale);
  overflow: hidden;
}
.slot__meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green) 0%, var(--teal) 100%);
  transition: width .6s var(--ease-out);
}
.slot__avail { font-size: 15px; font-weight: 700; color: var(--green-dk); }

/* "Ezt választom" – gomb kinézetű címke (a kattintást a teljes kártya kapja) */
.slot__cta {
  align-self: stretch;
  display: flex;
  justify-content: center;
  margin-top: 6px;
  padding: 11px 16px;
  border-radius: 999px;
  background: var(--green);
  color: var(--navy);               /* navy a zöldön: jó kontraszt */
  font-size: 15px;
  font-weight: 700;
  transition: background-color .2s, color .2s;
}
.slot:hover .slot__cta { background: #8fc93a; }
.slot__cta-on { display: none; }

/* Kiválasztott állapot */
.slot__input:checked + .slot__card {
  border-color: var(--navy);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(41, 35, 92, .16);
}
.slot__input:checked + .slot__card .slot__radio {
  border-color: var(--navy);
  box-shadow: inset 0 0 0 5px var(--white), inset 0 0 0 12px var(--navy);
}
.slot__input:checked + .slot__card .slot__cta { background: var(--navy); color: var(--white); }
.slot__input:checked + .slot__card .slot__cta-off { display: none; }
.slot__input:checked + .slot__card .slot__cta-on  { display: inline-flex; align-items: center; gap: 6px; }
.slot__input:checked + .slot__card .slot__cta-on::before { content: '✓'; }

.slot__input:focus-visible + .slot__card { outline: 3px solid var(--sun); outline-offset: 3px; }
.slot__input[aria-invalid="true"] + .slot__card { border-color: var(--error); }

/* Kevés hely → sárga, betelt → szürke */
.slot.is-low .slot__avail { color: #9a6f00; }
.slot.is-low .slot__meter span { background: linear-gradient(90deg, var(--sun) 0%, #f39c12 100%); }
.slot.is-full { cursor: not-allowed; }
.slot.is-full .slot__card { opacity: .55; filter: grayscale(.6); transform: none; }
.slot.is-full .slot__avail { color: var(--text-soft); }
.slot.is-full .slot__cta { visibility: hidden; }

/* --- Szövegmezők --------------------------------------------------- */
.fields { display: grid; gap: 18px; margin-bottom: 20px; }
.field { display: flex; flex-direction: column; }
.field__label {
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
}
.field__input {
  width: 100%;
  padding: 15px 18px;
  border: 2px solid var(--line);
  border-radius: 14px;
  background: var(--sky-pale);
  color: var(--text);
  font: inherit;
  font-size: 17px;          /* 16px+ → iOS nem nagyít rá fókuszkor */
  transition: border-color .2s, background-color .2s, box-shadow .2s;
  -webkit-appearance: none;
  appearance: none;
}
.field__input::placeholder { color: #8a9bab; }
.field__input:hover { border-color: #b4c4d3; }
.field__input:focus {
  outline: none;
  border-color: var(--kv-mid);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(66, 101, 127, .18);
}
.field__input[aria-invalid="true"] {
  border-color: var(--error);
  background: var(--error-bg);
}
.field__error {
  margin: 8px 0 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--error);
}
.step > .field__error { margin-top: 12px; }

/* --- Egyedi checkbox ----------------------------------------------- */
.check {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  cursor: pointer;
}
.check input {
  position: absolute;
  opacity: 0;
  width: 26px; height: 26px;
  margin: 0;
}
.check__box {
  flex: none;
  display: grid;
  place-items: center;
  width: 26px; height: 26px;
  border: 2px solid #b4c4d3;
  border-radius: 8px;
  background: var(--white);
  transition: background-color .2s, border-color .2s;
}
.check__box svg {
  width: 18px; height: 18px;
  fill: none; stroke: var(--white);
  stroke-width: 3; stroke-linecap: round; stroke-linejoin: round;
  opacity: 0;
  transform: scale(.6);
  transition: opacity .15s, transform .2s var(--ease-out);
}
.check input:checked + .check__box { background: var(--green); border-color: var(--green); }
.check input:checked + .check__box svg { opacity: 1; transform: scale(1); }
.check input:focus-visible + .check__box { outline: 3px solid var(--sun); outline-offset: 2px; }
.check input[aria-invalid="true"] + .check__box { border-color: var(--error); }
.check a { color: var(--kv-deep); font-weight: 700; text-underline-offset: 3px; }

.footnote {
  margin: 18px 0 0;
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-soft);
  background: var(--sky-pale);
  border-radius: var(--radius-sm);
}

/* Honeypot mező elrejtése (nem display:none, mert azt egyes botok figyelik) */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}


/* ==========================================================================
   12. SIKERES REGISZTRÁCIÓ
   ========================================================================== */
.success {
  text-align: center;
  padding: 8px 0;
  outline: none;
  animation: pop-in .5s var(--ease-out) both;
}
.success h3 {
  font-size: clamp(28px, 5vw, 38px);
  color: var(--navy);
  margin: 18px 0 12px;
}
.success > p { max-width: 52ch; margin-left: auto; margin-right: auto; color: var(--text-soft); }

/* Animált pipa */
.success__badge {
  width: 84px; height: 84px;
  margin: 0 auto;
}
.success__badge svg { width: 100%; height: 100%; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.success__badge circle {
  fill: var(--green);
  stroke: none;
}
.success__badge path {
  stroke: var(--white);
  stroke-width: 4.5;
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: draw .5s .3s var(--ease-out) forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop-in {
  from { opacity: 0; transform: translateY(16px) scale(.98); }
  to   { opacity: 1; transform: none; }
}

/* Belépőjegy – kivágott "lyukakkal" az elválasztónál */
.ticket {
  position: relative;
  display: grid;
  margin: 28px auto 14px;
  max-width: 520px;
  text-align: left;
  color: var(--white);
  background: var(--grad-kv);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.ticket__main,
.ticket__side { padding: 22px 24px; display: flex; flex-direction: column; gap: 4px; }
.ticket__side {
  border-top: 2px dashed rgba(255, 255, 255, .4);
  background: rgba(0, 0, 0, .08);
}
.ticket__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .8;
}
.ticket__code {
  font-size: clamp(24px, 6.4vw, 30px);
  letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.ticket__side strong { font-size: 22px; }
.ticket__date { font-size: 14px; opacity: .85; }

.success__hint { font-size: 14px; margin-bottom: 22px; color: var(--text-soft); }


/* ==========================================================================
   13. LÁBLÉC
   ========================================================================== */
.footer {
  padding: 48px 0 40px;
  background: var(--navy);
  color: var(--white);
  text-align: center;
}
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.footer__logo { width: 88px; }
.footer__claim {
  margin: 0;
  max-width: 30ch;
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 700;
  line-height: 1.3;
  text-wrap: balance;
}
.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  font-size: 14px;
  color: rgba(255, 255, 255, .7);
}
.footer__links a { color: rgba(255, 255, 255, .9); text-underline-offset: 3px; }
.footer__links a:hover { color: var(--sun); }


/* ==========================================================================
   14. GÖRGETÉSRE BEÚSZÓ ANIMÁCIÓK
   Csak akkor aktív, ha a JS fut (html.js osztály), így JS nélkül
   minden tartalom azonnal látszik.
   ========================================================================== */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.js .reveal.is-in { opacity: 1; transform: none; }
.js .features__grid .reveal:nth-child(2) { transition-delay: .08s; }
.js .features__grid .reveal:nth-child(3) { transition-delay: .16s; }
.js .features__grid .reveal:nth-child(4) { transition-delay: .24s; }


/* ==========================================================================
   15. RESZPONZÍV TÖRÉSPONTOK
   ========================================================================== */

/* --- Nagyobb telefon / kis tablet (≥ 560px) --------------------------- */
@media (min-width: 560px) {
  :root { --gutter: 28px; }

  .slots { grid-template-columns: 1fr 1fr; }
  .fields { grid-template-columns: 1fr 1fr; }
  .features__grid { grid-template-columns: 1fr 1fr; }
  .card { padding: 36px 34px; }

  .ticket { grid-template-columns: 1.4fr 1fr; }
  .ticket__side { border-top: 0; border-left: 2px dashed rgba(255, 255, 255, .4); }
  /* Jegy "lyukak" az elválasztó vonal két végén */
  .ticket::before,
  .ticket::after {
    content: '';
    position: absolute;
    left: calc(58.33% - 11px);
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--white);
  }
  .ticket::before { top: -11px; }
  .ticket::after  { bottom: -11px; }
}

/* --- Tablet (≥ 768px) -------------------------------------------------- */
@media (min-width: 768px) {
  .topbar__meta { display: block; }
  .topbar .btn { margin-left: 0; }

  /* Hero – tablet: nagyobb gömb, a szöveg feljebb kezdődik */
  .hero { --hero-x: 40px; }
  .hero__ball { width: 74vw; right: -10vw; }
  .hero__content { padding-top: 16vw; }
  .hero__logo { width: 76px; }
  .hero__links > a:not(.btn) { display: inline; }
  .hero { min-height: min(100svh, 1100px); }
  .hero__content { padding-bottom: 56px; }
  /* A lemezjátszó jobbra lent, a szövegoszlop mellé kerül */
  .hero__turntable {
    position: absolute;
    bottom: 0;
    right: -10vw;
    width: 64vw;
    margin: 0;
  }
  .hero__stamp { top: -34%; right: 22%; width: 24%; }

  .card { padding: 44px 48px; }
}

/* --- Desktop (≥ 1024px) ----------------------------------------------- */
@media (min-width: 1024px) {
  body { font-size: 18px; }

  .intro { padding: 110px 0 120px; }
  .intro__grid {
    grid-template-columns: 1.35fr 1fr;
    gap: 72px;
    align-items: center;
  }
  .features { padding: 110px 0 120px; }
  .features__grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .features__stamp { width: 150px; top: -50px; }
  .register { padding: 110px 0 130px; }

  .register__head {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
  }
  .register__head .eyebrow { flex-basis: 100%; }
  .register__head .section-title { margin-bottom: 0; }

  /* ---- Hero – desktop: a KV elrendezése ----
     Bal oldalt a szöveg-oszlop, jobbra fent a gömb (a cím rálóg, mint a KV-n),
     alul középen-jobbra a lemezjátszó, mellette a forgó pecsét. */
  .hero {
    --hero-x: max(5vw, calc((100vw - 1360px) / 2));
    display: block;
    min-height: clamp(720px, 100svh, 1000px);
  }
  .hero__nav { padding-top: 26px; }
  .hero__logo { width: 88px; }
  .hero__ball { right: 4vw; width: min(47vw, 880px); }
  .hero__content { padding-top: clamp(20px, 4vh, 48px); }
  .hero__title { font-size: clamp(64px, 6.6vw, 124px); }
  .hero__line { display: inline; }
  .hero__event { font-size: clamp(34px, 3.2vw, 58px); }
  .hero__venue img { width: clamp(190px, 17vw, 300px); }
  .hero__date strong { font-size: clamp(30px, 2.5vw, 44px); }
  .hero__turntable {
    position: absolute;
    bottom: 0;
    left: 34vw;
    width: min(51vw, 980px);
    margin: 0;
  }
  .hero__stamp { top: 30%; right: -24%; width: 19%; }
}

/* --- Nagy képernyő (≥ 1440px): nagyobb hero CTA ----------------------- */
@media (min-width: 1440px) {
  .hero__actions .btn--lg { padding: 20px 38px; font-size: 20px; }
  .hero__note { font-size: 16px; }
}

/* --- Alacsony desktop ablak (pl. 1280×720 laptop): tömörebb hero ------ */
@media (min-width: 1024px) and (max-height: 820px) {
  .hero__title { font-size: clamp(56px, 5.6vw, 96px); }
  .hero__event { font-size: clamp(30px, 2.6vw, 44px); margin-top: 10px; }
  .hero__venue { margin-top: 14px; padding-top: 10px; padding-bottom: 10px; }
  .hero__venue img { width: clamp(160px, 13vw, 220px); }
  .hero__date { margin-top: 12px; }
  .hero__actions { margin-top: 18px; }
  .hero__turntable { width: min(46vw, 900px); left: 38vw; }
}


/* ==========================================================================
   16. CSÖKKENTETT MOZGÁS
   Ha a felhasználó a rendszerben kikapcsolta az animációkat, tiszteletben
   tartjuk: nincs csillogás, beúszás, pulzálás.
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .sparkles, .hero__glint { display: none; }
  .js .reveal { opacity: 1; transform: none; }
  .success__badge path { stroke-dashoffset: 0; }
}


/* ==========================================================================
   17. ADATKEZELÉSI TÁJÉKOZTATÓ (adatkezelesi-tajekoztato.php)
   Hosszú, jogi szöveg → nyugodt, jól tagolt tipográfia, oldalsó
   tartalomjegyzék, nyomtatóbarát megjelenés.
   ========================================================================== */

/* --- Fejléc -------------------------------------------------------------- */
.legal-hero {
  position: relative;
  overflow: hidden;
  padding: 28px 0 64px;
  background: var(--grad-hero);
  color: var(--white);
}
.legal-hero__inner { display: flex; flex-direction: column; align-items: flex-start; }
.legal-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 36px;
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  opacity: .9;
}
.legal-hero__back:hover { opacity: 1; color: var(--sun); }
.legal-hero__back svg {
  width: 20px; height: 20px;
  fill: none; stroke: currentColor;
  stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
}
.legal-hero__logo { width: 64px; margin-bottom: 22px; filter: drop-shadow(0 8px 18px rgba(22, 40, 58, .25)); }
.legal-hero h1 {
  font-size: clamp(36px, 7vw, 64px);
  font-weight: 900;
  letter-spacing: -.02em;
  margin-bottom: 16px;
}
.legal-hero__lead { max-width: 60ch; font-size: clamp(17px, 2vw, 20px); margin-bottom: 10px; opacity: .95; }
.legal-hero__meta { margin: 0; font-size: 14px; opacity: .8; }

/* --- Elrendezés ----------------------------------------------------------- */
.legal { padding: 48px 0 80px; background: var(--sky-pale); }
.legal__grid { display: grid; gap: 32px; }

.legal__toc {
  padding: 20px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.legal__toc-title {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--kv-deep);
}
.legal__toc ol { margin: 0; padding-left: 22px; font-size: 15px; line-height: 1.9; }
.legal__toc a { color: var(--navy); text-decoration: none; }
.legal__toc a:hover { color: var(--kv-deep); text-decoration: underline; }

.legal__body {
  min-width: 0;
  padding: 28px 22px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  font-size: 16px;
  line-height: 1.7;
}
.legal__intro { font-size: 17px; color: var(--text-soft); }

.legal__section { padding-top: 34px; margin-top: 34px; border-top: 1px solid var(--line); }
.legal__section h2 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 18px;
  font-size: clamp(24px, 3.4vw, 30px);
  color: var(--navy);
}
.legal__section h2 span { color: var(--kv-light); font-weight: 900; }
.legal__section h3 { font-size: 19px; color: var(--navy); margin-bottom: 10px; }
.legal a { color: var(--kv-deep); font-weight: 700; text-underline-offset: 3px; }
.legal code { font-size: .92em; padding: 1px 6px; background: var(--kv-pale); border-radius: 6px; }

/* Kitöltendő helyek – jóváhagyás előtt feltűnőek legyenek */
mark.todo {
  padding: 1px 6px;
  background: #fff1b8;
  color: #6b4d00;
  border-radius: 4px;
  font-weight: 700;
}

/* "Röviden" összefoglaló kártyák */
.summary { display: grid; gap: 12px; }
.summary__item {
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--sky-pale);
  border-left: 4px solid var(--green);
}
.summary__item:nth-child(2) { border-left-color: var(--kv-deep); }
.summary__item:nth-child(3) { border-left-color: var(--sun); }
.summary__item:nth-child(4) { border-left-color: var(--navy); }
.summary__item h3 { font-size: 17px; margin-bottom: 4px; }
.summary__item p { margin: 0; font-size: 15px; }

/* Kulcs–érték táblázat (adatkezelő adatai, adatkezelések) */
.facts-table {
  display: grid;
  grid-template-columns: 1fr;
  margin: 0 0 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.facts-table dt {
  padding: 12px 16px 2px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--kv-deep);
  background: var(--sky-pale);
}
.facts-table dd {
  margin: 0;
  padding: 2px 16px 12px;
  background: var(--sky-pale);
  border-bottom: 1px solid var(--line);
}
.facts-table dd:last-child { border-bottom: 0; }
.facts-table dd p:last-child,
.facts-table dd ul { margin-bottom: 0; }
.facts-table dd ul { padding-left: 20px; }

.processing { margin-bottom: 28px; }

/* Pipás felsorolás */
.ticks { list-style: none; padding: 0; margin: 0 0 18px; }
.ticks li { position: relative; padding-left: 30px; margin-bottom: 8px; }
.ticks li::before {
  content: '';
  position: absolute;
  left: 4px; top: .45em;
  width: 14px; height: 8px;
  border-left: 2.5px solid var(--green);
  border-bottom: 2.5px solid var(--green);
  transform: rotate(-45deg);
}

.note {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: var(--kv-pale);
  font-size: 15px;
}

/* Jogok kártyarács */
.rights { display: grid; gap: 12px; margin-bottom: 22px; }
.right {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.right h3 { font-size: 17px; margin-bottom: 6px; }
.right p { margin: 0; font-size: 15px; }
.right small { display: block; margin-top: 6px; color: var(--text-soft); font-size: 12px; letter-spacing: .04em; }

/* Kiemelt doboz: joggyakorlás módja */
.callout {
  padding: 22px 24px;
  border-radius: var(--radius);
  background: var(--grad-kv);
  color: var(--white);
}
.callout h3 { color: var(--white); }
.callout p:last-child { margin-bottom: 0; }
.callout a, .callout mark.todo { color: inherit; }
.callout mark.todo { color: #6b4d00; }

.legal__signature { margin-top: 24px; font-weight: 700; color: var(--navy); }
.legal__signature span { font-weight: 400; color: var(--text-soft); font-size: 15px; }

.legal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 36px 0 0;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

@media (min-width: 560px) {
  .summary, .rights { grid-template-columns: 1fr 1fr; }
  .right--wide { grid-column: 1 / -1; }
  .facts-table { grid-template-columns: minmax(150px, 30%) 1fr; }
  .facts-table dt, .facts-table dd { padding: 12px 16px; border-bottom: 1px solid var(--line); }
  .facts-table dt:nth-last-of-type(1), .facts-table dd:last-child { border-bottom: 0; }
  .facts-table dd { background: var(--white); }
  .legal__body { padding: 40px 40px; }
}

@media (min-width: 1024px) {
  .legal-hero { padding: 32px 0 80px; }
  .legal { padding: 64px 0 110px; }
  .legal__grid { grid-template-columns: 250px 1fr; gap: 40px; align-items: start; }
  .legal__toc { position: sticky; top: 24px; }
  .legal__body { padding: 52px 60px; font-size: 17px; }
}

/* --- Nyomtatás / PDF mentés --------------------------------------------- */
@media print {
  .legal-hero { background: none; color: #000; padding: 0 0 12px; }
  .legal-hero__back, .legal__toc, .legal__actions, .sparkles, .footer { display: none !important; }
  .legal-hero__logo { filter: none; }
  .legal { padding: 0; background: none; }
  .legal__grid { display: block; }
  .legal__body { box-shadow: none; padding: 0; font-size: 11pt; }
  .callout { background: none; color: #000; border: 1px solid #999; }
  .callout h3 { color: #000; }
  .legal__section { break-inside: auto; }
  .processing, .right, .summary__item { break-inside: avoid; }
  .eyebrow { color: #000; }
}
