/* ===== MODERN LEGAL STYLE ===== */
.legal-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: 'Segoe UI', system-ui, sans-serif;
    color: #333;
    line-height: 1.6;
}

.legal-document {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: start;
}

.legal-header {
    background: linear-gradient(135deg, #1a365d, #2c5282);
    color: white;
    padding: 50px 30px 40px;
    text-align: center;
    position: relative;
}

.security-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.legal-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 10px;
}

.last-update {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 30px;
    margin-top: 15px;
    font-size: 0.95rem;
}

.legal-content {
    padding: 40px;
}

.legal-section {
    margin-bottom: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid #eaeaea;
}

.legal-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.legal-section h2 {
    color: #2c5282;
    margin-bottom: 25px;
    font-size: 1.8rem;
    position: relative;
    padding-left: 25px;
}

.legal-section h2:before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: #3182ce;
    border-radius: 50%;
}

.data-card {
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 25px;
    overflow: hidden;
    border: 1px solid #eaeaea;
}

.data-card.highlight {
    border-left: 4px solid #3182ce;
    box-shadow: 0 5px 15px rgba(49, 130, 206, 0.1);
}

.data-card-header {
    background: #edf2f7;
    padding: 15px 20px;
    border-bottom: 1px solid #e2e8f0;
}

.data-card-header h3 {
    margin: 0;
    font-size: 1.3rem;
    color: #2d3748;
}

.data-card-content {
    padding: 20px;
}

address {
    font-style: normal;
    line-height: 1.6;
}

/* Spezifische Elemente */
.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
    background: white;
}

.cookie-table th, .cookie-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.cookie-table th {
    background: #ebf8ff;
    color: #2b6cb0;
    font-weight: 600;
}

.cookie-table tr:hover {
    background-color: #f7fafc;
}

.note {
    background: #ebf8ff;
    padding: 15px;
    border-radius: 6px;
    margin: 15px 0;
    border-left: 3px solid #63b3ed;
}

.legal-info {
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
}

.legal-badge {
    background: #e6fffa;
    color: #234e52;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 0.9rem;
    border: 1px solid #81e6d9;
}

.app-services {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.service {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 15px;
    min-width: 180px;
}

.rights-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.right {
    background: #f7fafc;
    border-radius: 10px;
    padding: 20px;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease;
}

.right:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.right h3 {
    color: #2c5282;
    margin-top: 0;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-box {
    background: #ebf8ff;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    margin-top: 30px;
}

.contact-button {
    display: inline-block;
    background: #3182ce;
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    margin-top: 15px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}

.contact-button:hover {
    background: #2b6cb0;
    text-decoration: none;
}

.security-measures {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.measure {
    background: #f7fafc;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #e2e8f0;
}

.measure h3 {
    margin: 10px 0;
    color: #2d3748;
    font-size: 1.1rem;
}

.legal-footer {
    background: #1a365d;
    color: white;
    padding: 25px;
    text-align: center;
}

.compliance-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    padding: 10px 20px;
    border-radius: 30px;
}

.copyright {
    opacity: 0.8;
    font-size: 0.95rem;
    margin-top: 15px;
}

.obfuscate {
    font-size: 0;
    display: inline-block;
    width: 0;
}

ul {
    padding-left: 20px;
}

li {
    margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .legal-content {
        padding: 25px;
    }
    
    .legal-header {
        padding: 40px 20px 30px;
    }
    
    .legal-header h1 {
        font-size: 2rem;
    }
    
    .legal-section {
        margin-bottom: 40px;
        padding-bottom: 30px;
    }
    
    .cookie-table {
        display: block;
        overflow-x: auto;
    }
    
    .rights-container {
        grid-template-columns: 1fr;
    }
    
    .app-services {
        flex-direction: column;
    }
}
@media (max-width: 400px) {
  .security-badge, .badge { 
    padding: 5px 10px;
    font-size: 0.8rem; 
  }
  .legal-header h1 { font-size: 1.8rem; }
}

/* Optional: Visuelle Hervorhebung der Ersatzzeichen */
.email-obfuscated {
    font-family: monospace;
    letter-spacing: 0.5px;
}

.email-obfuscated::before {
    content: "✉️ ";
}
