/* ==========================================
   FŐOLDAL ÉS ÁLLAPOTOLDALAK — STÍLUSLAP
   ==========================================
   Az index.html, az error.html és a thank-you.html tölti be.
   A quote.html NEM: ahhoz külön quote.css tartozik.

   A 6. szakasz nagy része használaton kívül van; a részletek ott olvashatók.

   A szakaszok sorszámozása 1—17.
*/

/* ==========================================
   1. ALAPOK ÉS VÁLTOZÓK
   ========================================== */
:root {
    --primary: rgb(14, 55, 73);        
    --primary-soft: rgb(23, 82, 108);  
    --accent: rgb(228, 152, 32);       
    --accent-hover: rgb(196, 128, 20); 
    --background: #fafafa;             
    --surface: #ffffff;                
    --border: #e5e7eb;
    --text-main: #18181b;
    --text-muted: #6b7280;
    --radius: 6px;
    --font-display: 'Barlow Condensed', 'Inter', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
}

h1, h2, h3,
.btn-primary, .btn-secondary, .btn-primary-small,
.hero .top-nav .lang-switcher button,
.spec-label, .logo, legend, footer,
.eyebrow, .card-link {
    font-family: var(--font-display);
}

html {
    scroll-behavior: smooth; 
    scroll-padding-top: 90px;
}

body {
    background-color: var(--background);
    color: var(--text-main);
    line-height: 1.6;
}

