:root {
  --color-primary: #0b7ac4;
  --color-accent: #1ac6ff;
  --color-bg: #f5f7fa;
  --color-text: #111827;
  --color-muted: #6b7280;
  --color-surface: #ffffff;
  --header-h: 80px; /* Hozzáadva a fix fejléc magasság */
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: var(--color-bg); color: var(--color-text); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- FEJLÉC (HEADER) --- */
.header { 
  position: sticky; 
  top: 0; 
  z-index: 100; /* Növelt z-index, hogy biztosan legfelül legyen */
  background: #c8eaef7f;  
  backdrop-filter: blur(12px); 
  -webkit-backdrop-filter: blur(12px); 
  border-bottom: 1px solid rgba(148,163,184,0.25); 
  display: block; 
}

.nav-inner {
  position: relative; 
  width: 100%;
  max-width: 1200px; 
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between; 
  height: var(--header-h); 
}

/* 1. Logó (Balra) */
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem; 
  font-weight: 600; 
  font-size: 1.05rem;
  z-index: 110; 
}

.brand-logo {
  /* Engedjük nagyobbra nőni asztali nézetben scale nélkül! */
  height: 180px; 
  display: flex;
  align-items: center;
  justify-content: center;
  /* Fontos: eltoljuk egy picit balra, ha az alap képeden túl sok az üres hely bal oldalon */
  margin-left: -20px; 
}

.brand-logo img {
  height: 100%;
  width: auto;
  /* Engedjük szélesebbre a képet */
  max-width: 350px; 
  object-fit: contain;
}


.brand span { color: var(--color-primary); }

/* 2. Menüpontok (Középen asztali gépen) */
.nav-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%); 
  display: flex;
  flex-direction: row; 
  flex-wrap: nowrap;   
  align-items: center;
  justify-content: center;
  width: max-content;  
  gap: 1.5rem;
}

.nav-links a {
  display: inline-block; 
  position: relative;
  color: #111827;
  font-size: 0.95rem;
  font-weight: 500;
  margin: 0 1rem; 
  padding-bottom: 4px;
  white-space: nowrap; 
  -webkit-tap-highlight-color: transparent;
}

.nav-links a::after { 
  content: ''; 
  position: absolute; 
  left: 0; 
  bottom: 0; 
  width: 0; 
  height: 2px; 
  background: var(--color-primary); 
  transition: width 0.2s ease-out; 
}

.nav-links a:hover::after, .nav-links a.is-active::after { width: 100%; }

/* 3. Fejléc Elérhetőségek (Jobbra) */
.header-contact {
  display: flex;
  flex-direction: column; 
  align-items: flex-end;  
  justify-content: center;
  gap: 2px;               
  font-size: 0.8rem;      
  line-height: 1.2;       
  z-index: 110;
  white-space: nowrap;
}

.hc-name {
  font-weight: 600;
  color: #111827;
  font-size: 0.85rem;
  margin-bottom: 2px;
}

.hc-phone, .hc-mail {
  color: #6b7280;
  text-decoration: none;
  transition: color 0.2s;
}

.hc-phone:hover, .hc-mail:hover {
  color: var(--color-primary); 
}

/* 4. Mobil menü (Hamburger) gomb */
.nav-toggle { 
  display: none; 
  border: none; 
  background: none; 
  cursor: pointer; 
  padding: 0.25rem; 
  z-index: 120; 
  margin-left: auto;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle span { 
  width: 22px; 
  height: 2px; 
  background: #111827; 
  display: block; 
  margin: 4px 0; 
  transition: 0.2s; 
}

/* --- RESZPONZÍV NÉZETEK FEJLÉC --- */

/* Kisebb asztali gépek (pl. laptop) */
@media (max-width: 1200px) {
  .nav-links a {
    margin: 0 0.75rem;
  }
}

/* Tabletek (Elérhetőség elrejtése, menü ne csússzon rá) */
@media (max-width: 950px) {
  .header-contact {
    display: none;
  }
  .nav-links {
    position: static;
    transform: none;
    margin-left: auto;
    margin-right: 2rem;
  }
}

/* MOBIL NÉZET (Hamburger, logó középen, menü lenyílik) */
@media (max-width: 768px) {
  .brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  
  /* MOBILON VISSZAVESSZÜK A MÉRETÉT, HOGY NE CSÚSSZON EL */
  .brand-logo {
    height: 140px; 
    margin-left: 0; 
  }
  
  .brand-logo img {
    max-width: 220px; /* Mobilon a max szélességet is korlátozzuk */
  }
  
  /* ... a többi marad változatlan (nav-toggle, nav-links stb.) ... */

  
  .nav-toggle { 
    display: block; 
    position: absolute;
    right: 1.25rem; 
    top: 50%;
    transform: translateY(-50%);
  }
  
    .nav-links { 
    position: absolute; 
    top: 100%; 
    left: 0;
    right: 0;
    background: #c8eaef;   
    flex-direction: column; 
    /* A padding lecsökkentve: felső, jobb/bal, alsó */
    padding: 1rem 1.5rem 1.25rem; 
    transform: translateY(-1px); 
    opacity: 0; 
    pointer-events: none; 
    transition: 0.4s ease-out; 
    border-top: 1px solid rgba(148,163,184,0.25);
    border-bottom: 1px solid rgba(148,163,184,0.25);
    margin: 0;
    width: 100%;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1); 
    z-index: 90; 
  }
  
  .nav-links.is-open { 
    transform: translateY(0); 
    opacity: 1; 
    pointer-events: auto; 
  }
  
  .nav-links a { 
    /* Kisebb térköz a menüpontok között */
    margin: 0.5rem 0; 
    font-size: 1.15rem; 
    width: 100%;
    text-align: center; 
    padding: 0.4rem 0;
  }
}

