/* ==========================================================================
   DATENSCHUTZ & RECHTLICHES (datenschutz.css)
   ========================================================================== */

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 24px 24px 80px 24px;
    line-height: 1.6;
    color: #333;
    display: block !important;
    text-align: left !important;
}

.legal-content h1 {
    font-size: clamp(2rem, 5vw, 2.8rem);
    margin-bottom: 20px;
    color: #333;
    font-weight: 700;
    text-align: left !important;
}

/* --- ICON KASTEN --- */
.legal-icon-container {
    width: 100px;
    height: 100px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto 40px auto; /* 🔥 Box exakt zentriert */
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0,0,0,0.02);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
}

.legal-icon-container:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* --- GOOGLE MATERIAL ICONS --- */
.legal-material-icon {
    font-size: 48px;
    color: #3D94E2;
    transform: translateY(3px); /* 🔥 Icon perfekt mittig im Kasten */
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* --- ZUSATZ FÜR BILDBASIERTE ICONS --- */
.legal-app-icon {
    width: 45px;
    height: 45px;
    object-fit: contain;
    /* Nutzt die gleichen Zentrierungs-Regeln wie das Google-Icon */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- TEXTE --- */
.legal-intro { font-size: 1.1rem; color: #666; margin-bottom: 50px; }
.legal-text-body h2 { font-size: 1.5rem; margin-top: 50px; margin-bottom: 20px; color: #333; border-bottom: 1px solid #eee; padding-bottom: 10px; }
.legal-text-body p { margin-bottom: 15px; font-size: 1rem; color: #555; }
.legal-text-body ul { margin-bottom: 20px; padding-left: 20px; }
.legal-text-body li { margin-bottom: 10px; color: #555; }

/* --- VERSCHWINDENDES LOGO OBEN LINKS --- */
.legal-header { position: fixed; top: 30px; left: 32px; z-index: 1000; display: flex; align-items: center; gap: 12px; text-decoration: none; transition: opacity 0.4s ease, transform 0.4s ease; }
.legal-header.scrolled { opacity: 0; transform: translateY(-20px); pointer-events: none; }
.legal-logo { width: 40px; height: 40px; }
.legal-brand-name { font-size: 1.4rem; font-weight: 700; color: #333; letter-spacing: -0.5px; }

/* --- FOOTER MARKIERUNG --- */
.footer-legal-links a.active-legal { background-color: rgba(0, 0, 0, 0.05) !important; border-color: rgba(0, 0, 0, 0.1) !important; color: #212121 !important; pointer-events: none; }