/* ==========================================================
   unterseiten.css
   Impressum · Datenschutz und andere Unterseiten
   ========================================================== */

/* ---- Seiten-Header (Hero-Ersatz) ---- */
.seiten-header {
  background: linear-gradient(135deg, var(--clr-secondary) 0%, #0f1d35 55%, var(--clr-primary-dark) 100%);
  padding: calc(var(--header-h) + var(--space-3xl)) 0 var(--space-3xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.seiten-header::before,
.seiten-header::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.seiten-header::before {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(30,77,216,0.15) 0%, transparent 70%);
  top: -100px;
  right: 10%;
}

.seiten-header::after {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(247,147,26,0.1) 0%, transparent 70%);
  bottom: -60px;
  left: 8%;
}

.seiten-header__title {
  font-size: var(--fs-4xl);
  font-weight: 800;
  color: var(--clr-white);
  margin-bottom: var(--space-sm);
  position: relative;
  z-index: 1;
}

.seiten-header__breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.6);
  position: relative;
  z-index: 1;
}

.seiten-header__breadcrumb a {
  color: rgba(255, 255, 255, 0.75);
  transition: color var(--transition);
}

.seiten-header__breadcrumb a:hover,
.seiten-header__breadcrumb a:focus-visible {
  color: var(--clr-white);
}

.seiten-header__breadcrumb-sep {
  color: rgba(255, 255, 255, 0.35);
}


/* ---- Inhaltsbereich ---- */
.legal {
  padding: var(--space-3xl) 0 var(--space-4xl);
  background: var(--clr-white);
}

.legal__inner {
  max-width: 840px;
  margin-inline: auto;
}


/* ---- Typografie ---- */
.legal h2 {
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: var(--clr-secondary);
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 3px solid var(--clr-primary-light);
  border-image: linear-gradient(90deg, var(--clr-primary) 0%, var(--clr-accent) 100%) 1;
}

.legal h3 {
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--clr-primary-dark);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
}

.legal p {
  font-size: var(--fs-base);
  color: var(--clr-text-mid);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.legal ul {
  margin: var(--space-md) 0 var(--space-lg) var(--space-xl);
}

.legal ul li {
  font-size: var(--fs-base);
  color: var(--clr-text-mid);
  line-height: 1.8;
  margin-bottom: var(--space-xs);
  position: relative;
  padding-left: var(--space-md);
}

.legal ul li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--clr-primary);
  font-weight: 700;
}

.legal a {
  color: var(--clr-primary);
  font-weight: 500;
  transition: color var(--transition);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal a:hover,
.legal a:focus-visible {
  color: var(--clr-primary-dark);
}

.legal strong {
  color: var(--clr-text);
  font-weight: 600;
}


/* ---- Info-Box ---- */
.legal__info-box {
  background: linear-gradient(135deg, var(--clr-primary-light) 0%, var(--clr-bg) 100%);
  border-left: 5px solid var(--clr-primary);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: var(--space-xl) var(--space-2xl);
  margin: var(--space-xl) 0;
  box-shadow: var(--shadow-sm);
}

.legal__info-box p {
  margin-bottom: var(--space-xs);
  color: var(--clr-text);
}

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


/* ---- Stand-Datum ---- */
.legal__stand {
  font-size: var(--fs-sm);
  color: var(--clr-text-light);
  font-style: italic;
  margin-top: var(--space-2xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--clr-border);
  text-align: right;
}


