/* Legal Pages Stylesheet - Datenschutz und Nutzungsbedingungen */

.legal-main {
  padding: 3rem 0;
  min-height: calc(100vh - 60px - 80px); /* Abzüglich Header und Footer */
}

.legal-content {
  max-width: 900px;
  margin: 0 auto;
  transition: transform 0.3s ease;
}

.legal-content:hover {
  transform: translateY(-5px);
}

.legal-title {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}

.legal-updated {
  color: var(--color-text-lighter);
  font-style: italic;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--glass-border);
}

.legal-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.legal-section {
  margin-bottom: 2rem;
}

.legal-section h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 0.5rem;
  font-weight: 600;
}

.legal-section h3 {
  font-size: 1.25rem;
  margin: 1.5rem 0 0.75rem;
  color: var(--color-secondary);
  font-weight: 600;
}

.legal-section p, 
.legal-section ul, 
.legal-section address {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.legal-section ul {
  padding-left: 1.5rem;
  list-style-type: disc;
}

.legal-section li {
  margin-bottom: 0.5rem;
}

address {
  font-style: normal;
  line-height: 1.6;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
  .legal-content {
    margin: 0 1rem;
  }
  
  .legal-title {
    font-size: 2rem;
  }
  
  .legal-section h2 {
    font-size: 1.5rem;
  }
  
  .legal-section h3 {
    font-size: 1.2rem;
  }
  
  .legal-actions {
    flex-direction: column;
  }
  
  .legal-actions .glass-button {
    width: 100%;
    text-align: center;
  }
}

/* Glassmorphism-Effekte für Abschnitte */
.legal-section {
  position: relative;
  transition: transform 0.2s ease;
}

.legal-section:hover h2 {
  text-shadow: 0 0 8px rgba(0, 180, 216, 0.5);
}

/* Druckansicht */
@media print {
  .legal-content {
    box-shadow: none;
    max-width: 100%;
  }
  
  .legal-main {
    padding: 0;
  }
  
  header, footer, .legal-actions {
    display: none;
  }
}
