/* Stylesheet für die Impressum- und Datenschutz-Entwurfseite (Design-Ordner). */

.legal-hero {
  padding-top: 54px;
  padding-bottom: 42px;
}
.legal-back {
  display: inline-block;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 52px;
}
.legal-back:hover {
  color: var(--blue);
}
.legal-heading {
  display: grid;
  grid-template-columns: 1fr 210px;
  gap: 50px;
  align-items: center;
}
.legal-heading h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.1rem, 7vw, 6rem);
  font-weight: 500;
  line-height: 1.05;
  overflow-wrap: anywhere;
}
.legal-heading p {
  max-width: 640px;
  color: var(--muted);
  font-size: 1.12rem;
  margin: 24px 0 0;
}
.legal-seal {
  width: 190px;
  height: 190px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
  transform: rotate(-7deg);
}
.legal-seal span {
  max-width: 125px;
  text-align: center;
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.72rem;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 12px;
}
.legal-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 54px;
  padding-top: 20px;
  padding-bottom: 90px;
  align-items: start;
}
.legal-sidebar {
  position: sticky;
  top: 24px;
}
.legal-nav-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-weight: 750;
  color: var(--blue);
}
.legal-sidebar ol {
  list-style: none;
  padding: 0;
  margin: 18px 0 30px;
}
.legal-sidebar li {
  border-bottom: 1px solid var(--line);
}
.legal-sidebar li a {
  display: flex;
  align-items: baseline;
  gap: 13px;
  padding: 12px 0;
  font-size: 0.85rem;
  text-decoration: none;
}
.legal-sidebar li a span {
  font-size: 0.7rem;
  color: var(--muted);
}
.legal-sidebar li a:hover {
  color: var(--blue);
}
.legal-contact {
  padding: 24px;
  background: var(--lavender);
  border-radius: 20px;
}
.legal-contact h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  font-weight: 500;
}
.legal-contact p {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 10px 0;
}
.legal-contact a {
  font-size: 0.85rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.legal-sections { min-width: 0; }
.legal-card {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 20px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 24px;
  padding: 34px;
  margin-bottom: 18px;
  scroll-margin-top: 24px;
}
.legal-number {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--blue);
  padding-top: 7px;
}
.legal-card h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
  overflow-wrap: anywhere;
}
.legal-card .rich-text {
  color: #4e5965;
  font-size: 0.98rem;
}
.legal-card .rich-text p {
  margin: 0 0 14px;
}
.legal-card .rich-text p:last-child {
  margin-bottom: 0;
}
.legal-card strong {
  color: var(--ink);
}
.legal-card a {
  color: var(--blue);
  text-underline-offset: 3px;
}
.legal-end {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  padding: 22px 0;
  font-size: 0.84rem;
  color: var(--muted);
}
.placeholder-note {
  margin: 0 0 18px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff0c6;
  border: 1px solid rgba(105, 74, 0, 0.18);
  color: #6e500b;
  font-size: 0.83rem;
}
@media (max-width: 920px) {
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .legal-sidebar {
    position: static;
  }
  .legal-sidebar ol {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 28px;
  }
  .legal-contact {
    display: none;
  }
}
@media (max-width: 600px) {
  .legal-hero {
    padding-top: 32px;
    padding-bottom: 20px;
  }
  .legal-back {
    margin-bottom: 36px;
  }
  .legal-heading {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .legal-seal {
    display: none;
  }
  .legal-sidebar ol {
    grid-template-columns: 1fr;
  }
  .legal-card {
    padding: 24px 20px;
    gap: 10px;
    grid-template-columns: 22px minmax(0, 1fr);
  }
  .legal-layout {
    padding-bottom: 44px;
  }
}