/* ==========================================================================
   Datenschutz Page Styles - Notverglasung24
   Emergency Theme: Red/Orange
   ========================================================================== */

/* ==========================================================================
   Base & Body Styles
   ========================================================================== */

body {
  max-width: 1920px;
  margin: 0 auto;
  background: #f8f9fa;
}

/* Container */
.dw-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ==========================================================================
   Datenschutz Page
   ========================================================================== */

.dw-datenschutz-page {
  padding: 9rem 0 4rem 0;
  min-height: 100vh;
}

/* Content Wrapper */
.dw-datenschutz-content {
  background: #fff;
  border-radius: 16px;
  padding: 3rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   Back Link
   ========================================================================== */

.dw-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #6c757d;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 2rem;
  padding: 0.75rem 1.25rem;
  background: #f8f9fa;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.dw-back-link:hover {
  color: #E63946;
  background: rgba(230, 57, 70, 0.1);
  transform: translateX(-5px);
}

.dw-back-link svg {
  transition: all 0.3s ease;
}

.dw-back-link:hover svg {
  transform: translateX(-3px);
}

/* ==========================================================================
   Header Section
   ========================================================================== */

.dw-datenschutz-header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 3px solid #E63946;
}

.dw-datenschutz-header h1 {
  font-size: 2.5rem;
  font-weight: 900;
  color: #212529;
  margin-bottom: 1rem;
  letter-spacing: -1px;
}

.dw-datenschutz-header p {
  font-size: 1.1rem;
  color: #495057;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.dw-last-updated {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #E63946;
  background: rgba(230, 57, 70, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  margin-top: 1rem;
}

/* ==========================================================================
   Table of Contents
   ========================================================================== */

.dw-toc {
  background: linear-gradient(135deg, rgba(230, 57, 70, 0.05) 0%, rgba(255, 107, 53, 0.05) 100%);
  border: 2px solid rgba(230, 57, 70, 0.2);
  border-left: 5px solid #E63946;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 3rem;
}

.dw-toc h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #E63946;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dw-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.dw-toc li {
  margin: 0;
}

.dw-toc a {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  background: #fff;
  border-radius: 8px;
  color: #495057;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.dw-toc a:hover {
  color: #E63946;
  background: rgba(230, 57, 70, 0.05);
  border-color: #E63946;
  transform: translateX(5px);
}

/* ==========================================================================
   Sections
   ========================================================================== */

.dw-section {
  margin-bottom: 3rem;
  padding: 2rem 0;
  border-bottom: 1px solid #e9ecef;
}

.dw-section:last-child {
  border-bottom: none;
}

.dw-section h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: #212529;
  margin-bottom: 1.5rem;
  padding-left: 1rem;
  border-left: 4px solid #E63946;
}

.dw-section h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #495057;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.dw-section h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #212529;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.dw-section p {
  font-size: 1rem;
  color: #495057;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.dw-section ul,
.dw-section ol {
  font-size: 1rem;
  color: #495057;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.dw-section li {
  margin-bottom: 0.5rem;
}

.dw-section strong {
  color: #212529;
  font-weight: 700;
}

/* ==========================================================================
   Contact Info Blocks
   ========================================================================== */

.dw-contact-info {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.dw-info-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #e9ecef;
}

.dw-info-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.dw-info-row:first-child {
  padding-top: 0;
}

.dw-label {
  font-weight: 700;
  color: #212529;
  min-width: 180px;
  flex-shrink: 0;
}

.dw-value {
  color: #495057;
  flex: 1;
}

.dw-value a {
  color: #E63946;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}

.dw-value a:hover {
  color: #FF6B35;
  border-bottom-color: #FF6B35;
}

/* ==========================================================================
   Highlight Box
   ========================================================================== */

.dw-highlight-box {
  background: linear-gradient(135deg, rgba(230, 57, 70, 0.05) 0%, rgba(255, 107, 53, 0.05) 100%);
  border: 2px solid rgba(230, 57, 70, 0.2);
  border-left: 5px solid #E63946;
  border-radius: 12px;
  padding: 1.5rem 2rem;
  margin: 2rem 0;
}

.dw-highlight-box h4 {
  color: #E63946;
  font-size: 1.1rem;
  margin-top: 0;
  margin-bottom: 1rem;
}

.dw-highlight-box p {
  margin-bottom: 0.75rem;
}

.dw-highlight-box p:last-child {
  margin-bottom: 0;
}

.dw-highlight-box ul {
  margin-bottom: 0;
}

.dw-highlight-box li {
  color: #495057;
}

.dw-highlight-box strong {
  color: #E63946;
}

/* ==========================================================================
   Rights Section (with emojis)
   ========================================================================== */

.dw-section h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ==========================================================================
   Links
   ========================================================================== */

.dw-datenschutz-content a {
  color: #E63946;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}

.dw-datenschutz-content a:hover {
  color: #FF6B35;
  border-bottom-color: #FF6B35;
}

/* Override for external links */
.dw-datenschutz-content a[target="_blank"] {
  position: relative;
}

.dw-datenschutz-content a[target="_blank"]::after {
  content: "—";
  font-size: 0.8em;
  margin-left: 0.25rem;
  opacity: 0.7;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

/* Tablets */
@media (max-width: 1024px) {
  .dw-container {
    padding: 0 1.5rem;
  }

  .dw-datenschutz-content {
    padding: 2.5rem;
  }

  .dw-datenschutz-header h1 {
    font-size: 2rem;
  }

  .dw-section h2 {
    font-size: 1.5rem;
  }

  .dw-toc ul {
    grid-template-columns: 1fr;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .dw-datenschutz-page {
    padding: 7rem 0 3rem 0;
  }

  .dw-datenschutz-content {
    padding: 2rem;
    border-radius: 12px;
  }

  .dw-datenschutz-header h1 {
    font-size: 1.75rem;
  }

  .dw-datenschutz-header p {
    font-size: 1rem;
  }

  .dw-section h2 {
    font-size: 1.35rem;
    margin-top: 2rem;
  }

  .dw-section h3 {
    font-size: 1.1rem;
  }

  .dw-toc {
    padding: 1.5rem;
  }

  .dw-toc h2 {
    font-size: 1.25rem;
  }

  .dw-highlight-box {
    padding: 1.25rem 1.5rem;
  }

  .dw-info-row {
    flex-direction: column;
    gap: 0.25rem;
  }

  .dw-label {
    min-width: auto;
  }

  .dw-container {
    padding: 0 1rem;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .dw-datenschutz-page {
    padding: 6rem 0 2.5rem 0;
  }

  .dw-datenschutz-content {
    padding: 1.5rem;
  }

  .dw-datenschutz-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
  }

  .dw-datenschutz-header h1 {
    font-size: 1.5rem;
  }

  .dw-section h2 {
    font-size: 1.25rem;
  }

  .dw-section h3 {
    font-size: 1rem;
  }

  .dw-highlight-box {
    padding: 1rem 1.25rem;
  }

  .dw-toc {
    padding: 1.25rem;
  }

  .dw-toc a {
    padding: 0.6rem 0.75rem;
    font-size: 0.9rem;
  }

  .dw-back-link {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }
}

/* Very Small Mobile */
@media (max-width: 375px) {
  .dw-container {
    padding: 0 0.75rem;
  }

  .dw-datenschutz-content {
    padding: 1.25rem;
  }

  .dw-datenschutz-header h1 {
    font-size: 1.35rem;
  }

  .dw-section {
    padding: 1.5rem 0;
  }
}
