/* Nur für /leichte-sprache/. Hauptseite und ABeA OS bleiben unverändert. */
.easy-page {
  --easy-cream: #f3ebe0;
  --easy-card: #faf6f0;
  --easy-ink: #2a2218;
  --easy-olive: #4f5d3c;
  --easy-line: #d9cbb8;
  --easy-link: #6e3420;
  background: var(--easy-cream);
  color: var(--easy-ink);
  font-family: var(--sans, Inter, ui-sans-serif, system-ui, sans-serif);
  font-size: 1.3125rem;
  line-height: 1.65;
  overflow-x: clip;
}

.easy-page * {
  box-sizing: border-box;
}

.easy-page .site-header {
  align-items: center;
  background: #f3ebe0f2;
  border-bottom: 1px solid var(--easy-line);
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  min-height: 4.5rem;
}

.easy-page .brand {
  min-width: 0;
}

.easy-page .brand-copy small {
  display: block;
  color: var(--easy-olive);
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.95rem;
  font-weight: 600;
}

.easy-page .back-link {
  margin-left: auto;
  color: var(--easy-link);
  font-size: 1.05rem;
  font-weight: 650;
  line-height: 1.3;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

.easy-page main {
  width: min(40rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.75rem 0 3.5rem;
}

.easy-page h1,
.easy-page h2,
.easy-page h3 {
  font-family: var(--serif, Georgia, serif);
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--easy-olive);
}

.easy-page h1 {
  max-width: 18ch;
  margin: 0 0 0.7rem;
  font-size: 2rem;
  line-height: 1.2;
}

.easy-page h2 {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.85rem;
  font-size: 1.55rem;
  line-height: 1.25;
}

.easy-page h3 {
  margin: 1.35rem 0 0.45rem;
  font-size: 1.28rem;
  line-height: 1.3;
}

.easy-page h2 svg.icon,
.easy-page .topics svg.icon {
  display: block;
  width: 28px;
  height: 28px;
  min-width: 28px;
  max-width: 28px;
  min-height: 28px;
  max-height: 28px;
  flex: 0 0 28px;
  overflow: visible;
  color: currentColor;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.easy-page h2 svg.icon :is(path, circle, line, polyline, polygon, rect),
.easy-page .topics svg.icon :is(path, circle, line, polyline, polygon, rect) {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.easy-page .lead {
  max-width: 36rem;
  margin: 0;
}

.easy-page .topics {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
  margin: 1.35rem 0 0.25rem;
}

.easy-page .topics a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  min-height: 2.75rem;
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--easy-line);
  border-radius: 12px;
  background: var(--easy-card);
  color: var(--easy-ink);
  font-size: 1.08rem;
  line-height: 1.3;
  text-decoration: none;
}

.easy-page .topics a span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.easy-page section {
  margin-top: 1.75rem;
  padding: 1.15rem 1.15rem 1.25rem;
  border: 1px solid var(--easy-line);
  border-radius: 16px;
  background: var(--easy-card);
  scroll-margin-top: 5.5rem;
}

.easy-page .group {
  margin: 0 0 1.05rem;
}

.easy-page .group:last-child {
  margin-bottom: 0;
}

.easy-page p,
.easy-page li {
  max-width: 38rem;
  margin: 0 0 0.35rem;
  overflow-wrap: anywhere;
}

.easy-page .group p:last-child,
.easy-page li:last-child {
  margin-bottom: 0;
}

.easy-page ul {
  margin: 0.35rem 0 0.55rem;
  padding-left: 1.25rem;
}

.easy-page a {
  color: var(--easy-link);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.16em;
}

.easy-page .topics a {
  text-decoration: none;
}

.easy-page .ask {
  margin-bottom: 0.2rem;
  font-size: 1.4rem;
  line-height: 1.35;
}

.easy-page .mail-link {
  display: inline-block;
  margin: 0.15rem 0 0.9rem;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.35;
}

.easy-page :focus-visible {
  outline: 3px solid #9e4b2e;
  outline-offset: 3px;
  box-shadow: none;
}

.easy-page .site-footer {
  grid-template-columns: 1fr;
  gap: 0.9rem;
  background: var(--easy-olive);
  color: var(--easy-cream);
  font-size: 1.05rem;
  line-height: 1.5;
}

.easy-page .site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
}

.easy-page .footer-brand strong,
.easy-page .footer-brand span,
.easy-page .site-footer nav a,
.easy-page .copyright {
  color: #faf6f0;
  font-size: 1.05rem;
  letter-spacing: 0;
  text-transform: none;
}

.easy-page .site-footer nav a {
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

@media (min-width: 640px) {
  .easy-page .topics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .easy-page .topics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .easy-page .brand-copy small {
    display: block;
  }

  .easy-page h1 {
    font-size: 1.75rem;
  }

  .easy-page main {
    width: min(40rem, calc(100% - 1.5rem));
  }
}
