/* ==========================================================================
   LEGAL PAGES — legal-pages.css
   Papyrus Software · Impressum + Terms of Use / Privacy
   Design-system consistent with information-classification.css.
   Scoped under .lg-page so nothing leaks into the global stack. Relies on
   layout.css / custom.css for base typography.
   ========================================================================== */

.lg-page {
    --lg-primary: #6bb8be;
    --lg-primary-dark: #5aa8ae;
    --lg-primary-rgb: 107, 184, 190;
    --lg-navy: #1e293b;
    --lg-navy-light: #334155;
    --lg-bg: #f8fafc;
    --lg-white: #ffffff;
    --lg-border: #e2e8f0;
    --lg-text: #334155;
    --lg-text-light: #64748b;
    --lg-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --lg-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    --lg-radius: 10px;
    --lg-ease: cubic-bezier(0.4, 0, 0.2, 1);
    --lg-content: 940px;
}

/* ========== HERO ========== */
.lg-hero {
    position: relative;
    background: var(--lg-navy);
    overflow: hidden;
}

.lg-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(100deg, rgba(30,41,59,0.94) 0%, rgba(30,41,59,0.82) 42%, rgba(30,41,59,0.55) 72%, rgba(30,41,59,0.4) 100%),
        url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?q=80&w=2070&auto=format&fit=crop') center/cover no-repeat;
    z-index: 0;
}

.lg-hero .container { z-index: 1; }

.lg-hero__content {
    max-width: var(--lg-content);
    margin: 0 auto;
    padding: 74px 0 66px;
}

.lg-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--lg-primary);
    margin: 0 0 16px;
}

.lg-hero__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    color: var(--lg-white);
    line-height: 1.1;
    margin: 0 0 18px;
}

.lg-hero__subtitle {
    font-size: 2rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.74);
    line-height: 1.5;
    margin: 0;
    max-width: 640px;
}

/* ========== BODY / CONTENT ========== */
.lg-body {
    background: var(--lg-white);
    padding: 72px 0 80px;
}

.lg-content {
    max-width: var(--lg-content);
    margin: 0 auto;
}

/* Typographic rhythm for the legal copy */
.lg-content p {
    color: var(--lg-navy-light);
    line-height: 1.75;
    margin: 0 0 18px;
}

.lg-content a {
    color: var(--lg-primary-dark);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(90, 168, 174, 0.4);
    transition: color 0.2s var(--lg-ease), border-color 0.2s var(--lg-ease);
    word-break: break-word;
}

.lg-content a:hover { color: var(--lg-navy); border-bottom-color: var(--lg-navy); }

/* Bold run-in labels ("Security", "Use of Site." etc.) read as sub-emphasis */
.lg-content p b,
.lg-content p strong { color: var(--lg-navy); font-weight: 700; }

/* Impressum block — the single big <h3> address card */
.lg-content h1,
.lg-content h2,
.lg-content h3,
.lg-content h4 {
    font-family: 'Montserrat', sans-serif;
    color: var(--lg-navy);
    line-height: 1.35;
}

.lg-content > h1:first-child,
.lg-content > h2:first-child {
    margin-top: 0;
}

/* Section-lead attention line (the ATTENTION heading on terms page) */
.lg-attention {
    background: var(--lg-bg);
    border-left: 4px solid var(--lg-primary);
    border-radius: 0 8px 8px 0;
    padding: 18px 22px;
    margin: 0 0 32px;
    color: var(--lg-navy);
    font-weight: 600;
    line-height: 1.6;
}

.lg-attention b { color: var(--lg-navy); }

/* Impressum address card */
.lg-address {
    background: var(--lg-bg);
    border: 1px solid var(--lg-border);
    border-radius: var(--lg-radius);
    box-shadow: var(--lg-shadow-sm);
    padding: 36px 40px;
    margin: 0;
    font-weight: 400;
    line-height: 1.9;
    color: var(--lg-navy-light);
}

.lg-address b { color: var(--lg-navy); }

/* Warning/action buttons in content (Correct Contact Data, unsubscribe, etc.) */
.lg-content .btn-warning,
.lg-content .lg-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    padding: 11px 22px;
    border-radius: 8px;
    background: var(--lg-primary);
    color: var(--lg-white);
    text-decoration: none;
    border: none;
    border-bottom: none;
    transition: all 0.25s var(--lg-ease);
}

.lg-content .btn-warning:hover,
.lg-content .btn-warning:focus,
.lg-content .lg-action:hover,
.lg-content .lg-action:focus {
    background: var(--lg-primary-dark);
    color: var(--lg-white);
    text-decoration: none;
    transform: translateY(-1px);
    border-bottom: none;
}

.lg-content .text-center { text-align: center; margin: 24px 0 30px; }

/* ========== CONTACT CTA ========== */
.lg-cta {
    background: var(--lg-bg);
    padding: 72px 0;
    border-top: 1px solid var(--lg-border);
}

.lg-cta__card {
    max-width: var(--lg-content);
    margin: 0 auto;
    background: var(--lg-navy);
    border-radius: var(--lg-radius);
    padding: 40px 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    position: relative;
    overflow: hidden;
}

.lg-cta__card::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -6%;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: rgba(var(--lg-primary-rgb), 0.08);
    pointer-events: none;
}

.lg-cta__text { position: relative; z-index: 1; }

.lg-cta__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    color: var(--lg-white);
    margin: 0 0 8px;
}

.lg-cta__text p {
    color: rgba(255, 255, 255, 0.62);
    margin: 0;
}

.lg-cta__btn {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    padding: 13px 26px;
    border-radius: 8px;
    text-decoration: none;
    background: var(--lg-primary);
    color: var(--lg-white);
    transition: all 0.25s var(--lg-ease);
}

.lg-cta__btn:hover,
.lg-cta__btn:focus {
    background: var(--lg-primary-dark);
    color: var(--lg-white);
    text-decoration: none;
    transform: translateY(-1px);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1100px) {
    .lg-hero__subtitle { font-size: 1.8rem; }
}

@media (max-width: 991px) {
    .lg-hero__content { padding: 60px 0 52px; }
    .lg-body { padding: 56px 0 60px; }
    .lg-cta { padding: 60px 0; }
}

@media (max-width: 767px) {
    .lg-hero__content { padding: 48px 0 42px; }
    .lg-hero__subtitle { font-size: 1.5rem; }
    .lg-body { padding: 44px 0 48px; }
    .lg-address { padding: 28px 26px; }
    .lg-cta { padding: 48px 0; }
    .lg-cta__card { flex-direction: column; align-items: flex-start; padding: 30px 26px; }
    .lg-cta__btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
    .lg-hero__subtitle { font-size: 1.35rem; }
}

/* ========== MOTION / PRINT ========== */
@media (prefers-reduced-motion: reduce) {
    [data-aos] { transition: none !important; transform: none !important; opacity: 1 !important; }
}

@media print {
    .lg-hero__overlay { background: none; }
    .lg-hero { background: var(--lg-navy); }
    .contactus, #footerWrapper, .lg-cta { display: none; }
    .lg-content .btn-warning, .lg-content .lg-action { border: 1px solid #999; color: #000; background: none; }
}
