/* ==========================================================================
   Impressum 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;
}

/* ==========================================================================
   Impressum Page
   ========================================================================== */

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

/* Content Wrapper */
.dw-impressum-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);
}

/* ==========================================================================
   Typography
   ========================================================================== */

.dw-impressum-content h1 {
  font-size: 2.5rem;
  font-weight: 900;
  color: #212529;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 3px solid #E63946;
  letter-spacing: -1px;
}

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

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

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

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

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

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

.dw-impressum-content em {
  color: #6c757d;
  font-style: italic;
}

.dw-impressum-content small {
  font-size: 0.875rem;
  color: #6c757d;
}

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

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

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

/* ==========================================================================
   Labels & Values
   ========================================================================== */

.dw-impressum-content .label {
  font-weight: 700;
  color: #212529;
  margin-right: 0.5rem;
}

.dw-impressum-content .value {
  color: #495057;
}

/* ==========================================================================
   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 p {
  margin-bottom: 0.75rem;
}

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

.dw-highlight-box strong {
  color: #E63946;
  font-size: 1.1rem;
}

/* ==========================================================================
   Info Box (Alternative Style)
   ========================================================================== */

.dw-info-box {
  background: #f8f9fa;
  border-left: 4px solid #17A2B8;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.dw-info-box p {
  margin-bottom: 0.5rem;
}

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

/* ==========================================================================
   Warning Box
   ========================================================================== */

.dw-warning-box {
  background: rgba(255, 193, 7, 0.1);
  border-left: 4px solid #FFC107;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.dw-warning-box p {
  margin-bottom: 0.5rem;
  color: #856404;
}

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

/* ==========================================================================
   Success Box
   ========================================================================== */

.dw-success-box {
  background: rgba(40, 167, 69, 0.1);
  border-left: 4px solid #28A745;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.dw-success-box p {
  margin-bottom: 0.5rem;
  color: #155724;
}

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

/* ==========================================================================
   Tables (if needed)
   ========================================================================== */

.dw-impressum-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.dw-impressum-content table th {
  background: linear-gradient(135deg, #E63946 0%, #FF6B35 100%);
  color: #fff;
  padding: 1rem;
  text-align: left;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.dw-impressum-content table td {
  padding: 1rem;
  border-bottom: 1px solid #e9ecef;
  color: #495057;
}

.dw-impressum-content table tr:last-child td {
  border-bottom: none;
}

.dw-impressum-content table tr:hover {
  background: rgba(230, 57, 70, 0.05);
}

/* ==========================================================================
   Divider
   ========================================================================== */

.dw-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #E63946 50%, transparent 100%);
  margin: 3rem 0;
  border: none;
}

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

.dw-contact-block {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
}

.dw-contact-block:hover {
  background: rgba(230, 57, 70, 0.05);
  transform: translateX(5px);
}

.dw-contact-block-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #E63946 0%, #FF6B35 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dw-contact-block-icon img {
  filter: brightness(0) invert(1);
  width: 24px;
  height: 24px;
}

.dw-contact-block-content {
  flex: 1;
}

.dw-contact-block-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.25rem;
}

.dw-contact-block-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: #212529;
}

.dw-contact-block-value a {
  color: #E63946;
  border-bottom: none;
}

.dw-contact-block-value a:hover {
  color: #FF6B35;
}

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

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

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

  .dw-impressum-content h1 {
    font-size: 2rem;
  }

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

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

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

  .dw-impressum-content h1 {
    font-size: 1.75rem;
  }

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

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

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

  .dw-contact-block {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .dw-contact-block-icon {
    width: 45px;
    height: 45px;
  }

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

  .dw-impressum-content table {
    font-size: 0.9rem;
  }

  .dw-impressum-content table th,
  .dw-impressum-content table td {
    padding: 0.75rem;
  }
}

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

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

  .dw-impressum-content h1 {
    font-size: 1.5rem;
  }

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

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

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

  .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-impressum-content {
    padding: 1.25rem;
  }

  .dw-impressum-content h1 {
    font-size: 1.35rem;
  }
}
