/* ==========================================================================
   Inner Pages (Impressum, Datenschutz, SEO Pages)
   ========================================================================== */
.page-header {
  padding-top: 10rem;
  padding-bottom: 4rem;
  background-color: var(--clr-surface);
  text-align: center;
  border-bottom-left-radius: var(--radius-hero);
  border-bottom-right-radius: var(--radius-hero);
  margin-bottom: 4rem;
}

.page-header h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -1px;
}

.page-content {
  max-width: 800px;
  margin: 0 auto 6rem;
  padding: 0 1.5rem;
}

.page-content h2 {
  margin-top: 3rem;
  margin-bottom: 1rem;
  font-size: 2rem;
}

.page-content h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.page-content p {
  margin-bottom: 1.5rem;
  color: var(--clr-text-muted);
  font-size: 1.125rem;
}

.page-content ul {
  margin-bottom: 1.5rem;
  color: var(--clr-text-muted);
  font-size: 1.125rem;
  list-style-type: disc;
  padding-left: 2rem;
}

/* SEO Hub specific */
.page-content.seo-hub {
  max-width: 1000px;
}

.seo-service-block {
  background-color: var(--clr-surface);
  border-radius: var(--radius-card);
  padding: 3rem;
  margin-bottom: 2rem;
}

.seo-service-block h2 {
  margin-top: 0;
}

/* ==========================================================================
   Profile Pages (Team Details & CV)
   ========================================================================== */
.profile-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
  margin-bottom: 4rem;
}

.profile-image img {
  width: 100%;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  display: block;
}

.profile-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.profile-card {
  background: var(--clr-surface);
  padding: 2.5rem;
  border-radius: var(--radius-card);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.profile-card h3 {
  margin-top: 0;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.cv-item {
  display: flex;
  gap: 2rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.cv-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.cv-year {
  min-width: 140px;
  font-weight: 600;
  color: var(--clr-primary);
}

.cv-desc h4 {
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
  color: var(--clr-text-main);
}

.cv-desc p {
  color: var(--clr-text-muted);
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .profile-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .profile-details-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .cv-item {
    flex-direction: column;
    gap: 0.25rem;
  }

  .profile-card {
    padding: 2rem;
  }

  .cv-year {
    min-width: auto;
  }
}
