/* ==========================================================================
   DachPro Reinigung - Datenschutz Page Styles
   ========================================================================== */

/* Import base styles */
@import url('./main.css');

/* ==========================================================================
   Page Layout
   ========================================================================== */

.dcr-datenschutz-page {
  padding: 120px 0 80px;
  background: var(--bg-white);
  min-height: 100vh;
}

.dcr-datenschutz-content {
  max-width: 900px;
  margin: 0 auto;
  background: var(--bg-white);
  padding: 40px;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}

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

.dcr-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-color);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 32px;
  transition: all 0.3s ease;
}

.dcr-back-link:hover {
  color: var(--primary-dark);
  gap: 12px;
}

.dcr-back-link svg {
  transition: transform 0.3s ease;
}

.dcr-back-link:hover svg {
  transform: translateX(-4px);
}

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

.dcr-datenschutz-header {
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 3px solid var(--gray-200);
}

.dcr-datenschutz-header h1 {
  font-size: 42px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.2;
}

.dcr-datenschutz-header p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.dcr-last-updated {
  display: inline-block;
  padding: 8px 16px;
  background: var(--gray-100);
  color: var(--text-light);
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
}

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

.dcr-toc {
  background: var(--gray-50);
  border-left: 4px solid var(--primary-color);
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 40px;
}

.dcr-toc h2 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
  margin-top: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.dcr-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dcr-toc li {
  margin-bottom: 10px;
}

.dcr-toc a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  display: block;
  padding: 8px 12px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.dcr-toc a:hover {
  background: var(--bg-white);
  color: var(--primary-color);
  transform: translateX(4px);
}

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

.dcr-section {
  margin-bottom: 48px;
  scroll-margin-top: 100px;
}

.dcr-section h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--primary-color);
  line-height: 1.3;
}

.dcr-section h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 32px;
  margin-bottom: 16px;
  line-height: 1.4;
}

.dcr-section h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 24px;
  margin-bottom: 12px;
  line-height: 1.4;
}

.dcr-section p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.dcr-section ol,
.dcr-section ul {
  margin: 20px 0;
  padding-left: 28px;
}

.dcr-section li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.dcr-section ol li::marker {
  color: var(--primary-color);
  font-weight: 600;
}

.dcr-section ul li::marker {
  color: var(--primary-color);
  font-weight: 600;
}

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

.dcr-contact-info {
  background: var(--gray-50);
  border-radius: 8px;
  padding: 24px;
  margin: 20px 0;
}

.dcr-info-row {
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
  align-items: flex-start;
}

.dcr-info-row:last-child {
  margin-bottom: 0;
}

.dcr-label {
  font-weight: 600;
  color: var(--text-primary);
  min-width: 180px;
  flex-shrink: 0;
}

.dcr-value {
  color: var(--text-secondary);
  flex: 1;
}

.dcr-value a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}

.dcr-value a:hover {
  color: var(--primary-dark);
  border-bottom-color: var(--primary-dark);
}

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

.highlight-box {
  background: var(--gray-50);
  border-left: 4px solid var(--accent-color);
  border-radius: 8px;
  padding: 24px;
  margin: 24px 0;
}

.highlight-box h4 {
  color: var(--accent-color);
  font-weight: 600;
  font-size: 18px;
  margin-top: 0;
  margin-bottom: 16px;
}

.highlight-box p {
  margin-bottom: 12px;
}

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

.highlight-box ul {
  margin: 12px 0;
  padding-left: 24px;
}

.highlight-box li {
  margin-bottom: 8px;
}

.highlight-box strong {
  color: var(--text-primary);
  font-weight: 600;
}

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

.dcr-datenschutz-content a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}

.dcr-datenschutz-content a:hover {
  color: var(--primary-dark);
  border-bottom-color: var(--primary-dark);
}

.dcr-datenschutz-content a[target="_blank"]::after {
  content: " —";
  font-size: 14px;
  vertical-align: super;
}

/* ==========================================================================
   Strong and Em
   ========================================================================== */

.dcr-datenschutz-content strong {
  font-weight: 600;
  color: var(--text-primary);
}

.dcr-datenschutz-content em {
  font-style: italic;
  color: var(--text-light);
}

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

