/* =========================================
   IMPRESSUM / LEGAL PAGE
========================================= */

.legal-hero {
  padding-top: 160px;
  padding-bottom: 36px;
  position: relative;
  overflow: hidden;
}

.legal-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 20%, rgba(216, 164, 174, 0.08), transparent 18%),
    radial-gradient(circle at 85% 22%, rgba(101, 29, 42, 0.16), transparent 24%),
    radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.03), transparent 18%);
}

.legal-hero-shell {
  position: relative;
  overflow: hidden;
  padding: 42px;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(18, 18, 24, 0.96), rgba(8, 8, 12, 0.98)),
    radial-gradient(circle at top left, rgba(101, 29, 42, 0.16), transparent 28%),
    radial-gradient(circle at 84% 18%, rgba(255, 255, 255, 0.04), transparent 18%);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    inset 0 -40px 80px rgba(0, 0, 0, 0.18);
}

.legal-hero-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 34%),
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.015));
}

.legal-hero-topline {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.legal-hero-line {
  width: 72px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent-soft), transparent);
}

.legal-hero-kicker {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.legal-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 34px;
  align-items: start;
}

.legal-hero-main h1 {
  max-width: 660px;
  font-size: 40px
}

.legal-hero-side {
  display: grid;
  gap: 18px;
}

.legal-hero-lead {
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 1.4vw, 1.14rem);
  line-height: 1.8;
  max-width: 620px;
}

.legal-section {
  position: relative;
  overflow: hidden;
}

.legal-layout {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.legal-card {
  grid-column: span 6;
  position: relative;
  overflow: hidden;
  padding: 30px 28px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(20, 20, 26, 0.96), rgba(10, 10, 14, 0.98)),
    radial-gradient(circle at top right, rgba(216, 164, 174, 0.08), transparent 24%),
    radial-gradient(circle at bottom left, rgba(101, 29, 42, 0.12), transparent 28%);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.legal-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 34%),
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.015));
}

.legal-card-full {
  grid-column: span 12;
}

.legal-card-topline {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.legal-card-line {
  width: 56px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent-soft), transparent);
}

.legal-card-kicker {
  font-size: 0.78rem;
  color: var(--accent-soft);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.legal-richtext {
  position: relative;
  z-index: 1;
}

.legal-richtext h2 {
  font-size: 1.45rem;
  line-height: 1.15;
  margin-bottom: 16px;
  max-width: none;
}

.legal-richtext h2:not(:first-child) {
  margin-top: 28px;
}

.legal-richtext p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.82;
  margin-bottom: 18px;
  max-width: none;
}

.legal-richtext p:last-child {
  margin-bottom: 0;
}

.legal-richtext strong {
  color: rgba(255, 255, 255, 0.94);
}

.legal-richtext a {
  color: #f0d4d8;
  text-decoration: none;
  border-bottom: 1px solid rgba(216, 164, 174, 0.32);
  transition:
    color var(--transition),
    border-color var(--transition);
}

.legal-richtext a:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 1100px) {
  .legal-hero-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .legal-layout {
    gap: 20px;
  }

  .legal-card {
    grid-column: span 12;
  }
}

@media (max-width: 900px) {
  .legal-hero {
    padding-top: 130px;
    padding-bottom: 24px;
  }

  .legal-hero-main h1 {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
    line-height: 1.1;
  }
  .legal-hero-shell {
    padding: 24px;
    border-radius: 24px;
  }

  .legal-card {
    padding: 22px;
    border-radius: 22px;
  }

  .legal-richtext h2 {
    font-size: 1.28rem;
  }

  .legal-richtext p {
    font-size: 0.97rem;
    line-height: 1.72;
  }
}

@media (max-width: 640px) {
  .legal-hero-shell {
    padding: 18px;
    border-radius: 20px;
  }

  .legal-hero-topline {
    gap: 10px;
    margin-bottom: 20px;
  }

  .legal-hero-line {
    width: 46px;
  }

  .legal-hero-kicker {
    font-size: 0.76rem;
    letter-spacing: 0.14em;
  }

  .legal-card {
    padding: 18px;
    border-radius: 18px;
  }

  .legal-card-line {
    width: 42px;
  }

  .legal-card-kicker {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
  }

  .legal-richtext h2 {
    font-size: 1.12rem;
    line-height: 1.2;
  }

  .legal-richtext p {
    font-size: 0.95rem;
    line-height: 1.66;
  }
}

@media (max-width: 420px) {
  .legal-hero {
    padding-top: 120px;
  }

  .legal-hero-shell,
  .legal-card {
    padding: 16px;
    border-radius: 16px;
  }

  .legal-richtext h2 {
    font-size: 1.02rem;
  }

  .legal-richtext p {
    font-size: 0.92rem;
    line-height: 1.6;
  }
}