/* ==========================================
   2. ANIMÁCIÓK ÉS GÖRGETÉSI KAPCSOLÓK
   ========================================== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes glowPulse {
    0% { box-shadow: 0 4px 15px rgba(228, 152, 32, 0.2); }
    50% { box-shadow: 0 4px 25px rgba(228, 152, 32, 0.5); }
    100% { box-shadow: 0 4px 15px rgba(228, 152, 32, 0.2); }
}

/* Kiindulási állapot: az elem eltolva és átlátszóan várakozik. */
.card, .equipment-row, .about-inner, .process-row, .faq-item {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Az .in-view osztályt a scripts.js teszi rá, amikor az elem képbe ér. */
.card.in-view, .equipment-row.in-view, .about-inner.in-view, .process-row.in-view, .faq-item.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   3. FEJLÉC ÉS NAVIGÁCIÓ
   ========================================== */
.top-nav {
    max-width: 1000px;
    margin: 0 auto 40px auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.logo {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.logo img {
    height: 80px; 
    width: auto;
    display: block;
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.hero .top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    max-width: 100%;
    margin: 0;
    padding: 22px 24px;
    border-bottom: none;
    background: transparent;
    box-shadow: none;
    transition: background-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

.hero .top-nav.scrolled {
    background-color: #ffffff;
    padding: 12px 24px;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.08);
}

.hero .logo img {
    height: 72px;
    transition: height 0.3s ease;
}

.hero .top-nav.scrolled .logo img {
    height: 54px;
}

.hero .top-nav .lang-switcher {
    color: rgba(255, 255, 255, 0.45);
    transition: color 0.3s ease;
}

.hero .top-nav .lang-switcher button {
    cursor: pointer;
    background: none;
    border: none;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 15px;
    transition: color 0.3s ease;
}

.hero .top-nav .lang-switcher button:hover {
    color: var(--accent);
}

.hero .top-nav.scrolled .lang-switcher {
    color: rgba(24, 24, 27, 0.3);
}

.hero .top-nav.scrolled .lang-switcher button {
    color: var(--primary);
}

.hero .top-nav a {
    margin-bottom: 0;
}

header {
    max-width: 600px;
    margin: 0 auto 30px auto;
    text-align: center;
}

header a {
    display: inline-block;
    margin-bottom: 15px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

header a:hover { text-decoration: underline; }
header h1 { color: var(--primary); font-size: 28px; margin-bottom: 10px; font-family: var(--font-display); }
header p { color: var(--text-muted); }

/* ==========================================
   4. GOMBOK ÉS UI ELEMEK
   ========================================== */
.btn-primary, .btn-secondary, .btn-primary-small {
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.75px;
    border-radius: var(--radius);
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    display: inline-block;
}

.btn-primary, .btn-primary-small {
    background-color: var(--accent);
    color: white;
}

.btn-primary { padding: 17px 34px; font-size: 17px; }
.btn-primary-small { padding: 11px 22px; font-size: 14px; }

.btn-secondary {
    background-color: white;
    color: var(--text-main);
    padding: 17px 34px;
    font-size: 17px;
    border: 2px solid var(--primary);
}

.btn-primary:hover, .btn-primary-small:hover { 
    background-color: var(--accent-hover);
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(228, 152, 32, 0.4); 
}

.btn-secondary:hover { 
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.eyebrow {
    display: block;
    text-align: center;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    margin-bottom: 10px;
}

.eyebrow-light {
    color: var(--accent);
}

.about-us-section .mission-text .eyebrow {
    text-align: left;
}

.hero .eyebrow {
    text-align: center;
    color: rgb(255, 205, 130);
    font-family: var(--font-body);
    font-weight: 700;
    letter-spacing: 3px;
    font-size: 13px;
    margin-bottom: 16px;
}

/* ==========================================
   5. HERO SZEKCIÓ
   ========================================== */
.hero {
    background: linear-gradient(160deg, var(--primary-soft) 0%, rgb(6, 20, 27) 100%);
    color: white;
    padding: 190px 20px 90px 20px;
    margin: 0 auto;
    max-width: 100%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(160deg, rgba(11,42,55,0.75) 0%, rgba(3,12,16,0.92) 100%);
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero::before {
    content: '';
    position: absolute;
    top: -10%; left: 50%;
    transform: translateX(-50%);
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(228,152,32,0.18) 0%, rgba(228,152,32,0) 60%);
    z-index: 2;
    pointer-events: none;
}

.hero h1, .hero p, .hero-actions, .hero .trust-badges, .hero .eyebrow {
    position: relative;
    z-index: 3;
    opacity: 0; 
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hero .eyebrow { animation-delay: 0s; }

.hero h1 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 60px; 
    line-height: 1.05;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    animation-delay: 0.1s; 
    color: #ffffff; 
}

.hero p {
    font-size: 20px;
    color: #d4d4d8;
    margin-bottom: 40px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    animation-delay: 0.3s; 
}

.hero-actions { 
    display: flex; 
    justify-content: center;
    gap: 15px;
    animation-delay: 0.5s; 
}

.hero .trust-badges {
    background-color: transparent;
    margin: 50px auto 0 auto;
    padding: 30px 20px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    animation-delay: 0.7s; 
}

.hero .trust-badges .badge {
    color: #ffffff;
}

.hero .trust-badges .badge span {
    color: #e4e4e7;
}

/* ==========================================
   6. BIZALMI JELVÉNYEK
   ========================================== */
.trust-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1000px;
    margin: 40px auto 20px auto;
    padding: 20px;
    background-color: var(--background);
}

.badge {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--primary);
    font-size: 16px;
    font-weight: 600;
}

.badge-icon {
    width: 24px; height: 24px;
    stroke: var(--accent);
}

.badge span {
    font-size: 14px;
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

/* ==========================================
   7. REFERENCIA SZALAG (MARQUEE)
   ========================================== */
.visually-hidden {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.marquee-section {
    background-color: var(--primary);
    padding: 51px 0;
    overflow: hidden;
    position: relative;
}

.marquee-container {
    display: flex;
    overflow: hidden;
    width: 100%;
}

.marquee-track {
    display: flex;
    align-items: center;
    justify-content: space-around;
    min-width: 100%;
    flex-shrink: 0;
    animation: scrollMarquee 70s linear infinite;
}

@keyframes scrollMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.partner-logo {
    height: 68px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%) brightness(0) invert(1);
    opacity: 0.6;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    flex-shrink: 0;
}

.partner-logo:hover {
    filter: none;
    opacity: 1;
    transform: scale(1.05);
}

@keyframes scrollMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* ==========================================
   8. SZOLGÁLTATÁS KÁRTYÁK
   ========================================== */
.services-section { 
    max-width: 1200px; 
    margin: 60px auto 30px auto; 
    padding: 0 20px;
}

.services-section h2, .section-title {
    text-align: center;
    font-size: 36px;
    color: var(--text-main);
    font-weight: 700;
    margin-bottom: 0;
}

.services-section h2::after, .section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 18px auto 40px auto;
    border-radius: 2px;
}

.services-grid {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.services-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.services-row-bottom {
    width: calc(75% - 6.25px);
    margin: 0 auto;
    grid-template-columns: repeat(3, 1fr);
}

.card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    background-color: var(--surface);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border);
}

.card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.card-image::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 5px;
    background: var(--primary);
    z-index: 2;
}

.card-slideshow .slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.card-slideshow .slide.active { opacity: 1; }

.card-content {
    position: relative;
    padding: 28px 26px 30px 26px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card h3 { 
    color: var(--text-main); 
    margin-bottom: 12px; 
    font-size: 24px; 
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-desc {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.55;
    margin-bottom: 20px;
}

.card:hover .card-image {
    transform: scale(1.06);
}

.card-image {
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.card:hover, .card.in-view:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.2);
}

/* ==========================================
   9. FOLYAMAT SZEKCIÓ
   ========================================== */
.process-section {
    background-color: var(--surface);
    padding: 55px 40px;
    max-width: 1100px;
    margin: 15px auto;
}

.process-row {
    display: flex;
    gap: 60px;
    align-items: center;
    margin-bottom: 70px;
}

.process-row:last-child {
    margin-bottom: 0;
}

.process-row.reverse {
    flex-direction: row-reverse;
}

.process-text {
    flex: 1;
}

.process-text h3 {
    color: var(--text-main);
    font-size: 28px;
    margin-bottom: 15px;
    font-family: var(--font-display);
    font-weight: 700;
}

.process-text p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.6;
}

.process-media {
    flex: 1;
    display: flex;
    justify-content: center;
}

.process-media img,
.process-media video,
.process-video {
    width: 100%;
    max-width: 450px;
    border-radius: var(--radius);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border);
    display: block;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

/* ==========================================
   10. GÉPPARK — RÉSZLETES SZEKCIÓ
   ========================================== */
.equipment-section {
    background-color: var(--surface);
    padding: 60px 40px;
    max-width: 1100px;
    margin: 25px auto;
}

.equipment-section .section-title { color: var(--text-main); }

.equipment-row {
    display: flex;
    gap: 60px;
    align-items: center;
    margin-bottom: 90px;
    scroll-margin-top: 120px;
}

.equipment-row:last-child { margin-bottom: 0; }
.equipment-row.reverse { flex-direction: row-reverse; }
.equipment-text, .equipment-gallery { flex: 1; }

.equipment-text h3 {
    color: var(--text-main);
    font-size: 30px;
    margin-bottom: 20px;
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.equipment-text p { color: var(--text-muted); font-size: 16px; margin-bottom: 25px; }

.equipment-gallery {
    display: block;
}

.gallery-cell {
    overflow: visible;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}

.gallery-cell img {
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    display: block;
    background: transparent;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.gallery-cell:hover img {
    transform: scale(1.08);
}

.machine-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 2px;
    background-color: var(--border);
    border-left: 4px solid var(--accent);
}

.spec-item {
    background-color: var(--background);
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.spec-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--primary);
}

.spec-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-main);
}