/* --- AZ OLDAL TÖBBI RÉSZE (A meglévő, jól működő kódod) --- */

.main { min-height: calc(100vh - 120px); }
.section { padding: 3.5rem 1.25rem; }
.container { max-width: 1120px; margin: 0 auto; }
.hero { display:flex; align-items:center; justify-content:space-between; gap:2.5rem; }
.hero-copy { flex:1; }
.hero-kicker { font-size:0.9rem; text-transform:uppercase; letter-spacing:0.1em; color:var(--color-muted); margin-bottom:0.75rem; }
.hero-title { font-size: clamp(2rem, 3vw, 2.6rem); font-weight:650; letter-spacing:-0.03em; margin-bottom:1rem; }
.hero-title span { color: var(--color-primary); }
.hero-lead { font-size:1.02rem; color:var(--color-muted); max-width:34rem; }
.hero-actions { margin-top:1.75rem; display:flex; flex-wrap:wrap; gap:0.9rem; align-items:center; }
.hero aside { flex:1; display:flex; justify-content:flex-end; }
.hero-card { background: radial-gradient(circle at top left, rgba(59,130,246,0.18), transparent 55%), var(--color-surface); border-radius:1.25rem; padding:1.5rem 1.6rem; box-shadow:0 10px 30px rgba(15,23,42,0.08); max-width:24rem; font-size:0.9rem; }

