/* =============================================================
   legal.css – Adatvédelem, ÁSZF, Cookie, Impresszum közös stílus
   ============================================================= */

/* ── LEGAL HERO ── */
.legal-hero {
    background: linear-gradient(135deg, var(--gray-800) 0%, var(--gray-700) 100%);
    padding: 120px 0 60px;
    position: relative; overflow: hidden;
}
.legal-hero::before {
    content: ''; position: absolute; inset: 0;
    background: repeating-linear-gradient(
        -45deg, transparent, transparent 40px,
        rgba(255,255,255,0.03) 40px, rgba(255,255,255,0.03) 41px
    ); pointer-events: none;
}
.legal-hero .container { position: relative; z-index: 2; }
.legal-hero .breadcrumb a { color: rgba(255,255,255,0.6); }
.legal-hero .breadcrumb-separator { color: rgba(255,255,255,0.4); }
.legal-hero .breadcrumb span:last-child { color: rgba(255,255,255,0.9); }
.legal-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--white); text-transform: uppercase;
    line-height: 1.05; margin: 1rem 0 0.5rem;
}
.legal-hero-sub {
    color: var(--gray-400); font-size: 0.95rem;
    font-weight: 500;
}

/* ── LEGAL MAIN ── */
.legal-main {
    padding: 4rem 0 6rem;
    background: var(--white);
}
.legal-content {
    max-width: 820px;
}

/* ── LEGAL SECTIONS ── */
.legal-section {
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--gray-200);
}
.legal-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.legal-section h2 {
    font-family: var(--font-display);
    font-size: 1.5rem; color: #1E1E1E;
    text-transform: uppercase; letter-spacing: 0.03em;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--gray-300);
}
.legal-section h3 {
    font-family: var(--font-display);
    font-size: 1.1rem; color: #2E2E2E;
    text-transform: uppercase; letter-spacing: 0.02em;
    margin: 1.75rem 0 0.75rem;
}
.legal-section p {
    color: #3A3A3A; font-size: 0.975rem;
    font-weight: 500; line-height: 1.8;
    margin-bottom: 1rem;
}
.legal-section p:last-child { margin-bottom: 0; }
.legal-section ul {
    margin: 0.75rem 0 1rem 0;
    padding-left: 1.5rem;
}
.legal-section ul li {
    color: #3A3A3A; font-size: 0.975rem;
    font-weight: 500; line-height: 1.75;
    margin-bottom: 0.4rem;
    padding-left: 0.25rem;
}
.legal-section a {
    color: var(--gray-700);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color var(--transition-fast);
}
.legal-section a:hover { color: #1E1E1E; }

/* ── LEGAL TABLE ── */
.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.25rem 0;
    font-size: 0.9rem;
}
.legal-table th {
    background: var(--gray-800);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.75rem 1rem;
    text-align: left;
}
.legal-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--gray-200);
    color: #3A3A3A; font-weight: 500;
    vertical-align: top;
}
.legal-table tr:last-child td { border-bottom: none; }
.legal-table tr:nth-child(even) td { background: var(--gray-50); }

/* ── IMPRESSZUM GRID ── */
.impresszum-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.25rem;
}
.impresszum-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    padding: 1.25rem 1.5rem;
}
.impresszum-card h3 {
    font-family: var(--font-display);
    font-size: 0.8rem; color: var(--gray-500);
    text-transform: uppercase; letter-spacing: 0.1em;
    margin: 0 0 0.4rem !important;
    padding: 0; border: none;
}
.impresszum-card p {
    color: #1E1E1E; font-size: 0.925rem;
    font-weight: 600; line-height: 1.5;
    margin: 0 !important;
}
.impresszum-card a {
    color: #1E1E1E;
}
.impresszum-card a:hover { color: var(--gray-600); }

/* ── BTN OUTLINE (404-hez) ── */
.btn-outline {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.875rem 2rem;
    background: transparent;
    border: 2px solid var(--gray-700);
    color: var(--gray-700);
    font-family: var(--font-display);
    font-size: 1.1rem; text-transform: uppercase;
    letter-spacing: 0.08em; text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-normal);
}
.btn-outline:hover {
    background: var(--gray-700);
    color: var(--white);
}

/* ── RESPONSIVE ── */
@media (max-width: 992px) {
    .impresszum-grid { grid-template-columns: repeat(2, 1fr); }
    .legal-table { font-size: 0.85rem; }
    .legal-table th, .legal-table td { padding: 0.6rem 0.75rem; }
}
@media (max-width: 768px) {
    .legal-hero { padding: 100px 0 50px; }
    .impresszum-grid { grid-template-columns: 1fr; }
    .legal-table { display: block; overflow-x: auto; }
}