/* ==========================================
   11. RÓLUNK ÉS MISSZIÓ
   ========================================== */
.about-us-section {
    background-color: var(--primary);
    color: white;
    padding: 70px 40px;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.about-us-section::before, .about-us-section::after {
    content: '';
    position: absolute;
    width: 420px;
    height: 5px;
    background-color: var(--accent);
    transform: rotate(45deg);
    z-index: 0;
}

.about-us-section::before {
    top: -40px;
    right: -100px;
    opacity: 0.3;
    box-shadow: 0 0 30px 4px rgba(228, 152, 32, 0.45);
}

.about-us-section::after {
    bottom: 30px;
    left: -100px;
    opacity: 0.25;
    box-shadow: 0 0 30px 4px rgba(228, 152, 32, 0.4);
}

.about-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.mission-text {
    flex: 1;
}

.mission-text h2 {
    font-size: 34px;
    margin-bottom: 25px;
    color: white;
    font-weight: 700;
    font-family: var(--font-display);
}

.mission-text blockquote {
    font-size: 20px;
    line-height: 1.6;
    font-weight: 400;
    color: #d4d4d8;
    border-left: 4px solid var(--accent);
    padding-left: 20px;
    margin: 0;
}

.about-stats-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-card {
    background-color: var(--surface);
    border-radius: var(--radius);
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-icon {
    width: 48px;
    height: 48px;
    color: var(--primary);
    margin-bottom: 15px;
}

.stat-icon svg {
    width: 100%;
    height: 100%;
}

.stat-card p {
    color: var(--text-main);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
}

/* ==========================================
   12. GYIK SZEKCIÓ
   ========================================== */
.faq-section {
    background-color: var(--background);
    padding: 55px 40px;
    max-width: 900px;
    margin: 15px auto;
}

.faq-inner {
    width: 100%;
}

.faq-section .section-title {
    margin-bottom: 50px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background-color: var(--surface);
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 22px 25px;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-display);
    letter-spacing: 0.5px;
}

.faq-icon {
    width: 24px;
    height: 24px;
    color: var(--primary);
    flex-shrink: 0;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.faq-answer-inner {
    padding: 0 25px 25px 25px;
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.6;
}

.faq-answer-inner ul {
    padding-left: 20px;
    margin-top: 10px;
}

.faq-answer-inner li {
    margin-bottom: 8px;
}

.faq-item.active {
    border-color: var(--accent);
    box-shadow: 0 8px 20px -6px rgba(0, 0, 0, 0.1);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* ==========================================
   13. ÁLLAPOTOLDALAK (error.html, thank-you.html)
   ========================================== */
.status-page { display: flex; flex-direction: column; min-height: 100vh; }
.message-container { flex: 1; display: flex; justify-content: center; align-items: center; padding: 20px; }

.message-card {
    background-color: var(--surface);
    padding: 50px 40px;
    border-radius: var(--radius);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 500px;
    width: 100%;
}

.status-icon { width: 64px; height: 64px; margin-bottom: 20px; }
.success-card .status-icon { stroke: #10b981; }
.error-card .status-icon { stroke: var(--accent); }
.message-card h1 { color: var(--primary); font-size: 28px; margin-bottom: 15px; }
.message-card p { color: var(--text-muted); font-size: 16px; margin-bottom: 30px; }

/* ==========================================
   14. JOGI OLDALAK (adatkezeles.html)
   ==========================================
   Hosszú, folyamatos szöveg — a sorhossz korlátozása itt a lényeg, mert
   a teljes szélességű bekezdést nehéz olvasni. */
.legal-page { background-color: var(--background); }

.legal-content {
    max-width: 760px;
    margin: 0 auto 80px auto;
    padding: 0 24px;
}

.legal-content h1 {
    font-family: var(--font-display);
    font-size: 34px;
    color: var(--primary);
    margin-bottom: 8px;
}

.legal-content h2 {
    font-family: var(--font-display);
    font-size: 21px;
    color: var(--primary);
    margin: 38px 0 12px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

.legal-content h3 {
    font-size: 17px;
    color: var(--primary);
    margin: 24px 0 8px;
}

.legal-content p,
.legal-content li { font-size: 16px; line-height: 1.7; color: var(--text-main); }
.legal-content p { margin: 0 0 14px; }
.legal-content ul { margin: 0 0 18px; padding-left: 22px; }
.legal-content li { margin-bottom: 7px; }
.legal-content a { color: var(--primary-soft); }

.legal-meta { color: var(--text-muted); font-size: 14px; margin-bottom: 26px; }
.legal-lead { font-size: 17.5px; color: var(--text-muted); margin-bottom: 8px; }

.legal-back { margin-top: 42px; font-weight: 600; }

/* A minimális jogi lábléc (.legal-mini) stílusa NEM itt van, hanem a
   scripts.js-ben, injektálva — mert a quote.html csak a quote.css-t tölti be,
   és a láblécnek ott is látszania kell. Két stíluslapban karbantartva
   elcsúszhatna a kettő. */

/* ==========================================
   15. LÁBLÉC
   ========================================== */
/* A lábléc listaelemei részben hivatkozások (ÁSZF, adatkezelés, süti
   beállítások). Az öröklött listaszín megtartása, hogy a link ne üssön el. */
.site-footer li a,
.site-footer li button {
    color: inherit;
    text-decoration: none;
    background: none;
    border: none;
    padding: 0;
    font-family: inherit;
    font-size: inherit;
    text-align: left;
    cursor: pointer;
}
.site-footer li a:hover,
.site-footer li button:hover { color: var(--accent); text-decoration: underline; }
.site-footer li a:focus-visible,
.site-footer li button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.site-footer {
    background-color: var(--background);
    border-top: 1px solid var(--border);
    padding: 60px 20px 20px 20px;
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 30px;
    position: relative;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: var(--primary);
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.footer-logo-col {
    position: absolute;
    top: 60px;
    right: 115px;
}

.footer-logo-col img {
    max-width: 100px;
    width: 100%;
    height: auto;
    display: block;
}

.footer-col p {
    margin-bottom: 15px;
    line-height: 1.5;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
    line-height: 1.4;
}

.footer-label {
    font-weight: 600;
    color: var(--text-main);
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid var(--border);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 12px;
}

/* A lábléc mobil elrendezése. */
@media (max-width: 992px) {
    .footer-inner {
        grid-template-columns: repeat(3, 1fr);
    }
    .footer-logo-col {
        position: static;
        grid-column: 1 / -1;
        display: flex;
        justify-content: flex-start;
        margin-top: 10px;
    }
}

@media (max-width: 600px) {
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .footer-logo-col {
        margin-top: 0;
    }
}

/* ==========================================
   16. AJÁNLATKÉRŐ SÁV (CTA)
   ==========================================
   Kétszer szerepel az index.html-en: a kompetenciák és a misszió után.

   A meleg, halvány háttér szándékos. Mindkét helyen más a szomszédja — a
   szolgáltatás-blokk szürke, a géppark és a folyamat fehér, a misszió sötét
   türkiz —, és ez az egy szín mindhárom mellett külön egységnek látszik.
   Sötét sávval a misszió alatti példány beleolvadna a fölötte lévő blokkba. */
.cta-band {
    background-color: #fff7ed;
    border-top: 1px solid #f0dcc0;
    border-bottom: 1px solid #f0dcc0;
    padding: 48px 24px;
    text-align: center;
}

/* 60ch: a sorhossz olvasható marad széles képernyőn is. */
.cta-band p {
    max-width: 60ch;
    margin: 0 auto 24px auto;
    font-size: 17px;
    line-height: 1.6;
    color: var(--text-main);
}

/* ==========================================
   17. MOBIL NÉZET
   ========================================== */
@media (max-width: 768px) {
    .hero .top-nav { padding: 15px 5%; flex-wrap: wrap; row-gap: 10px; justify-content: center; }
    .hero .top-nav.scrolled { padding: 10px 5%; }
    .hero .logo img { height: 46px; }
    .hero .top-nav.scrolled .logo img { height: 38px; }
    .header-controls { gap: 10px; flex-wrap: wrap; justify-content: center; }
    .hero .trust-badges { align-items: center; padding: 20px 20px 0 20px; margin-top: 30px; }

    .hero {
        padding: 140px 20px 70px 20px;
        background: linear-gradient(160deg, rgba(24,26,31,0.85) 0%, rgba(6,6,8,0.92) 100%), url('images/Trumpf_5030_removebg.png');
        background-size: cover; background-position: center;
    }
    .hero h1 { font-size: 40px; }
    .hero-video, .hero-overlay { display: none; }

    /* KEZDJE EL MOST gomb: rövidebb szöveg mellé tördelési tartalék, ha egy
       nyelvi verzió mégis hosszabb lenne, és kisebb padding/betűméret 320-375px
       közti kijelzőkön. */
    .hero-actions { flex-wrap: wrap; row-gap: 12px; }
    .hero-actions .btn-primary, .hero-actions .btn-secondary { padding: 14px 26px; font-size: 15px; }

    .services-section h2, .section-title { font-size: 28px; }

    .trust-badges { flex-direction: column; align-items: flex-start; gap: 20px; padding: 0 20px; }

    .equipment-row, .equipment-row.reverse { flex-direction: column; gap: 30px; margin-bottom: 60px; }
    .equipment-gallery { gap: 10px; }
    .machine-specs { grid-template-columns: 1fr; }
    .equipment-section { padding: 60px 20px; }
    .equipment-text h3 { font-size: 24px; }

    .process-row, .process-row.reverse { flex-direction: column; gap: 30px; margin-bottom: 50px; }
    .process-section { padding: 55px 20px; }
    .process-text h3 { font-size: 22px; }

    .services-row, .services-row-bottom {
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
        margin: 0;
    }
    .card h3 { font-size: 20px; }
    .card-image { height: 180px; }

    .about-inner { flex-direction: column; gap: 40px; }
    .about-stats-grid { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
    .mission-text h2 { font-size: 27px; }
    .mission-text blockquote { font-size: 18px; }

    .faq-section { padding: 60px 20px; }
    .faq-question { padding: 18px 20px; font-size: 16px; }
    .faq-answer-inner { padding: 0 20px 20px 20px; font-size: 15px; }
}

@media (max-width: 600px) {
    .form-grid { grid-template-columns: 1fr; }
    .form-grid > div[style*="grid-column: span 2;"] { grid-column: span 1 !important; }

    .services-row, .services-row-bottom {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    /* Két oszlopban a rövid számadatok is összezsúfolódnak ilyen keskeny
       kijelzőn — egy oszlop alatta olvashatóbb, mint az auto-fit próbálkozása. */
    .about-stats-grid { grid-template-columns: 1fr; }
}
