/*!
 * DigitalCraft GmbH - Legal Pages Stylesheet
 * For: Datenschutz, Impressum
 * Copyright 2025 DigitalCraft GmbH
 */

/* ============================================
   BASE STYLES
   ============================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f8f9fa;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
   ACCESSIBILITY - FOCUS STYLES
   ============================================ */

a:focus,
button:focus {
  outline: 3px solid #3182ce;
  outline-offset: 2px;
}

/* ============================================
   HEADER
   ============================================ */

header {
  background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
  color: white;
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand a {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
}

.logo-placeholder {
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #1a365d;
  font-size: 1rem;
}

.brand-text .logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
}

.back-link {
  color: #cbd5e0;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.back-link:hover {
  color: white;
}

/* ============================================
   MAIN CONTENT
   ============================================ */

.content {
  background: white;
  margin: 2rem 0;
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

h1 {
  color: #1a365d;
  font-size: 2.2rem;
  margin-bottom: 2rem;
  border-bottom: 3px solid #3182ce;
  padding-bottom: 1rem;
}

h2 {
  color: #2c5282;
  font-size: 1.4rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

h3 {
  color: #2c5282;
  font-size: 1.2rem;
  margin-top: 1.5rem;
  margin-bottom: 0.8rem;
}

p,
li {
  margin-bottom: 0.8rem;
}

ul {
  margin-left: 2rem;
  margin-bottom: 1rem;
}

a {
  color: #3182ce;
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  text-decoration: underline;
}

strong {
  font-weight: 600;
  color: #2d3748;
}

hr {
  margin: 2rem 0;
  border: 0;
  border-top: 1px solid #e2e8f0;
}

/* ============================================
   SPECIAL BOXES
   ============================================ */

.highlight {
  background: #ebf8ff;
  padding: 1.5rem;
  border-left: 4px solid #3182ce;
  margin: 2rem 0;
  border-radius: 4px;
}

.contact-info {
  background: #f7fafc;
  padding: 1.5rem;
  border-radius: 8px;
  margin: 1.5rem 0;
  border: 1px solid #e2e8f0;
}

.rights-box {
  background: #e6fffa;
  padding: 1.5rem;
  border-left: 4px solid #48bb78;
  margin: 2rem 0;
  border-radius: 4px;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
  background: #1a365d;
  color: white;
  padding: 2rem 0;
  text-align: center;
}

.footer-links {
  margin-bottom: 1rem;
}

.footer-links a {
  color: #cbd5e0;
  text-decoration: none;
  margin: 0 1rem;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: white;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
  .content {
    padding: 2rem 1.5rem;
    margin: 1rem 0;
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.2rem;
  }

  h3 {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .content {
    padding: 1.5rem 1rem;
  }

  nav {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .back-link {
    margin-top: 0.5rem;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