.btn { border-radius:999px; padding:0.6rem 1.4rem; font-size:0.95rem; font-weight:500; border:none; cursor:pointer; display:inline-flex; align-items:center; gap:0.4rem; transition: background 0.18s ease-out, box-shadow 0.18s ease-out, transform 0.18s ease-out; }
.btn-primary { background: var(--color-primary); color:#f9fafb; box-shadow:0 10px 25px rgba(37,99,235,0.25); }
.btn-primary:hover { background:#1d4ed8; transform: translateY(-1px); }
.btn-ghost { background:transparent; color:#111827; border:1px solid rgba(148,163,184,0.6); }
.btn-ghost:hover { background:#f3f4f6; }

.grid { display:grid; gap:1.8rem; }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
@media (max-width: 960px) { .hero { flex-direction:column; align-items:flex-start; } .hero aside { width:100%; justify-content:flex-start; } }
@media (max-width: 768px) { .grid-3 { grid-template-columns: minmax(0,1fr); } .grid-2 { grid-template-columns: minmax(0,1fr); } }

.card { background: var(--color-surface); border-radius:1rem; padding:1.4rem 1.5rem; box-shadow:0 8px 24px rgba(15,23,42,0.06); border:1px solid rgba(148,163,184,0.35); }
.card h2, .card h3 { margin-bottom:0.55rem; font-size:1.05rem; }
.card p { font-size:0.95rem; color:var(--color-muted); }
.section-heading { margin-bottom:2.2rem; }
.section-kicker { font-size:0.8rem; text-transform:uppercase; letter-spacing:0.12em; color:var(--color-muted); margin-bottom:0.35rem; }
.section-title { font-size:1.5rem; font-weight:600; margin-bottom:0.2rem; }
.section-subtitle { font-size:0.95rem; color:var(--color-muted); max-width:32rem; }

.pricing-table { width:100%; border-collapse:collapse; font-size:0.94rem; }
.pricing-table th, .pricing-table td { padding:0.6rem 0.75rem; border-bottom:1px solid #e5e7eb; text-align:left; }
.pricing-table tbody tr:hover { background:#f9fafb; }

.process-cols { display:grid; grid-template-columns: minmax(0,2.3fr) minmax(0,1.4fr); gap:2rem; align-items:flex-start; }
@media (max-width: 900px) { .process-cols { grid-template-columns: minmax(0,1fr); } }
.process-note { font-size:0.9rem; color:var(--color-muted); padding:0.9rem 1rem; border-radius:0.9rem; background:#f3f4f6; border:1px dashed rgba(148,163,184,0.8); }

.form { max-width: 520px; }
.form-row { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; }
@media (max-width: 640px) { .form-row { grid-template-columns:minmax(0,1fr); } }
.form-group { margin-bottom:1rem; font-size:0.9rem; }
.form-label { display:block; margin-bottom:0.25rem; font-weight:500; }
.form-control { width:100%; border-radius:0.7rem; border:1px solid #d1d5db; padding:0.55rem 0.7rem; font-size:0.92rem; }
.form-control:focus { outline:2px solid rgba(59,130,246,0.25); border-color:var(--color-primary); }

.footer { background:#020617; color:#e5e7eb; padding:2.5rem 1.5rem 1.8rem; margin-top:3rem; }
.footer-inner { max-width:1120px; margin:0 auto; display:grid; grid-template-columns:2fr 1fr 1fr; gap:2rem; font-size:0.9rem; }
.footer h4 { font-size:0.95rem; margin-bottom:0.6rem; }
.footer a { color:#e5e7eb; opacity:0.88; }
.footer a:hover { opacity:1; text-decoration:underline; }
.footer-bottom { margin-top:1.8rem; font-size:0.78rem; color:#9ca3af; text-align:center; border-top:1px solid rgba(148,163,184,0.35); padding-top:1rem; }
@media (max-width: 800px) { .footer-inner { grid-template-columns:minmax(0,1fr) minmax(0,1fr); } }
@media (max-width: 600px) { .footer-inner { grid-template-columns:minmax(0,1fr); } }

.fade-in { opacity:0; transform: translateY(8px); transition: opacity 0.4s ease-out, transform 0.4s ease-out; }
.fade-in.is-visible { opacity:1; transform: translateY(0); }

/* --- EXTRA ANIMÁCIÓK ÉS HOVER EFFEKTEK --- */

.stagger-1 { transition-delay: 100ms; }
.stagger-2 { transition-delay: 200ms; }
.stagger-3 { transition-delay: 300ms; }
.stagger-4 { transition-delay: 400ms; }

.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}
.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
  border-color: rgba(59, 130, 246, 0.4);
}

.card-hover::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--color-primary);
  transform: scaleY(0);
  transition: transform 0.3s ease;
  transform-origin: bottom;
}
.card-hover:hover::before {
  transform: scaleY(1);
}

.process-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.process-list li {
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 1.5rem;
}
.process-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -2px;
  width: 28px;
  height: 28px;
  background: rgba(59, 130, 246, 0.1);
  color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.8rem;
}
.process-list h3 {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
  color: var(--color-text);
}
.process-list p {
  font-size: 0.92rem;
  color: var(--color-muted);
  margin: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 900px) {
  .service-grid { grid-template-columns: 1fr; }
}

.info-box {
  background: #f8fafc;
  border-left: 4px solid var(--color-primary);
  padding: 1.2rem;
  border-radius: 0 0.5rem 0.5rem 0;
  margin: 1.5rem 0;
  font-size: 0.95rem;
  color: #334155;
}

.card-image {
  width: calc(100% + 3rem); 
  height: 240px;
  object-fit: cover;
  margin-top: -1.4rem;
  margin-left: -1.5rem;
  margin-right: -1.5rem;
  margin-bottom: 1.5rem; 
  border-radius: 1rem 1rem 0 0; 
  display: block;
  max-width: none; 
}

/* ====== ÚJ KÉP ÉS LÁTVÁNY ELEMEK A KEZDŐLAPHOZ ====== */

/* Modern képek árnyékkal és lekerekítéssel */
.modern-shadow {
  border-radius: 1.5rem;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
  object-fit: cover;
  width: 100%;
}

/* ====== ÚJ HERO KÉP FORMA (Kártya helyett organikus/modern) ====== */
.hero-image-wrapper {
  position: relative;
  flex: 1.2 !important;
  display: flex;
  justify-content: flex-end;
  /* Kicsit engedjük kilógni a jobbra, hogy ne legyen dobozos érzése */
  margin-right: -2rem; 
}

.hero-image {
  max-height: 550px;
  width: 100%;
  object-fit: cover;
  object-position: 50% 10%;
  /* Különleges, aszimmetrikus lekerekítés a profi megjelenésért (levél/csepp forma) */
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  box-shadow: 0 30px 60px rgba(11, 122, 196, 0.15);
  /* Finom animáció hozzáadása a formához */
  animation: morphing 12s ease-in-out infinite;
  transition: all 0.5s ease;
}

/* Lebegő, formaváltoztató animáció a légáramlás érzékeltetésére */
@keyframes morphing {
  0% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    transform: translateY(0) scale(1);
  }
  33% {
    border-radius: 50% 50% 30% 70% / 60% 30% 70% 40%;
    transform: translateY(-10px) scale(1.02);
  }
  66% {
    border-radius: 70% 30% 50% 50% / 30% 60% 40% 70%;
    transform: translateY(5px) scale(0.98);
  }
  100% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    transform: translateY(0) scale(1);
  }
}

/* Egy kis vizuális trükk: egy elmosódott színes folt a kép mögött */
.hero-image-wrapper::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: 90%;
  background: linear-gradient(135deg, var(--color-accent), var(--color-primary));
  filter: blur(60px);
  opacity: 0.3;
  z-index: -1;
  border-radius: 50%;
  animation: pulse 10s ease-in-out infinite alternate;
}

@keyframes pulse {
  0% { opacity: 0.2; transform: translate(-50%, -50%) scale(0.9); }
  100% { opacity: 0.4; transform: translate(-50%, -50%) scale(1.1); }
}

@media (max-width: 900px) {
  .hero-image-wrapper {
    margin-right: 0;
    margin-top: 2rem;
  }
  .hero-image {
    max-height: 400px;
    border-radius: 20% 40% 40% 20% / 20% 20% 40% 40%;
    animation: none; 
    
    /* Mobilon is feljebb toljuk a fókuszt */
    object-position: 50% 10%;
  }
  .hero-image-wrapper::before {
    display: none;
  }
}



/* Kép a gridben (Miért válassz minket) */
.feature-image-container {
  position: relative;
}

.feature-image {
  height: 100%;
  min-height: 400px;
}

/* Lebegő "badge" a kép sarkán (látványelem) */
.floating-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--color-primary);
  color: white;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(11, 122, 196, 0.4);
  text-align: center;
  font-size: 0.9rem;
  line-height: 1.3;
}
.floating-badge strong {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 0.2rem;
}

/* Szolgáltatás kártyák finomhangolása */
.card-content {
  padding: 0 0.5rem; /* Egy kis plusz belső margó a szövegnek a kép alatt */
}

/* Nagy, feltűnő Call-To-Action (Kapcsolat) kártya a lap alján */
.cta-card {
  background: linear-gradient(135deg, var(--color-primary), #065b96);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3rem 4rem;
  border: none;
  box-shadow: 0 25px 50px rgba(11, 122, 196, 0.25);
  gap: 2rem; /* Kicsit csökkentettük a gap-et, hogy több hely maradjon a gombnak */
  border-radius: 1.5rem; /* Ne felejtsük el a lekerekítést sem! */
}

/* JAVÍTÁS: A név színe és mérete */
.contact-info-large .name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: #ffffff; /* Teljesen fehér lett */
  text-transform: uppercase; /* Opcionális: nagybetűs a profibb kinézetért */
  letter-spacing: 1px;
}

.contact-info-large .phone a, .contact-info-large .mail a {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85); /* Halványabb fehér, hogy a név domináljon */
  display: inline-block;
  margin-bottom: 0.4rem;
  transition: color 0.2s;
  text-decoration: none;
}

