/* impressum.css */
/* Advanced Responsive Styling for Impressum (Legal Disclosure) Page */

/* Root container */
.content-section {
  max-width: 1140px;
  margin: 0 auto;
  padding: 4rem 2rem;
  font-family: 'Montserrat', sans-serif;
  line-height: 1.8;
  color: #1a1a1a;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  animation: fadeIn 0.6s ease;
}

/* Headings */
.content-section h2 {
  font-size: 2.75rem;
  color: #000000; /* heading clearly dark for contrast */
  margin-bottom: 1.5rem;
  border-bottom: 2px solid #444;
  padding-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.content-section h3 {
  font-size: 1.75rem;
  color: #111111; /* dark but slightly softer than h2 */
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 500;
  position: relative;
}

.content-section h3::before {
  content: "";
  position: absolute;
  width: 40px;
  height: 3px;
  background: #000000;
  bottom: -8px;
  left: 0;
  border-radius: 4px;
}

/* Paragraphs */
.content-section p {
  font-size: 1.125rem;
  margin-bottom: 1.2rem;
  color: #222222; /* high contrast body text */
}

/* Links */
.content-section a {
  color: #0b3d91; /* accessible link color */
  text-decoration: underline;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.content-section a:hover,
.content-section a:focus {
  color: #08307a; /* darker on hover/focus */
  text-shadow: none;
}

/* Lists */
.content-section ul,
.content-section ol {
  padding-left: 2rem;
  margin-bottom: 1.5rem;
}

.content-section li {
  margin-bottom: 0.75rem;
  color: #222222;
}

/* Divider style */
hr {
  border: none;
  border-top: 1px solid #555;
  margin: 2.5rem 0;
}

/* Responsive Typography & Layout */
@media (max-width: 1024px) {
  .content-section {
    padding: 3rem 1.5rem;
  }

  .content-section h2 {
    font-size: 2.25rem;
  }

  .content-section h3 {
    font-size: 1.5rem;
  }

  .content-section p {
    font-size: 1.05rem;
  }
}

@media (max-width: 768px) {
  .content-section {
    padding: 2.5rem 1rem;
  }

  .content-section h2 {
    font-size: 2rem;
  }

  .content-section h3 {
    font-size: 1.3rem;
  }

  .content-section p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .content-section {
    padding: 2rem 0.8rem;
  }

  .content-section h2 {
    font-size: 1.6rem;
  }

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

  .content-section p {
    font-size: 0.95rem;
  }
}

/* Fade in animation on load */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ----------------------------- */
/* Responsive Hero Section Champ */
/* ----------------------------- */
.champ {
  width: 100%;
  overflow: hidden;
  max-height: 60vh;
  margin-top: 60px; /* Matches the header height */
}

.champ img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
  border-bottom: 4px solid #000000;
}

/* Optional wrapper for consistent dark background */
.datenschutz-wrapper {
  background-color: #121212;
}

/* -------------------------------------------------- */
/* Final overrides to ensure readable, high-contrast text
   Move this block to the end or enable !important only if needed */
/* -------------------------------------------------- */
.content-section,
.content-section p,
.content-section li {
  color: #222222;
}

.content-section h1,
.content-section h2 {
  color: #000000;
}

.content-section h3,
.content-section h4 {
  color: #111111;
}

.content-section a {
  color: #0b3d91;
}

/* Uncomment the following only if other CSS STILL overrides these rules */
/*
.content-section p { color: #222222 !important; }
.content-section h2 { color: #000000 !important; }
.content-section h3 { color: #111111 !important; }
.content-section a { color: #0b3d91 !important; }
*/