/* Tablet */
@media (max-width: 1024px) {
  .dcr-datenschutz-page {
    padding: 100px 20px 60px;
  }

  .dcr-datenschutz-content {
    padding: 32px;
  }

  .dcr-datenschutz-header h1 {
    font-size: 36px;
    margin-bottom: 14px;
  }

  .dcr-datenschutz-header p {
    font-size: 16px;
  }

  .dcr-toc {
    padding: 20px;
  }

  .dcr-section h2 {
    font-size: 26px;
    margin-bottom: 18px;
  }

  .dcr-section h3 {
    font-size: 20px;
    margin-top: 28px;
    margin-bottom: 14px;
  }

  .dcr-section h4 {
    font-size: 17px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .dcr-datenschutz-page {
    padding: 90px 16px 40px;
  }

  .dcr-datenschutz-content {
    padding: 24px;
    border-radius: 12px;
  }

  .dcr-back-link {
    font-size: 14px;
    margin-bottom: 24px;
  }

  .dcr-datenschutz-header {
    margin-bottom: 32px;
    padding-bottom: 24px;
  }

  .dcr-datenschutz-header h1 {
    font-size: 30px;
    margin-bottom: 12px;
  }

  .dcr-datenschutz-header p {
    font-size: 15px;
    margin-bottom: 12px;
  }

  .dcr-last-updated {
    font-size: 13px;
    padding: 6px 12px;
  }

  .dcr-toc {
    padding: 20px;
    margin-bottom: 32px;
  }

  .dcr-toc h2 {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .dcr-toc a {
    font-size: 14px;
    padding: 6px 10px;
  }

  .dcr-section {
    margin-bottom: 40px;
  }

  .dcr-section h2 {
    font-size: 24px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom-width: 2px;
  }

  .dcr-section h3 {
    font-size: 19px;
    margin-top: 24px;
    margin-bottom: 12px;
  }

  .dcr-section h4 {
    font-size: 16px;
    margin-top: 20px;
    margin-bottom: 10px;
  }

  .dcr-section p,
  .dcr-section li {
    font-size: 15px;
  }

  .dcr-section ol,
  .dcr-section ul {
    padding-left: 24px;
  }

  .dcr-section li {
    margin-bottom: 10px;
  }

  .dcr-contact-info {
    padding: 20px;
  }

  .dcr-info-row {
    flex-direction: column;
    gap: 4px;
    margin-bottom: 16px;
  }

  .dcr-label {
    min-width: auto;
    font-size: 15px;
  }

  .dcr-value {
    font-size: 15px;
  }

  .highlight-box {
    padding: 20px;
    margin: 20px 0;
  }

  .highlight-box h4 {
    font-size: 17px;
    margin-bottom: 12px;
  }

  .highlight-box ul {
    padding-left: 20px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .dcr-datenschutz-page {
    padding: 80px 12px 32px;
  }

  .dcr-datenschutz-content {
    padding: 20px;
  }

  .dcr-back-link {
    font-size: 13px;
  }

  .dcr-datenschutz-header h1 {
    font-size: 26px;
    margin-bottom: 10px;
  }

  .dcr-datenschutz-header p {
    font-size: 14px;
  }

  .dcr-last-updated {
    font-size: 12px;
    padding: 5px 10px;
  }

  .dcr-toc {
    padding: 16px;
  }

  .dcr-toc h2 {
    font-size: 17px;
  }

  .dcr-toc a {
    font-size: 13px;
  }

  .dcr-section h2 {
    font-size: 22px;
    margin-bottom: 14px;
  }

  .dcr-section h3 {
    font-size: 18px;
    margin-top: 20px;
    margin-bottom: 10px;
  }

  .dcr-section h4 {
    font-size: 15px;
  }

  .dcr-section p,
  .dcr-section li {
    font-size: 14px;
    line-height: 1.6;
  }

  .dcr-contact-info {
    padding: 16px;
  }

  .dcr-label,
  .dcr-value {
    font-size: 14px;
  }

  .highlight-box {
    padding: 16px;
    margin: 16px 0;
  }

  .highlight-box h4 {
    font-size: 16px;
  }

  .highlight-box ul {
    padding-left: 18px;
  }
}