.contact-info-large a:hover {
  color: #ffffff; /* Hovernél világosodik */
  text-decoration: underline;
}

/* JAVÍTÁS: A gomb nem törik sorba */
.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  white-space: nowrap; /* Ez garantálja, hogy egy sorban marad az "Ajánlatot kérek" */
  text-align: center;
}

/* Reszponzivitás javítása (tablet és mobil) */
@media (max-width: 900px) {
  .cta-card {
    flex-direction: column;
    text-align: center;
    padding: 2.5rem 1.5rem;
  }
  .cta-action {
    width: 100%;
  }
  .btn-large {
    width: 100%; /* Mobilon teljes szélességű gomb, így nem lóg ki */
    max-width: 300px; /* De azért ne legyen nevetségesen hosszú egy nagy tableten */
    margin: 0 auto;
    display: block;
  }
}
/* ====== ŰRLAP EXTRA STÍLUSOK ====== */
.form-control { 
  width: 100%; 
  border-radius: 0.7rem; 
  border: 1px solid #d1d5db; 
  padding: 0.7rem 1rem; /* Kicsit növeltem a paddingot a kényelmesebb gépelésért */
  font-size: 0.95rem; 
  /* EZ A KULCS: ráveszi a mezőt, hogy a te szép system-ui betűtípusodat használja! */
  font-family: inherit; 
  color: var(--color-text);
  background-color: #f9fafb;
  transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus { 
  background-color: #ffffff;
  outline: none; 
  border-color: var(--color-primary); 
  box-shadow: 0 0 0 4px rgba(11, 122, 196, 0.1); 
}

/* Kifejezetten a placeholder betűtípusának és színének megerősítése */
.form-control::placeholder {
  color: #9ca3af;
  font-family: inherit;
  font-weight: 400;
}


/* Mobilon is szép nagy, könnyen kattintható legyen a select */
select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.2rem;
  padding-right: 2.5rem;
}
/* ====== SÜTI (COOKIE) BANNER ====== */
.cookie-banner {
  position: fixed;
  bottom: -100%; /* Kezdetben elrejtve a képernyő alatt */
  left: 0;
  width: 100%;
  background: rgba(17, 24, 39, 0.95); /* Sötét, elegáns háttér */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #f9fafb;
  z-index: 9999;
  transition: bottom 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.15);
}

.cookie-banner.show {
  bottom: 0; /* JS-sel adjuk hozzá, így animálva úszik be */
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
/* Elutasítás gomb (Ghost gomb a sötét banneren) finomhangolása */
#reject-cookies {
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  border-color: rgba(255, 255, 255, 0.3);
  transition: all 0.2s ease;
}

#reject-cookies:hover {
  /* Itt vesszük ki a fehér hátteret, és helyette csak a szöveget/keretet halványítjuk vagy világosítjuk kicsit */
  background: transparent !important; 
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.6);
}

.cookie-content p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #e5e7eb;
}
.cookie-actions {
  display: flex;
  gap: 1rem;
}

@media (max-width: 768px) {
  .cookie-actions {
    flex-direction: column-reverse; /* Mobilon az Elfogadom legyen felül, Elutasít alul */
    width: 100%;
  }
}


.cookie-content a {
  color: var(--color-accent); /* A te világoskék színed */
  text-decoration: underline;
}

.cookie-content a:hover {
  color: #fff;
}

/* Kis gomb a bannerbe */
.btn-sm {
  padding: 0.5rem 1.2rem;
  font-size: 0.9rem;
  white-space: nowrap;
}

/* Mobilos nézet: egymás alá kerül a szöveg és a gomb */
@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
    gap: 1rem;
  }
  .cookie-content button {
    width: 100%;
  }
}
/* ====== JOGI OLDAL (ADATVÉDELEM / IMPRESSZUM) JAVÍTÁSA ====== */

/* Hogy hosszú linkek (pl. email) vagy szavak ne lógjanak ki a kártyából mobilon */
#impresszum, #adatvedelem {
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

/* Kártya belső margójának csökkentése mobilon, hogy több hely legyen a szövegnek */
@media (max-width: 768px) {
  /* A jogi oldalon lévő nagy kártya paddingjének csökkentése */
  .card {
    padding: 1.5rem !important; /* A 3rem túl sok volt mobilon! */
  }
  
  /* A címsorok mérete mobilon */
  #impresszum h2, #adatvedelem h2 {
    font-size: 1.4rem !important;
  }
  
  #adatvedelem h3 {
    font-size: 1.1rem !important;
  }

  /* Az ugró gombok egymás alatt legyenek mobilon, hogy ne essenek szét */
  .btn-ghost {
    width: 100%;
    margin-bottom: 0.5rem;
  }
}

/* Az impresszum kék dobozának javítása, ha túl keskeny a telefon */
.impresszum-box {
  background: #f8fafc;
  padding: 1.5rem;
  border-left: 4px solid var(--color-primary);
  border-radius: 0 0.5rem 0.5rem 0;
  overflow-x: hidden; /* Ne engedjen ki scrollozást */
}

